Codebase list squidview / debian/0.71-1
Imported Debian patch 0.71-1 Willi Mann 11 years ago
10 changed file(s) with 3250 addition(s) and 2229 deletion(s). Raw diff Collapse all Expand all
00 >> Squidview history:
1
2 v0.71: 5 November 2006:
3 - applied edited patch from Vaclav Haisman which can boost speed of making
4 reports 2 times.
15
26 v0.70: 14 March 2006:
37 - applied patch from Debian people to permit compilation in gcc 4.1.
99 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1010 dnl PARTICULAR PURPOSE.
1111
12 # lib-prefix.m4 serial 4 (gettext-0.14.2)
12 # lib-prefix.m4 serial 5 (gettext-0.15)
1313 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
1414 dnl This file is free software; the Free Software Foundation
1515 dnl gives unlimited permission to copy and/or distribute it,
3535 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
3636 AC_REQUIRE([AC_PROG_CC])
3737 AC_REQUIRE([AC_CANONICAL_HOST])
38 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
3839 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
3940 dnl By default, look in $includedir and $libdir.
4041 use_additional=yes
5657 ])
5758 else
5859 additional_includedir="$withval/include"
59 additional_libdir="$withval/lib"
60 additional_libdir="$withval/$acl_libdirstem"
6061 fi
6162 fi
6263 ])
9899 dnl 2. if it's already present in $LDFLAGS,
99100 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
100101 dnl 4. if it doesn't exist as a directory.
101 if test "X$additional_libdir" != "X/usr/lib"; then
102 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
102103 haveit=
103104 for x in $LDFLAGS; do
104105 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
108109 fi
109110 done
110111 if test -z "$haveit"; then
111 if test "X$additional_libdir" = "X/usr/local/lib"; then
112 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
112113 if test -n "$GCC"; then
113114 case $host_os in
114115 linux*) haveit=yes;;
163164 prefix="$acl_save_prefix"
164165 ])
165166
166 # lib-link.m4 serial 6 (gettext-0.14.3)
167 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
167 dnl AC_LIB_PREPARE_MULTILIB creates a variable acl_libdirstem, containing
168 dnl the basename of the libdir, either "lib" or "lib64".
169 AC_DEFUN([AC_LIB_PREPARE_MULTILIB],
170 [
171 dnl There is no formal standard regarding lib and lib64. The current
172 dnl practice is that on a system supporting 32-bit and 64-bit instruction
173 dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
174 dnl libraries go under $prefix/lib. We determine the compiler's default
175 dnl mode by looking at the compiler's library search path. If at least
176 dnl of its elements ends in /lib64 or points to a directory whose absolute
177 dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
178 dnl default, namely "lib".
179 acl_libdirstem=lib
180 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
181 if test -n "$searchpath"; then
182 acl_save_IFS="${IFS= }"; IFS=":"
183 for searchdir in $searchpath; do
184 if test -d "$searchdir"; then
185 case "$searchdir" in
186 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
187 *) searchdir=`cd "$searchdir" && pwd`
188 case "$searchdir" in
189 */lib64 ) acl_libdirstem=lib64 ;;
190 esac ;;
191 esac
192 fi
193 done
194 IFS="$acl_save_IFS"
195 fi
196 ])
197
198 # lib-link.m4 serial 8 (gettext-0.15)
199 dnl Copyright (C) 2001-2006 Free Software Foundation, Inc.
168200 dnl This file is free software; the Free Software Foundation
169201 dnl gives unlimited permission to copy and/or distribute it,
170202 dnl with or without modifications, as long as this notice is preserved.
291323 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
292324 AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
293325 [
326 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
294327 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
295328 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
296329 dnl By default, look in $includedir and $libdir.
313346 ])
314347 else
315348 additional_includedir="$withval/include"
316 additional_libdir="$withval/lib"
349 additional_libdir="$withval/$acl_libdirstem"
317350 fi
318351 fi
319352 ])
413446 dnl Linking with a shared library. We attempt to hardcode its
414447 dnl directory into the executable's runpath, unless it's the
415448 dnl standard /usr/lib.
416 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
449 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
417450 dnl No hardcoding is needed.
418451 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
419452 else
499532 dnl Assume the include files are nearby.
500533 additional_includedir=
501534 case "$found_dir" in
502 */lib | */lib/)
503 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
535 */$acl_libdirstem | */$acl_libdirstem/)
536 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
504537 additional_includedir="$basedir/include"
505538 ;;
506539 esac
561594 dnl 3. if it's already present in $LDFLAGS or the already
562595 dnl constructed $LIBNAME,
563596 dnl 4. if it doesn't exist as a directory.
564 if test "X$additional_libdir" != "X/usr/lib"; then
597 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
565598 haveit=
566 if test "X$additional_libdir" = "X/usr/local/lib"; then
599 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
567600 if test -n "$GCC"; then
568601 case $host_os in
569602 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
717750 done
718751 ])
719752
753 dnl For those cases where a variable contains several -L and -l options
754 dnl referring to unknown libraries and directories, this macro determines the
755 dnl necessary additional linker options for the runtime path.
756 dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL])
757 dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
758 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
759 dnl otherwise linking without libtool is assumed.
760 AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS],
761 [
762 AC_REQUIRE([AC_LIB_RPATH])
763 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
764 $1=
765 if test "$enable_rpath" != no; then
766 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
767 dnl Use an explicit option to hardcode directories into the resulting
768 dnl binary.
769 rpathdirs=
770 next=
771 for opt in $2; do
772 if test -n "$next"; then
773 dir="$next"
774 dnl No need to hardcode the standard /usr/lib.
775 if test "X$dir" != "X/usr/$acl_libdirstem"; then
776 rpathdirs="$rpathdirs $dir"
777 fi
778 next=
779 else
780 case $opt in
781 -L) next=yes ;;
782 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
783 dnl No need to hardcode the standard /usr/lib.
784 if test "X$dir" != "X/usr/$acl_libdirstem"; then
785 rpathdirs="$rpathdirs $dir"
786 fi
787 next= ;;
788 *) next= ;;
789 esac
790 fi
791 done
792 if test "X$rpathdirs" != "X"; then
793 if test -n ""$3""; then
794 dnl libtool is used for linking. Use -R options.
795 for dir in $rpathdirs; do
796 $1="${$1}${$1:+ }-R$dir"
797 done
798 else
799 dnl The linker is used for linking directly.
800 if test -n "$hardcode_libdir_separator"; then
801 dnl Weird platform: only the last -rpath option counts, the user
802 dnl must pass all path elements in one option.
803 alldirs=
804 for dir in $rpathdirs; do
805 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir"
806 done
807 acl_save_libdir="$libdir"
808 libdir="$alldirs"
809 eval flag=\"$hardcode_libdir_flag_spec\"
810 libdir="$acl_save_libdir"
811 $1="$flag"
812 else
813 dnl The -rpath options are cumulative.
814 for dir in $rpathdirs; do
815 acl_save_libdir="$libdir"
816 libdir="$dir"
817 eval flag=\"$hardcode_libdir_flag_spec\"
818 libdir="$acl_save_libdir"
819 $1="${$1}${$1:+ }$flag"
820 done
821 fi
822 fi
823 fi
824 fi
825 fi
826 AC_SUBST([$1])
827 ])
828
720829 # lib-ld.m4 serial 3 (gettext-0.13)
721830 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
722831 dnl This file is free software; the Free Software Foundation
0 This file contains any messages produced by compilers while
1 running configure, to aid debugging if configure makes a mistake.
2
3 It was created by configure, which was
4 generated by GNU Autoconf 2.60. Invocation command line was
5
6 $ ./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info --datadir=${prefix}/share/doc
7
8 ## --------- ##
9 ## Platform. ##
10 ## --------- ##
11
12 hostname = wmiwilli
13 uname -m = i686
14 uname -r = 2.6.23-1-686
15 uname -s = Linux
16 uname -v = #1 SMP Wed Dec 5 02:01:26 UTC 2007
17
18 /usr/bin/uname -p = unknown
19 /bin/uname -X = unknown
20
21 /bin/arch = unknown
22 /usr/bin/arch -k = unknown
23 /usr/convex/getsysinfo = unknown
24 /usr/bin/hostinfo = unknown
25 /bin/machine = unknown
26 /usr/bin/oslevel = unknown
27 /bin/universe = unknown
28
29 PATH: /usr/sbin
30 PATH: /usr/bin
31 PATH: /sbin
32 PATH: /bin
33 PATH: /usr/bin/X11
34
35
36 ## ----------- ##
37 ## Core tests. ##
38 ## ----------- ##
39
40 configure:1732: checking for a BSD-compatible install
41 configure:1788: result: /usr/bin/install -c
42 configure:1799: checking whether build environment is sane
43 configure:1842: result: yes
44 configure:1857: checking whether make sets $(MAKE)
45 configure:1878: result: yes
46 configure:1910: checking for working aclocal-1.4
47 configure:1917: result: found
48 configure:1925: checking for working autoconf
49 configure:1932: result: found
50 configure:1940: checking for working automake-1.4
51 configure:1947: result: found
52 configure:1955: checking for working autoheader
53 configure:1962: result: found
54 configure:1970: checking for working makeinfo
55 configure:1977: result: found
56 configure:2102: checking for C++ compiler version
57 configure:2109: g++ --version >&5
58 g++ (GCC) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
59 Copyright (C) 2007 Free Software Foundation, Inc.
60 This is free software; see the source for copying conditions. There is NO
61 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
62
63 configure:2112: $? = 0
64 configure:2119: g++ -v >&5
65 Using built-in specs.
66 Target: i486-linux-gnu
67 Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
68 Thread model: posix
69 gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
70 configure:2122: $? = 0
71 configure:2129: g++ -V >&5
72 g++: '-V' option must have argument
73 configure:2132: $? = 1
74 configure:2155: checking for C++ compiler default output file name
75
76 ## ---------------- ##
77 ## Cache variables. ##
78 ## ---------------- ##
79
80 ac_cv_env_CCC_set=
81 ac_cv_env_CCC_value=
82 ac_cv_env_CC_set=
83 ac_cv_env_CC_value=
84 ac_cv_env_CFLAGS_set=
85 ac_cv_env_CFLAGS_value=
86 ac_cv_env_CPPFLAGS_set=
87 ac_cv_env_CPPFLAGS_value=
88 ac_cv_env_CPP_set=
89 ac_cv_env_CPP_value=
90 ac_cv_env_CXXCPP_set=
91 ac_cv_env_CXXCPP_value=
92 ac_cv_env_CXXFLAGS_set=set
93 ac_cv_env_CXXFLAGS_value='-Wall -g -DDEBIANIZED -O2'
94 ac_cv_env_CXX_set=set
95 ac_cv_env_CXX_value=g++
96 ac_cv_env_LDFLAGS_set=
97 ac_cv_env_LDFLAGS_value=
98 ac_cv_env_build_alias_set=set
99 ac_cv_env_build_alias_value=i486-linux-gnu
100 ac_cv_env_host_alias_set=set
101 ac_cv_env_host_alias_value=i486-linux-gnu
102 ac_cv_env_target_alias_set=
103 ac_cv_env_target_alias_value=
104 ac_cv_path_install='/usr/bin/install -c'
105 ac_cv_prog_make_make_set=yes
106
107 ## ----------------- ##
108 ## Output variables. ##
109 ## ----------------- ##
110
111 ACLOCAL='aclocal-1.4'
112 AUTOCONF='autoconf'
113 AUTOHEADER='autoheader'
114 AUTOMAKE='automake-1.4'
115 CC=''
116 CFLAGS=''
117 CPP=''
118 CPPFLAGS=''
119 CXX='g++'
120 CXXCPP=''
121 CXXFLAGS='-Wall -g -DDEBIANIZED -O2'
122 DEFS=''
123 ECHO_C=''
124 ECHO_N='-n'
125 ECHO_T=''
126 EGREP=''
127 EXEEXT=''
128 GREP=''
129 INSTALL_DATA='${INSTALL} -m 644'
130 INSTALL_PROGRAM='${INSTALL}'
131 INSTALL_SCRIPT='${INSTALL}'
132 LDFLAGS=''
133 LIBOBJS=''
134 LIBS=''
135 LTLIBOBJS=''
136 MAKEINFO='makeinfo'
137 OBJEXT=''
138 PACKAGE='squidview'
139 PACKAGE_BUGREPORT=''
140 PACKAGE_NAME=''
141 PACKAGE_STRING=''
142 PACKAGE_TARNAME=''
143 PACKAGE_VERSION=''
144 PATH_SEPARATOR=':'
145 SET_MAKE=''
146 SHELL='/bin/bash'
147 VERSION='0.71'
148 ac_ct_CC=''
149 ac_ct_CXX=''
150 bindir='${exec_prefix}/bin'
151 build_alias='i486-linux-gnu'
152 datadir='${prefix}/share/doc'
153 datarootdir='${prefix}/share'
154 docdir='${datarootdir}/doc/${PACKAGE}'
155 dvidir='${docdir}'
156 exec_prefix='NONE'
157 host_alias='i486-linux-gnu'
158 htmldir='${docdir}'
159 includedir='${prefix}/include'
160 infodir='${prefix}/share/info'
161 libdir='${exec_prefix}/lib'
162 libexecdir='${exec_prefix}/libexec'
163 localedir='${datarootdir}/locale'
164 localstatedir='${prefix}/var'
165 mandir='${prefix}/share/man'
166 oldincludedir='/usr/include'
167 pdfdir='${docdir}'
168 prefix='/usr'
169 program_transform_name='s,x,x,'
170 psdir='${docdir}'
171 sbindir='${exec_prefix}/sbin'
172 sharedstatedir='${prefix}/com'
173 sysconfdir='${prefix}/etc'
174 target_alias=''
175
176 ## ----------- ##
177 ## confdefs.h. ##
178 ## ----------- ##
179
180 #define PACKAGE_NAME ""
181 #define PACKAGE_TARNAME ""
182 #define PACKAGE_VERSION ""
183 #define PACKAGE_STRING ""
184 #define PACKAGE_BUGREPORT ""
185 #define PACKAGE "squidview"
186 #define VERSION "0.71"
187
188 configure: caught signal 2
189 configure: exit 1
+2878
-2191
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59.
2 # Generated by GNU Autoconf 2.60.
33 #
4 # Copyright (C) 2003 Free Software Foundation, Inc.
4 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
5 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
56 # This configure script is free software; the Free Software Foundation
67 # gives unlimited permission to copy, distribute and modify it.
78 ## --------------------- ##
1516 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1617 # is contrary to our usage. Disable this feature.
1718 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
19 setopt NO_GLOB_SUBST
20 else
21 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
22 fi
23 BIN_SH=xpg4; export BIN_SH # for Tru64
2124 DUALCASE=1; export DUALCASE # for MKS sh
2225
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
33 PS1='$ '
34 PS2='> '
35 PS4='+ '
36
37 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
42 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
45 else
46 $as_unset $as_var
47 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
52 as_expr=expr
53 else
54 as_expr=false
55 fi
56
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58 as_basename=basename
59 else
60 as_basename=false
61 fi
62
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
26
27 # PATH needs CR
7828 # Avoid depending upon Character Ranges.
7929 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8030 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9545 rm -f conf$$.sh
9646 fi
9747
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48 # Support unset when possible.
49 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50 as_unset=unset
51 else
52 as_unset=false
53 fi
54
55
56 # IFS
57 # We need space, tab and new line, in precisely that order. Quoting is
58 # there to prevent editors from complaining about space-tab.
59 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
60 # splitting by setting IFS to empty value.)
61 as_nl='
62 '
63 IFS=" "" $as_nl"
64
65 # Find who we are. Look in the path if we contain no directory separator.
66 case $0 in
67 *[\\/]* ) as_myself=$0 ;;
68 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10969 for as_dir in $PATH
11070 do
11171 IFS=$as_save_IFS
11272 test -z "$as_dir" && as_dir=.
11373 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11474 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
75 IFS=$as_save_IFS
76
77 ;;
78 esac
79 # We did not find ourselves, most probably we were run as `sh COMMAND'
80 # in which case we are not to be found in the path.
81 if test "x$as_myself" = x; then
82 as_myself=$0
83 fi
84 if test ! -f "$as_myself"; then
85 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
86 { (exit 1); exit 1; }
87 fi
88
89 # Work around bugs in pre-3.0 UWIN ksh.
90 for as_var in ENV MAIL MAILPATH
91 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
92 done
93 PS1='$ '
94 PS2='> '
95 PS4='+ '
96
97 # NLS nuisances.
98 for as_var in \
99 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
100 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
101 LC_TELEPHONE LC_TIME
102 do
103 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
104 eval $as_var=C; export $as_var
105 else
106 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
122107 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
108 done
109
110 # Required to use basename.
111 if expr a : '\(a\)' >/dev/null 2>&1 &&
112 test "X`expr 00001 : '.*\(...\)'`" = X001; then
113 as_expr=expr
114 else
115 as_expr=false
116 fi
117
118 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
119 as_basename=basename
120 else
121 as_basename=false
122 fi
123
124
125 # Name of the executable.
126 as_me=`$as_basename -- "$0" ||
127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
128 X"$0" : 'X\(//\)$' \| \
129 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
130 echo X/"$0" |
131 sed '/^.*\/\([^/][^/]*\)\/*$/{
132 s//\1/
133 q
134 }
135 /^X\/\(\/\/\)$/{
136 s//\1/
137 q
138 }
139 /^X\/\(\/\).*/{
140 s//\1/
141 q
142 }
143 s/.*/./; q'`
144
145 # CDPATH.
146 $as_unset CDPATH
147
148
149 if test "x$CONFIG_SHELL" = x; then
150 if (eval ":") 2>/dev/null; then
151 as_have_required=yes
152 else
153 as_have_required=no
154 fi
155
156 if test $as_have_required = yes && (eval ":
157 (as_func_return () {
158 (exit \$1)
159 }
160 as_func_success () {
161 as_func_return 0
162 }
163 as_func_failure () {
164 as_func_return 1
165 }
166 as_func_ret_success () {
167 return 0
168 }
169 as_func_ret_failure () {
170 return 1
171 }
172
173 exitcode=0
174 if as_func_success; then
175 :
176 else
177 exitcode=1
178 echo as_func_success failed.
179 fi
180
181 if as_func_failure; then
182 exitcode=1
183 echo as_func_failure succeeded.
184 fi
185
186 if as_func_ret_success; then
187 :
188 else
189 exitcode=1
190 echo as_func_ret_success failed.
191 fi
192
193 if as_func_ret_failure; then
194 exitcode=1
195 echo as_func_ret_failure succeeded.
196 fi
197
198 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
199 :
200 else
201 exitcode=1
202 echo positional parameters were not saved.
203 fi
204
205 test \$exitcode = 0) || { (exit 1); exit 1; }
206
207 (
208 as_lineno_1=\$LINENO
209 as_lineno_2=\$LINENO
210 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
211 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
212 ") 2> /dev/null; then
213 :
214 else
215 as_candidate_shells=
129216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
217 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131218 do
132219 IFS=$as_save_IFS
133220 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
221 case $as_dir in
136222 /*)
137 if ("$as_dir/$as_base" -c '
223 for as_base in sh bash ksh sh5; do
224 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
225 done;;
226 esac
227 done
228 IFS=$as_save_IFS
229
230
231 for as_shell in $as_candidate_shells $SHELL; do
232 # Try only shells that exist, to save several forks.
233 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
234 { ("$as_shell") 2> /dev/null <<\_ASEOF
235 # Be Bourne compatible
236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
237 emulate sh
238 NULLCMD=:
239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
240 # is contrary to our usage. Disable this feature.
241 alias -g '${1+"$@"}'='"$@"'
242 setopt NO_GLOB_SUBST
243 else
244 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
245 fi
246 BIN_SH=xpg4; export BIN_SH # for Tru64
247 DUALCASE=1; export DUALCASE # for MKS sh
248
249 :
250 _ASEOF
251 }; then
252 CONFIG_SHELL=$as_shell
253 as_have_required=yes
254 if { "$as_shell" 2> /dev/null <<\_ASEOF
255 # Be Bourne compatible
256 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
257 emulate sh
258 NULLCMD=:
259 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
260 # is contrary to our usage. Disable this feature.
261 alias -g '${1+"$@"}'='"$@"'
262 setopt NO_GLOB_SUBST
263 else
264 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
265 fi
266 BIN_SH=xpg4; export BIN_SH # for Tru64
267 DUALCASE=1; export DUALCASE # for MKS sh
268
269 :
270 (as_func_return () {
271 (exit $1)
272 }
273 as_func_success () {
274 as_func_return 0
275 }
276 as_func_failure () {
277 as_func_return 1
278 }
279 as_func_ret_success () {
280 return 0
281 }
282 as_func_ret_failure () {
283 return 1
284 }
285
286 exitcode=0
287 if as_func_success; then
288 :
289 else
290 exitcode=1
291 echo as_func_success failed.
292 fi
293
294 if as_func_failure; then
295 exitcode=1
296 echo as_func_failure succeeded.
297 fi
298
299 if as_func_ret_success; then
300 :
301 else
302 exitcode=1
303 echo as_func_ret_success failed.
304 fi
305
306 if as_func_ret_failure; then
307 exitcode=1
308 echo as_func_ret_failure succeeded.
309 fi
310
311 if ( set x; as_func_ret_success y && test x = "$1" ); then
312 :
313 else
314 exitcode=1
315 echo positional parameters were not saved.
316 fi
317
318 test $exitcode = 0) || { (exit 1); exit 1; }
319
320 (
138321 as_lineno_1=$LINENO
139322 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141323 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
324 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
325
326 _ASEOF
327 }; then
328 break
329 fi
330
331 fi
332
333 done
334
335 if test "x$CONFIG_SHELL" != x; then
336 for as_var in BASH_ENV ENV
337 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
338 done
339 export CONFIG_SHELL
340 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
341 fi
342
343
344 if test $as_have_required = no; then
345 echo This script requires a shell more modern than all the
346 echo shells that I found on your system. Please install a
347 echo modern shell, or manually run the script under such a
348 echo shell if you do have one.
349 { (exit 1); exit 1; }
350 fi
351
352
353 fi
354
355 fi
356
357
358
359 (eval "as_func_return () {
360 (exit \$1)
361 }
362 as_func_success () {
363 as_func_return 0
364 }
365 as_func_failure () {
366 as_func_return 1
367 }
368 as_func_ret_success () {
369 return 0
370 }
371 as_func_ret_failure () {
372 return 1
373 }
374
375 exitcode=0
376 if as_func_success; then
377 :
378 else
379 exitcode=1
380 echo as_func_success failed.
381 fi
382
383 if as_func_failure; then
384 exitcode=1
385 echo as_func_failure succeeded.
386 fi
387
388 if as_func_ret_success; then
389 :
390 else
391 exitcode=1
392 echo as_func_ret_success failed.
393 fi
394
395 if as_func_ret_failure; then
396 exitcode=1
397 echo as_func_ret_failure succeeded.
398 fi
399
400 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
401 :
402 else
403 exitcode=1
404 echo positional parameters were not saved.
405 fi
406
407 test \$exitcode = 0") || {
408 echo No shell found that supports shell functions.
409 echo Please tell autoconf@gnu.org about your system,
410 echo including any error possibly output before this
411 echo message
412 }
413
414
415
416 as_lineno_1=$LINENO
417 as_lineno_2=$LINENO
418 test "x$as_lineno_1" != "x$as_lineno_2" &&
419 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
154420
155421 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156422 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
423 # line-number line after each line using $LINENO; the second 'sed'
424 # does the real work. The second script uses 'N' to pair each
425 # line-number line with the line containing $LINENO, and appends
426 # trailing '-' during substitution so that $LINENO is not a special
427 # case at line end.
161428 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
429 # scripts with optimization help from Paolo Bonzini. Blame Lee
430 # E. McMahon (1931-1989) for sed's syntax. :-)
431 sed -n '
432 p
433 /[$]LINENO/=
434 ' <$as_myself |
164435 sed '
436 s/[$]LINENO.*/&-/
437 t lineno
438 b
439 :lineno
165440 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
441 :loop
442 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
169443 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
444 s/-\n.*//
172445 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
446 chmod +x "$as_me.lineno" ||
174447 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175448 { (exit 1); exit 1; }; }
176449
177450 # Don't try to exec as it changes $[0], causing all sort of problems
178451 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
181454 # Exit status is that of the last command.
182455 exit
183456 }
184457
185458
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 esac
192
193 if expr a : '\(a\)' >/dev/null 2>&1; then
459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
460 as_dirname=dirname
461 else
462 as_dirname=false
463 fi
464
465 ECHO_C= ECHO_N= ECHO_T=
466 case `echo -n x` in
467 -n*)
468 case `echo 'x\c'` in
469 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470 *) ECHO_C='\c';;
471 esac;;
472 *)
473 ECHO_N='-n';;
474 esac
475
476 if expr a : '\(a\)' >/dev/null 2>&1 &&
477 test "X`expr 00001 : '.*\(...\)'`" = X001; then
194478 as_expr=expr
195479 else
196480 as_expr=false
197481 fi
198482
199483 rm -f conf$$ conf$$.exe conf$$.file
484 if test -d conf$$.dir; then
485 rm -f conf$$.dir/conf$$.file
486 else
487 rm -f conf$$.dir
488 mkdir conf$$.dir
489 fi
200490 echo >conf$$.file
201491 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
492 as_ln_s='ln -s'
493 # ... but there are two gotchas:
494 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
495 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
496 # In both cases, we have to default to `cp -p'.
497 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
206498 as_ln_s='cp -p'
207 else
208 as_ln_s='ln -s'
209 fi
210499 elif ln conf$$.file conf$$ 2>/dev/null; then
211500 as_ln_s=ln
212501 else
213502 as_ln_s='cp -p'
214503 fi
215 rm -f conf$$ conf$$.exe conf$$.file
504 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
505 rmdir conf$$.dir 2>/dev/null
216506
217507 if mkdir -p . 2>/dev/null; then
218508 as_mkdir_p=:
221511 as_mkdir_p=false
222512 fi
223513
224 as_executable_p="test -f"
514 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
515 # systems may use methods other than mode bits to determine executability.
516 cat >conf$$.file <<_ASEOF
517 #! /bin/sh
518 exit 0
519 _ASEOF
520 chmod +x conf$$.file
521 if test -x conf$$.file >/dev/null 2>&1; then
522 as_executable_p="test -x"
523 else
524 as_executable_p=:
525 fi
526 rm -f conf$$.file
225527
226528 # Sed expression to map a string onto a valid CPP name.
227529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231533
232534
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
535
536 exec 7<&0 </dev/null 6>&1
242537
243538 # Name of the host.
244539 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245540 # so uname gets run too.
246541 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247542
248 exec 6>&1
249
250543 #
251544 # Initializations.
252545 #
253546 ac_default_prefix=/usr/local
547 ac_clean_files=
254548 ac_config_libobj_dir=.
549 LIBOBJS=
255550 cross_compiling=no
256551 subdirs=
257552 MFLAGS=
258553 MAKEFLAGS=
259554 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265555
266556 # Identity of this package.
267557 PACKAGE_NAME=
299589 #endif
300590 #if HAVE_INTTYPES_H
301591 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
592 #endif
593 #if HAVE_STDINT_H
594 # include <stdint.h>
306595 #endif
307596 #if HAVE_UNISTD_H
308597 # include <unistd.h>
309598 #endif"
310599
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP EGREP CXXCPP LIBOBJS LTLIBOBJS'
600 ac_subst_vars='SHELL
601 PATH_SEPARATOR
602 PACKAGE_NAME
603 PACKAGE_TARNAME
604 PACKAGE_VERSION
605 PACKAGE_STRING
606 PACKAGE_BUGREPORT
607 exec_prefix
608 prefix
609 program_transform_name
610 bindir
611 sbindir
612 libexecdir
613 datarootdir
614 datadir
615 sysconfdir
616 sharedstatedir
617 localstatedir
618 includedir
619 oldincludedir
620 docdir
621 infodir
622 htmldir
623 dvidir
624 pdfdir
625 psdir
626 libdir
627 localedir
628 mandir
629 DEFS
630 ECHO_C
631 ECHO_N
632 ECHO_T
633 LIBS
634 build_alias
635 host_alias
636 target_alias
637 INSTALL_PROGRAM
638 INSTALL_SCRIPT
639 INSTALL_DATA
640 PACKAGE
641 VERSION
642 ACLOCAL
643 AUTOCONF
644 AUTOMAKE
645 AUTOHEADER
646 MAKEINFO
647 SET_MAKE
648 CXX
649 CXXFLAGS
650 LDFLAGS
651 CPPFLAGS
652 ac_ct_CXX
653 EXEEXT
654 OBJEXT
655 CC
656 CFLAGS
657 ac_ct_CC
658 CPP
659 GREP
660 EGREP
661 CXXCPP
662 LIBOBJS
663 LTLIBOBJS'
312664 ac_subst_files=''
665 ac_precious_vars='build_alias
666 host_alias
667 target_alias
668 CXX
669 CXXFLAGS
670 LDFLAGS
671 CPPFLAGS
672 CCC
673 CC
674 CFLAGS
675 CPP
676 CXXCPP'
677
313678
314679 # Initialize some variables set by options.
315680 ac_init_help=
336701 # and all the variables that are supposed to be based on exec_prefix
337702 # by default will actually change.
338703 # Use braces instead of parens because sh, perl, etc. also accept them.
704 # (The list follows the same order as the GNU Coding Standards.)
339705 bindir='${exec_prefix}/bin'
340706 sbindir='${exec_prefix}/sbin'
341707 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
708 datarootdir='${prefix}/share'
709 datadir='${datarootdir}'
343710 sysconfdir='${prefix}/etc'
344711 sharedstatedir='${prefix}/com'
345712 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347713 includedir='${prefix}/include'
348714 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
715 docdir='${datarootdir}/doc/${PACKAGE}'
716 infodir='${datarootdir}/info'
717 htmldir='${docdir}'
718 dvidir='${docdir}'
719 pdfdir='${docdir}'
720 psdir='${docdir}'
721 libdir='${exec_prefix}/lib'
722 localedir='${datarootdir}/locale'
723 mandir='${datarootdir}/man'
351724
352725 ac_prev=
726 ac_dashdash=
353727 for ac_option
354728 do
355729 # If the previous option needs an argument, assign it.
356730 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
731 eval $ac_prev=\$ac_option
358732 ac_prev=
359733 continue
360734 fi
361735
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
736 case $ac_option in
737 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
738 *) ac_optarg=yes ;;
739 esac
363740
364741 # Accept the important Cygnus configure options, so we can diagnose typos.
365742
366 case $ac_option in
743 case $ac_dashdash$ac_option in
744 --)
745 ac_dashdash=yes ;;
367746
368747 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369748 ac_prev=bindir ;;
385764 --config-cache | -C)
386765 cache_file=config.cache ;;
387766
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
767 -datadir | --datadir | --datadi | --datad)
389768 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
769 -datadir=* | --datadir=* | --datadi=* | --datad=*)
392770 datadir=$ac_optarg ;;
771
772 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
773 | --dataroo | --dataro | --datar)
774 ac_prev=datarootdir ;;
775 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
776 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
777 datarootdir=$ac_optarg ;;
393778
394779 -disable-* | --disable-*)
395780 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398783 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399784 { (exit 1); exit 1; }; }
400785 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
786 eval enable_$ac_feature=no ;;
787
788 -docdir | --docdir | --docdi | --doc | --do)
789 ac_prev=docdir ;;
790 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
791 docdir=$ac_optarg ;;
792
793 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
794 ac_prev=dvidir ;;
795 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
796 dvidir=$ac_optarg ;;
402797
403798 -enable-* | --enable-*)
404799 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407802 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408803 { (exit 1); exit 1; }; }
409804 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
805 eval enable_$ac_feature=\$ac_optarg ;;
415806
416807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417808 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
438829 -host=* | --host=* | --hos=* | --ho=*)
439830 host_alias=$ac_optarg ;;
440831
832 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
833 ac_prev=htmldir ;;
834 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
835 | --ht=*)
836 htmldir=$ac_optarg ;;
837
441838 -includedir | --includedir | --includedi | --included | --include \
442839 | --includ | --inclu | --incl | --inc)
443840 ac_prev=includedir ;;
462859 | --libexe=* | --libex=* | --libe=*)
463860 libexecdir=$ac_optarg ;;
464861
862 -localedir | --localedir | --localedi | --localed | --locale)
863 ac_prev=localedir ;;
864 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
865 localedir=$ac_optarg ;;
866
465867 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
868 | --localstate | --localstat | --localsta | --localst | --locals)
468869 ac_prev=localstatedir ;;
469870 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
871 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
472872 localstatedir=$ac_optarg ;;
473873
474874 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
533933 | --progr-tra=* | --program-tr=* | --program-t=*)
534934 program_transform_name=$ac_optarg ;;
535935
936 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
937 ac_prev=pdfdir ;;
938 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
939 pdfdir=$ac_optarg ;;
940
941 -psdir | --psdir | --psdi | --psd | --ps)
942 ac_prev=psdir ;;
943 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
944 psdir=$ac_optarg ;;
945
536946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537947 | -silent | --silent | --silen | --sile | --sil)
538948 silent=yes ;;
589999 { echo "$as_me: error: invalid package name: $ac_package" >&2
5901000 { (exit 1); exit 1; }; }
5911001 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
1002 eval with_$ac_package=\$ac_optarg ;;
5971003
5981004 -without-* | --without-*)
5991005 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6021008 { echo "$as_me: error: invalid package name: $ac_package" >&2
6031009 { (exit 1); exit 1; }; }
6041010 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
1011 eval with_$ac_package=no ;;
6061012
6071013 --x)
6081014 # Obsolete; use --with-x.
6331039 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
6341040 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
6351041 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
1042 eval $ac_envvar=\$ac_optarg
6381043 export $ac_envvar ;;
6391044
6401045 *)
6541059 { (exit 1); exit 1; }; }
6551060 fi
6561061
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
1062 # Be sure to have absolute directory names.
1063 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1064 datadir sysconfdir sharedstatedir localstatedir includedir \
1065 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1066 libdir localedir mandir
6591067 do
660 eval ac_val=$`echo $ac_var`
1068 eval ac_val=\$$ac_var
6611069 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
1070 [\\/$]* | ?:[\\/]* ) continue;;
1071 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
6651072 esac
666 done
667
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671 do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
1073 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1074 { (exit 1); exit 1; }; }
6781075 done
6791076
6801077 # There might be people who depend on the old broken behavior: `$host'
7011098 test "$silent" = yes && exec 6>/dev/null
7021099
7031100
1101 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1102 ac_ls_di=`ls -di .` &&
1103 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1104 { echo "$as_me: error: Working directory cannot be determined" >&2
1105 { (exit 1); exit 1; }; }
1106 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1107 { echo "$as_me: error: pwd does not report name of working directory" >&2
1108 { (exit 1); exit 1; }; }
1109
1110
7041111 # Find the source files, if location was not specified.
7051112 if test -z "$srcdir"; then
7061113 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
1114 # Try the directory containing this script, then the parent directory.
1115 ac_confdir=`$as_dirname -- "$0" ||
7091116 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7101117 X"$0" : 'X\(//\)[^/]' \| \
7111118 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
1119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7141120 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
1121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1122 s//\1/
1123 q
1124 }
1125 /^X\(\/\/\)[^/].*/{
1126 s//\1/
1127 q
1128 }
1129 /^X\(\/\/\)$/{
1130 s//\1/
1131 q
1132 }
1133 /^X\(\/\).*/{
1134 s//\1/
1135 q
1136 }
1137 s/.*/./; q'`
7201138 srcdir=$ac_confdir
7211139 if test ! -r "$srcdir/$ac_unique_file"; then
7221140 srcdir=..
7251143 ac_srcdir_defaulted=no
7261144 fi
7271145 if test ! -r "$srcdir/$ac_unique_file"; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1146 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1147 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
7301148 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1149 fi
1150 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1151 ac_abs_confdir=`(
1152 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
7331153 { (exit 1); exit 1; }; }
734 fi
735 fi
736 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CXX_set=${CXX+set}
753 ac_env_CXX_value=$CXX
754 ac_cv_env_CXX_set=${CXX+set}
755 ac_cv_env_CXX_value=$CXX
756 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
757 ac_env_CXXFLAGS_value=$CXXFLAGS
758 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
759 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CC_set=${CC+set}
769 ac_env_CC_value=$CC
770 ac_cv_env_CC_set=${CC+set}
771 ac_cv_env_CC_value=$CC
772 ac_env_CFLAGS_set=${CFLAGS+set}
773 ac_env_CFLAGS_value=$CFLAGS
774 ac_cv_env_CFLAGS_set=${CFLAGS+set}
775 ac_cv_env_CFLAGS_value=$CFLAGS
776 ac_env_CPP_set=${CPP+set}
777 ac_env_CPP_value=$CPP
778 ac_cv_env_CPP_set=${CPP+set}
779 ac_cv_env_CPP_value=$CPP
780 ac_env_CXXCPP_set=${CXXCPP+set}
781 ac_env_CXXCPP_value=$CXXCPP
782 ac_cv_env_CXXCPP_set=${CXXCPP+set}
783 ac_cv_env_CXXCPP_value=$CXXCPP
1154 pwd)`
1155 # When building in place, set srcdir=.
1156 if test "$ac_abs_confdir" = "$ac_pwd"; then
1157 srcdir=.
1158 fi
1159 # Remove unnecessary trailing slashes from srcdir.
1160 # Double slashes in file names in object file debugging info
1161 # mess up M-x gdb in Emacs.
1162 case $srcdir in
1163 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1164 esac
1165 for ac_var in $ac_precious_vars; do
1166 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1167 eval ac_env_${ac_var}_value=\$${ac_var}
1168 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1169 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1170 done
7841171
7851172 #
7861173 # Report the --help message.
8091196 -n, --no-create do not create output files
8101197 --srcdir=DIR find the sources in DIR [configure dir or \`..']
8111198
812 _ACEOF
813
814 cat <<_ACEOF
8151199 Installation directories:
8161200 --prefix=PREFIX install architecture-independent files in PREFIX
8171201 [$ac_default_prefix]
8291213 --bindir=DIR user executables [EPREFIX/bin]
8301214 --sbindir=DIR system admin executables [EPREFIX/sbin]
8311215 --libexecdir=DIR program executables [EPREFIX/libexec]
832 --datadir=DIR read-only architecture-independent data [PREFIX/share]
8331216 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
8341217 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
8351218 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
8361219 --libdir=DIR object code libraries [EPREFIX/lib]
8371220 --includedir=DIR C header files [PREFIX/include]
8381221 --oldincludedir=DIR C header files for non-gcc [/usr/include]
839 --infodir=DIR info documentation [PREFIX/info]
840 --mandir=DIR man documentation [PREFIX/man]
1222 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1223 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1224 --infodir=DIR info documentation [DATAROOTDIR/info]
1225 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1226 --mandir=DIR man documentation [DATAROOTDIR/man]
1227 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1228 --htmldir=DIR html documentation [DOCDIR]
1229 --dvidir=DIR dvi documentation [DOCDIR]
1230 --pdfdir=DIR pdf documentation [DOCDIR]
1231 --psdir=DIR ps documentation [DOCDIR]
8411232 _ACEOF
8421233
8431234 cat <<\_ACEOF
8581249 CXXFLAGS C++ compiler flags
8591250 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
8601251 nonstandard directory <lib dir>
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
862 headers in a nonstandard directory <include dir>
1252 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1253 you have headers in a nonstandard directory <include dir>
8631254 CC C compiler command
8641255 CFLAGS C compiler flags
8651256 CPP C preprocessor
8691260 it to find libraries and programs with nonstandard names/locations.
8701261
8711262 _ACEOF
1263 ac_status=$?
8721264 fi
8731265
8741266 if test "$ac_init_help" = "recursive"; then
8751267 # If there are subdirs, report their specific --help.
876 ac_popdir=`pwd`
8771268 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
878 test -d $ac_dir || continue
1269 test -d "$ac_dir" || continue
8791270 ac_builddir=.
8801271
881 if test "$ac_dir" != .; then
1272 case "$ac_dir" in
1273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1274 *)
8821275 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
883 # A "../" for each directory in $ac_dir_suffix.
884 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
885 else
886 ac_dir_suffix= ac_top_builddir=
887 fi
1276 # A ".." for each directory in $ac_dir_suffix.
1277 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1278 case $ac_top_builddir_sub in
1279 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1280 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1281 esac ;;
1282 esac
1283 ac_abs_top_builddir=$ac_pwd
1284 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1285 # for backward compatibility:
1286 ac_top_builddir=$ac_top_build_prefix
8881287
8891288 case $srcdir in
890 .) # No --srcdir option. We are building in place.
1289 .) # We are building in place.
8911290 ac_srcdir=.
892 if test -z "$ac_top_builddir"; then
893 ac_top_srcdir=.
894 else
895 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
896 fi ;;
897 [\\/]* | ?:[\\/]* ) # Absolute path.
1291 ac_top_srcdir=$ac_top_builddir_sub
1292 ac_abs_top_srcdir=$ac_pwd ;;
1293 [\\/]* | ?:[\\/]* ) # Absolute name.
8981294 ac_srcdir=$srcdir$ac_dir_suffix;
899 ac_top_srcdir=$srcdir ;;
900 *) # Relative path.
901 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
902 ac_top_srcdir=$ac_top_builddir$srcdir ;;
903 esac
904
905 # Do not use `cd foo && pwd` to compute absolute paths, because
906 # the directories may not exist.
907 case `pwd` in
908 .) ac_abs_builddir="$ac_dir";;
909 *)
910 case "$ac_dir" in
911 .) ac_abs_builddir=`pwd`;;
912 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
913 *) ac_abs_builddir=`pwd`/"$ac_dir";;
914 esac;;
915 esac
916 case $ac_abs_builddir in
917 .) ac_abs_top_builddir=${ac_top_builddir}.;;
918 *)
919 case ${ac_top_builddir}. in
920 .) ac_abs_top_builddir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
922 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923 esac;;
924 esac
925 case $ac_abs_builddir in
926 .) ac_abs_srcdir=$ac_srcdir;;
927 *)
928 case $ac_srcdir in
929 .) ac_abs_srcdir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
931 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932 esac;;
933 esac
934 case $ac_abs_builddir in
935 .) ac_abs_top_srcdir=$ac_top_srcdir;;
936 *)
937 case $ac_top_srcdir in
938 .) ac_abs_top_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
940 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
941 esac;;
942 esac
943
944 cd $ac_dir
945 # Check for guested configure; otherwise get Cygnus style configure.
946 if test -f $ac_srcdir/configure.gnu; then
947 echo
948 $SHELL $ac_srcdir/configure.gnu --help=recursive
949 elif test -f $ac_srcdir/configure; then
950 echo
951 $SHELL $ac_srcdir/configure --help=recursive
952 elif test -f $ac_srcdir/configure.ac ||
953 test -f $ac_srcdir/configure.in; then
954 echo
955 $ac_configure --help
1295 ac_top_srcdir=$srcdir
1296 ac_abs_top_srcdir=$srcdir ;;
1297 *) # Relative name.
1298 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1299 ac_top_srcdir=$ac_top_build_prefix$srcdir
1300 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1301 esac
1302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1303
1304 cd "$ac_dir" || { ac_status=$?; continue; }
1305 # Check for guested configure.
1306 if test -f "$ac_srcdir/configure.gnu"; then
1307 echo &&
1308 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1309 elif test -f "$ac_srcdir/configure"; then
1310 echo &&
1311 $SHELL "$ac_srcdir/configure" --help=recursive
9561312 else
9571313 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
958 fi
959 cd $ac_popdir
1314 fi || ac_status=$?
1315 cd "$ac_pwd" || { ac_status=$?; break; }
9601316 done
9611317 fi
9621318
963 test -n "$ac_init_help" && exit 0
1319 test -n "$ac_init_help" && exit $ac_status
9641320 if $ac_init_version; then
9651321 cat <<\_ACEOF
966
967 Copyright (C) 2003 Free Software Foundation, Inc.
1322 configure
1323 generated by GNU Autoconf 2.60
1324
1325 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1326 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9681327 This configure script is free software; the Free Software Foundation
9691328 gives unlimited permission to copy, distribute and modify it.
9701329 _ACEOF
971 exit 0
972 fi
973 exec 5>config.log
974 cat >&5 <<_ACEOF
1330 exit
1331 fi
1332 cat >config.log <<_ACEOF
9751333 This file contains any messages produced by compilers while
9761334 running configure, to aid debugging if configure makes a mistake.
9771335
9781336 It was created by $as_me, which was
979 generated by GNU Autoconf 2.59. Invocation command line was
1337 generated by GNU Autoconf 2.60. Invocation command line was
9801338
9811339 $ $0 $@
9821340
9831341 _ACEOF
1342 exec 5>>config.log
9841343 {
9851344 cat <<_ASUNAME
9861345 ## --------- ##
9991358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
10001359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
10011360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1002 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1361 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
10031362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
10041363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
10051364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
10131372 test -z "$as_dir" && as_dir=.
10141373 echo "PATH: $as_dir"
10151374 done
1375 IFS=$as_save_IFS
10161376
10171377 } >&5
10181378
10341394 ac_configure_args=
10351395 ac_configure_args0=
10361396 ac_configure_args1=
1037 ac_sep=
10381397 ac_must_keep_next=false
10391398 for ac_pass in 1 2
10401399 do
10451404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10461405 | -silent | --silent | --silen | --sile | --sil)
10471406 continue ;;
1048 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1407 *\'*)
10491408 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
10501409 esac
10511410 case $ac_pass in
10671426 -* ) ac_must_keep_next=true ;;
10681427 esac
10691428 fi
1070 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1071 # Get rid of the leading space.
1072 ac_sep=" "
1429 ac_configure_args="$ac_configure_args '$ac_arg'"
10731430 ;;
10741431 esac
10751432 done
10801437 # When interrupted or exit'd, cleanup temporary files, and complete
10811438 # config.log. We remove comments because anyway the quotes in there
10821439 # would cause problems or look ugly.
1083 # WARNING: Be sure not to use single quotes in there, as some shells,
1084 # such as our DU 5.0 friend, will then `close' the trap.
1440 # WARNING: Use '\'' to represent an apostrophe within the trap.
1441 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
10851442 trap 'exit_status=$?
10861443 # Save into config.log some information that might help in debugging.
10871444 {
10941451 _ASBOX
10951452 echo
10961453 # The following way of writing the cache mishandles newlines in values,
1097 {
1454 (
1455 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1456 eval ac_val=\$$ac_var
1457 case $ac_val in #(
1458 *${as_nl}*)
1459 case $ac_var in #(
1460 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1461 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1462 esac
1463 case $ac_var in #(
1464 _ | IFS | as_nl) ;; #(
1465 *) $as_unset $ac_var ;;
1466 esac ;;
1467 esac
1468 done
10981469 (set) 2>&1 |
1099 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1100 *ac_space=\ *)
1470 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1471 *${as_nl}ac_space=\ *)
11011472 sed -n \
1102 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1473 "s/'\''/'\''\\\\'\'''\''/g;
1474 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1475 ;; #(
1476 *)
1477 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11041478 ;;
1105 *)
1106 sed -n \
1107 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 ;;
1109 esac;
1110 }
1479 esac |
1480 sort
1481 )
11111482 echo
11121483
11131484 cat <<\_ASBOX
11181489 echo
11191490 for ac_var in $ac_subst_vars
11201491 do
1121 eval ac_val=$`echo $ac_var`
1122 echo "$ac_var='"'"'$ac_val'"'"'"
1492 eval ac_val=\$$ac_var
1493 case $ac_val in
1494 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1495 esac
1496 echo "$ac_var='\''$ac_val'\''"
11231497 done | sort
11241498 echo
11251499
11261500 if test -n "$ac_subst_files"; then
11271501 cat <<\_ASBOX
1128 ## ------------- ##
1129 ## Output files. ##
1130 ## ------------- ##
1502 ## ------------------- ##
1503 ## File substitutions. ##
1504 ## ------------------- ##
11311505 _ASBOX
11321506 echo
11331507 for ac_var in $ac_subst_files
11341508 do
1135 eval ac_val=$`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1509 eval ac_val=\$$ac_var
1510 case $ac_val in
1511 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1512 esac
1513 echo "$ac_var='\''$ac_val'\''"
11371514 done | sort
11381515 echo
11391516 fi
11451522 ## ----------- ##
11461523 _ASBOX
11471524 echo
1148 sed "/^$/d" confdefs.h | sort
1525 cat confdefs.h
11491526 echo
11501527 fi
11511528 test "$ac_signal" != 0 &&
11521529 echo "$as_me: caught signal $ac_signal"
11531530 echo "$as_me: exit $exit_status"
11541531 } >&5
1155 rm -f core *.core &&
1156 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1532 rm -f core *.core core.conftest.* &&
1533 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
11571534 exit $exit_status
1158 ' 0
1535 ' 0
11591536 for ac_signal in 1 2 13 15; do
11601537 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
11611538 done
11621539 ac_signal=0
11631540
11641541 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1165 rm -rf conftest* confdefs.h
1166 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1167 echo >confdefs.h
1542 rm -f -r conftest* confdefs.h
11681543
11691544 # Predefined preprocessor variables.
11701545
11951570
11961571 # Let the site file select an alternate cache file if it wants to.
11971572 # Prefer explicitly selected file to automatically selected ones.
1198 if test -z "$CONFIG_SITE"; then
1199 if test "x$prefix" != xNONE; then
1200 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1201 else
1202 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1203 fi
1204 fi
1205 for ac_site_file in $CONFIG_SITE; do
1573 if test -n "$CONFIG_SITE"; then
1574 set x "$CONFIG_SITE"
1575 elif test "x$prefix" != xNONE; then
1576 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1577 else
1578 set x "$ac_default_prefix/share/config.site" \
1579 "$ac_default_prefix/etc/config.site"
1580 fi
1581 shift
1582 for ac_site_file
1583 do
12061584 if test -r "$ac_site_file"; then
12071585 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
12081586 echo "$as_me: loading site script $ac_site_file" >&6;}
12181596 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
12191597 echo "$as_me: loading cache $cache_file" >&6;}
12201598 case $cache_file in
1221 [\\/]* | ?:[\\/]* ) . $cache_file;;
1222 *) . ./$cache_file;;
1599 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1600 *) . "./$cache_file";;
12231601 esac
12241602 fi
12251603 else
12311609 # Check that the precious variables saved in the cache have kept the same
12321610 # value.
12331611 ac_cache_corrupted=false
1234 for ac_var in `(set) 2>&1 |
1235 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 for ac_var in $ac_precious_vars; do
12361613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
12371614 eval ac_new_set=\$ac_env_${ac_var}_set
1238 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1239 eval ac_new_val="\$ac_env_${ac_var}_value"
1615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1616 eval ac_new_val=\$ac_env_${ac_var}_value
12401617 case $ac_old_set,$ac_new_set in
12411618 set,)
12421619 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
12611638 # Pass precious variables to config.status.
12621639 if test "$ac_new_set" = set; then
12631640 case $ac_new_val in
1264 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1265 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
12661642 *) ac_arg=$ac_var=$ac_new_val ;;
12671643 esac
12681644 case " $ac_configure_args " in
12791655 { (exit 1); exit 1; }; }
12801656 fi
12811657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
12821674 ac_ext=c
12831675 ac_cpp='$CPP $CPPFLAGS'
12841676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12871679
12881680
12891681
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307 ac_config_headers="$ac_config_headers config.h"
1308
1309 ac_config_commands="$ac_config_commands default-1"
1682 ac_config_headers="$ac_config_headers config.h"
1683
1684 ac_config_commands="$ac_config_commands default-1"
13101685
13111686 am__api_version="1.4"
13121687 ac_aux_dir=
1313 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1314 if test -f $ac_dir/install-sh; then
1688 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1689 if test -f "$ac_dir/install-sh"; then
13151690 ac_aux_dir=$ac_dir
13161691 ac_install_sh="$ac_aux_dir/install-sh -c"
13171692 break
1318 elif test -f $ac_dir/install.sh; then
1693 elif test -f "$ac_dir/install.sh"; then
13191694 ac_aux_dir=$ac_dir
13201695 ac_install_sh="$ac_aux_dir/install.sh -c"
13211696 break
1322 elif test -f $ac_dir/shtool; then
1697 elif test -f "$ac_dir/shtool"; then
13231698 ac_aux_dir=$ac_dir
13241699 ac_install_sh="$ac_aux_dir/shtool install -c"
13251700 break
13261701 fi
13271702 done
13281703 if test -z "$ac_aux_dir"; then
1329 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1330 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1704 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1705 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
13311706 { (exit 1); exit 1; }; }
13321707 fi
1333 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1334 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1335 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1708
1709 # These three variables are undocumented and unsupported,
1710 # and are intended to be withdrawn in a future Autoconf release.
1711 # They can cause serious problems if a builder's source tree is in a directory
1712 # whose full name contains unusual characters.
1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1715 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1716
13361717
13371718 # Find a good install program. We prefer a C program (faster),
13381719 # so one script is as good as another. But avoid the broken or
13471728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13481729 # OS/2's system install, which has a completely different semantic
13491730 # ./install, which can be erroneously created by make from ./install.sh.
1350 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1351 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1731 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1732 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
13521733 if test -z "$INSTALL"; then
13531734 if test "${ac_cv_path_install+set}" = set; then
13541735 echo $ECHO_N "(cached) $ECHO_C" >&6
13701751 # by default.
13711752 for ac_prog in ginstall scoinst install; do
13721753 for ac_exec_ext in '' $ac_executable_extensions; do
1373 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1754 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
13741755 if test $ac_prog = install &&
13751756 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
13761757 # AIX install. It has an incompatible calling convention.
13891770 ;;
13901771 esac
13911772 done
1773 IFS=$as_save_IFS
13921774
13931775
13941776 fi
13951777 if test "${ac_cv_path_install+set}" = set; then
13961778 INSTALL=$ac_cv_path_install
13971779 else
1398 # As a last resort, use the slow shell script. We don't cache a
1399 # path for INSTALL within a source directory, because that will
1780 # As a last resort, use the slow shell script. Don't cache a
1781 # value for INSTALL within a source directory, because that will
14001782 # break other packages using the cache if that directory is
1401 # removed, or if the path is relative.
1783 # removed, or if the value is a relative name.
14021784 INSTALL=$ac_install_sh
14031785 fi
14041786 fi
1405 echo "$as_me:$LINENO: result: $INSTALL" >&5
1406 echo "${ECHO_T}$INSTALL" >&6
1787 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1788 echo "${ECHO_T}$INSTALL" >&6; }
14071789
14081790 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14091791 # It thinks the first close brace ends the variable substitution.
14131795
14141796 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14151797
1416 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1417 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1798 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1799 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
14181800 # Just in case
14191801 sleep 1
14201802 echo timestamp > conftestfile
14561838 { (exit 1); exit 1; }; }
14571839 fi
14581840 rm -f conftest*
1459 echo "$as_me:$LINENO: result: yes" >&5
1460 echo "${ECHO_T}yes" >&6
1841 { echo "$as_me:$LINENO: result: yes" >&5
1842 echo "${ECHO_T}yes" >&6; }
14611843 test "$program_prefix" != NONE &&
1462 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1844 program_transform_name="s&^&$program_prefix&;$program_transform_name"
14631845 # Use a double $ so make ignores it.
14641846 test "$program_suffix" != NONE &&
1465 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1847 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
14661848 # Double any \ or $. echo might interpret backslashes.
14671849 # By default was `s,x,x', remove it if useless.
14681850 cat <<\_ACEOF >conftest.sed
14691851 s/[\\$]/&&/g;s/;s,x,x,$//
14701852 _ACEOF
14711853 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1472 rm conftest.sed
1473
1474 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1475 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1476 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1477 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1854 rm -f conftest.sed
1855
1856 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1857 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1858 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1859 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
14781860 echo $ECHO_N "(cached) $ECHO_C" >&6
14791861 else
14801862 cat >conftest.make <<\_ACEOF
1863 SHELL = /bin/sh
14811864 all:
1482 @echo 'ac_maketemp="$(MAKE)"'
1865 @echo '@@@%%%=$(MAKE)=@@@%%%'
14831866 _ACEOF
14841867 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1485 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1486 if test -n "$ac_maketemp"; then
1487 eval ac_cv_prog_make_${ac_make}_set=yes
1488 else
1489 eval ac_cv_prog_make_${ac_make}_set=no
1490 fi
1868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1869 *@@@%%%=?*=@@@%%%*)
1870 eval ac_cv_prog_make_${ac_make}_set=yes;;
1871 *)
1872 eval ac_cv_prog_make_${ac_make}_set=no;;
1873 esac
14911874 rm -f conftest.make
14921875 fi
1493 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1494 echo "$as_me:$LINENO: result: yes" >&5
1495 echo "${ECHO_T}yes" >&6
1876 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1877 { echo "$as_me:$LINENO: result: yes" >&5
1878 echo "${ECHO_T}yes" >&6; }
14961879 SET_MAKE=
14971880 else
1498 echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
1881 { echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6; }
15001883 SET_MAKE="MAKE=${MAKE-make}"
15011884 fi
15021885
15031886
15041887 PACKAGE=squidview
15051888
1506 VERSION=0.70
1889 VERSION=0.71
15071890
15081891 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
15091892 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
15231906
15241907
15251908 missing_dir=`cd $ac_aux_dir && pwd`
1526 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1527 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1909 { echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1910 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6; }
15281911 # Run test in a subshell; some versions of sh will print an error if
15291912 # an executable is not found, even if stderr is redirected.
15301913 # Redirect stdin to placate older versions of autoconf. Sigh.
15311914 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
15321915 ACLOCAL=aclocal-${am__api_version}
1533 echo "$as_me:$LINENO: result: found" >&5
1534 echo "${ECHO_T}found" >&6
1916 { echo "$as_me:$LINENO: result: found" >&5
1917 echo "${ECHO_T}found" >&6; }
15351918 else
15361919 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1537 echo "$as_me:$LINENO: result: missing" >&5
1538 echo "${ECHO_T}missing" >&6
1539 fi
1540
1541 echo "$as_me:$LINENO: checking for working autoconf" >&5
1542 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1920 { echo "$as_me:$LINENO: result: missing" >&5
1921 echo "${ECHO_T}missing" >&6; }
1922 fi
1923
1924 { echo "$as_me:$LINENO: checking for working autoconf" >&5
1925 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6; }
15431926 # Run test in a subshell; some versions of sh will print an error if
15441927 # an executable is not found, even if stderr is redirected.
15451928 # Redirect stdin to placate older versions of autoconf. Sigh.
15461929 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
15471930 AUTOCONF=autoconf
1548 echo "$as_me:$LINENO: result: found" >&5
1549 echo "${ECHO_T}found" >&6
1931 { echo "$as_me:$LINENO: result: found" >&5
1932 echo "${ECHO_T}found" >&6; }
15501933 else
15511934 AUTOCONF="$missing_dir/missing autoconf"
1552 echo "$as_me:$LINENO: result: missing" >&5
1553 echo "${ECHO_T}missing" >&6
1554 fi
1555
1556 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1557 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1935 { echo "$as_me:$LINENO: result: missing" >&5
1936 echo "${ECHO_T}missing" >&6; }
1937 fi
1938
1939 { echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1940 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6; }
15581941 # Run test in a subshell; some versions of sh will print an error if
15591942 # an executable is not found, even if stderr is redirected.
15601943 # Redirect stdin to placate older versions of autoconf. Sigh.
15611944 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
15621945 AUTOMAKE=automake-${am__api_version}
1563 echo "$as_me:$LINENO: result: found" >&5
1564 echo "${ECHO_T}found" >&6
1946 { echo "$as_me:$LINENO: result: found" >&5
1947 echo "${ECHO_T}found" >&6; }
15651948 else
15661949 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1567 echo "$as_me:$LINENO: result: missing" >&5
1568 echo "${ECHO_T}missing" >&6
1569 fi
1570
1571 echo "$as_me:$LINENO: checking for working autoheader" >&5
1572 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1950 { echo "$as_me:$LINENO: result: missing" >&5
1951 echo "${ECHO_T}missing" >&6; }
1952 fi
1953
1954 { echo "$as_me:$LINENO: checking for working autoheader" >&5
1955 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6; }
15731956 # Run test in a subshell; some versions of sh will print an error if
15741957 # an executable is not found, even if stderr is redirected.
15751958 # Redirect stdin to placate older versions of autoconf. Sigh.
15761959 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
15771960 AUTOHEADER=autoheader
1578 echo "$as_me:$LINENO: result: found" >&5
1579 echo "${ECHO_T}found" >&6
1961 { echo "$as_me:$LINENO: result: found" >&5
1962 echo "${ECHO_T}found" >&6; }
15801963 else
15811964 AUTOHEADER="$missing_dir/missing autoheader"
1582 echo "$as_me:$LINENO: result: missing" >&5
1583 echo "${ECHO_T}missing" >&6
1584 fi
1585
1586 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1587 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1965 { echo "$as_me:$LINENO: result: missing" >&5
1966 echo "${ECHO_T}missing" >&6; }
1967 fi
1968
1969 { echo "$as_me:$LINENO: checking for working makeinfo" >&5
1970 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6; }
15881971 # Run test in a subshell; some versions of sh will print an error if
15891972 # an executable is not found, even if stderr is redirected.
15901973 # Redirect stdin to placate older versions of autoconf. Sigh.
15911974 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
15921975 MAKEINFO=makeinfo
1593 echo "$as_me:$LINENO: result: found" >&5
1594 echo "${ECHO_T}found" >&6
1976 { echo "$as_me:$LINENO: result: found" >&5
1977 echo "${ECHO_T}found" >&6; }
15951978 else
15961979 MAKEINFO="$missing_dir/missing makeinfo"
1597 echo "$as_me:$LINENO: result: missing" >&5
1598 echo "${ECHO_T}missing" >&6
1599 fi
1600
1601
1602 ac_ext=cc
1980 { echo "$as_me:$LINENO: result: missing" >&5
1981 echo "${ECHO_T}missing" >&6; }
1982 fi
1983
1984
1985 ac_ext=cpp
16031986 ac_cpp='$CXXCPP $CPPFLAGS'
16041987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16051988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16061989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1607 if test -n "$ac_tool_prefix"; then
1608 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1990 if test -z "$CXX"; then
1991 if test -n "$CCC"; then
1992 CXX=$CCC
1993 else
1994 if test -n "$ac_tool_prefix"; then
1995 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16091996 do
16101997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16111998 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1612 echo "$as_me:$LINENO: checking for $ac_word" >&5
1613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16142001 if test "${ac_cv_prog_CXX+set}" = set; then
16152002 echo $ECHO_N "(cached) $ECHO_C" >&6
16162003 else
16232010 IFS=$as_save_IFS
16242011 test -z "$as_dir" && as_dir=.
16252012 for ac_exec_ext in '' $ac_executable_extensions; do
1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16272014 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16282015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16292016 break 2
16302017 fi
16312018 done
16322019 done
2020 IFS=$as_save_IFS
16332021
16342022 fi
16352023 fi
16362024 CXX=$ac_cv_prog_CXX
16372025 if test -n "$CXX"; then
1638 echo "$as_me:$LINENO: result: $CXX" >&5
1639 echo "${ECHO_T}$CXX" >&6
1640 else
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1643 fi
2026 { echo "$as_me:$LINENO: result: $CXX" >&5
2027 echo "${ECHO_T}$CXX" >&6; }
2028 else
2029 { echo "$as_me:$LINENO: result: no" >&5
2030 echo "${ECHO_T}no" >&6; }
2031 fi
2032
16442033
16452034 test -n "$CXX" && break
16462035 done
16472036 fi
16482037 if test -z "$CXX"; then
16492038 ac_ct_CXX=$CXX
1650 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2039 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16512040 do
16522041 # Extract the first word of "$ac_prog", so it can be a program name with args.
16532042 set dummy $ac_prog; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16562045 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16572046 echo $ECHO_N "(cached) $ECHO_C" >&6
16582047 else
16652054 IFS=$as_save_IFS
16662055 test -z "$as_dir" && as_dir=.
16672056 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16692058 ac_cv_prog_ac_ct_CXX="$ac_prog"
16702059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16712060 break 2
16722061 fi
16732062 done
16742063 done
2064 IFS=$as_save_IFS
16752065
16762066 fi
16772067 fi
16782068 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16792069 if test -n "$ac_ct_CXX"; then
1680 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1681 echo "${ECHO_T}$ac_ct_CXX" >&6
1682 else
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1685 fi
2070 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2071 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2072 else
2073 { echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6; }
2075 fi
2076
16862077
16872078 test -n "$ac_ct_CXX" && break
16882079 done
1689 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1690
1691 CXX=$ac_ct_CXX
1692 fi
1693
1694
2080
2081 if test "x$ac_ct_CXX" = x; then
2082 CXX="g++"
2083 else
2084 case $cross_compiling:$ac_tool_warned in
2085 yes:)
2086 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2087 whose name does not start with the host triplet. If you think this
2088 configuration is useful to you, please write to autoconf@gnu.org." >&5
2089 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2090 whose name does not start with the host triplet. If you think this
2091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2092 ac_tool_warned=yes ;;
2093 esac
2094 CXX=$ac_ct_CXX
2095 fi
2096 fi
2097
2098 fi
2099 fi
16952100 # Provide some information about the compiler.
1696 echo "$as_me:$LINENO:" \
1697 "checking for C++ compiler version" >&5
2101 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16982102 ac_compiler=`set X $ac_compile; echo $2`
1699 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1700 (eval $ac_compiler --version </dev/null >&5) 2>&5
2103 { (ac_try="$ac_compiler --version >&5"
2104 case "(($ac_try" in
2105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2106 *) ac_try_echo=$ac_try;;
2107 esac
2108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2109 (eval "$ac_compiler --version >&5") 2>&5
17012110 ac_status=$?
17022111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032112 (exit $ac_status); }
1704 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1705 (eval $ac_compiler -v </dev/null >&5) 2>&5
2113 { (ac_try="$ac_compiler -v >&5"
2114 case "(($ac_try" in
2115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2116 *) ac_try_echo=$ac_try;;
2117 esac
2118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2119 (eval "$ac_compiler -v >&5") 2>&5
17062120 ac_status=$?
17072121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082122 (exit $ac_status); }
1709 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1710 (eval $ac_compiler -V </dev/null >&5) 2>&5
2123 { (ac_try="$ac_compiler -V >&5"
2124 case "(($ac_try" in
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2127 esac
2128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2129 (eval "$ac_compiler -V >&5") 2>&5
17112130 ac_status=$?
17122131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132132 (exit $ac_status); }
17322151 # Try to create an executable without -o first, disregard a.out.
17332152 # It will help us diagnose broken compilers, and finding out an intuition
17342153 # of exeext.
1735 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1736 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2154 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2155 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
17372156 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1738 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1739 (eval $ac_link_default) 2>&5
2157 #
2158 # List of possible output files, starting from the most likely.
2159 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2160 # only as a last resort. b.out is created by i960 compilers.
2161 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2162 #
2163 # The IRIX 6 linker writes into existing files which may not be
2164 # executable, retaining their permissions. Remove them first so a
2165 # subsequent execution test works.
2166 ac_rmfiles=
2167 for ac_file in $ac_files
2168 do
2169 case $ac_file in
2170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2171 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2172 esac
2173 done
2174 rm -f $ac_rmfiles
2175
2176 if { (ac_try="$ac_link_default"
2177 case "(($ac_try" in
2178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2179 *) ac_try_echo=$ac_try;;
2180 esac
2181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2182 (eval "$ac_link_default") 2>&5
17402183 ac_status=$?
17412184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422185 (exit $ac_status); }; then
1743 # Find the output, starting from the most likely. This scheme is
1744 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1745 # resort.
1746
1747 # Be careful to initialize this variable, since it used to be cached.
1748 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1749 ac_cv_exeext=
1750 # b.out is created by i960 compilers.
1751 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2186 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2187 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2188 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2189 # so that the user can short-circuit this test for compilers unknown to
2190 # Autoconf.
2191 for ac_file in $ac_files
17522192 do
17532193 test -f "$ac_file" || continue
17542194 case $ac_file in
1755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1756 ;;
1757 conftest.$ac_ext )
1758 # This is the source file.
2195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
17592196 ;;
17602197 [ab].out )
17612198 # We found the default executable, but exeext='' is most
17622199 # certainly right.
17632200 break;;
17642201 *.* )
1765 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1766 # FIXME: I believe we export ac_cv_exeext for Libtool,
1767 # but it would be cool to find out if it's true. Does anybody
1768 # maintain Libtool? --akim.
1769 export ac_cv_exeext
2202 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2203 then :; else
2204 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2205 fi
2206 # We set ac_cv_exeext here because the later test for it is not
2207 # safe: cross compilers may not add the suffix if given an `-o'
2208 # argument, so we may need to know it at that point already.
2209 # Even if this section looks crufty: it has the advantage of
2210 # actually working.
17702211 break;;
17712212 * )
17722213 break;;
17732214 esac
17742215 done
2216 test "$ac_cv_exeext" = no && ac_cv_exeext=
2217
17752218 else
17762219 echo "$as_me: failed program was:" >&5
17772220 sed 's/^/| /' conftest.$ac_ext >&5
17842227 fi
17852228
17862229 ac_exeext=$ac_cv_exeext
1787 echo "$as_me:$LINENO: result: $ac_file" >&5
1788 echo "${ECHO_T}$ac_file" >&6
1789
1790 # Check the compiler produces executables we can run. If not, either
2230 { echo "$as_me:$LINENO: result: $ac_file" >&5
2231 echo "${ECHO_T}$ac_file" >&6; }
2232
2233 # Check that the compiler produces executables we can run. If not, either
17912234 # the compiler is broken, or we cross compile.
1792 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1793 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2235 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2236 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
17942237 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
17952238 # If not cross compiling, check that we can run a simple program.
17962239 if test "$cross_compiling" != yes; then
17972240 if { ac_try='./$ac_file'
1798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1799 (eval $ac_try) 2>&5
2241 { (case "(($ac_try" in
2242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2243 *) ac_try_echo=$ac_try;;
2244 esac
2245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2246 (eval "$ac_try") 2>&5
18002247 ac_status=$?
18012248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022249 (exit $ac_status); }; }; then
18152262 fi
18162263 fi
18172264 fi
1818 echo "$as_me:$LINENO: result: yes" >&5
1819 echo "${ECHO_T}yes" >&6
2265 { echo "$as_me:$LINENO: result: yes" >&5
2266 echo "${ECHO_T}yes" >&6; }
18202267
18212268 rm -f a.out a.exe conftest$ac_cv_exeext b.out
18222269 ac_clean_files=$ac_clean_files_save
1823 # Check the compiler produces executables we can run. If not, either
2270 # Check that the compiler produces executables we can run. If not, either
18242271 # the compiler is broken, or we cross compile.
1825 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1826 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1827 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1828 echo "${ECHO_T}$cross_compiling" >&6
1829
1830 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1831 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1833 (eval $ac_link) 2>&5
2272 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2273 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2274 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2275 echo "${ECHO_T}$cross_compiling" >&6; }
2276
2277 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2278 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2279 if { (ac_try="$ac_link"
2280 case "(($ac_try" in
2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2282 *) ac_try_echo=$ac_try;;
2283 esac
2284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2285 (eval "$ac_link") 2>&5
18342286 ac_status=$?
18352287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362288 (exit $ac_status); }; then
18412293 for ac_file in conftest.exe conftest conftest.*; do
18422294 test -f "$ac_file" || continue
18432295 case $ac_file in
1844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
18452297 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1846 export ac_cv_exeext
18472298 break;;
18482299 * ) break;;
18492300 esac
18572308 fi
18582309
18592310 rm -f conftest$ac_cv_exeext
1860 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1861 echo "${ECHO_T}$ac_cv_exeext" >&6
2311 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2312 echo "${ECHO_T}$ac_cv_exeext" >&6; }
18622313
18632314 rm -f conftest.$ac_ext
18642315 EXEEXT=$ac_cv_exeext
18652316 ac_exeext=$EXEEXT
1866 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1867 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2317 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2318 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
18682319 if test "${ac_cv_objext+set}" = set; then
18692320 echo $ECHO_N "(cached) $ECHO_C" >&6
18702321 else
18842335 }
18852336 _ACEOF
18862337 rm -f conftest.o conftest.obj
1887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1888 (eval $ac_compile) 2>&5
2338 if { (ac_try="$ac_compile"
2339 case "(($ac_try" in
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2342 esac
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_compile") 2>&5
18892345 ac_status=$?
18902346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912347 (exit $ac_status); }; then
1892 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2348 for ac_file in conftest.o conftest.obj conftest.*; do
2349 test -f "$ac_file" || continue;
18932350 case $ac_file in
1894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
18952352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
18962353 break;;
18972354 esac
19092366
19102367 rm -f conftest.$ac_cv_objext conftest.$ac_ext
19112368 fi
1912 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1913 echo "${ECHO_T}$ac_cv_objext" >&6
2369 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2370 echo "${ECHO_T}$ac_cv_objext" >&6; }
19142371 OBJEXT=$ac_cv_objext
19152372 ac_objext=$OBJEXT
1916 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1917 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2373 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2374 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
19182375 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
19192376 echo $ECHO_N "(cached) $ECHO_C" >&6
19202377 else
19372394 }
19382395 _ACEOF
19392396 rm -f conftest.$ac_objext
1940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1941 (eval $ac_compile) 2>conftest.er1
2397 if { (ac_try="$ac_compile"
2398 case "(($ac_try" in
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2401 esac
2402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2403 (eval "$ac_compile") 2>conftest.er1
19422404 ac_status=$?
19432405 grep -v '^ *+' conftest.er1 >conftest.err
19442406 rm -f conftest.er1
19452407 cat conftest.err >&5
19462408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472409 (exit $ac_status); } &&
1948 { ac_try='test -z "$ac_cxx_werror_flag"
1949 || test ! -s conftest.err'
1950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1951 (eval $ac_try) 2>&5
2410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2411 { (case "(($ac_try" in
2412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2413 *) ac_try_echo=$ac_try;;
2414 esac
2415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2416 (eval "$ac_try") 2>&5
19522417 ac_status=$?
19532418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542419 (exit $ac_status); }; } &&
19552420 { ac_try='test -s conftest.$ac_objext'
1956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1957 (eval $ac_try) 2>&5
2421 { (case "(($ac_try" in
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2424 esac
2425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2426 (eval "$ac_try") 2>&5
19582427 ac_status=$?
19592428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602429 (exit $ac_status); }; }; then
19632432 echo "$as_me: failed program was:" >&5
19642433 sed 's/^/| /' conftest.$ac_ext >&5
19652434
1966 ac_compiler_gnu=no
1967 fi
1968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2435 ac_compiler_gnu=no
2436 fi
2437
2438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692439 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19702440
19712441 fi
1972 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1973 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2442 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2443 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19742444 GXX=`test $ac_compiler_gnu = yes && echo yes`
19752445 ac_test_CXXFLAGS=${CXXFLAGS+set}
19762446 ac_save_CXXFLAGS=$CXXFLAGS
1977 CXXFLAGS="-g"
1978 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1979 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2447 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2448 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19802449 if test "${ac_cv_prog_cxx_g+set}" = set; then
19812450 echo $ECHO_N "(cached) $ECHO_C" >&6
19822451 else
1983 cat >conftest.$ac_ext <<_ACEOF
2452 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2453 ac_cxx_werror_flag=yes
2454 ac_cv_prog_cxx_g=no
2455 CXXFLAGS="-g"
2456 cat >conftest.$ac_ext <<_ACEOF
19842457 /* confdefs.h. */
19852458 _ACEOF
19862459 cat confdefs.h >>conftest.$ac_ext
19962469 }
19972470 _ACEOF
19982471 rm -f conftest.$ac_objext
1999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2000 (eval $ac_compile) 2>conftest.er1
2472 if { (ac_try="$ac_compile"
2473 case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478 (eval "$ac_compile") 2>conftest.er1
20012479 ac_status=$?
20022480 grep -v '^ *+' conftest.er1 >conftest.err
20032481 rm -f conftest.er1
20042482 cat conftest.err >&5
20052483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062484 (exit $ac_status); } &&
2007 { ac_try='test -z "$ac_cxx_werror_flag"
2008 || test ! -s conftest.err'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 (eval $ac_try) 2>&5
2485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2486 { (case "(($ac_try" in
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;;
2489 esac
2490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2491 (eval "$ac_try") 2>&5
20112492 ac_status=$?
20122493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132494 (exit $ac_status); }; } &&
20142495 { ac_try='test -s conftest.$ac_objext'
2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016 (eval $ac_try) 2>&5
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
20172502 ac_status=$?
20182503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192504 (exit $ac_status); }; }; then
20222507 echo "$as_me: failed program was:" >&5
20232508 sed 's/^/| /' conftest.$ac_ext >&5
20242509
2025 ac_cv_prog_cxx_g=no
2026 fi
2027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2028 fi
2029 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2030 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2510 CXXFLAGS=""
2511 cat >conftest.$ac_ext <<_ACEOF
2512 /* confdefs.h. */
2513 _ACEOF
2514 cat confdefs.h >>conftest.$ac_ext
2515 cat >>conftest.$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2517
2518 int
2519 main ()
2520 {
2521
2522 ;
2523 return 0;
2524 }
2525 _ACEOF
2526 rm -f conftest.$ac_objext
2527 if { (ac_try="$ac_compile"
2528 case "(($ac_try" in
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2531 esac
2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533 (eval "$ac_compile") 2>conftest.er1
2534 ac_status=$?
2535 grep -v '^ *+' conftest.er1 >conftest.err
2536 rm -f conftest.er1
2537 cat conftest.err >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); } &&
2540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2541 { (case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2546 (eval "$ac_try") 2>&5
2547 ac_status=$?
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; } &&
2550 { ac_try='test -s conftest.$ac_objext'
2551 { (case "(($ac_try" in
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2554 esac
2555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2556 (eval "$ac_try") 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; }; then
2560 :
2561 else
2562 echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2564
2565 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2566 CXXFLAGS="-g"
2567 cat >conftest.$ac_ext <<_ACEOF
2568 /* confdefs.h. */
2569 _ACEOF
2570 cat confdefs.h >>conftest.$ac_ext
2571 cat >>conftest.$ac_ext <<_ACEOF
2572 /* end confdefs.h. */
2573
2574 int
2575 main ()
2576 {
2577
2578 ;
2579 return 0;
2580 }
2581 _ACEOF
2582 rm -f conftest.$ac_objext
2583 if { (ac_try="$ac_compile"
2584 case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_compile") 2>conftest.er1
2590 ac_status=$?
2591 grep -v '^ *+' conftest.er1 >conftest.err
2592 rm -f conftest.er1
2593 cat conftest.err >&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); } &&
2596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2597 { (case "(($ac_try" in
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2600 esac
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602 (eval "$ac_try") 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; } &&
2606 { ac_try='test -s conftest.$ac_objext'
2607 { (case "(($ac_try" in
2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2609 *) ac_try_echo=$ac_try;;
2610 esac
2611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2612 (eval "$ac_try") 2>&5
2613 ac_status=$?
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; }; then
2616 ac_cv_prog_cxx_g=yes
2617 else
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2620
2621
2622 fi
2623
2624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2625 fi
2626
2627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2628 fi
2629
2630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2632 fi
2633 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2634 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
20312635 if test "$ac_test_CXXFLAGS" = set; then
20322636 CXXFLAGS=$ac_save_CXXFLAGS
20332637 elif test $ac_cv_prog_cxx_g = yes; then
20432647 CXXFLAGS=
20442648 fi
20452649 fi
2046 for ac_declaration in \
2047 '' \
2048 'extern "C" void std::exit (int) throw (); using std::exit;' \
2049 'extern "C" void std::exit (int); using std::exit;' \
2050 'extern "C" void exit (int) throw ();' \
2051 'extern "C" void exit (int);' \
2052 'void exit (int);'
2053 do
2054 cat >conftest.$ac_ext <<_ACEOF
2055 /* confdefs.h. */
2056 _ACEOF
2057 cat confdefs.h >>conftest.$ac_ext
2058 cat >>conftest.$ac_ext <<_ACEOF
2059 /* end confdefs.h. */
2060 $ac_declaration
2061 #include <stdlib.h>
2062 int
2063 main ()
2064 {
2065 exit (42);
2066 ;
2067 return 0;
2068 }
2069 _ACEOF
2070 rm -f conftest.$ac_objext
2071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2072 (eval $ac_compile) 2>conftest.er1
2073 ac_status=$?
2074 grep -v '^ *+' conftest.er1 >conftest.err
2075 rm -f conftest.er1
2076 cat conftest.err >&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); } &&
2079 { ac_try='test -z "$ac_cxx_werror_flag"
2080 || test ! -s conftest.err'
2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 (eval $ac_try) 2>&5
2083 ac_status=$?
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }; } &&
2086 { ac_try='test -s conftest.$ac_objext'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 (eval $ac_try) 2>&5
2089 ac_status=$?
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; }; then
2092 :
2093 else
2094 echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.$ac_ext >&5
2096
2097 continue
2098 fi
2099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2100 cat >conftest.$ac_ext <<_ACEOF
2101 /* confdefs.h. */
2102 _ACEOF
2103 cat confdefs.h >>conftest.$ac_ext
2104 cat >>conftest.$ac_ext <<_ACEOF
2105 /* end confdefs.h. */
2106 $ac_declaration
2107 int
2108 main ()
2109 {
2110 exit (42);
2111 ;
2112 return 0;
2113 }
2114 _ACEOF
2115 rm -f conftest.$ac_objext
2116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2117 (eval $ac_compile) 2>conftest.er1
2118 ac_status=$?
2119 grep -v '^ *+' conftest.er1 >conftest.err
2120 rm -f conftest.er1
2121 cat conftest.err >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); } &&
2124 { ac_try='test -z "$ac_cxx_werror_flag"
2125 || test ! -s conftest.err'
2126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 (eval $ac_try) 2>&5
2128 ac_status=$?
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }; } &&
2131 { ac_try='test -s conftest.$ac_objext'
2132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133 (eval $ac_try) 2>&5
2134 ac_status=$?
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; }; then
2137 break
2138 else
2139 echo "$as_me: failed program was:" >&5
2140 sed 's/^/| /' conftest.$ac_ext >&5
2141
2142 fi
2143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2144 done
2145 rm -f conftest*
2146 if test -n "$ac_declaration"; then
2147 echo '#ifdef __cplusplus' >>confdefs.h
2148 echo $ac_declaration >>confdefs.h
2149 echo '#endif' >>confdefs.h
2150 fi
2151
21522650 ac_ext=c
21532651 ac_cpp='$CPP $CPPFLAGS'
21542652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682666 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
21692667 # OS/2's system install, which has a completely different semantic
21702668 # ./install, which can be erroneously created by make from ./install.sh.
2171 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2669 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2670 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
21732671 if test -z "$INSTALL"; then
21742672 if test "${ac_cv_path_install+set}" = set; then
21752673 echo $ECHO_N "(cached) $ECHO_C" >&6
21912689 # by default.
21922690 for ac_prog in ginstall scoinst install; do
21932691 for ac_exec_ext in '' $ac_executable_extensions; do
2194 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2692 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
21952693 if test $ac_prog = install &&
21962694 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21972695 # AIX install. It has an incompatible calling convention.
22102708 ;;
22112709 esac
22122710 done
2711 IFS=$as_save_IFS
22132712
22142713
22152714 fi
22162715 if test "${ac_cv_path_install+set}" = set; then
22172716 INSTALL=$ac_cv_path_install
22182717 else
2219 # As a last resort, use the slow shell script. We don't cache a
2220 # path for INSTALL within a source directory, because that will
2718 # As a last resort, use the slow shell script. Don't cache a
2719 # value for INSTALL within a source directory, because that will
22212720 # break other packages using the cache if that directory is
2222 # removed, or if the path is relative.
2721 # removed, or if the value is a relative name.
22232722 INSTALL=$ac_install_sh
22242723 fi
22252724 fi
2226 echo "$as_me:$LINENO: result: $INSTALL" >&5
2227 echo "${ECHO_T}$INSTALL" >&6
2725 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2726 echo "${ECHO_T}$INSTALL" >&6; }
22282727
22292728 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22302729 # It thinks the first close brace ends the variable substitution.
22442743 if test -n "$ac_tool_prefix"; then
22452744 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22462745 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2247 echo "$as_me:$LINENO: checking for $ac_word" >&5
2248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22492748 if test "${ac_cv_prog_CC+set}" = set; then
22502749 echo $ECHO_N "(cached) $ECHO_C" >&6
22512750 else
22582757 IFS=$as_save_IFS
22592758 test -z "$as_dir" && as_dir=.
22602759 for ac_exec_ext in '' $ac_executable_extensions; do
2261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22622761 ac_cv_prog_CC="${ac_tool_prefix}gcc"
22632762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22642763 break 2
22652764 fi
22662765 done
22672766 done
2767 IFS=$as_save_IFS
22682768
22692769 fi
22702770 fi
22712771 CC=$ac_cv_prog_CC
22722772 if test -n "$CC"; then
2273 echo "$as_me:$LINENO: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6
2275 else
2276 echo "$as_me:$LINENO: result: no" >&5
2277 echo "${ECHO_T}no" >&6
2278 fi
2773 { echo "$as_me:$LINENO: result: $CC" >&5
2774 echo "${ECHO_T}$CC" >&6; }
2775 else
2776 { echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6; }
2778 fi
2779
22792780
22802781 fi
22812782 if test -z "$ac_cv_prog_CC"; then
22822783 ac_ct_CC=$CC
22832784 # Extract the first word of "gcc", so it can be a program name with args.
22842785 set dummy gcc; ac_word=$2
2285 echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22872788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
22882789 echo $ECHO_N "(cached) $ECHO_C" >&6
22892790 else
22962797 IFS=$as_save_IFS
22972798 test -z "$as_dir" && as_dir=.
22982799 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
23002801 ac_cv_prog_ac_ct_CC="gcc"
23012802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23022803 break 2
23032804 fi
23042805 done
23052806 done
2807 IFS=$as_save_IFS
23062808
23072809 fi
23082810 fi
23092811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23102812 if test -n "$ac_ct_CC"; then
2311 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2312 echo "${ECHO_T}$ac_ct_CC" >&6
2313 else
2314 echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6
2316 fi
2317
2318 CC=$ac_ct_CC
2813 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2814 echo "${ECHO_T}$ac_ct_CC" >&6; }
2815 else
2816 { echo "$as_me:$LINENO: result: no" >&5
2817 echo "${ECHO_T}no" >&6; }
2818 fi
2819
2820 if test "x$ac_ct_CC" = x; then
2821 CC=""
2822 else
2823 case $cross_compiling:$ac_tool_warned in
2824 yes:)
2825 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2826 whose name does not start with the host triplet. If you think this
2827 configuration is useful to you, please write to autoconf@gnu.org." >&5
2828 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2829 whose name does not start with the host triplet. If you think this
2830 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2831 ac_tool_warned=yes ;;
2832 esac
2833 CC=$ac_ct_CC
2834 fi
23192835 else
23202836 CC="$ac_cv_prog_CC"
23212837 fi
23222838
23232839 if test -z "$CC"; then
2324 if test -n "$ac_tool_prefix"; then
2325 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2840 if test -n "$ac_tool_prefix"; then
2841 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23262842 set dummy ${ac_tool_prefix}cc; ac_word=$2
2327 echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23292845 if test "${ac_cv_prog_CC+set}" = set; then
23302846 echo $ECHO_N "(cached) $ECHO_C" >&6
23312847 else
23382854 IFS=$as_save_IFS
23392855 test -z "$as_dir" && as_dir=.
23402856 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
23422858 ac_cv_prog_CC="${ac_tool_prefix}cc"
23432859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23442860 break 2
23452861 fi
23462862 done
23472863 done
2864 IFS=$as_save_IFS
23482865
23492866 fi
23502867 fi
23512868 CC=$ac_cv_prog_CC
23522869 if test -n "$CC"; then
2353 echo "$as_me:$LINENO: result: $CC" >&5
2354 echo "${ECHO_T}$CC" >&6
2355 else
2356 echo "$as_me:$LINENO: result: no" >&5
2357 echo "${ECHO_T}no" >&6
2358 fi
2359
2360 fi
2361 if test -z "$ac_cv_prog_CC"; then
2362 ac_ct_CC=$CC
2363 # Extract the first word of "cc", so it can be a program name with args.
2364 set dummy cc; ac_word=$2
2365 echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2367 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2368 echo $ECHO_N "(cached) $ECHO_C" >&6
2369 else
2370 if test -n "$ac_ct_CC"; then
2371 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2372 else
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 for as_dir in $PATH
2375 do
2376 IFS=$as_save_IFS
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2380 ac_cv_prog_ac_ct_CC="cc"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 break 2
2870 { echo "$as_me:$LINENO: result: $CC" >&5
2871 echo "${ECHO_T}$CC" >&6; }
2872 else
2873 { echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6; }
2875 fi
2876
2877
23832878 fi
2384 done
2385 done
2386
2387 fi
2388 fi
2389 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2390 if test -n "$ac_ct_CC"; then
2391 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2392 echo "${ECHO_T}$ac_ct_CC" >&6
2393 else
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2396 fi
2397
2398 CC=$ac_ct_CC
2399 else
2400 CC="$ac_cv_prog_CC"
2401 fi
2402
24032879 fi
24042880 if test -z "$CC"; then
24052881 # Extract the first word of "cc", so it can be a program name with args.
24062882 set dummy cc; ac_word=$2
2407 echo "$as_me:$LINENO: checking for $ac_word" >&5
2408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24092885 if test "${ac_cv_prog_CC+set}" = set; then
24102886 echo $ECHO_N "(cached) $ECHO_C" >&6
24112887 else
24192895 IFS=$as_save_IFS
24202896 test -z "$as_dir" && as_dir=.
24212897 for ac_exec_ext in '' $ac_executable_extensions; do
2422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
24232899 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24242900 ac_prog_rejected=yes
24252901 continue
24302906 fi
24312907 done
24322908 done
2909 IFS=$as_save_IFS
24332910
24342911 if test $ac_prog_rejected = yes; then
24352912 # We found a bogon in the path, so make sure we never use it.
24472924 fi
24482925 CC=$ac_cv_prog_CC
24492926 if test -n "$CC"; then
2450 echo "$as_me:$LINENO: result: $CC" >&5
2451 echo "${ECHO_T}$CC" >&6
2452 else
2453 echo "$as_me:$LINENO: result: no" >&5
2454 echo "${ECHO_T}no" >&6
2455 fi
2927 { echo "$as_me:$LINENO: result: $CC" >&5
2928 echo "${ECHO_T}$CC" >&6; }
2929 else
2930 { echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6; }
2932 fi
2933
24562934
24572935 fi
24582936 if test -z "$CC"; then
24592937 if test -n "$ac_tool_prefix"; then
2460 for ac_prog in cl
2938 for ac_prog in cl.exe
24612939 do
24622940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24632941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2464 echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24662944 if test "${ac_cv_prog_CC+set}" = set; then
24672945 echo $ECHO_N "(cached) $ECHO_C" >&6
24682946 else
24752953 IFS=$as_save_IFS
24762954 test -z "$as_dir" && as_dir=.
24772955 for ac_exec_ext in '' $ac_executable_extensions; do
2478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
24792957 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
24802958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24812959 break 2
24822960 fi
24832961 done
24842962 done
2963 IFS=$as_save_IFS
24852964
24862965 fi
24872966 fi
24882967 CC=$ac_cv_prog_CC
24892968 if test -n "$CC"; then
2490 echo "$as_me:$LINENO: result: $CC" >&5
2491 echo "${ECHO_T}$CC" >&6
2492 else
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2495 fi
2969 { echo "$as_me:$LINENO: result: $CC" >&5
2970 echo "${ECHO_T}$CC" >&6; }
2971 else
2972 { echo "$as_me:$LINENO: result: no" >&5
2973 echo "${ECHO_T}no" >&6; }
2974 fi
2975
24962976
24972977 test -n "$CC" && break
24982978 done
24992979 fi
25002980 if test -z "$CC"; then
25012981 ac_ct_CC=$CC
2502 for ac_prog in cl
2982 for ac_prog in cl.exe
25032983 do
25042984 # Extract the first word of "$ac_prog", so it can be a program name with args.
25052985 set dummy $ac_prog; ac_word=$2
2506 echo "$as_me:$LINENO: checking for $ac_word" >&5
2507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25082988 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
25092989 echo $ECHO_N "(cached) $ECHO_C" >&6
25102990 else
25172997 IFS=$as_save_IFS
25182998 test -z "$as_dir" && as_dir=.
25192999 for ac_exec_ext in '' $ac_executable_extensions; do
2520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
25213001 ac_cv_prog_ac_ct_CC="$ac_prog"
25223002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25233003 break 2
25243004 fi
25253005 done
25263006 done
3007 IFS=$as_save_IFS
25273008
25283009 fi
25293010 fi
25303011 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25313012 if test -n "$ac_ct_CC"; then
2532 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2533 echo "${ECHO_T}$ac_ct_CC" >&6
2534 else
2535 echo "$as_me:$LINENO: result: no" >&5
2536 echo "${ECHO_T}no" >&6
2537 fi
3013 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3014 echo "${ECHO_T}$ac_ct_CC" >&6; }
3015 else
3016 { echo "$as_me:$LINENO: result: no" >&5
3017 echo "${ECHO_T}no" >&6; }
3018 fi
3019
25383020
25393021 test -n "$ac_ct_CC" && break
25403022 done
25413023
2542 CC=$ac_ct_CC
3024 if test "x$ac_ct_CC" = x; then
3025 CC=""
3026 else
3027 case $cross_compiling:$ac_tool_warned in
3028 yes:)
3029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3030 whose name does not start with the host triplet. If you think this
3031 configuration is useful to you, please write to autoconf@gnu.org." >&5
3032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3033 whose name does not start with the host triplet. If you think this
3034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3035 ac_tool_warned=yes ;;
3036 esac
3037 CC=$ac_ct_CC
3038 fi
25433039 fi
25443040
25453041 fi
25523048 { (exit 1); exit 1; }; }
25533049
25543050 # Provide some information about the compiler.
2555 echo "$as_me:$LINENO:" \
2556 "checking for C compiler version" >&5
3051 echo "$as_me:$LINENO: checking for C compiler version" >&5
25573052 ac_compiler=`set X $ac_compile; echo $2`
2558 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2559 (eval $ac_compiler --version </dev/null >&5) 2>&5
3053 { (ac_try="$ac_compiler --version >&5"
3054 case "(($ac_try" in
3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3057 esac
3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3059 (eval "$ac_compiler --version >&5") 2>&5
25603060 ac_status=$?
25613061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623062 (exit $ac_status); }
2563 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2564 (eval $ac_compiler -v </dev/null >&5) 2>&5
3063 { (ac_try="$ac_compiler -v >&5"
3064 case "(($ac_try" in
3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066 *) ac_try_echo=$ac_try;;
3067 esac
3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3069 (eval "$ac_compiler -v >&5") 2>&5
25653070 ac_status=$?
25663071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673072 (exit $ac_status); }
2568 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2569 (eval $ac_compiler -V </dev/null >&5) 2>&5
3073 { (ac_try="$ac_compiler -V >&5"
3074 case "(($ac_try" in
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3077 esac
3078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3079 (eval "$ac_compiler -V >&5") 2>&5
25703080 ac_status=$?
25713081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723082 (exit $ac_status); }
25733083
2574 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2575 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3084 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3085 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
25763086 if test "${ac_cv_c_compiler_gnu+set}" = set; then
25773087 echo $ECHO_N "(cached) $ECHO_C" >&6
25783088 else
25953105 }
25963106 _ACEOF
25973107 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>conftest.er1
3108 if { (ac_try="$ac_compile"
3109 case "(($ac_try" in
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3112 esac
3113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3114 (eval "$ac_compile") 2>conftest.er1
26003115 ac_status=$?
26013116 grep -v '^ *+' conftest.er1 >conftest.err
26023117 rm -f conftest.er1
26033118 cat conftest.err >&5
26043119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053120 (exit $ac_status); } &&
2606 { ac_try='test -z "$ac_c_werror_flag"
2607 || test ! -s conftest.err'
2608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 (eval $ac_try) 2>&5
3121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3122 { (case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3125 esac
3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3127 (eval "$ac_try") 2>&5
26103128 ac_status=$?
26113129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123130 (exit $ac_status); }; } &&
26133131 { ac_try='test -s conftest.$ac_objext'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 (eval $ac_try) 2>&5
3132 { (case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_try") 2>&5
26163138 ac_status=$?
26173139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26183140 (exit $ac_status); }; }; then
26213143 echo "$as_me: failed program was:" >&5
26223144 sed 's/^/| /' conftest.$ac_ext >&5
26233145
2624 ac_compiler_gnu=no
2625 fi
2626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3146 ac_compiler_gnu=no
3147 fi
3148
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26273150 ac_cv_c_compiler_gnu=$ac_compiler_gnu
26283151
26293152 fi
2630 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2631 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3153 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3154 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
26323155 GCC=`test $ac_compiler_gnu = yes && echo yes`
26333156 ac_test_CFLAGS=${CFLAGS+set}
26343157 ac_save_CFLAGS=$CFLAGS
2635 CFLAGS="-g"
2636 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2637 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3158 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
26383160 if test "${ac_cv_prog_cc_g+set}" = set; then
26393161 echo $ECHO_N "(cached) $ECHO_C" >&6
26403162 else
2641 cat >conftest.$ac_ext <<_ACEOF
3163 ac_save_c_werror_flag=$ac_c_werror_flag
3164 ac_c_werror_flag=yes
3165 ac_cv_prog_cc_g=no
3166 CFLAGS="-g"
3167 cat >conftest.$ac_ext <<_ACEOF
26423168 /* confdefs.h. */
26433169 _ACEOF
26443170 cat confdefs.h >>conftest.$ac_ext
26543180 }
26553181 _ACEOF
26563182 rm -f conftest.$ac_objext
2657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2658 (eval $ac_compile) 2>conftest.er1
3183 if { (ac_try="$ac_compile"
3184 case "(($ac_try" in
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3187 esac
3188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3189 (eval "$ac_compile") 2>conftest.er1
26593190 ac_status=$?
26603191 grep -v '^ *+' conftest.er1 >conftest.err
26613192 rm -f conftest.er1
26623193 cat conftest.err >&5
26633194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643195 (exit $ac_status); } &&
2665 { ac_try='test -z "$ac_c_werror_flag"
2666 || test ! -s conftest.err'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 (eval $ac_try) 2>&5
3196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3197 { (case "(($ac_try" in
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3200 esac
3201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3202 (eval "$ac_try") 2>&5
26693203 ac_status=$?
26703204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713205 (exit $ac_status); }; } &&
26723206 { ac_try='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 (eval $ac_try) 2>&5
3207 { (case "(($ac_try" in
3208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3209 *) ac_try_echo=$ac_try;;
3210 esac
3211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3212 (eval "$ac_try") 2>&5
26753213 ac_status=$?
26763214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773215 (exit $ac_status); }; }; then
26803218 echo "$as_me: failed program was:" >&5
26813219 sed 's/^/| /' conftest.$ac_ext >&5
26823220
2683 ac_cv_prog_cc_g=no
2684 fi
2685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2686 fi
2687 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2688 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3221 CFLAGS=""
3222 cat >conftest.$ac_ext <<_ACEOF
3223 /* confdefs.h. */
3224 _ACEOF
3225 cat confdefs.h >>conftest.$ac_ext
3226 cat >>conftest.$ac_ext <<_ACEOF
3227 /* end confdefs.h. */
3228
3229 int
3230 main ()
3231 {
3232
3233 ;
3234 return 0;
3235 }
3236 _ACEOF
3237 rm -f conftest.$ac_objext
3238 if { (ac_try="$ac_compile"
3239 case "(($ac_try" in
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3242 esac
3243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3244 (eval "$ac_compile") 2>conftest.er1
3245 ac_status=$?
3246 grep -v '^ *+' conftest.er1 >conftest.err
3247 rm -f conftest.er1
3248 cat conftest.err >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } &&
3251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3252 { (case "(($ac_try" in
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3255 esac
3256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_try") 2>&5
3258 ac_status=$?
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); }; } &&
3261 { ac_try='test -s conftest.$ac_objext'
3262 { (case "(($ac_try" in
3263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3265 esac
3266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3267 (eval "$ac_try") 2>&5
3268 ac_status=$?
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; }; then
3271 :
3272 else
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3275
3276 ac_c_werror_flag=$ac_save_c_werror_flag
3277 CFLAGS="-g"
3278 cat >conftest.$ac_ext <<_ACEOF
3279 /* confdefs.h. */
3280 _ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3284
3285 int
3286 main ()
3287 {
3288
3289 ;
3290 return 0;
3291 }
3292 _ACEOF
3293 rm -f conftest.$ac_objext
3294 if { (ac_try="$ac_compile"
3295 case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3298 esac
3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3300 (eval "$ac_compile") 2>conftest.er1
3301 ac_status=$?
3302 grep -v '^ *+' conftest.er1 >conftest.err
3303 rm -f conftest.er1
3304 cat conftest.err >&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); } &&
3307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3308 { (case "(($ac_try" in
3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310 *) ac_try_echo=$ac_try;;
3311 esac
3312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3313 (eval "$ac_try") 2>&5
3314 ac_status=$?
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; } &&
3317 { ac_try='test -s conftest.$ac_objext'
3318 { (case "(($ac_try" in
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3321 esac
3322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3323 (eval "$ac_try") 2>&5
3324 ac_status=$?
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then
3327 ac_cv_prog_cc_g=yes
3328 else
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.$ac_ext >&5
3331
3332
3333 fi
3334
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 fi
3337
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 fi
3340
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 ac_c_werror_flag=$ac_save_c_werror_flag
3343 fi
3344 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3345 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
26893346 if test "$ac_test_CFLAGS" = set; then
26903347 CFLAGS=$ac_save_CFLAGS
26913348 elif test $ac_cv_prog_cc_g = yes; then
27013358 CFLAGS=
27023359 fi
27033360 fi
2704 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2705 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2706 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3361 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3362 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3363 if test "${ac_cv_prog_cc_c89+set}" = set; then
27073364 echo $ECHO_N "(cached) $ECHO_C" >&6
27083365 else
2709 ac_cv_prog_cc_stdc=no
3366 ac_cv_prog_cc_c89=no
27103367 ac_save_CC=$CC
27113368 cat >conftest.$ac_ext <<_ACEOF
27123369 /* confdefs.h. */
27403397 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
27413398 function prototypes and stuff, but not '\xHH' hex character constants.
27423399 These don't provoke an error unfortunately, instead are silently treated
2743 as 'x'. The following induces an error, until -std1 is added to get
3400 as 'x'. The following induces an error, until -std is added to get
27443401 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
27453402 array size at least. It's necessary to write '\x00'==0 to get something
2746 that's true only with -std1. */
3403 that's true only with -std. */
27473404 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3405
3406 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3407 inside strings and character constants. */
3408 #define FOO(x) 'x'
3409 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
27483410
27493411 int test (int i, double x);
27503412 struct s1 {int (*f) (int a);};
27603422 return 0;
27613423 }
27623424 _ACEOF
2763 # Don't try gcc -ansi; that turns off useful extensions and
2764 # breaks some systems' header files.
2765 # AIX -qlanglvl=ansi
2766 # Ultrix and OSF/1 -std1
2767 # HP-UX 10.20 and later -Ae
2768 # HP-UX older versions -Aa -D_HPUX_SOURCE
2769 # SVR4 -Xc -D__EXTENSIONS__
2770 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3425 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3426 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
27713427 do
27723428 CC="$ac_save_CC $ac_arg"
27733429 rm -f conftest.$ac_objext
2774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2775 (eval $ac_compile) 2>conftest.er1
3430 if { (ac_try="$ac_compile"
3431 case "(($ac_try" in
3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3434 esac
3435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3436 (eval "$ac_compile") 2>conftest.er1
27763437 ac_status=$?
27773438 grep -v '^ *+' conftest.er1 >conftest.err
27783439 rm -f conftest.er1
27793440 cat conftest.err >&5
27803441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813442 (exit $ac_status); } &&
2782 { ac_try='test -z "$ac_c_werror_flag"
2783 || test ! -s conftest.err'
2784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 (eval $ac_try) 2>&5
3443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3444 { (case "(($ac_try" in
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3447 esac
3448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449 (eval "$ac_try") 2>&5
27863450 ac_status=$?
27873451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883452 (exit $ac_status); }; } &&
27893453 { ac_try='test -s conftest.$ac_objext'
2790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 (eval $ac_try) 2>&5
3454 { (case "(($ac_try" in
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3457 esac
3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3459 (eval "$ac_try") 2>&5
27923460 ac_status=$?
27933461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27943462 (exit $ac_status); }; }; then
2795 ac_cv_prog_cc_stdc=$ac_arg
2796 break
3463 ac_cv_prog_cc_c89=$ac_arg
27973464 else
27983465 echo "$as_me: failed program was:" >&5
27993466 sed 's/^/| /' conftest.$ac_ext >&5
28003467
2801 fi
2802 rm -f conftest.err conftest.$ac_objext
3468
3469 fi
3470
3471 rm -f core conftest.err conftest.$ac_objext
3472 test "x$ac_cv_prog_cc_c89" != "xno" && break
28033473 done
2804 rm -f conftest.$ac_ext conftest.$ac_objext
3474 rm -f conftest.$ac_ext
28053475 CC=$ac_save_CC
28063476
28073477 fi
2808
2809 case "x$ac_cv_prog_cc_stdc" in
2810 x|xno)
2811 echo "$as_me:$LINENO: result: none needed" >&5
2812 echo "${ECHO_T}none needed" >&6 ;;
3478 # AC_CACHE_VAL
3479 case "x$ac_cv_prog_cc_c89" in
3480 x)
3481 { echo "$as_me:$LINENO: result: none needed" >&5
3482 echo "${ECHO_T}none needed" >&6; } ;;
3483 xno)
3484 { echo "$as_me:$LINENO: result: unsupported" >&5
3485 echo "${ECHO_T}unsupported" >&6; } ;;
28133486 *)
2814 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2815 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2816 CC="$CC $ac_cv_prog_cc_stdc" ;;
2817 esac
2818
2819 # Some people use a C++ compiler to compile C. Since we use `exit',
2820 # in C++ we need to declare it. In case someone uses the same compiler
2821 # for both compiling C and C++ we need to have the C++ compiler decide
2822 # the declaration of exit, since it's the most demanding environment.
2823 cat >conftest.$ac_ext <<_ACEOF
2824 #ifndef __cplusplus
2825 choke me
2826 #endif
2827 _ACEOF
2828 rm -f conftest.$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>conftest.er1
2831 ac_status=$?
2832 grep -v '^ *+' conftest.er1 >conftest.err
2833 rm -f conftest.er1
2834 cat conftest.err >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } &&
2837 { ac_try='test -z "$ac_c_werror_flag"
2838 || test ! -s conftest.err'
2839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2840 (eval $ac_try) 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }; } &&
2844 { ac_try='test -s conftest.$ac_objext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 (eval $ac_try) 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2850 for ac_declaration in \
2851 '' \
2852 'extern "C" void std::exit (int) throw (); using std::exit;' \
2853 'extern "C" void std::exit (int); using std::exit;' \
2854 'extern "C" void exit (int) throw ();' \
2855 'extern "C" void exit (int);' \
2856 'void exit (int);'
2857 do
2858 cat >conftest.$ac_ext <<_ACEOF
2859 /* confdefs.h. */
2860 _ACEOF
2861 cat confdefs.h >>conftest.$ac_ext
2862 cat >>conftest.$ac_ext <<_ACEOF
2863 /* end confdefs.h. */
2864 $ac_declaration
2865 #include <stdlib.h>
2866 int
2867 main ()
2868 {
2869 exit (42);
2870 ;
2871 return 0;
2872 }
2873 _ACEOF
2874 rm -f conftest.$ac_objext
2875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2876 (eval $ac_compile) 2>conftest.er1
2877 ac_status=$?
2878 grep -v '^ *+' conftest.er1 >conftest.err
2879 rm -f conftest.er1
2880 cat conftest.err >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } &&
2883 { ac_try='test -z "$ac_c_werror_flag"
2884 || test ! -s conftest.err'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 (eval $ac_try) 2>&5
2887 ac_status=$?
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; } &&
2890 { ac_try='test -s conftest.$ac_objext'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 (eval $ac_try) 2>&5
2893 ac_status=$?
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; }; then
2896 :
2897 else
2898 echo "$as_me: failed program was:" >&5
2899 sed 's/^/| /' conftest.$ac_ext >&5
2900
2901 continue
2902 fi
2903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2904 cat >conftest.$ac_ext <<_ACEOF
2905 /* confdefs.h. */
2906 _ACEOF
2907 cat confdefs.h >>conftest.$ac_ext
2908 cat >>conftest.$ac_ext <<_ACEOF
2909 /* end confdefs.h. */
2910 $ac_declaration
2911 int
2912 main ()
2913 {
2914 exit (42);
2915 ;
2916 return 0;
2917 }
2918 _ACEOF
2919 rm -f conftest.$ac_objext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921 (eval $ac_compile) 2>conftest.er1
2922 ac_status=$?
2923 grep -v '^ *+' conftest.er1 >conftest.err
2924 rm -f conftest.er1
2925 cat conftest.err >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } &&
2928 { ac_try='test -z "$ac_c_werror_flag"
2929 || test ! -s conftest.err'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 (eval $ac_try) 2>&5
2932 ac_status=$?
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; } &&
2935 { ac_try='test -s conftest.$ac_objext'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2941 break
2942 else
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2945
2946 fi
2947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2948 done
2949 rm -f conftest*
2950 if test -n "$ac_declaration"; then
2951 echo '#ifdef __cplusplus' >>confdefs.h
2952 echo $ac_declaration >>confdefs.h
2953 echo '#endif' >>confdefs.h
2954 fi
2955
2956 else
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.$ac_ext >&5
2959
2960 fi
2961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3487 CC="$CC $ac_cv_prog_cc_c89"
3488 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3489 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3490 esac
3491
3492
29623493 ac_ext=c
29633494 ac_cpp='$CPP $CPPFLAGS'
29643495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29723503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29733504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2975 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3505 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3506 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
29763507 # On Suns, sometimes $CPP names a directory.
29773508 if test -n "$CPP" && test -d "$CPP"; then
29783509 CPP=
30063537 #endif
30073538 Syntax error
30083539 _ACEOF
3009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3540 if { (ac_try="$ac_cpp conftest.$ac_ext"
3541 case "(($ac_try" in
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3544 esac
3545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30113547 ac_status=$?
30123548 grep -v '^ *+' conftest.er1 >conftest.err
30133549 rm -f conftest.er1
30323568 # Broken: fails on valid input.
30333569 continue
30343570 fi
3571
30353572 rm -f conftest.err conftest.$ac_ext
30363573
3037 # OK, works on sane cases. Now check whether non-existent headers
3574 # OK, works on sane cases. Now check whether nonexistent headers
30383575 # can be detected and how.
30393576 cat >conftest.$ac_ext <<_ACEOF
30403577 /* confdefs.h. */
30443581 /* end confdefs.h. */
30453582 #include <ac_nonexistent.h>
30463583 _ACEOF
3047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3584 if { (ac_try="$ac_cpp conftest.$ac_ext"
3585 case "(($ac_try" in
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3588 esac
3589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30493591 ac_status=$?
30503592 grep -v '^ *+' conftest.er1 >conftest.err
30513593 rm -f conftest.er1
30723614 ac_preproc_ok=:
30733615 break
30743616 fi
3617
30753618 rm -f conftest.err conftest.$ac_ext
30763619
30773620 done
30893632 else
30903633 ac_cv_prog_CPP=$CPP
30913634 fi
3092 echo "$as_me:$LINENO: result: $CPP" >&5
3093 echo "${ECHO_T}$CPP" >&6
3635 { echo "$as_me:$LINENO: result: $CPP" >&5
3636 echo "${ECHO_T}$CPP" >&6; }
30943637 ac_preproc_ok=false
30953638 for ac_c_preproc_warn_flag in '' yes
30963639 do
31133656 #endif
31143657 Syntax error
31153658 _ACEOF
3116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3659 if { (ac_try="$ac_cpp conftest.$ac_ext"
3660 case "(($ac_try" in
3661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3663 esac
3664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31183666 ac_status=$?
31193667 grep -v '^ *+' conftest.er1 >conftest.err
31203668 rm -f conftest.er1
31393687 # Broken: fails on valid input.
31403688 continue
31413689 fi
3690
31423691 rm -f conftest.err conftest.$ac_ext
31433692
3144 # OK, works on sane cases. Now check whether non-existent headers
3693 # OK, works on sane cases. Now check whether nonexistent headers
31453694 # can be detected and how.
31463695 cat >conftest.$ac_ext <<_ACEOF
31473696 /* confdefs.h. */
31513700 /* end confdefs.h. */
31523701 #include <ac_nonexistent.h>
31533702 _ACEOF
3154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3703 if { (ac_try="$ac_cpp conftest.$ac_ext"
3704 case "(($ac_try" in
3705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706 *) ac_try_echo=$ac_try;;
3707 esac
3708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3709 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31563710 ac_status=$?
31573711 grep -v '^ *+' conftest.er1 >conftest.err
31583712 rm -f conftest.er1
31793733 ac_preproc_ok=:
31803734 break
31813735 fi
3736
31823737 rm -f conftest.err conftest.$ac_ext
31833738
31843739 done
32013756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32023757
32033758
3204 echo "$as_me:$LINENO: checking for egrep" >&5
3205 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3206 if test "${ac_cv_prog_egrep+set}" = set; then
3759 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3760 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3761 if test "${ac_cv_path_GREP+set}" = set; then
32073762 echo $ECHO_N "(cached) $ECHO_C" >&6
32083763 else
3209 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3210 then ac_cv_prog_egrep='grep -E'
3211 else ac_cv_prog_egrep='egrep'
3764 # Extract the first word of "grep ggrep" to use in msg output
3765 if test -z "$GREP"; then
3766 set dummy grep ggrep; ac_prog_name=$2
3767 if test "${ac_cv_path_GREP+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770 ac_path_GREP_found=false
3771 # Loop through the user's path and test for each of PROGNAME-LIST
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3774 do
3775 IFS=$as_save_IFS
3776 test -z "$as_dir" && as_dir=.
3777 for ac_prog in grep ggrep; do
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3780 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3781 # Check for GNU ac_path_GREP and select it if it is found.
3782 # Check for GNU $ac_path_GREP
3783 case `"$ac_path_GREP" --version 2>&1` in
3784 *GNU*)
3785 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3786 *)
3787 ac_count=0
3788 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3789 while :
3790 do
3791 cat "conftest.in" "conftest.in" >"conftest.tmp"
3792 mv "conftest.tmp" "conftest.in"
3793 cp "conftest.in" "conftest.nl"
3794 echo 'GREP' >> "conftest.nl"
3795 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3796 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3797 ac_count=`expr $ac_count + 1`
3798 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3799 # Best one so far, save it but keep looking for a better one
3800 ac_cv_path_GREP="$ac_path_GREP"
3801 ac_path_GREP_max=$ac_count
32123802 fi
3213 fi
3214 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3215 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3216 EGREP=$ac_cv_prog_egrep
3217
3218
3219 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3220 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3803 # 10*(2^10) chars as input seems more than enough
3804 test $ac_count -gt 10 && break
3805 done
3806 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3807 esac
3808
3809
3810 $ac_path_GREP_found && break 3
3811 done
3812 done
3813
3814 done
3815 IFS=$as_save_IFS
3816
3817
3818 fi
3819
3820 GREP="$ac_cv_path_GREP"
3821 if test -z "$GREP"; then
3822 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3823 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3824 { (exit 1); exit 1; }; }
3825 fi
3826
3827 else
3828 ac_cv_path_GREP=$GREP
3829 fi
3830
3831
3832 fi
3833 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3834 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3835 GREP="$ac_cv_path_GREP"
3836
3837
3838 { echo "$as_me:$LINENO: checking for egrep" >&5
3839 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3840 if test "${ac_cv_path_EGREP+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 else
3843 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3844 then ac_cv_path_EGREP="$GREP -E"
3845 else
3846 # Extract the first word of "egrep" to use in msg output
3847 if test -z "$EGREP"; then
3848 set dummy egrep; ac_prog_name=$2
3849 if test "${ac_cv_path_EGREP+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852 ac_path_EGREP_found=false
3853 # Loop through the user's path and test for each of PROGNAME-LIST
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3856 do
3857 IFS=$as_save_IFS
3858 test -z "$as_dir" && as_dir=.
3859 for ac_prog in egrep; do
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3862 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3863 # Check for GNU ac_path_EGREP and select it if it is found.
3864 # Check for GNU $ac_path_EGREP
3865 case `"$ac_path_EGREP" --version 2>&1` in
3866 *GNU*)
3867 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3868 *)
3869 ac_count=0
3870 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3871 while :
3872 do
3873 cat "conftest.in" "conftest.in" >"conftest.tmp"
3874 mv "conftest.tmp" "conftest.in"
3875 cp "conftest.in" "conftest.nl"
3876 echo 'EGREP' >> "conftest.nl"
3877 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3878 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3879 ac_count=`expr $ac_count + 1`
3880 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3881 # Best one so far, save it but keep looking for a better one
3882 ac_cv_path_EGREP="$ac_path_EGREP"
3883 ac_path_EGREP_max=$ac_count
3884 fi
3885 # 10*(2^10) chars as input seems more than enough
3886 test $ac_count -gt 10 && break
3887 done
3888 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3889 esac
3890
3891
3892 $ac_path_EGREP_found && break 3
3893 done
3894 done
3895
3896 done
3897 IFS=$as_save_IFS
3898
3899
3900 fi
3901
3902 EGREP="$ac_cv_path_EGREP"
3903 if test -z "$EGREP"; then
3904 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3905 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3906 { (exit 1); exit 1; }; }
3907 fi
3908
3909 else
3910 ac_cv_path_EGREP=$EGREP
3911 fi
3912
3913
3914 fi
3915 fi
3916 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3917 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3918 EGREP="$ac_cv_path_EGREP"
3919
3920
3921 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3922 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
32213923 if test "${ac_cv_header_stdc+set}" = set; then
32223924 echo $ECHO_N "(cached) $ECHO_C" >&6
32233925 else
32413943 }
32423944 _ACEOF
32433945 rm -f conftest.$ac_objext
3244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245 (eval $ac_compile) 2>conftest.er1
3946 if { (ac_try="$ac_compile"
3947 case "(($ac_try" in
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3950 esac
3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952 (eval "$ac_compile") 2>conftest.er1
32463953 ac_status=$?
32473954 grep -v '^ *+' conftest.er1 >conftest.err
32483955 rm -f conftest.er1
32493956 cat conftest.err >&5
32503957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513958 (exit $ac_status); } &&
3252 { ac_try='test -z "$ac_c_werror_flag"
3253 || test ! -s conftest.err'
3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 (eval $ac_try) 2>&5
3959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3960 { (case "(($ac_try" in
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3963 esac
3964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3965 (eval "$ac_try") 2>&5
32563966 ac_status=$?
32573967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583968 (exit $ac_status); }; } &&
32593969 { ac_try='test -s conftest.$ac_objext'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 (eval $ac_try) 2>&5
3970 { (case "(($ac_try" in
3971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3972 *) ac_try_echo=$ac_try;;
3973 esac
3974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3975 (eval "$ac_try") 2>&5
32623976 ac_status=$?
32633977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32643978 (exit $ac_status); }; }; then
32673981 echo "$as_me: failed program was:" >&5
32683982 sed 's/^/| /' conftest.$ac_ext >&5
32693983
3270 ac_cv_header_stdc=no
3271 fi
3272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3984 ac_cv_header_stdc=no
3985 fi
3986
3987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32733988
32743989 if test $ac_cv_header_stdc = yes; then
32753990 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
33254040 cat >>conftest.$ac_ext <<_ACEOF
33264041 /* end confdefs.h. */
33274042 #include <ctype.h>
4043 #include <stdlib.h>
33284044 #if ((' ' & 0x0FF) == 0x020)
33294045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
33304046 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
33444060 for (i = 0; i < 256; i++)
33454061 if (XOR (islower (i), ISLOWER (i))
33464062 || toupper (i) != TOUPPER (i))
3347 exit(2);
3348 exit (0);
4063 return 2;
4064 return 0;
33494065 }
33504066 _ACEOF
33514067 rm -f conftest$ac_exeext
3352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3353 (eval $ac_link) 2>&5
4068 if { (ac_try="$ac_link"
4069 case "(($ac_try" in
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4072 esac
4073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4074 (eval "$ac_link") 2>&5
33544075 ac_status=$?
33554076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 (eval $ac_try) 2>&5
4078 { (case "(($ac_try" in
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4081 esac
4082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4083 (eval "$ac_try") 2>&5
33594084 ac_status=$?
33604085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614086 (exit $ac_status); }; }; then
33684093 ( exit $ac_status )
33694094 ac_cv_header_stdc=no
33704095 fi
3371 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3372 fi
3373 fi
3374 fi
3375 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3376 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4097 fi
4098
4099
4100 fi
4101 fi
4102 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4103 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
33774104 if test $ac_cv_header_stdc = yes; then
33784105
33794106 cat >>confdefs.h <<\_ACEOF
33964123 inttypes.h stdint.h unistd.h
33974124 do
33984125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3399 echo "$as_me:$LINENO: checking for $ac_header" >&5
3400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34024129 echo $ECHO_N "(cached) $ECHO_C" >&6
34034130 else
34044131 cat >conftest.$ac_ext <<_ACEOF
34124139 #include <$ac_header>
34134140 _ACEOF
34144141 rm -f conftest.$ac_objext
3415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3416 (eval $ac_compile) 2>conftest.er1
4142 if { (ac_try="$ac_compile"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4148 (eval "$ac_compile") 2>conftest.er1
34174149 ac_status=$?
34184150 grep -v '^ *+' conftest.er1 >conftest.err
34194151 rm -f conftest.er1
34204152 cat conftest.err >&5
34214153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224154 (exit $ac_status); } &&
3423 { ac_try='test -z "$ac_c_werror_flag"
3424 || test ! -s conftest.err'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 (eval $ac_try) 2>&5
4155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4156 { (case "(($ac_try" in
4157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4159 esac
4160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161 (eval "$ac_try") 2>&5
34274162 ac_status=$?
34284163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294164 (exit $ac_status); }; } &&
34304165 { ac_try='test -s conftest.$ac_objext'
3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 (eval $ac_try) 2>&5
4166 { (case "(($ac_try" in
4167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4169 esac
4170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4171 (eval "$ac_try") 2>&5
34334172 ac_status=$?
34344173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354174 (exit $ac_status); }; }; then
34384177 echo "$as_me: failed program was:" >&5
34394178 sed 's/^/| /' conftest.$ac_ext >&5
34404179
3441 eval "$as_ac_Header=no"
3442 fi
3443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3444 fi
3445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4180 eval "$as_ac_Header=no"
4181 fi
4182
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4184 fi
4185 ac_res=`eval echo '${'$as_ac_Header'}'`
4186 { echo "$as_me:$LINENO: result: $ac_res" >&5
4187 echo "${ECHO_T}$ac_res" >&6; }
34474188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34484189 cat >>confdefs.h <<_ACEOF
34494190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34684209 unistd.h fcntl.h time.h stdlib.h math.h
34694210 do
34704211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3472 echo "$as_me:$LINENO: checking for $ac_header" >&5
3473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34754216 echo $ECHO_N "(cached) $ECHO_C" >&6
34764217 fi
3477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4218 ac_res=`eval echo '${'$as_ac_Header'}'`
4219 { echo "$as_me:$LINENO: result: $ac_res" >&5
4220 echo "${ECHO_T}$ac_res" >&6; }
34794221 else
34804222 # Is the header compilable?
3481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4223 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
34834225 cat >conftest.$ac_ext <<_ACEOF
34844226 /* confdefs.h. */
34854227 _ACEOF
34904232 #include <$ac_header>
34914233 _ACEOF
34924234 rm -f conftest.$ac_objext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3494 (eval $ac_compile) 2>conftest.er1
4235 if { (ac_try="$ac_compile"
4236 case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4241 (eval "$ac_compile") 2>conftest.er1
34954242 ac_status=$?
34964243 grep -v '^ *+' conftest.er1 >conftest.err
34974244 rm -f conftest.er1
34984245 cat conftest.err >&5
34994246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004247 (exit $ac_status); } &&
3501 { ac_try='test -z "$ac_c_werror_flag"
3502 || test ! -s conftest.err'
3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3504 (eval $ac_try) 2>&5
4248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4249 { (case "(($ac_try" in
4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251 *) ac_try_echo=$ac_try;;
4252 esac
4253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4254 (eval "$ac_try") 2>&5
35054255 ac_status=$?
35064256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35074257 (exit $ac_status); }; } &&
35084258 { ac_try='test -s conftest.$ac_objext'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 (eval $ac_try) 2>&5
4259 { (case "(($ac_try" in
4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4262 esac
4263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4264 (eval "$ac_try") 2>&5
35114265 ac_status=$?
35124266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35134267 (exit $ac_status); }; }; then
35164270 echo "$as_me: failed program was:" >&5
35174271 sed 's/^/| /' conftest.$ac_ext >&5
35184272
3519 ac_header_compiler=no
3520 fi
3521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3523 echo "${ECHO_T}$ac_header_compiler" >&6
4273 ac_header_compiler=no
4274 fi
4275
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4277 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4278 echo "${ECHO_T}$ac_header_compiler" >&6; }
35244279
35254280 # Is the header present?
3526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4281 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
35284283 cat >conftest.$ac_ext <<_ACEOF
35294284 /* confdefs.h. */
35304285 _ACEOF
35334288 /* end confdefs.h. */
35344289 #include <$ac_header>
35354290 _ACEOF
3536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4291 if { (ac_try="$ac_cpp conftest.$ac_ext"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35384298 ac_status=$?
35394299 grep -v '^ *+' conftest.er1 >conftest.err
35404300 rm -f conftest.er1
35584318
35594319 ac_header_preproc=no
35604320 fi
4321
35614322 rm -f conftest.err conftest.$ac_ext
3562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3563 echo "${ECHO_T}$ac_header_preproc" >&6
4323 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4324 echo "${ECHO_T}$ac_header_preproc" >&6; }
35644325
35654326 # So? What about this header?
35664327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35844345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35854346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35864347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3587 (
3588 cat <<\_ASBOX
3589 ## ------------------------------------------ ##
3590 ## Report this to the AC_PACKAGE_NAME lists. ##
3591 ## ------------------------------------------ ##
3592 _ASBOX
3593 ) |
3594 sed "s/^/$as_me: WARNING: /" >&2
4348
35954349 ;;
35964350 esac
3597 echo "$as_me:$LINENO: checking for $ac_header" >&5
3598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36004354 echo $ECHO_N "(cached) $ECHO_C" >&6
36014355 else
36024356 eval "$as_ac_Header=\$ac_header_preproc"
36034357 fi
3604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4358 ac_res=`eval echo '${'$as_ac_Header'}'`
4359 { echo "$as_me:$LINENO: result: $ac_res" >&5
4360 echo "${ECHO_T}$ac_res" >&6; }
36064361
36074362 fi
36084363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36204375 done
36214376
36224377
3623 echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
3624 echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6
4378 { echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
4379 echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6; }
36254380 if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
36264381 echo $ECHO_N "(cached) $ECHO_C" >&6
36274382 else
36344389 cat >>conftest.$ac_ext <<_ACEOF
36354390 /* end confdefs.h. */
36364391
3637 /* Override any gcc2 internal prototype to avoid an error. */
4392 /* Override any GCC internal prototype to avoid an error.
4393 Use char because int might match the return type of a GCC
4394 builtin and then its argument prototype would still apply. */
36384395 #ifdef __cplusplus
36394396 extern "C"
36404397 #endif
3641 /* We use char because int might match the return type of a gcc2
3642 builtin and then its argument prototype would still apply. */
36434398 char wgetch ();
36444399 int
36454400 main ()
36464401 {
3647 wgetch ();
4402 return wgetch ();
36484403 ;
36494404 return 0;
36504405 }
36514406 _ACEOF
36524407 rm -f conftest.$ac_objext conftest$ac_exeext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3654 (eval $ac_link) 2>conftest.er1
4408 if { (ac_try="$ac_link"
4409 case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4412 esac
4413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4414 (eval "$ac_link") 2>conftest.er1
36554415 ac_status=$?
36564416 grep -v '^ *+' conftest.er1 >conftest.err
36574417 rm -f conftest.er1
36584418 cat conftest.err >&5
36594419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604420 (exit $ac_status); } &&
3661 { ac_try='test -z "$ac_c_werror_flag"
3662 || test ! -s conftest.err'
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664 (eval $ac_try) 2>&5
4421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4422 { (case "(($ac_try" in
4423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4425 esac
4426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427 (eval "$ac_try") 2>&5
36654428 ac_status=$?
36664429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674430 (exit $ac_status); }; } &&
36684431 { ac_try='test -s conftest$ac_exeext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 (eval $ac_try) 2>&5
4432 { (case "(($ac_try" in
4433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4435 esac
4436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4437 (eval "$ac_try") 2>&5
36714438 ac_status=$?
36724439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734440 (exit $ac_status); }; }; then
36764443 echo "$as_me: failed program was:" >&5
36774444 sed 's/^/| /' conftest.$ac_ext >&5
36784445
3679 ac_cv_lib_ncurses_wgetch=no
3680 fi
3681 rm -f conftest.err conftest.$ac_objext \
4446 ac_cv_lib_ncurses_wgetch=no
4447 fi
4448
4449 rm -f core conftest.err conftest.$ac_objext \
36824450 conftest$ac_exeext conftest.$ac_ext
36834451 LIBS=$ac_check_lib_save_LIBS
36844452 fi
3685 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
3686 echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6
4453 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
4454 echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6; }
36874455 if test $ac_cv_lib_ncurses_wgetch = yes; then
36884456 cat >>confdefs.h <<_ACEOF
36894457 #define HAVE_LIBNCURSES 1
36984466 fi
36994467
37004468
3701 ac_ext=cc
4469 ac_ext=cpp
37024470 ac_cpp='$CXXCPP $CPPFLAGS'
37034471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37064474
37074475
3708 ac_ext=cc
4476 ac_ext=cpp
37094477 ac_cpp='$CXXCPP $CPPFLAGS'
37104478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3713 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3714 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4481 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4482 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
37154483 if test -z "$CXXCPP"; then
37164484 if test "${ac_cv_prog_CXXCPP+set}" = set; then
37174485 echo $ECHO_N "(cached) $ECHO_C" >&6
37414509 #endif
37424510 Syntax error
37434511 _ACEOF
3744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3745 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4512 if { (ac_try="$ac_cpp conftest.$ac_ext"
4513 case "(($ac_try" in
4514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515 *) ac_try_echo=$ac_try;;
4516 esac
4517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37464519 ac_status=$?
37474520 grep -v '^ *+' conftest.er1 >conftest.err
37484521 rm -f conftest.er1
37674540 # Broken: fails on valid input.
37684541 continue
37694542 fi
4543
37704544 rm -f conftest.err conftest.$ac_ext
37714545
3772 # OK, works on sane cases. Now check whether non-existent headers
4546 # OK, works on sane cases. Now check whether nonexistent headers
37734547 # can be detected and how.
37744548 cat >conftest.$ac_ext <<_ACEOF
37754549 /* confdefs.h. */
37794553 /* end confdefs.h. */
37804554 #include <ac_nonexistent.h>
37814555 _ACEOF
3782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4556 if { (ac_try="$ac_cpp conftest.$ac_ext"
4557 case "(($ac_try" in
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4560 esac
4561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37844563 ac_status=$?
37854564 grep -v '^ *+' conftest.er1 >conftest.err
37864565 rm -f conftest.er1
38074586 ac_preproc_ok=:
38084587 break
38094588 fi
4589
38104590 rm -f conftest.err conftest.$ac_ext
38114591
38124592 done
38244604 else
38254605 ac_cv_prog_CXXCPP=$CXXCPP
38264606 fi
3827 echo "$as_me:$LINENO: result: $CXXCPP" >&5
3828 echo "${ECHO_T}$CXXCPP" >&6
4607 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4608 echo "${ECHO_T}$CXXCPP" >&6; }
38294609 ac_preproc_ok=false
38304610 for ac_cxx_preproc_warn_flag in '' yes
38314611 do
38484628 #endif
38494629 Syntax error
38504630 _ACEOF
3851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4631 if { (ac_try="$ac_cpp conftest.$ac_ext"
4632 case "(($ac_try" in
4633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4634 *) ac_try_echo=$ac_try;;
4635 esac
4636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38534638 ac_status=$?
38544639 grep -v '^ *+' conftest.er1 >conftest.err
38554640 rm -f conftest.er1
38744659 # Broken: fails on valid input.
38754660 continue
38764661 fi
4662
38774663 rm -f conftest.err conftest.$ac_ext
38784664
3879 # OK, works on sane cases. Now check whether non-existent headers
4665 # OK, works on sane cases. Now check whether nonexistent headers
38804666 # can be detected and how.
38814667 cat >conftest.$ac_ext <<_ACEOF
38824668 /* confdefs.h. */
38864672 /* end confdefs.h. */
38874673 #include <ac_nonexistent.h>
38884674 _ACEOF
3889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4675 if { (ac_try="$ac_cpp conftest.$ac_ext"
4676 case "(($ac_try" in
4677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4678 *) ac_try_echo=$ac_try;;
4679 esac
4680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
38914682 ac_status=$?
38924683 grep -v '^ *+' conftest.er1 >conftest.err
38934684 rm -f conftest.er1
39144705 ac_preproc_ok=:
39154706 break
39164707 fi
4708
39174709 rm -f conftest.err conftest.$ac_ext
39184710
39194711 done
39294721 { (exit 1); exit 1; }; }
39304722 fi
39314723
3932 ac_ext=cc
4724 ac_ext=cpp
39334725 ac_cpp='$CXXCPP $CPPFLAGS'
39344726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39354727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374729
39384730
39394731 if test "${ac_cv_header_string+set}" = set; then
3940 echo "$as_me:$LINENO: checking for string" >&5
3941 echo $ECHO_N "checking for string... $ECHO_C" >&6
4732 { echo "$as_me:$LINENO: checking for string" >&5
4733 echo $ECHO_N "checking for string... $ECHO_C" >&6; }
39424734 if test "${ac_cv_header_string+set}" = set; then
39434735 echo $ECHO_N "(cached) $ECHO_C" >&6
39444736 fi
3945 echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
3946 echo "${ECHO_T}$ac_cv_header_string" >&6
4737 { echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
4738 echo "${ECHO_T}$ac_cv_header_string" >&6; }
39474739 else
39484740 # Is the header compilable?
3949 echo "$as_me:$LINENO: checking string usability" >&5
3950 echo $ECHO_N "checking string usability... $ECHO_C" >&6
4741 { echo "$as_me:$LINENO: checking string usability" >&5
4742 echo $ECHO_N "checking string usability... $ECHO_C" >&6; }
39514743 cat >conftest.$ac_ext <<_ACEOF
39524744 /* confdefs.h. */
39534745 _ACEOF
39584750 #include <string>
39594751 _ACEOF
39604752 rm -f conftest.$ac_objext
3961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3962 (eval $ac_compile) 2>conftest.er1
4753 if { (ac_try="$ac_compile"
4754 case "(($ac_try" in
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4757 esac
4758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4759 (eval "$ac_compile") 2>conftest.er1
39634760 ac_status=$?
39644761 grep -v '^ *+' conftest.er1 >conftest.err
39654762 rm -f conftest.er1
39664763 cat conftest.err >&5
39674764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684765 (exit $ac_status); } &&
3969 { ac_try='test -z "$ac_cxx_werror_flag"
3970 || test ! -s conftest.err'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 (eval $ac_try) 2>&5
4766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4767 { (case "(($ac_try" in
4768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4769 *) ac_try_echo=$ac_try;;
4770 esac
4771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4772 (eval "$ac_try") 2>&5
39734773 ac_status=$?
39744774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39754775 (exit $ac_status); }; } &&
39764776 { ac_try='test -s conftest.$ac_objext'
3977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 (eval $ac_try) 2>&5
4777 { (case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4782 (eval "$ac_try") 2>&5
39794783 ac_status=$?
39804784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814785 (exit $ac_status); }; }; then
39844788 echo "$as_me: failed program was:" >&5
39854789 sed 's/^/| /' conftest.$ac_ext >&5
39864790
3987 ac_header_compiler=no
3988 fi
3989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3991 echo "${ECHO_T}$ac_header_compiler" >&6
4791 ac_header_compiler=no
4792 fi
4793
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4795 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4796 echo "${ECHO_T}$ac_header_compiler" >&6; }
39924797
39934798 # Is the header present?
3994 echo "$as_me:$LINENO: checking string presence" >&5
3995 echo $ECHO_N "checking string presence... $ECHO_C" >&6
4799 { echo "$as_me:$LINENO: checking string presence" >&5
4800 echo $ECHO_N "checking string presence... $ECHO_C" >&6; }
39964801 cat >conftest.$ac_ext <<_ACEOF
39974802 /* confdefs.h. */
39984803 _ACEOF
40014806 /* end confdefs.h. */
40024807 #include <string>
40034808 _ACEOF
4004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4005 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4809 if { (ac_try="$ac_cpp conftest.$ac_ext"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40064816 ac_status=$?
40074817 grep -v '^ *+' conftest.er1 >conftest.err
40084818 rm -f conftest.er1
40264836
40274837 ac_header_preproc=no
40284838 fi
4839
40294840 rm -f conftest.err conftest.$ac_ext
4030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4031 echo "${ECHO_T}$ac_header_preproc" >&6
4841 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4842 echo "${ECHO_T}$ac_header_preproc" >&6; }
40324843
40334844 # So? What about this header?
40344845 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40524863 echo "$as_me: WARNING: string: proceeding with the preprocessor's result" >&2;}
40534864 { echo "$as_me:$LINENO: WARNING: string: in the future, the compiler will take precedence" >&5
40544865 echo "$as_me: WARNING: string: in the future, the compiler will take precedence" >&2;}
4055 (
4056 cat <<\_ASBOX
4057 ## ------------------------------------------ ##
4058 ## Report this to the AC_PACKAGE_NAME lists. ##
4059 ## ------------------------------------------ ##
4060 _ASBOX
4061 ) |
4062 sed "s/^/$as_me: WARNING: /" >&2
4866
40634867 ;;
40644868 esac
4065 echo "$as_me:$LINENO: checking for string" >&5
4066 echo $ECHO_N "checking for string... $ECHO_C" >&6
4869 { echo "$as_me:$LINENO: checking for string" >&5
4870 echo $ECHO_N "checking for string... $ECHO_C" >&6; }
40674871 if test "${ac_cv_header_string+set}" = set; then
40684872 echo $ECHO_N "(cached) $ECHO_C" >&6
40694873 else
40704874 ac_cv_header_string=$ac_header_preproc
40714875 fi
4072 echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
4073 echo "${ECHO_T}$ac_cv_header_string" >&6
4876 { echo "$as_me:$LINENO: result: $ac_cv_header_string" >&5
4877 echo "${ECHO_T}$ac_cv_header_string" >&6; }
40744878
40754879 fi
40764880 if test $ac_cv_header_string = yes; then
40834887
40844888
40854889 if test "${ac_cv_header_vector+set}" = set; then
4086 echo "$as_me:$LINENO: checking for vector" >&5
4087 echo $ECHO_N "checking for vector... $ECHO_C" >&6
4890 { echo "$as_me:$LINENO: checking for vector" >&5
4891 echo $ECHO_N "checking for vector... $ECHO_C" >&6; }
40884892 if test "${ac_cv_header_vector+set}" = set; then
40894893 echo $ECHO_N "(cached) $ECHO_C" >&6
40904894 fi
4091 echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
4092 echo "${ECHO_T}$ac_cv_header_vector" >&6
4895 { echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
4896 echo "${ECHO_T}$ac_cv_header_vector" >&6; }
40934897 else
40944898 # Is the header compilable?
4095 echo "$as_me:$LINENO: checking vector usability" >&5
4096 echo $ECHO_N "checking vector usability... $ECHO_C" >&6
4899 { echo "$as_me:$LINENO: checking vector usability" >&5
4900 echo $ECHO_N "checking vector usability... $ECHO_C" >&6; }
40974901 cat >conftest.$ac_ext <<_ACEOF
40984902 /* confdefs.h. */
40994903 _ACEOF
41044908 #include <vector>
41054909 _ACEOF
41064910 rm -f conftest.$ac_objext
4107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4108 (eval $ac_compile) 2>conftest.er1
4911 if { (ac_try="$ac_compile"
4912 case "(($ac_try" in
4913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4914 *) ac_try_echo=$ac_try;;
4915 esac
4916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4917 (eval "$ac_compile") 2>conftest.er1
41094918 ac_status=$?
41104919 grep -v '^ *+' conftest.er1 >conftest.err
41114920 rm -f conftest.er1
41124921 cat conftest.err >&5
41134922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144923 (exit $ac_status); } &&
4115 { ac_try='test -z "$ac_cxx_werror_flag"
4116 || test ! -s conftest.err'
4117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 (eval $ac_try) 2>&5
4924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4925 { (case "(($ac_try" in
4926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4927 *) ac_try_echo=$ac_try;;
4928 esac
4929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4930 (eval "$ac_try") 2>&5
41194931 ac_status=$?
41204932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41214933 (exit $ac_status); }; } &&
41224934 { ac_try='test -s conftest.$ac_objext'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 (eval $ac_try) 2>&5
4935 { (case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4938 esac
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940 (eval "$ac_try") 2>&5
41254941 ac_status=$?
41264942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274943 (exit $ac_status); }; }; then
41304946 echo "$as_me: failed program was:" >&5
41314947 sed 's/^/| /' conftest.$ac_ext >&5
41324948
4133 ac_header_compiler=no
4134 fi
4135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4137 echo "${ECHO_T}$ac_header_compiler" >&6
4949 ac_header_compiler=no
4950 fi
4951
4952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4954 echo "${ECHO_T}$ac_header_compiler" >&6; }
41384955
41394956 # Is the header present?
4140 echo "$as_me:$LINENO: checking vector presence" >&5
4141 echo $ECHO_N "checking vector presence... $ECHO_C" >&6
4957 { echo "$as_me:$LINENO: checking vector presence" >&5
4958 echo $ECHO_N "checking vector presence... $ECHO_C" >&6; }
41424959 cat >conftest.$ac_ext <<_ACEOF
41434960 /* confdefs.h. */
41444961 _ACEOF
41474964 /* end confdefs.h. */
41484965 #include <vector>
41494966 _ACEOF
4150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4967 if { (ac_try="$ac_cpp conftest.$ac_ext"
4968 case "(($ac_try" in
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4971 esac
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
41524974 ac_status=$?
41534975 grep -v '^ *+' conftest.er1 >conftest.err
41544976 rm -f conftest.er1
41724994
41734995 ac_header_preproc=no
41744996 fi
4997
41754998 rm -f conftest.err conftest.$ac_ext
4176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4177 echo "${ECHO_T}$ac_header_preproc" >&6
4999 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5000 echo "${ECHO_T}$ac_header_preproc" >&6; }
41785001
41795002 # So? What about this header?
41805003 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41985021 echo "$as_me: WARNING: vector: proceeding with the preprocessor's result" >&2;}
41995022 { echo "$as_me:$LINENO: WARNING: vector: in the future, the compiler will take precedence" >&5
42005023 echo "$as_me: WARNING: vector: in the future, the compiler will take precedence" >&2;}
4201 (
4202 cat <<\_ASBOX
4203 ## ------------------------------------------ ##
4204 ## Report this to the AC_PACKAGE_NAME lists. ##
4205 ## ------------------------------------------ ##
4206 _ASBOX
4207 ) |
4208 sed "s/^/$as_me: WARNING: /" >&2
5024
42095025 ;;
42105026 esac
4211 echo "$as_me:$LINENO: checking for vector" >&5
4212 echo $ECHO_N "checking for vector... $ECHO_C" >&6
5027 { echo "$as_me:$LINENO: checking for vector" >&5
5028 echo $ECHO_N "checking for vector... $ECHO_C" >&6; }
42135029 if test "${ac_cv_header_vector+set}" = set; then
42145030 echo $ECHO_N "(cached) $ECHO_C" >&6
42155031 else
42165032 ac_cv_header_vector=$ac_header_preproc
42175033 fi
4218 echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
4219 echo "${ECHO_T}$ac_cv_header_vector" >&6
5034 { echo "$as_me:$LINENO: result: $ac_cv_header_vector" >&5
5035 echo "${ECHO_T}$ac_cv_header_vector" >&6; }
42205036
42215037 fi
42225038 if test $ac_cv_header_vector = yes; then
42295045
42305046
42315047 if test "${ac_cv_header_algorithm+set}" = set; then
4232 echo "$as_me:$LINENO: checking for algorithm" >&5
4233 echo $ECHO_N "checking for algorithm... $ECHO_C" >&6
5048 { echo "$as_me:$LINENO: checking for algorithm" >&5
5049 echo $ECHO_N "checking for algorithm... $ECHO_C" >&6; }
42345050 if test "${ac_cv_header_algorithm+set}" = set; then
42355051 echo $ECHO_N "(cached) $ECHO_C" >&6
42365052 fi
4237 echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
4238 echo "${ECHO_T}$ac_cv_header_algorithm" >&6
5053 { echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
5054 echo "${ECHO_T}$ac_cv_header_algorithm" >&6; }
42395055 else
42405056 # Is the header compilable?
4241 echo "$as_me:$LINENO: checking algorithm usability" >&5
4242 echo $ECHO_N "checking algorithm usability... $ECHO_C" >&6
5057 { echo "$as_me:$LINENO: checking algorithm usability" >&5
5058 echo $ECHO_N "checking algorithm usability... $ECHO_C" >&6; }
42435059 cat >conftest.$ac_ext <<_ACEOF
42445060 /* confdefs.h. */
42455061 _ACEOF
42505066 #include <algorithm>
42515067 _ACEOF
42525068 rm -f conftest.$ac_objext
4253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4254 (eval $ac_compile) 2>conftest.er1
5069 if { (ac_try="$ac_compile"
5070 case "(($ac_try" in
5071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5073 esac
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_compile") 2>conftest.er1
42555076 ac_status=$?
42565077 grep -v '^ *+' conftest.er1 >conftest.err
42575078 rm -f conftest.er1
42585079 cat conftest.err >&5
42595080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605081 (exit $ac_status); } &&
4261 { ac_try='test -z "$ac_cxx_werror_flag"
4262 || test ! -s conftest.err'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264 (eval $ac_try) 2>&5
5082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5083 { (case "(($ac_try" in
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5086 esac
5087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_try") 2>&5
42655089 ac_status=$?
42665090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675091 (exit $ac_status); }; } &&
42685092 { ac_try='test -s conftest.$ac_objext'
4269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 (eval $ac_try) 2>&5
5093 { (case "(($ac_try" in
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5096 esac
5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5098 (eval "$ac_try") 2>&5
42715099 ac_status=$?
42725100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735101 (exit $ac_status); }; }; then
42765104 echo "$as_me: failed program was:" >&5
42775105 sed 's/^/| /' conftest.$ac_ext >&5
42785106
4279 ac_header_compiler=no
4280 fi
4281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4283 echo "${ECHO_T}$ac_header_compiler" >&6
5107 ac_header_compiler=no
5108 fi
5109
5110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5112 echo "${ECHO_T}$ac_header_compiler" >&6; }
42845113
42855114 # Is the header present?
4286 echo "$as_me:$LINENO: checking algorithm presence" >&5
4287 echo $ECHO_N "checking algorithm presence... $ECHO_C" >&6
5115 { echo "$as_me:$LINENO: checking algorithm presence" >&5
5116 echo $ECHO_N "checking algorithm presence... $ECHO_C" >&6; }
42885117 cat >conftest.$ac_ext <<_ACEOF
42895118 /* confdefs.h. */
42905119 _ACEOF
42935122 /* end confdefs.h. */
42945123 #include <algorithm>
42955124 _ACEOF
4296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5125 if { (ac_try="$ac_cpp conftest.$ac_ext"
5126 case "(($ac_try" in
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5129 esac
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
42985132 ac_status=$?
42995133 grep -v '^ *+' conftest.er1 >conftest.err
43005134 rm -f conftest.er1
43185152
43195153 ac_header_preproc=no
43205154 fi
5155
43215156 rm -f conftest.err conftest.$ac_ext
4322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4323 echo "${ECHO_T}$ac_header_preproc" >&6
5157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5158 echo "${ECHO_T}$ac_header_preproc" >&6; }
43245159
43255160 # So? What about this header?
43265161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43445179 echo "$as_me: WARNING: algorithm: proceeding with the preprocessor's result" >&2;}
43455180 { echo "$as_me:$LINENO: WARNING: algorithm: in the future, the compiler will take precedence" >&5
43465181 echo "$as_me: WARNING: algorithm: in the future, the compiler will take precedence" >&2;}
4347 (
4348 cat <<\_ASBOX
4349 ## ------------------------------------------ ##
4350 ## Report this to the AC_PACKAGE_NAME lists. ##
4351 ## ------------------------------------------ ##
4352 _ASBOX
4353 ) |
4354 sed "s/^/$as_me: WARNING: /" >&2
5182
43555183 ;;
43565184 esac
4357 echo "$as_me:$LINENO: checking for algorithm" >&5
4358 echo $ECHO_N "checking for algorithm... $ECHO_C" >&6
5185 { echo "$as_me:$LINENO: checking for algorithm" >&5
5186 echo $ECHO_N "checking for algorithm... $ECHO_C" >&6; }
43595187 if test "${ac_cv_header_algorithm+set}" = set; then
43605188 echo $ECHO_N "(cached) $ECHO_C" >&6
43615189 else
43625190 ac_cv_header_algorithm=$ac_header_preproc
43635191 fi
4364 echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
4365 echo "${ECHO_T}$ac_cv_header_algorithm" >&6
5192 { echo "$as_me:$LINENO: result: $ac_cv_header_algorithm" >&5
5193 echo "${ECHO_T}$ac_cv_header_algorithm" >&6; }
43665194
43675195 fi
43685196 if test $ac_cv_header_algorithm = yes; then
43845212 #define SHAREDIR "$sv2"
43855213 _ACEOF
43865214
4387 ac_config_files="$ac_config_files Makefile"
5215 ac_config_files="$ac_config_files Makefile"
5216
43885217 cat >confcache <<\_ACEOF
43895218 # This file is a shell script that caches the results of configure
43905219 # tests run on this system so they can be shared between configure
44035232
44045233 # The following way of writing the cache mishandles newlines in values,
44055234 # but we know of no workaround that is simple, portable, and efficient.
4406 # So, don't put newlines in cache variables' values.
5235 # So, we kill variables containing newlines.
44075236 # Ultrix sh set writes to stderr and can't be redirected directly,
44085237 # and sets the high bit in the cache file unless we assign to the vars.
4409 {
5238 (
5239 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5240 eval ac_val=\$$ac_var
5241 case $ac_val in #(
5242 *${as_nl}*)
5243 case $ac_var in #(
5244 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5245 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5246 esac
5247 case $ac_var in #(
5248 _ | IFS | as_nl) ;; #(
5249 *) $as_unset $ac_var ;;
5250 esac ;;
5251 esac
5252 done
5253
44105254 (set) 2>&1 |
4411 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4412 *ac_space=\ *)
5255 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5256 *${as_nl}ac_space=\ *)
44135257 # `set' does not quote correctly, so add quotes (double-quote
44145258 # substitution turns \\\\ into \\, and sed turns \\ into \).
44155259 sed -n \
44165260 "s/'/'\\\\''/g;
44175261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4418 ;;
5262 ;; #(
44195263 *)
44205264 # `set' quotes correctly as required by POSIX, so do not add quotes.
4421 sed -n \
4422 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
44235266 ;;
4424 esac;
4425 } |
5267 esac |
5268 sort
5269 ) |
44265270 sed '
5271 /^ac_cv_env_/b end
44275272 t clear
4428 : clear
5273 :clear
44295274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44305275 t end
4431 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4432 : end' >>confcache
4433 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4434 if test -w $cache_file; then
4435 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5277 :end' >>confcache
5278 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5279 if test -w "$cache_file"; then
5280 test "x$cache_file" != "x/dev/null" &&
5281 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5282 echo "$as_me: updating cache $cache_file" >&6;}
44365283 cat confcache >$cache_file
44375284 else
4438 echo "not updating unwritable cache $cache_file"
5285 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5286 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
44395287 fi
44405288 fi
44415289 rm -f confcache
44435291 test "x$prefix" = xNONE && prefix=$ac_default_prefix
44445292 # Let make expand exec_prefix.
44455293 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4446
4447 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4448 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4449 # trailing colons and then remove the whole line if VPATH becomes empty
4450 # (actually we leave an empty line to preserve line numbers).
4451 if test "x$srcdir" = x.; then
4452 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4453 s/:*\$(srcdir):*/:/;
4454 s/:*\${srcdir}:*/:/;
4455 s/:*@srcdir@:*/:/;
4456 s/^\([^=]*=[ ]*\):*/\1/;
4457 s/:*$//;
4458 s/^[^=]*=[ ]*$//;
4459 }'
4460 fi
44615294
44625295 DEFS=-DHAVE_CONFIG_H
44635296
44655298 ac_ltlibobjs=
44665299 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
44675300 # 1. Remove the extension, and $U if already installed.
4468 ac_i=`echo "$ac_i" |
4469 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4470 # 2. Add them.
4471 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4472 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5301 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5302 ac_i=`echo "$ac_i" | sed "$ac_script"`
5303 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5304 # will be set to the directory where LIBOBJS objects are built.
5305 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5306 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
44735307 done
44745308 LIBOBJS=$ac_libobjs
44755309
45075341 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
45085342 # is contrary to our usage. Disable this feature.
45095343 alias -g '${1+"$@"}'='"$@"'
4510 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4511 set -o posix
4512 fi
5344 setopt NO_GLOB_SUBST
5345 else
5346 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
5347 fi
5348 BIN_SH=xpg4; export BIN_SH # for Tru64
45135349 DUALCASE=1; export DUALCASE # for MKS sh
45145350
4515 # Support unset when possible.
4516 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4517 as_unset=unset
4518 else
4519 as_unset=false
4520 fi
4521
4522
4523 # Work around bugs in pre-3.0 UWIN ksh.
4524 $as_unset ENV MAIL MAILPATH
4525 PS1='$ '
4526 PS2='> '
4527 PS4='+ '
4528
4529 # NLS nuisances.
4530 for as_var in \
4531 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4532 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4533 LC_TELEPHONE LC_TIME
4534 do
4535 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4536 eval $as_var=C; export $as_var
4537 else
4538 $as_unset $as_var
4539 fi
4540 done
4541
4542 # Required to use basename.
4543 if expr a : '\(a\)' >/dev/null 2>&1; then
4544 as_expr=expr
4545 else
4546 as_expr=false
4547 fi
4548
4549 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4550 as_basename=basename
4551 else
4552 as_basename=false
4553 fi
4554
4555
4556 # Name of the executable.
4557 as_me=`$as_basename "$0" ||
4558 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4559 X"$0" : 'X\(//\)$' \| \
4560 X"$0" : 'X\(/\)$' \| \
4561 . : '\(.\)' 2>/dev/null ||
4562 echo X/"$0" |
4563 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4564 /^X\/\(\/\/\)$/{ s//\1/; q; }
4565 /^X\/\(\/\).*/{ s//\1/; q; }
4566 s/.*/./; q'`
4567
4568
4569 # PATH needs CR, and LINENO needs CR and PATH.
5351
5352 # PATH needs CR
45705353 # Avoid depending upon Character Ranges.
45715354 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
45725355 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45875370 rm -f conf$$.sh
45885371 fi
45895372
4590
4591 as_lineno_1=$LINENO
4592 as_lineno_2=$LINENO
4593 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4594 test "x$as_lineno_1" != "x$as_lineno_2" &&
4595 test "x$as_lineno_3" = "x$as_lineno_2" || {
4596 # Find who we are. Look in the path if we contain no path at all
4597 # relative or not.
4598 case $0 in
4599 *[\\/]* ) as_myself=$0 ;;
4600 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 # Support unset when possible.
5374 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5375 as_unset=unset
5376 else
5377 as_unset=false
5378 fi
5379
5380
5381 # IFS
5382 # We need space, tab and new line, in precisely that order. Quoting is
5383 # there to prevent editors from complaining about space-tab.
5384 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5385 # splitting by setting IFS to empty value.)
5386 as_nl='
5387 '
5388 IFS=" "" $as_nl"
5389
5390 # Find who we are. Look in the path if we contain no directory separator.
5391 case $0 in
5392 *[\\/]* ) as_myself=$0 ;;
5393 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46015394 for as_dir in $PATH
46025395 do
46035396 IFS=$as_save_IFS
46045397 test -z "$as_dir" && as_dir=.
46055398 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
46065399 done
4607
4608 ;;
4609 esac
4610 # We did not find ourselves, most probably we were run as `sh COMMAND'
4611 # in which case we are not to be found in the path.
4612 if test "x$as_myself" = x; then
4613 as_myself=$0
5400 IFS=$as_save_IFS
5401
5402 ;;
5403 esac
5404 # We did not find ourselves, most probably we were run as `sh COMMAND'
5405 # in which case we are not to be found in the path.
5406 if test "x$as_myself" = x; then
5407 as_myself=$0
5408 fi
5409 if test ! -f "$as_myself"; then
5410 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5411 { (exit 1); exit 1; }
5412 fi
5413
5414 # Work around bugs in pre-3.0 UWIN ksh.
5415 for as_var in ENV MAIL MAILPATH
5416 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5417 done
5418 PS1='$ '
5419 PS2='> '
5420 PS4='+ '
5421
5422 # NLS nuisances.
5423 for as_var in \
5424 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5425 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5426 LC_TELEPHONE LC_TIME
5427 do
5428 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5429 eval $as_var=C; export $as_var
5430 else
5431 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
46145432 fi
4615 if test ! -f "$as_myself"; then
4616 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4617 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4618 { (exit 1); exit 1; }; }
4619 fi
4620 case $CONFIG_SHELL in
4621 '')
4622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4624 do
4625 IFS=$as_save_IFS
4626 test -z "$as_dir" && as_dir=.
4627 for as_base in sh bash ksh sh5; do
4628 case $as_dir in
4629 /*)
4630 if ("$as_dir/$as_base" -c '
5433 done
5434
5435 # Required to use basename.
5436 if expr a : '\(a\)' >/dev/null 2>&1 &&
5437 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5438 as_expr=expr
5439 else
5440 as_expr=false
5441 fi
5442
5443 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5444 as_basename=basename
5445 else
5446 as_basename=false
5447 fi
5448
5449
5450 # Name of the executable.
5451 as_me=`$as_basename -- "$0" ||
5452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5453 X"$0" : 'X\(//\)$' \| \
5454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5455 echo X/"$0" |
5456 sed '/^.*\/\([^/][^/]*\)\/*$/{
5457 s//\1/
5458 q
5459 }
5460 /^X\/\(\/\/\)$/{
5461 s//\1/
5462 q
5463 }
5464 /^X\/\(\/\).*/{
5465 s//\1/
5466 q
5467 }
5468 s/.*/./; q'`
5469
5470 # CDPATH.
5471 $as_unset CDPATH
5472
5473
5474
46315475 as_lineno_1=$LINENO
46325476 as_lineno_2=$LINENO
4633 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46345477 test "x$as_lineno_1" != "x$as_lineno_2" &&
4635 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4636 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4637 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4638 CONFIG_SHELL=$as_dir/$as_base
4639 export CONFIG_SHELL
4640 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4641 fi;;
4642 esac
4643 done
4644 done
4645 ;;
4646 esac
5478 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
46475479
46485480 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46495481 # uniformly replaced by the line number. The first 'sed' inserts a
4650 # line-number line before each line; the second 'sed' does the real
4651 # work. The second script uses 'N' to pair each line-number line
4652 # with the numbered line, and appends trailing '-' during
4653 # substitution so that $LINENO is not a special case at line end.
5482 # line-number line after each line using $LINENO; the second 'sed'
5483 # does the real work. The second script uses 'N' to pair each
5484 # line-number line with the line containing $LINENO, and appends
5485 # trailing '-' during substitution so that $LINENO is not a special
5486 # case at line end.
46545487 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4655 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4656 sed '=' <$as_myself |
5488 # scripts with optimization help from Paolo Bonzini. Blame Lee
5489 # E. McMahon (1931-1989) for sed's syntax. :-)
5490 sed -n '
5491 p
5492 /[$]LINENO/=
5493 ' <$as_myself |
46575494 sed '
5495 s/[$]LINENO.*/&-/
5496 t lineno
5497 b
5498 :lineno
46585499 N
4659 s,$,-,
4660 : loop
4661 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5500 :loop
5501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
46625502 t loop
4663 s,-$,,
4664 s,^['$as_cr_digits']*\n,,
5503 s/-\n.*//
46655504 ' >$as_me.lineno &&
4666 chmod +x $as_me.lineno ||
4667 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4668 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5505 chmod +x "$as_me.lineno" ||
5506 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
46695507 { (exit 1); exit 1; }; }
46705508
46715509 # Don't try to exec as it changes $[0], causing all sort of problems
46725510 # (the dirname of $[0] is not the place where we might find the
4673 # original and so on. Autoconf is especially sensible to this).
4674 . ./$as_me.lineno
5511 # original and so on. Autoconf is especially sensitive to this).
5512 . "./$as_me.lineno"
46755513 # Exit status is that of the last command.
46765514 exit
46775515 }
46785516
46795517
4680 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4681 *c*,-n*) ECHO_N= ECHO_C='
4682 ' ECHO_T=' ' ;;
4683 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4684 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4685 esac
4686
4687 if expr a : '\(a\)' >/dev/null 2>&1; then
5518 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5519 as_dirname=dirname
5520 else
5521 as_dirname=false
5522 fi
5523
5524 ECHO_C= ECHO_N= ECHO_T=
5525 case `echo -n x` in
5526 -n*)
5527 case `echo 'x\c'` in
5528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5529 *) ECHO_C='\c';;
5530 esac;;
5531 *)
5532 ECHO_N='-n';;
5533 esac
5534
5535 if expr a : '\(a\)' >/dev/null 2>&1 &&
5536 test "X`expr 00001 : '.*\(...\)'`" = X001; then
46885537 as_expr=expr
46895538 else
46905539 as_expr=false
46915540 fi
46925541
46935542 rm -f conf$$ conf$$.exe conf$$.file
5543 if test -d conf$$.dir; then
5544 rm -f conf$$.dir/conf$$.file
5545 else
5546 rm -f conf$$.dir
5547 mkdir conf$$.dir
5548 fi
46945549 echo >conf$$.file
46955550 if ln -s conf$$.file conf$$ 2>/dev/null; then
4696 # We could just check for DJGPP; but this test a) works b) is more generic
4697 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4698 if test -f conf$$.exe; then
4699 # Don't use ln at all; we don't have any links
5551 as_ln_s='ln -s'
5552 # ... but there are two gotchas:
5553 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5554 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5555 # In both cases, we have to default to `cp -p'.
5556 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
47005557 as_ln_s='cp -p'
4701 else
4702 as_ln_s='ln -s'
4703 fi
47045558 elif ln conf$$.file conf$$ 2>/dev/null; then
47055559 as_ln_s=ln
47065560 else
47075561 as_ln_s='cp -p'
47085562 fi
4709 rm -f conf$$ conf$$.exe conf$$.file
5563 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5564 rmdir conf$$.dir 2>/dev/null
47105565
47115566 if mkdir -p . 2>/dev/null; then
47125567 as_mkdir_p=:
47155570 as_mkdir_p=false
47165571 fi
47175572
4718 as_executable_p="test -f"
5573 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
5574 # systems may use methods other than mode bits to determine executability.
5575 cat >conf$$.file <<_ASEOF
5576 #! /bin/sh
5577 exit 0
5578 _ASEOF
5579 chmod +x conf$$.file
5580 if test -x conf$$.file >/dev/null 2>&1; then
5581 as_executable_p="test -x"
5582 else
5583 as_executable_p=:
5584 fi
5585 rm -f conf$$.file
47195586
47205587 # Sed expression to map a string onto a valid CPP name.
47215588 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47245591 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47255592
47265593
4727 # IFS
4728 # We need space, tab and new line, in precisely that order.
4729 as_nl='
4730 '
4731 IFS=" $as_nl"
4732
4733 # CDPATH.
4734 $as_unset CDPATH
4735
47365594 exec 6>&1
47375595
4738 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5596 # Save the log message, to keep $[0] and so on meaningful, and to
47395597 # report actual input values of CONFIG_FILES etc. instead of their
4740 # values after options handling. Logging --version etc. is OK.
4741 exec 5>>config.log
4742 {
4743 echo
4744 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4745 ## Running $as_me. ##
4746 _ASBOX
4747 } >&5
4748 cat >&5 <<_CSEOF
4749
5598 # values after options handling.
5599 ac_log="
47505600 This file was extended by $as_me, which was
4751 generated by GNU Autoconf 2.59. Invocation command line was
5601 generated by GNU Autoconf 2.60. Invocation command line was
47525602
47535603 CONFIG_FILES = $CONFIG_FILES
47545604 CONFIG_HEADERS = $CONFIG_HEADERS
47565606 CONFIG_COMMANDS = $CONFIG_COMMANDS
47575607 $ $0 $@
47585608
4759 _CSEOF
4760 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4761 echo >&5
4762 _ACEOF
4763
5609 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5610 "
5611
5612 _ACEOF
5613
5614 cat >>$CONFIG_STATUS <<_ACEOF
47645615 # Files that config.status was made for.
4765 if test -n "$ac_config_files"; then
4766 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4767 fi
4768
4769 if test -n "$ac_config_headers"; then
4770 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4771 fi
4772
4773 if test -n "$ac_config_links"; then
4774 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4775 fi
4776
4777 if test -n "$ac_config_commands"; then
4778 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4779 fi
5616 config_files="$ac_config_files"
5617 config_headers="$ac_config_headers"
5618 config_commands="$ac_config_commands"
5619
5620 _ACEOF
47805621
47815622 cat >>$CONFIG_STATUS <<\_ACEOF
4782
47835623 ac_cs_usage="\
47845624 \`$as_me' instantiates files from templates according to the
47855625 current configuration.
48065646 $config_commands
48075647
48085648 Report bugs to <bug-autoconf@gnu.org>."
4809 _ACEOF
4810
5649
5650 _ACEOF
48115651 cat >>$CONFIG_STATUS <<_ACEOF
48125652 ac_cs_version="\\
48135653 config.status
4814 configured by $0, generated by GNU Autoconf 2.59,
4815 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4816
4817 Copyright (C) 2003 Free Software Foundation, Inc.
5654 configured by $0, generated by GNU Autoconf 2.60,
5655 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5656
5657 Copyright (C) 2006 Free Software Foundation, Inc.
48185658 This config.status script is free software; the Free Software Foundation
48195659 gives unlimited permission to copy, distribute and modify it."
4820 srcdir=$srcdir
4821 INSTALL="$INSTALL"
5660
5661 ac_pwd='$ac_pwd'
5662 srcdir='$srcdir'
5663 INSTALL='$INSTALL'
48225664 _ACEOF
48235665
48245666 cat >>$CONFIG_STATUS <<\_ACEOF
48295671 do
48305672 case $1 in
48315673 --*=*)
4832 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4833 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5674 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5675 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
48345676 ac_shift=:
48355677 ;;
4836 -*)
5678 *)
48375679 ac_option=$1
48385680 ac_optarg=$2
48395681 ac_shift=shift
48405682 ;;
4841 *) # This is not an option, so the user has probably given explicit
4842 # arguments.
4843 ac_option=$1
4844 ac_need_defaults=false;;
48455683 esac
48465684
48475685 case $ac_option in
48485686 # Handling of the options.
4849 _ACEOF
4850 cat >>$CONFIG_STATUS <<\_ACEOF
48515687 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48525688 ac_cs_recheck=: ;;
4853 --version | --vers* | -V )
4854 echo "$ac_cs_version"; exit 0 ;;
4855 --he | --h)
4856 # Conflict between --help and --header
4857 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4858 Try \`$0 --help' for more information." >&5
4859 echo "$as_me: error: ambiguous option: $1
4860 Try \`$0 --help' for more information." >&2;}
4861 { (exit 1); exit 1; }; };;
4862 --help | --hel | -h )
4863 echo "$ac_cs_usage"; exit 0 ;;
4864 --debug | --d* | -d )
5689 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5690 echo "$ac_cs_version"; exit ;;
5691 --debug | --debu | --deb | --de | --d | -d )
48655692 debug=: ;;
48665693 --file | --fil | --fi | --f )
48675694 $ac_shift
48715698 $ac_shift
48725699 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
48735700 ac_need_defaults=false;;
5701 --he | --h)
5702 # Conflict between --help and --header
5703 { echo "$as_me: error: ambiguous option: $1
5704 Try \`$0 --help' for more information." >&2
5705 { (exit 1); exit 1; }; };;
5706 --help | --hel | -h )
5707 echo "$ac_cs_usage"; exit ;;
48745708 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48755709 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48765710 ac_cs_silent=: ;;
48775711
48785712 # This is an error.
4879 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4880 Try \`$0 --help' for more information." >&5
4881 echo "$as_me: error: unrecognized option: $1
4882 Try \`$0 --help' for more information." >&2;}
5713 -*) { echo "$as_me: error: unrecognized option: $1
5714 Try \`$0 --help' for more information." >&2
48835715 { (exit 1); exit 1; }; } ;;
48845716
4885 *) ac_config_targets="$ac_config_targets $1" ;;
5717 *) ac_config_targets="$ac_config_targets $1"
5718 ac_need_defaults=false ;;
48865719
48875720 esac
48885721 shift
48985731 _ACEOF
48995732 cat >>$CONFIG_STATUS <<_ACEOF
49005733 if \$ac_cs_recheck; then
4901 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4902 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4903 fi
4904
4905 _ACEOF
4906
5734 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5735 CONFIG_SHELL=$SHELL
5736 export CONFIG_SHELL
5737 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5738 fi
5739
5740 _ACEOF
5741 cat >>$CONFIG_STATUS <<\_ACEOF
5742 exec 5>>config.log
5743 {
5744 echo
5745 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5746 ## Running $as_me. ##
5747 _ASBOX
5748 echo "$ac_log"
5749 } >&5
5750
5751 _ACEOF
49075752 cat >>$CONFIG_STATUS <<_ACEOF
49085753 #
4909 # INIT-COMMANDS section.
5754 # INIT-COMMANDS
49105755 #
49115756
49125757
4913
4914 _ACEOF
4915
4916
5758 _ACEOF
49175759
49185760 cat >>$CONFIG_STATUS <<\_ACEOF
5761
5762 # Handling of arguments.
49195763 for ac_config_target in $ac_config_targets
49205764 do
4921 case "$ac_config_target" in
4922 # Handling of arguments.
4923 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4924 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4925 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5765 case $ac_config_target in
5766 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5767 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5768 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5769
49265770 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49275771 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49285772 { (exit 1); exit 1; }; };;
49295773 esac
49305774 done
5775
49315776
49325777 # If the user did not use the arguments to specify the items to instantiate,
49335778 # then the envvar interface is used. Set only those that are not.
49405785 fi
49415786
49425787 # Have a temporary directory for convenience. Make it in the build tree
4943 # simply because there is no reason to put it here, and in addition,
5788 # simply because there is no reason against having it here, and in addition,
49445789 # creating and moving files from /tmp can sometimes cause problems.
4945 # Create a temporary directory, and hook for its removal unless debugging.
5790 # Hook for its removal unless debugging.
5791 # Note that there is a small window in which the directory will not be cleaned:
5792 # after its creation but before its name has been assigned to `$tmp'.
49465793 $debug ||
49475794 {
4948 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5795 tmp=
5796 trap 'exit_status=$?
5797 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5798 ' 0
49495799 trap '{ (exit 1); exit 1; }' 1 2 13 15
49505800 }
4951
49525801 # Create a (secure) tmp directory for tmp files.
49535802
49545803 {
4955 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5804 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49565805 test -n "$tmp" && test -d "$tmp"
49575806 } ||
49585807 {
4959 tmp=./confstat$$-$RANDOM
4960 (umask 077 && mkdir $tmp)
5808 tmp=./conf$$-$RANDOM
5809 (umask 077 && mkdir "$tmp")
49615810 } ||
49625811 {
49635812 echo "$me: cannot create a temporary directory in ." >&2
49645813 { (exit 1); exit 1; }
49655814 }
49665815
4967 _ACEOF
4968
4969 cat >>$CONFIG_STATUS <<_ACEOF
4970
49715816 #
4972 # CONFIG_FILES section.
5817 # Set up the sed scripts for CONFIG_FILES section.
49735818 #
49745819
49755820 # No need to generate the scripts if there are no CONFIG_FILES.
49765821 # This happens for instance when ./config.status config.h
4977 if test -n "\$CONFIG_FILES"; then
4978 # Protect against being on the right side of a sed subst in config.status.
4979 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4980 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4981 s,@SHELL@,$SHELL,;t t
4982 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4983 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4984 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4985 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4986 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4987 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4988 s,@exec_prefix@,$exec_prefix,;t t
4989 s,@prefix@,$prefix,;t t
4990 s,@program_transform_name@,$program_transform_name,;t t
4991 s,@bindir@,$bindir,;t t
4992 s,@sbindir@,$sbindir,;t t
4993 s,@libexecdir@,$libexecdir,;t t
4994 s,@datadir@,$datadir,;t t
4995 s,@sysconfdir@,$sysconfdir,;t t
4996 s,@sharedstatedir@,$sharedstatedir,;t t
4997 s,@localstatedir@,$localstatedir,;t t
4998 s,@libdir@,$libdir,;t t
4999 s,@includedir@,$includedir,;t t
5000 s,@oldincludedir@,$oldincludedir,;t t
5001 s,@infodir@,$infodir,;t t
5002 s,@mandir@,$mandir,;t t
5003 s,@build_alias@,$build_alias,;t t
5004 s,@host_alias@,$host_alias,;t t
5005 s,@target_alias@,$target_alias,;t t
5006 s,@DEFS@,$DEFS,;t t
5007 s,@ECHO_C@,$ECHO_C,;t t
5008 s,@ECHO_N@,$ECHO_N,;t t
5009 s,@ECHO_T@,$ECHO_T,;t t
5010 s,@LIBS@,$LIBS,;t t
5011 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5012 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5013 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5014 s,@PACKAGE@,$PACKAGE,;t t
5015 s,@VERSION@,$VERSION,;t t
5016 s,@ACLOCAL@,$ACLOCAL,;t t
5017 s,@AUTOCONF@,$AUTOCONF,;t t
5018 s,@AUTOMAKE@,$AUTOMAKE,;t t
5019 s,@AUTOHEADER@,$AUTOHEADER,;t t
5020 s,@MAKEINFO@,$MAKEINFO,;t t
5021 s,@SET_MAKE@,$SET_MAKE,;t t
5022 s,@CXX@,$CXX,;t t
5023 s,@CXXFLAGS@,$CXXFLAGS,;t t
5024 s,@LDFLAGS@,$LDFLAGS,;t t
5025 s,@CPPFLAGS@,$CPPFLAGS,;t t
5026 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5027 s,@EXEEXT@,$EXEEXT,;t t
5028 s,@OBJEXT@,$OBJEXT,;t t
5029 s,@CC@,$CC,;t t
5030 s,@CFLAGS@,$CFLAGS,;t t
5031 s,@ac_ct_CC@,$ac_ct_CC,;t t
5032 s,@CPP@,$CPP,;t t
5033 s,@EGREP@,$EGREP,;t t
5034 s,@CXXCPP@,$CXXCPP,;t t
5035 s,@LIBOBJS@,$LIBOBJS,;t t
5036 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5037 CEOF
5038
5039 _ACEOF
5040
5041 cat >>$CONFIG_STATUS <<\_ACEOF
5042 # Split the substitutions into bite-sized pieces for seds with
5043 # small command number limits, like on Digital OSF/1 and HP-UX.
5044 ac_max_sed_lines=48
5045 ac_sed_frag=1 # Number of current file.
5046 ac_beg=1 # First line for current file.
5047 ac_end=$ac_max_sed_lines # Line after last line for current file.
5048 ac_more_lines=:
5049 ac_sed_cmds=
5050 while $ac_more_lines; do
5051 if test $ac_beg -gt 1; then
5052 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5053 else
5054 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5822 if test -n "$CONFIG_FILES"; then
5823
5824 _ACEOF
5825
5826
5827
5828 ac_delim='%!_!# '
5829 for ac_last_try in false false false false false :; do
5830 cat >conf$$subs.sed <<_ACEOF
5831 SHELL!$SHELL$ac_delim
5832 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5833 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5834 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5835 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5836 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5837 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5838 exec_prefix!$exec_prefix$ac_delim
5839 prefix!$prefix$ac_delim
5840 program_transform_name!$program_transform_name$ac_delim
5841 bindir!$bindir$ac_delim
5842 sbindir!$sbindir$ac_delim
5843 libexecdir!$libexecdir$ac_delim
5844 datarootdir!$datarootdir$ac_delim
5845 datadir!$datadir$ac_delim
5846 sysconfdir!$sysconfdir$ac_delim
5847 sharedstatedir!$sharedstatedir$ac_delim
5848 localstatedir!$localstatedir$ac_delim
5849 includedir!$includedir$ac_delim
5850 oldincludedir!$oldincludedir$ac_delim
5851 docdir!$docdir$ac_delim
5852 infodir!$infodir$ac_delim
5853 htmldir!$htmldir$ac_delim
5854 dvidir!$dvidir$ac_delim
5855 pdfdir!$pdfdir$ac_delim
5856 psdir!$psdir$ac_delim
5857 libdir!$libdir$ac_delim
5858 localedir!$localedir$ac_delim
5859 mandir!$mandir$ac_delim
5860 DEFS!$DEFS$ac_delim
5861 ECHO_C!$ECHO_C$ac_delim
5862 ECHO_N!$ECHO_N$ac_delim
5863 ECHO_T!$ECHO_T$ac_delim
5864 LIBS!$LIBS$ac_delim
5865 build_alias!$build_alias$ac_delim
5866 host_alias!$host_alias$ac_delim
5867 target_alias!$target_alias$ac_delim
5868 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5869 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5870 INSTALL_DATA!$INSTALL_DATA$ac_delim
5871 PACKAGE!$PACKAGE$ac_delim
5872 VERSION!$VERSION$ac_delim
5873 ACLOCAL!$ACLOCAL$ac_delim
5874 AUTOCONF!$AUTOCONF$ac_delim
5875 AUTOMAKE!$AUTOMAKE$ac_delim
5876 AUTOHEADER!$AUTOHEADER$ac_delim
5877 MAKEINFO!$MAKEINFO$ac_delim
5878 SET_MAKE!$SET_MAKE$ac_delim
5879 CXX!$CXX$ac_delim
5880 CXXFLAGS!$CXXFLAGS$ac_delim
5881 LDFLAGS!$LDFLAGS$ac_delim
5882 CPPFLAGS!$CPPFLAGS$ac_delim
5883 ac_ct_CXX!$ac_ct_CXX$ac_delim
5884 EXEEXT!$EXEEXT$ac_delim
5885 OBJEXT!$OBJEXT$ac_delim
5886 CC!$CC$ac_delim
5887 CFLAGS!$CFLAGS$ac_delim
5888 ac_ct_CC!$ac_ct_CC$ac_delim
5889 CPP!$CPP$ac_delim
5890 GREP!$GREP$ac_delim
5891 EGREP!$EGREP$ac_delim
5892 CXXCPP!$CXXCPP$ac_delim
5893 LIBOBJS!$LIBOBJS$ac_delim
5894 LTLIBOBJS!$LTLIBOBJS$ac_delim
5895 _ACEOF
5896
5897 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
5898 break
5899 elif $ac_last_try; then
5900 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5901 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5902 { (exit 1); exit 1; }; }
5903 else
5904 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5905 fi
5906 done
5907
5908 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5909 if test -n "$ac_eof"; then
5910 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5911 ac_eof=`expr $ac_eof + 1`
5912 fi
5913
5914 cat >>$CONFIG_STATUS <<_ACEOF
5915 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5916 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5917 _ACEOF
5918 sed '
5919 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5920 s/^/s,@/; s/!/@,|#_!!_#|/
5921 :n
5922 t n
5923 s/'"$ac_delim"'$/,g/; t
5924 s/$/\\/; p
5925 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5926 ' >>$CONFIG_STATUS <conf$$subs.sed
5927 rm -f conf$$subs.sed
5928 cat >>$CONFIG_STATUS <<_ACEOF
5929 :end
5930 s/|#_!!_#|//g
5931 CEOF$ac_eof
5932 _ACEOF
5933
5934
5935 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5936 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5937 # trailing colons and then remove the whole line if VPATH becomes empty
5938 # (actually we leave an empty line to preserve line numbers).
5939 if test "x$srcdir" = x.; then
5940 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5941 s/:*\$(srcdir):*/:/
5942 s/:*\${srcdir}:*/:/
5943 s/:*@srcdir@:*/:/
5944 s/^\([^=]*=[ ]*\):*/\1/
5945 s/:*$//
5946 s/^[^=]*=[ ]*$//
5947 }'
5948 fi
5949
5950 cat >>$CONFIG_STATUS <<\_ACEOF
5951 fi # test -n "$CONFIG_FILES"
5952
5953
5954 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5955 do
5956 case $ac_tag in
5957 :[FHLC]) ac_mode=$ac_tag; continue;;
5958 esac
5959 case $ac_mode$ac_tag in
5960 :[FHL]*:*);;
5961 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5962 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5963 { (exit 1); exit 1; }; };;
5964 :[FH]-) ac_tag=-:-;;
5965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5966 esac
5967 ac_save_IFS=$IFS
5968 IFS=:
5969 set x $ac_tag
5970 IFS=$ac_save_IFS
5971 shift
5972 ac_file=$1
5973 shift
5974
5975 case $ac_mode in
5976 :L) ac_source=$1;;
5977 :[FH])
5978 ac_file_inputs=
5979 for ac_f
5980 do
5981 case $ac_f in
5982 -) ac_f="$tmp/stdin";;
5983 *) # Look for the file first in the build tree, then in the source tree
5984 # (if the path is not absolute). The absolute path cannot be DOS-style,
5985 # because $ac_f cannot contain `:'.
5986 test -f "$ac_f" ||
5987 case $ac_f in
5988 [\\/$]*) false;;
5989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5990 esac ||
5991 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5992 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5993 { (exit 1); exit 1; }; };;
5994 esac
5995 ac_file_inputs="$ac_file_inputs $ac_f"
5996 done
5997
5998 # Let's still pretend it is `configure' which instantiates (i.e., don't
5999 # use $as_me), people would be surprised to read:
6000 # /* config.h. Generated by config.status. */
6001 configure_input="Generated from "`IFS=:
6002 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6003 if test x"$ac_file" != x-; then
6004 configure_input="$ac_file. $configure_input"
6005 { echo "$as_me:$LINENO: creating $ac_file" >&5
6006 echo "$as_me: creating $ac_file" >&6;}
50556007 fi
5056 if test ! -s $tmp/subs.frag; then
5057 ac_more_lines=false
5058 else
5059 # The purpose of the label and of the branching condition is to
5060 # speed up the sed processing (if there are no `@' at all, there
5061 # is no need to browse any of the substitutions).
5062 # These are the two extra sed commands mentioned above.
5063 (echo ':t
5064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5065 if test -z "$ac_sed_cmds"; then
5066 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5067 else
5068 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5069 fi
5070 ac_sed_frag=`expr $ac_sed_frag + 1`
5071 ac_beg=$ac_end
5072 ac_end=`expr $ac_end + $ac_max_sed_lines`
5073 fi
5074 done
5075 if test -z "$ac_sed_cmds"; then
5076 ac_sed_cmds=cat
5077 fi
5078 fi # test -n "$CONFIG_FILES"
5079
5080 _ACEOF
5081 cat >>$CONFIG_STATUS <<\_ACEOF
5082 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5083 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5084 case $ac_file in
5085 - | *:- | *:-:* ) # input from stdin
5086 cat >$tmp/stdin
5087 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5088 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5089 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5090 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5091 * ) ac_file_in=$ac_file.in ;;
6008
6009 case $ac_tag in
6010 *:-:* | *:-) cat >"$tmp/stdin";;
6011 esac
6012 ;;
50926013 esac
50936014
5094 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5095 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6015 ac_dir=`$as_dirname -- "$ac_file" ||
50966016 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50976017 X"$ac_file" : 'X\(//\)[^/]' \| \
50986018 X"$ac_file" : 'X\(//\)$' \| \
5099 X"$ac_file" : 'X\(/\)' \| \
5100 . : '\(.\)' 2>/dev/null ||
6019 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51016020 echo X"$ac_file" |
5102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5104 /^X\(\/\/\)$/{ s//\1/; q; }
5105 /^X\(\/\).*/{ s//\1/; q; }
5106 s/.*/./; q'`
5107 { if $as_mkdir_p; then
5108 mkdir -p "$ac_dir"
5109 else
5110 as_dir="$ac_dir"
6021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6022 s//\1/
6023 q
6024 }
6025 /^X\(\/\/\)[^/].*/{
6026 s//\1/
6027 q
6028 }
6029 /^X\(\/\/\)$/{
6030 s//\1/
6031 q
6032 }
6033 /^X\(\/\).*/{
6034 s//\1/
6035 q
6036 }
6037 s/.*/./; q'`
6038 { as_dir="$ac_dir"
6039 case $as_dir in #(
6040 -*) as_dir=./$as_dir;;
6041 esac
6042 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51116043 as_dirs=
5112 while test ! -d "$as_dir"; do
5113 as_dirs="$as_dir $as_dirs"
5114 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6044 while :; do
6045 case $as_dir in #(
6046 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6047 *) as_qdir=$as_dir;;
6048 esac
6049 as_dirs="'$as_qdir' $as_dirs"
6050 as_dir=`$as_dirname -- "$as_dir" ||
51156051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51166052 X"$as_dir" : 'X\(//\)[^/]' \| \
51176053 X"$as_dir" : 'X\(//\)$' \| \
5118 X"$as_dir" : 'X\(/\)' \| \
5119 . : '\(.\)' 2>/dev/null ||
6054 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51206055 echo X"$as_dir" |
5121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5122 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5123 /^X\(\/\/\)$/{ s//\1/; q; }
5124 /^X\(\/\).*/{ s//\1/; q; }
5125 s/.*/./; q'`
6056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6057 s//\1/
6058 q
6059 }
6060 /^X\(\/\/\)[^/].*/{
6061 s//\1/
6062 q
6063 }
6064 /^X\(\/\/\)$/{
6065 s//\1/
6066 q
6067 }
6068 /^X\(\/\).*/{
6069 s//\1/
6070 q
6071 }
6072 s/.*/./; q'`
6073 test -d "$as_dir" && break
51266074 done
5127 test ! -n "$as_dirs" || mkdir $as_dirs
5128 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5129 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6075 test -z "$as_dirs" || eval "mkdir $as_dirs"
6076 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6077 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51306078 { (exit 1); exit 1; }; }; }
5131
51326079 ac_builddir=.
51336080
5134 if test "$ac_dir" != .; then
6081 case "$ac_dir" in
6082 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6083 *)
51356084 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5136 # A "../" for each directory in $ac_dir_suffix.
5137 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5138 else
5139 ac_dir_suffix= ac_top_builddir=
5140 fi
6085 # A ".." for each directory in $ac_dir_suffix.
6086 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6087 case $ac_top_builddir_sub in
6088 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6089 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6090 esac ;;
6091 esac
6092 ac_abs_top_builddir=$ac_pwd
6093 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6094 # for backward compatibility:
6095 ac_top_builddir=$ac_top_build_prefix
51416096
51426097 case $srcdir in
5143 .) # No --srcdir option. We are building in place.
6098 .) # We are building in place.
51446099 ac_srcdir=.
5145 if test -z "$ac_top_builddir"; then
5146 ac_top_srcdir=.
5147 else
5148 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5149 fi ;;
5150 [\\/]* | ?:[\\/]* ) # Absolute path.
6100 ac_top_srcdir=$ac_top_builddir_sub
6101 ac_abs_top_srcdir=$ac_pwd ;;
6102 [\\/]* | ?:[\\/]* ) # Absolute name.
51516103 ac_srcdir=$srcdir$ac_dir_suffix;
5152 ac_top_srcdir=$srcdir ;;
5153 *) # Relative path.
5154 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5155 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5156 esac
5157
5158 # Do not use `cd foo && pwd` to compute absolute paths, because
5159 # the directories may not exist.
5160 case `pwd` in
5161 .) ac_abs_builddir="$ac_dir";;
5162 *)
5163 case "$ac_dir" in
5164 .) ac_abs_builddir=`pwd`;;
5165 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5166 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5167 esac;;
5168 esac
5169 case $ac_abs_builddir in
5170 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5171 *)
5172 case ${ac_top_builddir}. in
5173 .) ac_abs_top_builddir=$ac_abs_builddir;;
5174 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5175 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5176 esac;;
5177 esac
5178 case $ac_abs_builddir in
5179 .) ac_abs_srcdir=$ac_srcdir;;
5180 *)
5181 case $ac_srcdir in
5182 .) ac_abs_srcdir=$ac_abs_builddir;;
5183 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5184 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5185 esac;;
5186 esac
5187 case $ac_abs_builddir in
5188 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5189 *)
5190 case $ac_top_srcdir in
5191 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5192 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5193 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5194 esac;;
5195 esac
5196
6104 ac_top_srcdir=$srcdir
6105 ac_abs_top_srcdir=$srcdir ;;
6106 *) # Relative name.
6107 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6108 ac_top_srcdir=$ac_top_build_prefix$srcdir
6109 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6110 esac
6111 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6112
6113
6114 case $ac_mode in
6115 :F)
6116 #
6117 # CONFIG_FILE
6118 #
51976119
51986120 case $INSTALL in
51996121 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5200 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6122 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52016123 esac
5202
5203 if test x"$ac_file" != x-; then
5204 { echo "$as_me:$LINENO: creating $ac_file" >&5
5205 echo "$as_me: creating $ac_file" >&6;}
5206 rm -f "$ac_file"
5207 fi
5208 # Let's still pretend it is `configure' which instantiates (i.e., don't
5209 # use $as_me), people would be surprised to read:
5210 # /* config.h. Generated by config.status. */
5211 if test x"$ac_file" = x-; then
5212 configure_input=
5213 else
5214 configure_input="$ac_file. "
5215 fi
5216 configure_input=$configure_input"Generated from `echo $ac_file_in |
5217 sed 's,.*/,,'` by configure."
5218
5219 # First look for the input files in the build tree, otherwise in the
5220 # src tree.
5221 ac_file_inputs=`IFS=:
5222 for f in $ac_file_in; do
5223 case $f in
5224 -) echo $tmp/stdin ;;
5225 [\\/$]*)
5226 # Absolute (can't be DOS-style, as IFS=:)
5227 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5228 echo "$as_me: error: cannot find input file: $f" >&2;}
5229 { (exit 1); exit 1; }; }
5230 echo "$f";;
5231 *) # Relative
5232 if test -f "$f"; then
5233 # Build tree
5234 echo "$f"
5235 elif test -f "$srcdir/$f"; then
5236 # Source tree
5237 echo "$srcdir/$f"
5238 else
5239 # /dev/null tree
5240 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5241 echo "$as_me: error: cannot find input file: $f" >&2;}
5242 { (exit 1); exit 1; }; }
5243 fi;;
5244 esac
5245 done` || { (exit 1); exit 1; }
5246 _ACEOF
6124 _ACEOF
6125
6126 cat >>$CONFIG_STATUS <<\_ACEOF
6127 # If the template does not know about datarootdir, expand it.
6128 # FIXME: This hack should be removed a few years after 2.60.
6129 ac_datarootdir_hack=; ac_datarootdir_seen=
6130
6131 case `sed -n '/datarootdir/ {
6132 p
6133 q
6134 }
6135 /@datadir@/p
6136 /@docdir@/p
6137 /@infodir@/p
6138 /@localedir@/p
6139 /@mandir@/p
6140 ' $ac_file_inputs` in
6141 *datarootdir*) ac_datarootdir_seen=yes;;
6142 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6143 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6144 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6145 _ACEOF
6146 cat >>$CONFIG_STATUS <<_ACEOF
6147 ac_datarootdir_hack='
6148 s&@datadir@&$datadir&g
6149 s&@docdir@&$docdir&g
6150 s&@infodir@&$infodir&g
6151 s&@localedir@&$localedir&g
6152 s&@mandir@&$mandir&g
6153 s&\\\${datarootdir}&$datarootdir&g' ;;
6154 esac
6155 _ACEOF
6156
6157 # Neutralize VPATH when `$srcdir' = `.'.
6158 # Shell code in configure.ac might set extrasub.
6159 # FIXME: do we really want to maintain this feature?
52476160 cat >>$CONFIG_STATUS <<_ACEOF
52486161 sed "$ac_vpsub
52496162 $extrasub
52516164 cat >>$CONFIG_STATUS <<\_ACEOF
52526165 :t
52536166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5254 s,@configure_input@,$configure_input,;t t
5255 s,@srcdir@,$ac_srcdir,;t t
5256 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5257 s,@top_srcdir@,$ac_top_srcdir,;t t
5258 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5259 s,@builddir@,$ac_builddir,;t t
5260 s,@abs_builddir@,$ac_abs_builddir,;t t
5261 s,@top_builddir@,$ac_top_builddir,;t t
5262 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5263 s,@INSTALL@,$ac_INSTALL,;t t
5264 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5265 rm -f $tmp/stdin
5266 if test x"$ac_file" != x-; then
5267 mv $tmp/out $ac_file
5268 else
5269 cat $tmp/out
5270 rm -f $tmp/out
5271 fi
5272
5273 done
5274 _ACEOF
5275 cat >>$CONFIG_STATUS <<\_ACEOF
5276
5277 #
5278 # CONFIG_HEADER section.
5279 #
5280
5281 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5282 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5283 #
5284 # ac_d sets the value in "#define NAME VALUE" lines.
5285 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5286 ac_dB='[ ].*$,\1#\2'
6167 s&@configure_input@&$configure_input&;t t
6168 s&@top_builddir@&$ac_top_builddir_sub&;t t
6169 s&@srcdir@&$ac_srcdir&;t t
6170 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6171 s&@top_srcdir@&$ac_top_srcdir&;t t
6172 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6173 s&@builddir@&$ac_builddir&;t t
6174 s&@abs_builddir@&$ac_abs_builddir&;t t
6175 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6176 s&@INSTALL@&$ac_INSTALL&;t t
6177 $ac_datarootdir_hack
6178 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6179
6180 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6181 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6182 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6183 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6184 which seems to be undefined. Please make sure it is defined." >&5
6185 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6186 which seems to be undefined. Please make sure it is defined." >&2;}
6187
6188 rm -f "$tmp/stdin"
6189 case $ac_file in
6190 -) cat "$tmp/out"; rm -f "$tmp/out";;
6191 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6192 esac
6193 ;;
6194 :H)
6195 #
6196 # CONFIG_HEADER
6197 #
6198 _ACEOF
6199
6200 # Transform confdefs.h into a sed script `conftest.defines', that
6201 # substitutes the proper values into config.h.in to produce config.h.
6202 rm -f conftest.defines conftest.tail
6203 # First, append a space to every undef/define line, to ease matching.
6204 echo 's/$/ /' >conftest.defines
6205 # Then, protect against being on the right side of a sed subst, or in
6206 # an unquoted here document, in config.status. If some macros were
6207 # called several times there might be several #defines for the same
6208 # symbol, which is useless. But do not sort them, since the last
6209 # AC_DEFINE must be honored.
6210 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6211 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6212 # NAME is the cpp macro being defined, VALUE is the value it is being given.
6213 # PARAMS is the parameter list in the macro definition--in most cases, it's
6214 # just an empty string.
6215 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6216 ac_dB='\\)[ (].*,\\1define\\2'
52876217 ac_dC=' '
5288 ac_dD=',;t'
5289 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5290 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5291 ac_uB='$,\1#\2define\3'
5292 ac_uC=' '
5293 ac_uD=',;t'
5294
5295 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5296 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5297 case $ac_file in
5298 - | *:- | *:-:* ) # input from stdin
5299 cat >$tmp/stdin
5300 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5301 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5302 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5303 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5304 * ) ac_file_in=$ac_file.in ;;
5305 esac
5306
5307 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5308 echo "$as_me: creating $ac_file" >&6;}
5309
5310 # First look for the input files in the build tree, otherwise in the
5311 # src tree.
5312 ac_file_inputs=`IFS=:
5313 for f in $ac_file_in; do
5314 case $f in
5315 -) echo $tmp/stdin ;;
5316 [\\/$]*)
5317 # Absolute (can't be DOS-style, as IFS=:)
5318 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5319 echo "$as_me: error: cannot find input file: $f" >&2;}
5320 { (exit 1); exit 1; }; }
5321 # Do quote $f, to prevent DOS paths from being IFS'd.
5322 echo "$f";;
5323 *) # Relative
5324 if test -f "$f"; then
5325 # Build tree
5326 echo "$f"
5327 elif test -f "$srcdir/$f"; then
5328 # Source tree
5329 echo "$srcdir/$f"
5330 else
5331 # /dev/null tree
5332 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5333 echo "$as_me: error: cannot find input file: $f" >&2;}
5334 { (exit 1); exit 1; }; }
5335 fi;;
5336 esac
5337 done` || { (exit 1); exit 1; }
5338 # Remove the trailing spaces.
5339 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5340
5341 _ACEOF
5342
5343 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5344 # `conftest.undefs', that substitutes the proper values into
5345 # config.h.in to produce config.h. The first handles `#define'
5346 # templates, and the second `#undef' templates.
5347 # And first: Protect against being on the right side of a sed subst in
5348 # config.status. Protect against being in an unquoted here document
5349 # in config.status.
5350 rm -f conftest.defines conftest.undefs
5351 # Using a here document instead of a string reduces the quoting nightmare.
5352 # Putting comments in sed scripts is not portable.
5353 #
5354 # `end' is used to avoid that the second main sed command (meant for
5355 # 0-ary CPP macros) applies to n-ary macro definitions.
5356 # See the Autoconf documentation for `clear'.
5357 cat >confdef2sed.sed <<\_ACEOF
5358 s/[\\&,]/\\&/g
5359 s,[\\$`],\\&,g
5360 t clear
5361 : clear
5362 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5363 t end
5364 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5365 : end
5366 _ACEOF
5367 # If some macros were called several times there might be several times
5368 # the same #defines, which is useless. Nevertheless, we may not want to
5369 # sort them, since we want the *last* AC-DEFINE to be honored.
5370 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5371 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5372 rm -f confdef2sed.sed
5373
5374 # This sed command replaces #undef with comments. This is necessary, for
6218 ac_dD=' ,'
6219
6220 uniq confdefs.h |
6221 sed -n '
6222 t rset
6223 :rset
6224 s/^[ ]*#[ ]*define[ ][ ]*//
6225 t ok
6226 d
6227 :ok
6228 s/[\\&,]/\\&/g
6229 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6230 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6231 ' >>conftest.defines
6232
6233 # Remove the space that was appended to ease matching.
6234 # Then replace #undef with comments. This is necessary, for
53756235 # example, in the case of _POSIX_SOURCE, which is predefined and required
53766236 # on some systems where configure will not decide to define it.
5377 cat >>conftest.undefs <<\_ACEOF
5378 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5379 _ACEOF
5380
5381 # Break up conftest.defines because some shells have a limit on the size
5382 # of here documents, and old seds have small limits too (100 cmds).
5383 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5384 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5385 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5386 echo ' :' >>$CONFIG_STATUS
5387 rm -f conftest.tail
5388 while grep . conftest.defines >/dev/null
6237 # (The regexp can be short, since the line contains either #define or #undef.)
6238 echo 's/ $//
6239 s,^[ #]*u.*,/* & */,' >>conftest.defines
6240
6241 # Break up conftest.defines:
6242 ac_max_sed_lines=50
6243
6244 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6245 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6246 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6247 # et cetera.
6248 ac_in='$ac_file_inputs'
6249 ac_out='"$tmp/out1"'
6250 ac_nxt='"$tmp/out2"'
6251
6252 while :
53896253 do
5390 # Write a limited-size here document to $tmp/defines.sed.
5391 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5392 # Speed up: don't consider the non `#define' lines.
5393 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5394 # Work around the forget-to-reset-the-flag bug.
5395 echo 't clr' >>$CONFIG_STATUS
5396 echo ': clr' >>$CONFIG_STATUS
5397 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6254 # Write a here document:
6255 cat >>$CONFIG_STATUS <<_ACEOF
6256 # First, check the format of the line:
6257 cat >"\$tmp/defines.sed" <<\\CEOF
6258 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6259 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6260 b
6261 :def
6262 _ACEOF
6263 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53986264 echo 'CEOF
5399 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5400 rm -f $tmp/in
5401 mv $tmp/out $tmp/in
5402 ' >>$CONFIG_STATUS
5403 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6265 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6266 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6267 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6268 grep . conftest.tail >/dev/null || break
54046269 rm -f conftest.defines
54056270 mv conftest.tail conftest.defines
54066271 done
5407 rm -f conftest.defines
5408 echo ' fi # grep' >>$CONFIG_STATUS
5409 echo >>$CONFIG_STATUS
5410
5411 # Break up conftest.undefs because some shells have a limit on the size
5412 # of here documents, and old seds have small limits too (100 cmds).
5413 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5414 rm -f conftest.tail
5415 while grep . conftest.undefs >/dev/null
5416 do
5417 # Write a limited-size here document to $tmp/undefs.sed.
5418 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5419 # Speed up: don't consider the non `#undef'
5420 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5421 # Work around the forget-to-reset-the-flag bug.
5422 echo 't clr' >>$CONFIG_STATUS
5423 echo ': clr' >>$CONFIG_STATUS
5424 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5425 echo 'CEOF
5426 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5427 rm -f $tmp/in
5428 mv $tmp/out $tmp/in
5429 ' >>$CONFIG_STATUS
5430 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5431 rm -f conftest.undefs
5432 mv conftest.tail conftest.undefs
5433 done
5434 rm -f conftest.undefs
5435
6272 rm -f conftest.defines conftest.tail
6273
6274 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54366275 cat >>$CONFIG_STATUS <<\_ACEOF
5437 # Let's still pretend it is `configure' which instantiates (i.e., don't
5438 # use $as_me), people would be surprised to read:
5439 # /* config.h. Generated by config.status. */
5440 if test x"$ac_file" = x-; then
5441 echo "/* Generated by configure. */" >$tmp/config.h
5442 else
5443 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5444 fi
5445 cat $tmp/in >>$tmp/config.h
5446 rm -f $tmp/in
54476276 if test x"$ac_file" != x-; then
5448 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6277 echo "/* $configure_input */" >"$tmp/config.h"
6278 cat "$ac_result" >>"$tmp/config.h"
6279 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54496280 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54506281 echo "$as_me: $ac_file is unchanged" >&6;}
54516282 else
5452 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5454 X"$ac_file" : 'X\(//\)[^/]' \| \
5455 X"$ac_file" : 'X\(//\)$' \| \
5456 X"$ac_file" : 'X\(/\)' \| \
5457 . : '\(.\)' 2>/dev/null ||
5458 echo X"$ac_file" |
5459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5461 /^X\(\/\/\)$/{ s//\1/; q; }
5462 /^X\(\/\).*/{ s//\1/; q; }
5463 s/.*/./; q'`
5464 { if $as_mkdir_p; then
5465 mkdir -p "$ac_dir"
5466 else
5467 as_dir="$ac_dir"
5468 as_dirs=
5469 while test ! -d "$as_dir"; do
5470 as_dirs="$as_dir $as_dirs"
5471 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5473 X"$as_dir" : 'X\(//\)[^/]' \| \
5474 X"$as_dir" : 'X\(//\)$' \| \
5475 X"$as_dir" : 'X\(/\)' \| \
5476 . : '\(.\)' 2>/dev/null ||
5477 echo X"$as_dir" |
5478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5480 /^X\(\/\/\)$/{ s//\1/; q; }
5481 /^X\(\/\).*/{ s//\1/; q; }
5482 s/.*/./; q'`
5483 done
5484 test ! -n "$as_dirs" || mkdir $as_dirs
5485 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5486 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5487 { (exit 1); exit 1; }; }; }
5488
54896283 rm -f $ac_file
5490 mv $tmp/config.h $ac_file
6284 mv "$tmp/config.h" $ac_file
54916285 fi
54926286 else
5493 cat $tmp/config.h
5494 rm -f $tmp/config.h
6287 echo "/* $configure_input */"
6288 cat "$ac_result"
54956289 fi
5496 done
5497 _ACEOF
5498 cat >>$CONFIG_STATUS <<\_ACEOF
5499
5500 #
5501 # CONFIG_COMMANDS section.
5502 #
5503 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5504 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5505 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5506 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5507 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5508 X"$ac_dest" : 'X\(//\)[^/]' \| \
5509 X"$ac_dest" : 'X\(//\)$' \| \
5510 X"$ac_dest" : 'X\(/\)' \| \
5511 . : '\(.\)' 2>/dev/null ||
5512 echo X"$ac_dest" |
5513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5515 /^X\(\/\/\)$/{ s//\1/; q; }
5516 /^X\(\/\).*/{ s//\1/; q; }
5517 s/.*/./; q'`
5518 { if $as_mkdir_p; then
5519 mkdir -p "$ac_dir"
5520 else
5521 as_dir="$ac_dir"
5522 as_dirs=
5523 while test ! -d "$as_dir"; do
5524 as_dirs="$as_dir $as_dirs"
5525 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5527 X"$as_dir" : 'X\(//\)[^/]' \| \
5528 X"$as_dir" : 'X\(//\)$' \| \
5529 X"$as_dir" : 'X\(/\)' \| \
5530 . : '\(.\)' 2>/dev/null ||
5531 echo X"$as_dir" |
5532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5534 /^X\(\/\/\)$/{ s//\1/; q; }
5535 /^X\(\/\).*/{ s//\1/; q; }
5536 s/.*/./; q'`
5537 done
5538 test ! -n "$as_dirs" || mkdir $as_dirs
5539 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5540 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5541 { (exit 1); exit 1; }; }; }
5542
5543 ac_builddir=.
5544
5545 if test "$ac_dir" != .; then
5546 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5547 # A "../" for each directory in $ac_dir_suffix.
5548 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5549 else
5550 ac_dir_suffix= ac_top_builddir=
5551 fi
5552
5553 case $srcdir in
5554 .) # No --srcdir option. We are building in place.
5555 ac_srcdir=.
5556 if test -z "$ac_top_builddir"; then
5557 ac_top_srcdir=.
5558 else
5559 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5560 fi ;;
5561 [\\/]* | ?:[\\/]* ) # Absolute path.
5562 ac_srcdir=$srcdir$ac_dir_suffix;
5563 ac_top_srcdir=$srcdir ;;
5564 *) # Relative path.
5565 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5566 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5567 esac
5568
5569 # Do not use `cd foo && pwd` to compute absolute paths, because
5570 # the directories may not exist.
5571 case `pwd` in
5572 .) ac_abs_builddir="$ac_dir";;
5573 *)
5574 case "$ac_dir" in
5575 .) ac_abs_builddir=`pwd`;;
5576 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5577 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5578 esac;;
5579 esac
5580 case $ac_abs_builddir in
5581 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5582 *)
5583 case ${ac_top_builddir}. in
5584 .) ac_abs_top_builddir=$ac_abs_builddir;;
5585 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5586 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5587 esac;;
5588 esac
5589 case $ac_abs_builddir in
5590 .) ac_abs_srcdir=$ac_srcdir;;
5591 *)
5592 case $ac_srcdir in
5593 .) ac_abs_srcdir=$ac_abs_builddir;;
5594 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5595 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5596 esac;;
5597 esac
5598 case $ac_abs_builddir in
5599 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5600 *)
5601 case $ac_top_srcdir in
5602 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5603 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5604 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5605 esac;;
5606 esac
5607
5608
5609 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5610 echo "$as_me: executing $ac_dest commands" >&6;}
5611 case $ac_dest in
5612 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
6290 rm -f "$tmp/out12"
6291 ;;
6292
6293 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6294 echo "$as_me: executing $ac_file commands" >&6;}
6295 ;;
56136296 esac
5614 done
5615 _ACEOF
5616
5617 cat >>$CONFIG_STATUS <<\_ACEOF
6297
6298
6299 case $ac_file$ac_mode in
6300 "default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
6301
6302 esac
6303 done # for ac_tag
6304
56186305
56196306 { (exit 0); exit 0; }
56206307 _ACEOF
00 AC_INIT(squidview.cpp)
11 AM_CONFIG_HEADER(config.h)
2 AM_INIT_AUTOMAKE(squidview,0.70)
2 AM_INIT_AUTOMAKE(squidview,0.71)
33 AC_PROG_CXX
44 AC_PROG_INSTALL
55
0 squidview (0.71-1) unstable; urgency=low
1
2 * New upstream release
3 * Update to standard version 3.7.2.2. (No changes)
4
5 -- Willi Mann <willi@wm1.at> Sun, 12 Nov 2006 12:33:39 +0100
6
07 squidview (0.70-1) unstable; urgency=low
18
29 * New upstream release
22 Priority: optional
33 Maintainer: Willi Mann <willi@wm1.at>
44 Build-Depends: debhelper (>> 3.0.0), libncurses5-dev
5 Standards-Version: 3.6.2.0
5 Standards-Version: 3.7.2.2
66
77 Package: squidview
88 Architecture: any
1313 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
1414 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
1515
16 CXX = g++
16 #CXX = g++
1717 CXXFLAGS = -Wall -g -DDEBIANIZED
1818
1919 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
1212 * along with this program; if not, write to the Free Software
1313 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1414
15 squidview 0.6
15 squidview 0.7
1616
1717 A program to nicely browse your squid log
1818
19 (c) 2001 - 2004 Graeme Sheppard
19 (c) 2001 - 2006 Graeme Sheppard
2020
2121 This program is not how it would be if I had to rewrite it from scratch.
2222 It started off very simple (quick and nasty) and needed to be fast because
4242 #else
4343 # define SHAREDIR "/usr/local/share/squidview"
4444 # define PACKAGE "squidview"
45 # define VERSION "0.6"
45 # define VERSION "0.7"
4646 #endif
4747
4848 #include <string>
391391 }
392392
393393
394 // check if need to open new file, return false on error
395 inline bool ReadingFile()
396 {
397 if ((fReadingFile == 0) || (pszReadingFile != pszCurrentLog))
398 {
399 if (fReadingFile)
400 fclose (fReadingFile);
401 fReadingFile = fopen (pszCurrentLog, "rb");
402 if (fReadingFile)
403 {
404 pszReadingFile = pszCurrentLog;
405 return true;
406 }
407 else
408 {
409 pszReadingFile = 0;
410 return false;
411 }
412 }
413 return true;
414 }
415
416
394417 // goto log at a certain position, read a line into buffer
395418 // return start of next line
419 // incorporates modified patches by Vaclav Haisman: 2x speed-up
396420 tFilePos GetLine (tFilePos iOffset)
397421 {
398 FILE *fLog;
399422 tFilePos iBlock, iAvailable, iReturn;
400423 int iCount;
401424 char *pcBuffer;
408431 if (iBlock > nReadBuffer)
409432 iBlock = nReadBuffer;
410433
411 fLog = fopen (pszCurrentLog, "rb");
412 if (fLog == 0)
434 if (!ReadingFile())
413435 return 0;
414436
415437 iReturn = 0;
416438
417 if (fseek (fLog, iOffset, SEEK_SET) == 0)
418 {
419 iAvailable = fread (&cDiskBuffer, 1, iBlock, fLog);
439 if (fseek (fReadingFile, iOffset, SEEK_SET) == 0)
440 {
441 iAvailable = fread (&cDiskBuffer, 1, iBlock, fReadingFile);
420442 if (iAvailable > 0)
421443 {
422444 pcBuffer = cDiskBuffer;
434456 }
435457 }
436458
437 fclose (fLog);
438459 return iReturn;
439460 }
440461
441462
442463 // return the line before, eg for going backwards
464 // incorporates modified patches by Vaclav Haisman: 2x speed-up
443465 tFilePos GetPrevLine (tFilePos iOffset)
444466 {
445 FILE *fLog;
446467 tFilePos iBlock, iBase, iAvailable, iReturn;
447468 int iIndex;
448469 char* pcBuffer;
456477 if (iBlock > nReadBuffer)
457478 iBlock = nReadBuffer;
458479
459 fLog = fopen (pszCurrentLog, "rb");
460 if (fLog == 0)
480 if (!ReadingFile())
461481 return iOffset;
462482
463483 iReturn = iOffset;
464484
465485 iBase = iOffset - iBlock;
466 if (fseek (fLog, iBase, SEEK_SET) == 0)
467 {
468 iAvailable = fread (&cDiskBuffer, 1, iBlock, fLog);
486 if (fseek (fReadingFile, iBase, SEEK_SET) == 0)
487 {
488 iAvailable = fread (&cDiskBuffer, 1, iBlock, fReadingFile);
469489 if (iAvailable > 3)
470490 {
471491 if (cDiskBuffer [iAvailable - 2] == cEOL)
494514 }
495515 }
496516
497 fclose (fLog);
498517 return iReturn;
499518 }
500519
9971016 int iLength = sText.length();
9981017 int iIndex = 0;
9991018 int iByte = 0;
1000 char cLetter, cLast = 0;
1019 char cLetter = 0, cLast = 0;
10011020
10021021 while (iIndex < iLength)
10031022 {
20872106 sRecordPointer rPointer;
20882107 sUserRecord rUserRecord;
20892108 sDomainRecord rDomainRecord;
2090 bool bHandled, bTemp;
2109 bool bHandled = false, bTemp;
20912110 char cLetter;
20922111 time_t iTime;
20932112 int iLine;
42334252 {
42344253 tFilePos iCurrentPos;
42354254 string sComment;
4236 int iCount, iReturn, iSize;
4255 int iCount, iReturn = 0, iSize;
42374256 bool bFound;
42384257
42394258 if (iNorthMark == 0)
43154334 {
43164335 tFilePos iCurrentPos, iNextPos;
43174336 string sComment;
4318 int iCount, iReturn, iSize;
4337 int iCount, iReturn = 0, iSize;
43194338 bool bFound;
43204339
43214340 if (iSouthMarkEnd >= iOneUserFileSize)
53575376 static void FinishSig (int iSig)
53585377 {
53595378 endwin();
5379 if (fReadingFile)
5380 fclose (fReadingFile);
53605381 // system ("clear");
53615382 exit (iSig);
53625383 }
1212 * along with this program; if not, write to the Free Software
1313 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1414
15 squidview 0.6
15 squidview 0.7
1616
1717 A program to nicely browse your squid log
1818
19 (c) 2001 - 2004 Graeme Sheppard
19 (c) 2001 - 2006 Graeme Sheppard
2020
2121 */
2222
2424 #include <config.h>
2525 #endif
2626
27 #include <stdio.h>
2728 #include <curses.h>
2829 #include <time.h>
2930 #include <string>
8283
8384 string sLogFile1, sLogFile2, sLogFile3;
8485 string sWordFile, sUsersFile, sAliasesFile, sSetFileName, sHowToLink;
86 FILE *fReadingFile = 0;
87 char const *pszReadingFile = 0;
8588
8689 string sViewer = "less";
8790 string sCurrentReport = "";