Browse code

by default don't build and link with libclamunrar; use --enable-unrar to build with RAR support

git-svn: trunk@3324

Tomasz Kojm authored on 2007/10/27 03:45:20
Showing 21 changed files
... ...
@@ -1,3 +1,8 @@
1
+Fri Oct 26 19:51:52 CEST 2007 (tk)
2
+----------------------------------
3
+  * libclamav, configure: by default don't build and link with libclamunrar;
4
+			  use --enable-unrar to build with RAR support
5
+
1 6
 Fri Oct 26 17:47:22 CEST 2007 (tk)
2 7
 ----------------------------------
3 8
   * libclamunrar/Makefile: remove
... ...
@@ -153,11 +153,14 @@ ECHO_C = @ECHO_C@
153 153
 ECHO_N = @ECHO_N@
154 154
 ECHO_T = @ECHO_T@
155 155
 EGREP = @EGREP@
156
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
157
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
156 158
 EXEEXT = @EXEEXT@
157 159
 F77 = @F77@
158 160
 FFLAGS = @FFLAGS@
159 161
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
160 162
 GETENT = @GETENT@
163
+GREP = @GREP@
161 164
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
162 165
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
163 166
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -192,12 +195,9 @@ STRIP = @STRIP@
192 192
 THREAD_LIBS = @THREAD_LIBS@
193 193
 TH_SAFE = @TH_SAFE@
194 194
 VERSION = @VERSION@
195
-ac_ct_AR = @ac_ct_AR@
196 195
 ac_ct_CC = @ac_ct_CC@
197 196
 ac_ct_CXX = @ac_ct_CXX@
198 197
 ac_ct_F77 = @ac_ct_F77@
199
-ac_ct_RANLIB = @ac_ct_RANLIB@
200
-ac_ct_STRIP = @ac_ct_STRIP@
201 198
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
202 199
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
203 200
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -214,23 +214,30 @@ build_cpu = @build_cpu@
214 214
 build_os = @build_os@
215 215
 build_vendor = @build_vendor@
216 216
 datadir = @datadir@
217
+datarootdir = @datarootdir@
218
+docdir = @docdir@
219
+dvidir = @dvidir@
217 220
 exec_prefix = @exec_prefix@
218 221
 host = @host@
219 222
 host_alias = @host_alias@
220 223
 host_cpu = @host_cpu@
221 224
 host_os = @host_os@
222 225
 host_vendor = @host_vendor@
226
+htmldir = @htmldir@
223 227
 includedir = @includedir@
224 228
 infodir = @infodir@
225 229
 install_sh = @install_sh@
226 230
 libdir = @libdir@
227 231
 libexecdir = @libexecdir@
232
+localedir = @localedir@
228 233
 localstatedir = @localstatedir@
229 234
 mandir = @mandir@
230 235
 mkdir_p = @mkdir_p@
231 236
 oldincludedir = @oldincludedir@
237
+pdfdir = @pdfdir@
232 238
 prefix = @prefix@
233 239
 program_transform_name = @program_transform_name@
240
+psdir = @psdir@
234 241
 sbindir = @sbindir@
235 242
 sendmailprog = @sendmailprog@
236 243
 sharedstatedir = @sharedstatedir@
... ...
@@ -84,6 +84,9 @@
84 84
 /* "default FD_SETSIZE value" */
85 85
 #undef DEFAULT_FD_SETSIZE
86 86
 
87
+/* link with libclamunrar (non-GPL, see COPYING.unrar) */
88
+#undef ENABLE_UNRAR
89
+
87 90
 /* file i/o buffer size */
88 91
 #undef FILEBUFF
89 92
 
... ...
@@ -381,7 +384,7 @@
381 381
 #undef inline
382 382
 #endif
383 383
 
384
-/* Define to `long' if <sys/types.h> does not define. */
384
+/* Define to `long int' if <sys/types.h> does not define. */
385 385
 #undef off_t
386 386
 
387 387
 /* Define to "int" if <sys/socket.h> does not define. */
... ...
@@ -138,11 +138,14 @@ ECHO_C = @ECHO_C@
138 138
 ECHO_N = @ECHO_N@
139 139
 ECHO_T = @ECHO_T@
140 140
 EGREP = @EGREP@
141
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
142
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
141 143
 EXEEXT = @EXEEXT@
142 144
 F77 = @F77@
143 145
 FFLAGS = @FFLAGS@
144 146
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
145 147
 GETENT = @GETENT@
148
+GREP = @GREP@
146 149
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
147 150
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
148 151
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -177,12 +180,9 @@ STRIP = @STRIP@
177 177
 THREAD_LIBS = @THREAD_LIBS@
178 178
 TH_SAFE = @TH_SAFE@
179 179
 VERSION = @VERSION@
180
-ac_ct_AR = @ac_ct_AR@
181 180
 ac_ct_CC = @ac_ct_CC@
182 181
 ac_ct_CXX = @ac_ct_CXX@
183 182
 ac_ct_F77 = @ac_ct_F77@
184
-ac_ct_RANLIB = @ac_ct_RANLIB@
185
-ac_ct_STRIP = @ac_ct_STRIP@
186 183
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
187 184
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
188 185
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -199,23 +199,30 @@ build_cpu = @build_cpu@
199 199
 build_os = @build_os@
200 200
 build_vendor = @build_vendor@
201 201
 datadir = @datadir@
202
+datarootdir = @datarootdir@
203
+docdir = @docdir@
204
+dvidir = @dvidir@
202 205
 exec_prefix = @exec_prefix@
203 206
 host = @host@
204 207
 host_alias = @host_alias@
205 208
 host_cpu = @host_cpu@
206 209
 host_os = @host_os@
207 210
 host_vendor = @host_vendor@
211
+htmldir = @htmldir@
208 212
 includedir = @includedir@
209 213
 infodir = @infodir@
210 214
 install_sh = @install_sh@
211 215
 libdir = @libdir@
212 216
 libexecdir = @libexecdir@
217
+localedir = @localedir@
213 218
 localstatedir = @localstatedir@
214 219
 mandir = @mandir@
215 220
 mkdir_p = @mkdir_p@
216 221
 oldincludedir = @oldincludedir@
222
+pdfdir = @pdfdir@
217 223
 prefix = @prefix@
218 224
 program_transform_name = @program_transform_name@
225
+psdir = @psdir@
219 226
 sbindir = @sbindir@
220 227
 sendmailprog = @sendmailprog@
221 228
 sharedstatedir = @sharedstatedir@
... ...
@@ -123,11 +123,14 @@ ECHO_C = @ECHO_C@
123 123
 ECHO_N = @ECHO_N@
124 124
 ECHO_T = @ECHO_T@
125 125
 EGREP = @EGREP@
126
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
127
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
126 128
 EXEEXT = @EXEEXT@
127 129
 F77 = @F77@
128 130
 FFLAGS = @FFLAGS@
129 131
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
130 132
 GETENT = @GETENT@
133
+GREP = @GREP@
131 134
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
132 135
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
133 136
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -162,12 +165,9 @@ STRIP = @STRIP@
162 162
 THREAD_LIBS = @THREAD_LIBS@
163 163
 TH_SAFE = @TH_SAFE@
164 164
 VERSION = @VERSION@
165
-ac_ct_AR = @ac_ct_AR@
166 165
 ac_ct_CC = @ac_ct_CC@
167 166
 ac_ct_CXX = @ac_ct_CXX@
168 167
 ac_ct_F77 = @ac_ct_F77@
169
-ac_ct_RANLIB = @ac_ct_RANLIB@
170
-ac_ct_STRIP = @ac_ct_STRIP@
171 168
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
172 169
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
173 170
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -184,23 +184,30 @@ build_cpu = @build_cpu@
184 184
 build_os = @build_os@
185 185
 build_vendor = @build_vendor@
186 186
 datadir = @datadir@
187
+datarootdir = @datarootdir@
188
+docdir = @docdir@
189
+dvidir = @dvidir@
187 190
 exec_prefix = @exec_prefix@
188 191
 host = @host@
189 192
 host_alias = @host_alias@
190 193
 host_cpu = @host_cpu@
191 194
 host_os = @host_os@
192 195
 host_vendor = @host_vendor@
196
+htmldir = @htmldir@
193 197
 includedir = @includedir@
194 198
 infodir = @infodir@
195 199
 install_sh = @install_sh@
196 200
 libdir = @libdir@
197 201
 libexecdir = @libexecdir@
202
+localedir = @localedir@
198 203
 localstatedir = @localstatedir@
199 204
 mandir = @mandir@
200 205
 mkdir_p = @mkdir_p@
201 206
 oldincludedir = @oldincludedir@
207
+pdfdir = @pdfdir@
202 208
 prefix = @prefix@
203 209
 program_transform_name = @program_transform_name@
210
+psdir = @psdir@
204 211
 sbindir = @sbindir@
205 212
 sendmailprog = @sendmailprog@
206 213
 sharedstatedir = @sharedstatedir@
... ...
@@ -143,11 +143,14 @@ ECHO_C = @ECHO_C@
143 143
 ECHO_N = @ECHO_N@
144 144
 ECHO_T = @ECHO_T@
145 145
 EGREP = @EGREP@
146
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
147
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
146 148
 EXEEXT = @EXEEXT@
147 149
 F77 = @F77@
148 150
 FFLAGS = @FFLAGS@
149 151
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
150 152
 GETENT = @GETENT@
153
+GREP = @GREP@
151 154
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
152 155
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
153 156
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -182,12 +185,9 @@ STRIP = @STRIP@
182 182
 THREAD_LIBS = @THREAD_LIBS@
183 183
 TH_SAFE = @TH_SAFE@
184 184
 VERSION = @VERSION@
185
-ac_ct_AR = @ac_ct_AR@
186 185
 ac_ct_CC = @ac_ct_CC@
187 186
 ac_ct_CXX = @ac_ct_CXX@
188 187
 ac_ct_F77 = @ac_ct_F77@
189
-ac_ct_RANLIB = @ac_ct_RANLIB@
190
-ac_ct_STRIP = @ac_ct_STRIP@
191 188
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
192 189
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
193 190
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -204,23 +204,30 @@ build_cpu = @build_cpu@
204 204
 build_os = @build_os@
205 205
 build_vendor = @build_vendor@
206 206
 datadir = @datadir@
207
+datarootdir = @datarootdir@
208
+docdir = @docdir@
209
+dvidir = @dvidir@
207 210
 exec_prefix = @exec_prefix@
208 211
 host = @host@
209 212
 host_alias = @host_alias@
210 213
 host_cpu = @host_cpu@
211 214
 host_os = @host_os@
212 215
 host_vendor = @host_vendor@
216
+htmldir = @htmldir@
213 217
 includedir = @includedir@
214 218
 infodir = @infodir@
215 219
 install_sh = @install_sh@
216 220
 libdir = @libdir@
217 221
 libexecdir = @libexecdir@
222
+localedir = @localedir@
218 223
 localstatedir = @localstatedir@
219 224
 mandir = @mandir@
220 225
 mkdir_p = @mkdir_p@
221 226
 oldincludedir = @oldincludedir@
227
+pdfdir = @pdfdir@
222 228
 prefix = @prefix@
223 229
 program_transform_name = @program_transform_name@
230
+psdir = @psdir@
224 231
 sbindir = @sbindir@
225 232
 sendmailprog = @sendmailprog@
226 233
 sharedstatedir = @sharedstatedir@
... ...
@@ -132,11 +132,14 @@ ECHO_C = @ECHO_C@
132 132
 ECHO_N = @ECHO_N@
133 133
 ECHO_T = @ECHO_T@
134 134
 EGREP = @EGREP@
135
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
136
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
135 137
 EXEEXT = @EXEEXT@
136 138
 F77 = @F77@
137 139
 FFLAGS = @FFLAGS@
138 140
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
139 141
 GETENT = @GETENT@
142
+GREP = @GREP@
140 143
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
141 144
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
142 145
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -171,12 +174,9 @@ STRIP = @STRIP@
171 171
 THREAD_LIBS = @THREAD_LIBS@
172 172
 TH_SAFE = @TH_SAFE@
173 173
 VERSION = @VERSION@
174
-ac_ct_AR = @ac_ct_AR@
175 174
 ac_ct_CC = @ac_ct_CC@
176 175
 ac_ct_CXX = @ac_ct_CXX@
177 176
 ac_ct_F77 = @ac_ct_F77@
178
-ac_ct_RANLIB = @ac_ct_RANLIB@
179
-ac_ct_STRIP = @ac_ct_STRIP@
180 177
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
181 178
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
182 179
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -193,23 +193,30 @@ build_cpu = @build_cpu@
193 193
 build_os = @build_os@
194 194
 build_vendor = @build_vendor@
195 195
 datadir = @datadir@
196
+datarootdir = @datarootdir@
197
+docdir = @docdir@
198
+dvidir = @dvidir@
196 199
 exec_prefix = @exec_prefix@
197 200
 host = @host@
198 201
 host_alias = @host_alias@
199 202
 host_cpu = @host_cpu@
200 203
 host_os = @host_os@
201 204
 host_vendor = @host_vendor@
205
+htmldir = @htmldir@
202 206
 includedir = @includedir@
203 207
 infodir = @infodir@
204 208
 install_sh = @install_sh@
205 209
 libdir = @libdir@
206 210
 libexecdir = @libexecdir@
211
+localedir = @localedir@
207 212
 localstatedir = @localstatedir@
208 213
 mandir = @mandir@
209 214
 mkdir_p = @mkdir_p@
210 215
 oldincludedir = @oldincludedir@
216
+pdfdir = @pdfdir@
211 217
 prefix = @prefix@
212 218
 program_transform_name = @program_transform_name@
219
+psdir = @psdir@
213 220
 sbindir = @sbindir@
214 221
 sendmailprog = @sendmailprog@
215 222
 sharedstatedir = @sharedstatedir@
... ...
@@ -41,5 +41,5 @@ clamscan_SOURCES = \
41 41
     treewalk.h
42 42
 
43 43
 DEFS = @DEFS@ -DCL_NOTHREADS
44
-LIBS = $(top_builddir)/libclamav/libclamav.la $(top_builddir)/libclamunrar/libclamunrar.la @THREAD_LIBS@
44
+LIBS = $(top_builddir)/libclamav/libclamav.la @THREAD_LIBS@
45 45
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/shared -I$(top_srcdir)/libclamav
... ...
@@ -126,11 +126,14 @@ ECHO_C = @ECHO_C@
126 126
 ECHO_N = @ECHO_N@
127 127
 ECHO_T = @ECHO_T@
128 128
 EGREP = @EGREP@
129
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
130
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
129 131
 EXEEXT = @EXEEXT@
130 132
 F77 = @F77@
131 133
 FFLAGS = @FFLAGS@
132 134
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
133 135
 GETENT = @GETENT@
136
+GREP = @GREP@
134 137
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
135 138
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
136 139
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -141,7 +144,7 @@ LDFLAGS = @LDFLAGS@
141 141
 LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
142 142
 LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
143 143
 LIBOBJS = @LIBOBJS@
144
-LIBS = $(top_builddir)/libclamav/libclamav.la $(top_builddir)/libclamunrar/libclamunrar.la @THREAD_LIBS@
144
+LIBS = $(top_builddir)/libclamav/libclamav.la @THREAD_LIBS@
145 145
 LIBTOOL = @LIBTOOL@
146 146
 LN_S = @LN_S@
147 147
 LTLIBOBJS = @LTLIBOBJS@
... ...
@@ -165,12 +168,9 @@ STRIP = @STRIP@
165 165
 THREAD_LIBS = @THREAD_LIBS@
166 166
 TH_SAFE = @TH_SAFE@
167 167
 VERSION = @VERSION@
168
-ac_ct_AR = @ac_ct_AR@
169 168
 ac_ct_CC = @ac_ct_CC@
170 169
 ac_ct_CXX = @ac_ct_CXX@
171 170
 ac_ct_F77 = @ac_ct_F77@
172
-ac_ct_RANLIB = @ac_ct_RANLIB@
173
-ac_ct_STRIP = @ac_ct_STRIP@
174 171
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
175 172
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
176 173
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -187,23 +187,30 @@ build_cpu = @build_cpu@
187 187
 build_os = @build_os@
188 188
 build_vendor = @build_vendor@
189 189
 datadir = @datadir@
190
+datarootdir = @datarootdir@
191
+docdir = @docdir@
192
+dvidir = @dvidir@
190 193
 exec_prefix = @exec_prefix@
191 194
 host = @host@
192 195
 host_alias = @host_alias@
193 196
 host_cpu = @host_cpu@
194 197
 host_os = @host_os@
195 198
 host_vendor = @host_vendor@
199
+htmldir = @htmldir@
196 200
 includedir = @includedir@
197 201
 infodir = @infodir@
198 202
 install_sh = @install_sh@
199 203
 libdir = @libdir@
200 204
 libexecdir = @libexecdir@
205
+localedir = @localedir@
201 206
 localstatedir = @localstatedir@
202 207
 mandir = @mandir@
203 208
 mkdir_p = @mkdir_p@
204 209
 oldincludedir = @oldincludedir@
210
+pdfdir = @pdfdir@
205 211
 prefix = @prefix@
206 212
 program_transform_name = @program_transform_name@
213
+psdir = @psdir@
207 214
 sbindir = @sbindir@
208 215
 sendmailprog = @sendmailprog@
209 216
 sharedstatedir = @sharedstatedir@
... ...
@@ -1,25 +1,54 @@
1 1
 #! /bin/sh
2 2
 # Guess values for system-dependent variables and create Makefiles.
3
-# Generated by GNU Autoconf 2.59.
3
+# Generated by GNU Autoconf 2.61.
4 4
 #
5
-# Copyright (C) 2003 Free Software Foundation, Inc.
5
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6 7
 # This configure script is free software; the Free Software Foundation
7 8
 # gives unlimited permission to copy, distribute and modify it.
8 9
 ## --------------------- ##
9 10
 ## M4sh Initialization.  ##
10 11
 ## --------------------- ##
11 12
 
12
-# Be Bourne compatible
13
+# Be more Bourne compatible
14
+DUALCASE=1; export DUALCASE # for MKS sh
13 15
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 16
   emulate sh
15 17
   NULLCMD=:
16 18
   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 19
   # is contrary to our usage.  Disable this feature.
18 20
   alias -g '${1+"$@"}'='"$@"'
19
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
-  set -o posix
21
+  setopt NO_GLOB_SUBST
22
+else
23
+  case `(set -o) 2>/dev/null` in
24
+  *posix*) set -o posix ;;
25
+esac
26
+
27
+fi
28
+
29
+
30
+
31
+
32
+# PATH needs CR
33
+# Avoid depending upon Character Ranges.
34
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
+as_cr_digits='0123456789'
38
+as_cr_alnum=$as_cr_Letters$as_cr_digits
39
+
40
+# The user is always right.
41
+if test "${PATH_SEPARATOR+set}" != set; then
42
+  echo "#! /bin/sh" >conf$$.sh
43
+  echo  "exit 0"   >>conf$$.sh
44
+  chmod +x conf$$.sh
45
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
+    PATH_SEPARATOR=';'
47
+  else
48
+    PATH_SEPARATOR=:
49
+  fi
50
+  rm -f conf$$.sh
21 51
 fi
22
-DUALCASE=1; export DUALCASE # for MKS sh
23 52
 
24 53
 # Support unset when possible.
25 54
 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
... ...
@@ -29,8 +58,43 @@ else
29 29
 fi
30 30
 
31 31
 
32
+# IFS
33
+# We need space, tab and new line, in precisely that order.  Quoting is
34
+# there to prevent editors from complaining about space-tab.
35
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
36
+# splitting by setting IFS to empty value.)
37
+as_nl='
38
+'
39
+IFS=" ""	$as_nl"
40
+
41
+# Find who we are.  Look in the path if we contain no directory separator.
42
+case $0 in
43
+  *[\\/]* ) as_myself=$0 ;;
44
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45
+for as_dir in $PATH
46
+do
47
+  IFS=$as_save_IFS
48
+  test -z "$as_dir" && as_dir=.
49
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50
+done
51
+IFS=$as_save_IFS
52
+
53
+     ;;
54
+esac
55
+# We did not find ourselves, most probably we were run as `sh COMMAND'
56
+# in which case we are not to be found in the path.
57
+if test "x$as_myself" = x; then
58
+  as_myself=$0
59
+fi
60
+if test ! -f "$as_myself"; then
61
+  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
62
+  { (exit 1); exit 1; }
63
+fi
64
+
32 65
 # Work around bugs in pre-3.0 UWIN ksh.
33
-$as_unset ENV MAIL MAILPATH
66
+for as_var in ENV MAIL MAILPATH
67
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
68
+done
34 69
 PS1='$ '
35 70
 PS2='> '
36 71
 PS4='+ '
... ...
@@ -44,18 +108,19 @@ do
44 44
   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 45
     eval $as_var=C; export $as_var
46 46
   else
47
-    $as_unset $as_var
47
+    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
48 48
   fi
49 49
 done
50 50
 
51 51
 # Required to use basename.
52
-if expr a : '\(a\)' >/dev/null 2>&1; then
52
+if expr a : '\(a\)' >/dev/null 2>&1 &&
53
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53 54
   as_expr=expr
54 55
 else
55 56
   as_expr=false
56 57
 fi
57 58
 
58
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59 60
   as_basename=basename
60 61
 else
61 62
   as_basename=false
... ...
@@ -63,157 +128,388 @@ fi
63 63
 
64 64
 
65 65
 # Name of the executable.
66
-as_me=`$as_basename "$0" ||
66
+as_me=`$as_basename -- "$0" ||
67 67
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 68
 	 X"$0" : 'X\(//\)$' \| \
69
-	 X"$0" : 'X\(/\)$' \| \
70
-	 .     : '\(.\)' 2>/dev/null ||
69
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
71 70
 echo X/"$0" |
72
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
-  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
74
-  	  /^X\/\(\/\).*/{ s//\1/; q; }
75
-  	  s/.*/./; q'`
71
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
72
+	    s//\1/
73
+	    q
74
+	  }
75
+	  /^X\/\(\/\/\)$/{
76
+	    s//\1/
77
+	    q
78
+	  }
79
+	  /^X\/\(\/\).*/{
80
+	    s//\1/
81
+	    q
82
+	  }
83
+	  s/.*/./; q'`
76 84
 
85
+# CDPATH.
86
+$as_unset CDPATH
77 87
 
78
-# PATH needs CR, and LINENO needs CR and PATH.
79
-# Avoid depending upon Character Ranges.
80
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
-as_cr_digits='0123456789'
84
-as_cr_alnum=$as_cr_Letters$as_cr_digits
85 88
 
86
-# The user is always right.
87
-if test "${PATH_SEPARATOR+set}" != set; then
88
-  echo "#! /bin/sh" >conf$$.sh
89
-  echo  "exit 0"   >>conf$$.sh
90
-  chmod +x conf$$.sh
91
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
-    PATH_SEPARATOR=';'
93
-  else
94
-    PATH_SEPARATOR=:
95
-  fi
96
-  rm -f conf$$.sh
89
+if test "x$CONFIG_SHELL" = x; then
90
+  if (eval ":") 2>/dev/null; then
91
+  as_have_required=yes
92
+else
93
+  as_have_required=no
94
+fi
95
+
96
+  if test $as_have_required = yes && 	 (eval ":
97
+(as_func_return () {
98
+  (exit \$1)
99
+}
100
+as_func_success () {
101
+  as_func_return 0
102
+}
103
+as_func_failure () {
104
+  as_func_return 1
105
+}
106
+as_func_ret_success () {
107
+  return 0
108
+}
109
+as_func_ret_failure () {
110
+  return 1
111
+}
112
+
113
+exitcode=0
114
+if as_func_success; then
115
+  :
116
+else
117
+  exitcode=1
118
+  echo as_func_success failed.
97 119
 fi
98 120
 
121
+if as_func_failure; then
122
+  exitcode=1
123
+  echo as_func_failure succeeded.
124
+fi
99 125
 
100
-  as_lineno_1=$LINENO
101
-  as_lineno_2=$LINENO
102
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
-  # Find who we are.  Look in the path if we contain no path at all
106
-  # relative or not.
107
-  case $0 in
108
-    *[\\/]* ) as_myself=$0 ;;
109
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
-for as_dir in $PATH
111
-do
112
-  IFS=$as_save_IFS
113
-  test -z "$as_dir" && as_dir=.
114
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
-done
126
+if as_func_ret_success; then
127
+  :
128
+else
129
+  exitcode=1
130
+  echo as_func_ret_success failed.
131
+fi
116 132
 
117
-       ;;
118
-  esac
119
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
-  # in which case we are not to be found in the path.
121
-  if test "x$as_myself" = x; then
122
-    as_myself=$0
123
-  fi
124
-  if test ! -f "$as_myself"; then
125
-    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
-   { (exit 1); exit 1; }; }
127
-  fi
128
-  case $CONFIG_SHELL in
129
-  '')
133
+if as_func_ret_failure; then
134
+  exitcode=1
135
+  echo as_func_ret_failure succeeded.
136
+fi
137
+
138
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
139
+  :
140
+else
141
+  exitcode=1
142
+  echo positional parameters were not saved.
143
+fi
144
+
145
+test \$exitcode = 0) || { (exit 1); exit 1; }
146
+
147
+(
148
+  as_lineno_1=\$LINENO
149
+  as_lineno_2=\$LINENO
150
+  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
151
+  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
152
+") 2> /dev/null; then
153
+  :
154
+else
155
+  as_candidate_shells=
130 156
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 157
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 158
 do
133 159
   IFS=$as_save_IFS
134 160
   test -z "$as_dir" && as_dir=.
135
-  for as_base in sh bash ksh sh5; do
136
-	 case $as_dir in
161
+  case $as_dir in
137 162
 	 /*)
138
-	   if ("$as_dir/$as_base" -c '
163
+	   for as_base in sh bash ksh sh5; do
164
+	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
165
+	   done;;
166
+       esac
167
+done
168
+IFS=$as_save_IFS
169
+
170
+
171
+      for as_shell in $as_candidate_shells $SHELL; do
172
+	 # Try only shells that exist, to save several forks.
173
+	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
174
+		{ ("$as_shell") 2> /dev/null <<\_ASEOF
175
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
176
+  emulate sh
177
+  NULLCMD=:
178
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
179
+  # is contrary to our usage.  Disable this feature.
180
+  alias -g '${1+"$@"}'='"$@"'
181
+  setopt NO_GLOB_SUBST
182
+else
183
+  case `(set -o) 2>/dev/null` in
184
+  *posix*) set -o posix ;;
185
+esac
186
+
187
+fi
188
+
189
+
190
+:
191
+_ASEOF
192
+}; then
193
+  CONFIG_SHELL=$as_shell
194
+	       as_have_required=yes
195
+	       if { "$as_shell" 2> /dev/null <<\_ASEOF
196
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
197
+  emulate sh
198
+  NULLCMD=:
199
+  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
200
+  # is contrary to our usage.  Disable this feature.
201
+  alias -g '${1+"$@"}'='"$@"'
202
+  setopt NO_GLOB_SUBST
203
+else
204
+  case `(set -o) 2>/dev/null` in
205
+  *posix*) set -o posix ;;
206
+esac
207
+
208
+fi
209
+
210
+
211
+:
212
+(as_func_return () {
213
+  (exit $1)
214
+}
215
+as_func_success () {
216
+  as_func_return 0
217
+}
218
+as_func_failure () {
219
+  as_func_return 1
220
+}
221
+as_func_ret_success () {
222
+  return 0
223
+}
224
+as_func_ret_failure () {
225
+  return 1
226
+}
227
+
228
+exitcode=0
229
+if as_func_success; then
230
+  :
231
+else
232
+  exitcode=1
233
+  echo as_func_success failed.
234
+fi
235
+
236
+if as_func_failure; then
237
+  exitcode=1
238
+  echo as_func_failure succeeded.
239
+fi
240
+
241
+if as_func_ret_success; then
242
+  :
243
+else
244
+  exitcode=1
245
+  echo as_func_ret_success failed.
246
+fi
247
+
248
+if as_func_ret_failure; then
249
+  exitcode=1
250
+  echo as_func_ret_failure succeeded.
251
+fi
252
+
253
+if ( set x; as_func_ret_success y && test x = "$1" ); then
254
+  :
255
+else
256
+  exitcode=1
257
+  echo positional parameters were not saved.
258
+fi
259
+
260
+test $exitcode = 0) || { (exit 1); exit 1; }
261
+
262
+(
139 263
   as_lineno_1=$LINENO
140 264
   as_lineno_2=$LINENO
141
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 265
   test "x$as_lineno_1" != "x$as_lineno_2" &&
143
-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
-	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
-	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
-	     CONFIG_SHELL=$as_dir/$as_base
147
-	     export CONFIG_SHELL
148
-	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
-	   fi;;
150
-	 esac
151
-       done
152
-done
153
-;;
154
-  esac
266
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
267
+
268
+_ASEOF
269
+}; then
270
+  break
271
+fi
272
+
273
+fi
274
+
275
+      done
276
+
277
+      if test "x$CONFIG_SHELL" != x; then
278
+  for as_var in BASH_ENV ENV
279
+        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
280
+        done
281
+        export CONFIG_SHELL
282
+        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
283
+fi
284
+
285
+
286
+    if test $as_have_required = no; then
287
+  echo This script requires a shell more modern than all the
288
+      echo shells that I found on your system.  Please install a
289
+      echo modern shell, or manually run the script under such a
290
+      echo shell if you do have one.
291
+      { (exit 1); exit 1; }
292
+fi
293
+
294
+
295
+fi
296
+
297
+fi
298
+
299
+
300
+
301
+(eval "as_func_return () {
302
+  (exit \$1)
303
+}
304
+as_func_success () {
305
+  as_func_return 0
306
+}
307
+as_func_failure () {
308
+  as_func_return 1
309
+}
310
+as_func_ret_success () {
311
+  return 0
312
+}
313
+as_func_ret_failure () {
314
+  return 1
315
+}
316
+
317
+exitcode=0
318
+if as_func_success; then
319
+  :
320
+else
321
+  exitcode=1
322
+  echo as_func_success failed.
323
+fi
324
+
325
+if as_func_failure; then
326
+  exitcode=1
327
+  echo as_func_failure succeeded.
328
+fi
329
+
330
+if as_func_ret_success; then
331
+  :
332
+else
333
+  exitcode=1
334
+  echo as_func_ret_success failed.
335
+fi
336
+
337
+if as_func_ret_failure; then
338
+  exitcode=1
339
+  echo as_func_ret_failure succeeded.
340
+fi
341
+
342
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
343
+  :
344
+else
345
+  exitcode=1
346
+  echo positional parameters were not saved.
347
+fi
348
+
349
+test \$exitcode = 0") || {
350
+  echo No shell found that supports shell functions.
351
+  echo Please tell autoconf@gnu.org about your system,
352
+  echo including any error possibly output before this
353
+  echo message
354
+}
355
+
356
+
357
+
358
+  as_lineno_1=$LINENO
359
+  as_lineno_2=$LINENO
360
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
361
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155 362
 
156 363
   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 364
   # uniformly replaced by the line number.  The first 'sed' inserts a
158
-  # line-number line before each line; the second 'sed' does the real
159
-  # work.  The second script uses 'N' to pair each line-number line
160
-  # with the numbered line, and appends trailing '-' during
161
-  # substitution so that $LINENO is not a special case at line end.
365
+  # line-number line after each line using $LINENO; the second 'sed'
366
+  # does the real work.  The second script uses 'N' to pair each
367
+  # line-number line with the line containing $LINENO, and appends
368
+  # trailing '-' during substitution so that $LINENO is not a special
369
+  # case at line end.
162 370
   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
-  sed '=' <$as_myself |
371
+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
372
+  # E. McMahon (1931-1989) for sed's syntax.  :-)
373
+  sed -n '
374
+    p
375
+    /[$]LINENO/=
376
+  ' <$as_myself |
165 377
     sed '
378
+      s/[$]LINENO.*/&-/
379
+      t lineno
380
+      b
381
+      :lineno
166 382
       N
167
-      s,$,-,
168
-      : loop
169
-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
383
+      :loop
384
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170 385
       t loop
171
-      s,-$,,
172
-      s,^['$as_cr_digits']*\n,,
386
+      s/-\n.*//
173 387
     ' >$as_me.lineno &&
174
-  chmod +x $as_me.lineno ||
388
+  chmod +x "$as_me.lineno" ||
175 389
     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 390
    { (exit 1); exit 1; }; }
177 391
 
178 392
   # Don't try to exec as it changes $[0], causing all sort of problems
179 393
   # (the dirname of $[0] is not the place where we might find the
180
-  # original and so on.  Autoconf is especially sensible to this).
181
-  . ./$as_me.lineno
394
+  # original and so on.  Autoconf is especially sensitive to this).
395
+  . "./$as_me.lineno"
182 396
   # Exit status is that of the last command.
183 397
   exit
184 398
 }
185 399
 
186 400
 
187
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
-  *c*,-n*) ECHO_N= ECHO_C='
189
-' ECHO_T='	' ;;
190
-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
401
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402
+  as_dirname=dirname
403
+else
404
+  as_dirname=false
405
+fi
406
+
407
+ECHO_C= ECHO_N= ECHO_T=
408
+case `echo -n x` in
409
+-n*)
410
+  case `echo 'x\c'` in
411
+  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
412
+  *)   ECHO_C='\c';;
413
+  esac;;
414
+*)
415
+  ECHO_N='-n';;
192 416
 esac
193 417
 
194
-if expr a : '\(a\)' >/dev/null 2>&1; then
418
+if expr a : '\(a\)' >/dev/null 2>&1 &&
419
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195 420
   as_expr=expr
196 421
 else
197 422
   as_expr=false
198 423
 fi
199 424
 
200 425
 rm -f conf$$ conf$$.exe conf$$.file
426
+if test -d conf$$.dir; then
427
+  rm -f conf$$.dir/conf$$.file
428
+else
429
+  rm -f conf$$.dir
430
+  mkdir conf$$.dir
431
+fi
201 432
 echo >conf$$.file
202 433
 if ln -s conf$$.file conf$$ 2>/dev/null; then
203
-  # We could just check for DJGPP; but this test a) works b) is more generic
204
-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
-  if test -f conf$$.exe; then
206
-    # Don't use ln at all; we don't have any links
434
+  as_ln_s='ln -s'
435
+  # ... but there are two gotchas:
436
+  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
437
+  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
438
+  # In both cases, we have to default to `cp -p'.
439
+  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
207 440
     as_ln_s='cp -p'
208
-  else
209
-    as_ln_s='ln -s'
210
-  fi
211 441
 elif ln conf$$.file conf$$ 2>/dev/null; then
212 442
   as_ln_s=ln
213 443
 else
214 444
   as_ln_s='cp -p'
215 445
 fi
216
-rm -f conf$$ conf$$.exe conf$$.file
446
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
447
+rmdir conf$$.dir 2>/dev/null
217 448
 
218 449
 if mkdir -p . 2>/dev/null; then
219 450
   as_mkdir_p=:
... ...
@@ -222,7 +518,28 @@ else
222 222
   as_mkdir_p=false
223 223
 fi
224 224
 
225
-as_executable_p="test -f"
225
+if test -x / >/dev/null 2>&1; then
226
+  as_test_x='test -x'
227
+else
228
+  if ls -dL / >/dev/null 2>&1; then
229
+    as_ls_L_option=L
230
+  else
231
+    as_ls_L_option=
232
+  fi
233
+  as_test_x='
234
+    eval sh -c '\''
235
+      if test -d "$1"; then
236
+        test -d "$1/.";
237
+      else
238
+	case $1 in
239
+        -*)set "./$1";;
240
+	esac;
241
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
242
+	???[sx]*):;;*)false;;esac;fi
243
+    '\'' sh
244
+  '
245
+fi
246
+as_executable_p=$as_test_x
226 247
 
227 248
 # Sed expression to map a string onto a valid CPP name.
228 249
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
... ...
@@ -231,15 +548,6 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 231
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 232
 
233 233
 
234
-# IFS
235
-# We need space, tab and new line, in precisely that order.
236
-as_nl='
237
-'
238
-IFS=" 	$as_nl"
239
-
240
-# CDPATH.
241
-$as_unset CDPATH
242
-
243 234
 
244 235
 
245 236
 # Check that we are running under the correct shell.
... ...
@@ -395,29 +703,26 @@ tagnames=${tagnames+${tagnames},}CXX
395 395
 
396 396
 tagnames=${tagnames+${tagnames},}F77
397 397
 
398
+exec 7<&0 </dev/null 6>&1
399
+
398 400
 # Name of the host.
399 401
 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 402
 # so uname gets run too.
401 403
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402 404
 
403
-exec 6>&1
404
-
405 405
 #
406 406
 # Initializations.
407 407
 #
408 408
 ac_default_prefix=/usr/local
409
+ac_clean_files=
409 410
 ac_config_libobj_dir=.
411
+LIBOBJS=
410 412
 cross_compiling=no
411 413
 subdirs=
412 414
 MFLAGS=
413 415
 MAKEFLAGS=
414 416
 SHELL=${CONFIG_SHELL-/bin/sh}
415 417
 
416
-# Maximum number of lines to put in a shell here document.
417
-# This variable seems obsolete.  It should probably be removed, and
418
-# only ac_max_sed_lines should be used.
419
-: ${ac_max_here_lines=38}
420
-
421 418
 # Identity of this package.
422 419
 PACKAGE_NAME=
423 420
 PACKAGE_TARNAME=
... ...
@@ -429,42 +734,185 @@ ac_unique_file="clamscan/clamscan.c"
429 429
 # Factoring default headers for most tests.
430 430
 ac_includes_default="\
431 431
 #include <stdio.h>
432
-#if HAVE_SYS_TYPES_H
432
+#ifdef HAVE_SYS_TYPES_H
433 433
 # include <sys/types.h>
434 434
 #endif
435
-#if HAVE_SYS_STAT_H
435
+#ifdef HAVE_SYS_STAT_H
436 436
 # include <sys/stat.h>
437 437
 #endif
438
-#if STDC_HEADERS
438
+#ifdef STDC_HEADERS
439 439
 # include <stdlib.h>
440 440
 # include <stddef.h>
441 441
 #else
442
-# if HAVE_STDLIB_H
442
+# ifdef HAVE_STDLIB_H
443 443
 #  include <stdlib.h>
444 444
 # endif
445 445
 #endif
446
-#if HAVE_STRING_H
447
-# if !STDC_HEADERS && HAVE_MEMORY_H
446
+#ifdef HAVE_STRING_H
447
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448 448
 #  include <memory.h>
449 449
 # endif
450 450
 # include <string.h>
451 451
 #endif
452
-#if HAVE_STRINGS_H
452
+#ifdef HAVE_STRINGS_H
453 453
 # include <strings.h>
454 454
 #endif
455
-#if HAVE_INTTYPES_H
455
+#ifdef HAVE_INTTYPES_H
456 456
 # include <inttypes.h>
457
-#else
458
-# if HAVE_STDINT_H
459
-#  include <stdint.h>
460
-# endif
461 457
 #endif
462
-#if HAVE_UNISTD_H
458
+#ifdef HAVE_STDINT_H
459
+# include <stdint.h>
460
+#endif
461
+#ifdef HAVE_UNISTD_H
463 462
 # include <unistd.h>
464 463
 #endif"
465 464
 
466
-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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar LIBCLAMAV_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S SED EGREP ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT sendmailprog DBDIR CFGDIR LIBCLAMAV_LIBS CLAMD_LIBS CLAMAV_MILTER_LIBS FRESHCLAM_LIBS TH_SAFE THREAD_LIBS BUILD_CLAMD_TRUE BUILD_CLAMD_FALSE HAVE_MILTER_TRUE HAVE_MILTER_FALSE GETENT CLAMAVUSER CLAMAVGROUP LIBOBJS LTLIBOBJS'
465
+ac_subst_vars='SHELL
466
+PATH_SEPARATOR
467
+PACKAGE_NAME
468
+PACKAGE_TARNAME
469
+PACKAGE_VERSION
470
+PACKAGE_STRING
471
+PACKAGE_BUGREPORT
472
+exec_prefix
473
+prefix
474
+program_transform_name
475
+bindir
476
+sbindir
477
+libexecdir
478
+datarootdir
479
+datadir
480
+sysconfdir
481
+sharedstatedir
482
+localstatedir
483
+includedir
484
+oldincludedir
485
+docdir
486
+infodir
487
+htmldir
488
+dvidir
489
+pdfdir
490
+psdir
491
+libdir
492
+localedir
493
+mandir
494
+DEFS
495
+ECHO_C
496
+ECHO_N
497
+ECHO_T
498
+LIBS
499
+build_alias
500
+host_alias
501
+target_alias
502
+build
503
+build_cpu
504
+build_vendor
505
+build_os
506
+host
507
+host_cpu
508
+host_vendor
509
+host_os
510
+target
511
+target_cpu
512
+target_vendor
513
+target_os
514
+INSTALL_PROGRAM
515
+INSTALL_SCRIPT
516
+INSTALL_DATA
517
+CYGPATH_W
518
+PACKAGE
519
+VERSION
520
+ACLOCAL
521
+AUTOCONF
522
+AUTOMAKE
523
+AUTOHEADER
524
+MAKEINFO
525
+install_sh
526
+STRIP
527
+INSTALL_STRIP_PROGRAM
528
+mkdir_p
529
+AWK
530
+SET_MAKE
531
+am__leading_dot
532
+AMTAR
533
+am__tar
534
+am__untar
535
+LIBCLAMAV_VERSION
536
+CC
537
+CFLAGS
538
+LDFLAGS
539
+CPPFLAGS
540
+ac_ct_CC
541
+EXEEXT
542
+OBJEXT
543
+DEPDIR
544
+am__include
545
+am__quote
546
+AMDEP_TRUE
547
+AMDEP_FALSE
548
+AMDEPBACKSLASH
549
+CCDEPMODE
550
+am__fastdepCC_TRUE
551
+am__fastdepCC_FALSE
552
+LN_S
553
+SED
554
+GREP
555
+EGREP
556
+ECHO
557
+AR
558
+RANLIB
559
+CPP
560
+CXX
561
+CXXFLAGS
562
+ac_ct_CXX
563
+CXXDEPMODE
564
+am__fastdepCXX_TRUE
565
+am__fastdepCXX_FALSE
566
+CXXCPP
567
+F77
568
+FFLAGS
569
+ac_ct_F77
570
+LIBTOOL
571
+MAINTAINER_MODE_TRUE
572
+MAINTAINER_MODE_FALSE
573
+MAINT
574
+sendmailprog
575
+DBDIR
576
+CFGDIR
577
+LIBCLAMAV_LIBS
578
+CLAMD_LIBS
579
+CLAMAV_MILTER_LIBS
580
+FRESHCLAM_LIBS
581
+TH_SAFE
582
+THREAD_LIBS
583
+BUILD_CLAMD_TRUE
584
+BUILD_CLAMD_FALSE
585
+HAVE_MILTER_TRUE
586
+HAVE_MILTER_FALSE
587
+ENABLE_UNRAR_TRUE
588
+ENABLE_UNRAR_FALSE
589
+GETENT
590
+CLAMAVUSER
591
+CLAMAVGROUP
592
+LIBOBJS
593
+LTLIBOBJS'
467 594
 ac_subst_files=''
595
+      ac_precious_vars='build_alias
596
+host_alias
597
+target_alias
598
+CC
599
+CFLAGS
600
+LDFLAGS
601
+LIBS
602
+CPPFLAGS
603
+CPP
604
+CXX
605
+CXXFLAGS
606
+CCC
607
+CXXCPP
608
+F77
609
+FFLAGS'
610
+
468 611
 
469 612
 # Initialize some variables set by options.
470 613
 ac_init_help=
... ...
@@ -491,34 +939,48 @@ x_libraries=NONE
491 491
 # and all the variables that are supposed to be based on exec_prefix
492 492
 # by default will actually change.
493 493
 # Use braces instead of parens because sh, perl, etc. also accept them.
494
+# (The list follows the same order as the GNU Coding Standards.)
494 495
 bindir='${exec_prefix}/bin'
495 496
 sbindir='${exec_prefix}/sbin'
496 497
 libexecdir='${exec_prefix}/libexec'
497
-datadir='${prefix}/share'
498
+datarootdir='${prefix}/share'
499
+datadir='${datarootdir}'
498 500
 sysconfdir='${prefix}/etc'
499 501
 sharedstatedir='${prefix}/com'
500 502
 localstatedir='${prefix}/var'
501
-libdir='${exec_prefix}/lib'
502 503
 includedir='${prefix}/include'
503 504
 oldincludedir='/usr/include'
504
-infodir='${prefix}/info'
505
-mandir='${prefix}/man'
505
+docdir='${datarootdir}/doc/${PACKAGE}'
506
+infodir='${datarootdir}/info'
507
+htmldir='${docdir}'
508
+dvidir='${docdir}'
509
+pdfdir='${docdir}'
510
+psdir='${docdir}'
511
+libdir='${exec_prefix}/lib'
512
+localedir='${datarootdir}/locale'
513
+mandir='${datarootdir}/man'
506 514
 
507 515
 ac_prev=
516
+ac_dashdash=
508 517
 for ac_option
509 518
 do
510 519
   # If the previous option needs an argument, assign it.
511 520
   if test -n "$ac_prev"; then
512
-    eval "$ac_prev=\$ac_option"
521
+    eval $ac_prev=\$ac_option
513 522
     ac_prev=
514 523
     continue
515 524
   fi
516 525
 
517
-  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
526
+  case $ac_option in
527
+  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
528
+  *)	ac_optarg=yes ;;
529
+  esac
518 530
 
519 531
   # Accept the important Cygnus configure options, so we can diagnose typos.
520 532
 
521
-  case $ac_option in
533
+  case $ac_dashdash$ac_option in
534
+  --)
535
+    ac_dashdash=yes ;;
522 536
 
523 537
   -bindir | --bindir | --bindi | --bind | --bin | --bi)
524 538
     ac_prev=bindir ;;
... ...
@@ -540,33 +1002,45 @@ do
540 540
   --config-cache | -C)
541 541
     cache_file=config.cache ;;
542 542
 
543
-  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
543
+  -datadir | --datadir | --datadi | --datad)
544 544
     ac_prev=datadir ;;
545
-  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
-  | --da=*)
545
+  -datadir=* | --datadir=* | --datadi=* | --datad=*)
547 546
     datadir=$ac_optarg ;;
548 547
 
548
+  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
549
+  | --dataroo | --dataro | --datar)
550
+    ac_prev=datarootdir ;;
551
+  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
552
+  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
553
+    datarootdir=$ac_optarg ;;
554
+
549 555
   -disable-* | --disable-*)
550 556
     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 557
     # Reject names that are not valid shell variable names.
552
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558
+    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
553 559
       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 560
    { (exit 1); exit 1; }; }
555
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
-    eval "enable_$ac_feature=no" ;;
561
+    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
562
+    eval enable_$ac_feature=no ;;
563
+
564
+  -docdir | --docdir | --docdi | --doc | --do)
565
+    ac_prev=docdir ;;
566
+  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
567
+    docdir=$ac_optarg ;;
568
+
569
+  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
570
+    ac_prev=dvidir ;;
571
+  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
572
+    dvidir=$ac_optarg ;;
557 573
 
558 574
   -enable-* | --enable-*)
559 575
     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 576
     # Reject names that are not valid shell variable names.
561
-    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
577
+    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
562 578
       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 579
    { (exit 1); exit 1; }; }
564
-    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
-    case $ac_option in
566
-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
-      *) ac_optarg=yes ;;
568
-    esac
569
-    eval "enable_$ac_feature='$ac_optarg'" ;;
580
+    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
581
+    eval enable_$ac_feature=\$ac_optarg ;;
570 582
 
571 583
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572 584
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
... ...
@@ -593,6 +1067,12 @@ do
593 593
   -host=* | --host=* | --hos=* | --ho=*)
594 594
     host_alias=$ac_optarg ;;
595 595
 
596
+  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
597
+    ac_prev=htmldir ;;
598
+  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
599
+  | --ht=*)
600
+    htmldir=$ac_optarg ;;
601
+
596 602
   -includedir | --includedir | --includedi | --included | --include \
597 603
   | --includ | --inclu | --incl | --inc)
598 604
     ac_prev=includedir ;;
... ...
@@ -617,13 +1097,16 @@ do
617 617
   | --libexe=* | --libex=* | --libe=*)
618 618
     libexecdir=$ac_optarg ;;
619 619
 
620
+  -localedir | --localedir | --localedi | --localed | --locale)
621
+    ac_prev=localedir ;;
622
+  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
623
+    localedir=$ac_optarg ;;
624
+
620 625
   -localstatedir | --localstatedir | --localstatedi | --localstated \
621
-  | --localstate | --localstat | --localsta | --localst \
622
-  | --locals | --local | --loca | --loc | --lo)
626
+  | --localstate | --localstat | --localsta | --localst | --locals)
623 627
     ac_prev=localstatedir ;;
624 628
   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
-  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
629
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627 630
     localstatedir=$ac_optarg ;;
628 631
 
629 632
   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
... ...
@@ -688,6 +1171,16 @@ do
688 688
   | --progr-tra=* | --program-tr=* | --program-t=*)
689 689
     program_transform_name=$ac_optarg ;;
690 690
 
691
+  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
692
+    ac_prev=pdfdir ;;
693
+  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
694
+    pdfdir=$ac_optarg ;;
695
+
696
+  -psdir | --psdir | --psdi | --psd | --ps)
697
+    ac_prev=psdir ;;
698
+  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
699
+    psdir=$ac_optarg ;;
700
+
691 701
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692 702
   | -silent | --silent | --silen | --sile | --sil)
693 703
     silent=yes ;;
... ...
@@ -740,24 +1233,20 @@ do
740 740
   -with-* | --with-*)
741 741
     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 742
     # Reject names that are not valid shell variable names.
743
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
743
+    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
744 744
       { echo "$as_me: error: invalid package name: $ac_package" >&2
745 745
    { (exit 1); exit 1; }; }
746
-    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
-    case $ac_option in
748
-      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
-      *) ac_optarg=yes ;;
750
-    esac
751
-    eval "with_$ac_package='$ac_optarg'" ;;
746
+    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
747
+    eval with_$ac_package=\$ac_optarg ;;
752 748
 
753 749
   -without-* | --without-*)
754 750
     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 751
     # Reject names that are not valid shell variable names.
756
-    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752
+    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
757 753
       { echo "$as_me: error: invalid package name: $ac_package" >&2
758 754
    { (exit 1); exit 1; }; }
759
-    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
-    eval "with_$ac_package=no" ;;
755
+    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
756
+    eval with_$ac_package=no ;;
761 757
 
762 758
   --x)
763 759
     # Obsolete; use --with-x.
... ...
@@ -788,8 +1277,7 @@ Try \`$0 --help' for more information." >&2
788 788
     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789 789
       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 790
    { (exit 1); exit 1; }; }
791
-    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
-    eval "$ac_envvar='$ac_optarg'"
791
+    eval $ac_envvar=\$ac_optarg
793 792
     export $ac_envvar ;;
794 793
 
795 794
   *)
... ...
@@ -809,27 +1297,19 @@ if test -n "$ac_prev"; then
809 809
    { (exit 1); exit 1; }; }
810 810
 fi
811 811
 
812
-# Be sure to have absolute paths.
813
-for ac_var in exec_prefix prefix
812
+# Be sure to have absolute directory names.
813
+for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
814
+		datadir sysconfdir sharedstatedir localstatedir includedir \
815
+		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
816
+		libdir localedir mandir
814 817
 do
815
-  eval ac_val=$`echo $ac_var`
818
+  eval ac_val=\$$ac_var
816 819
   case $ac_val in
817
-    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
-   { (exit 1); exit 1; }; };;
820
-  esac
821
-done
822
-
823
-# Be sure to have absolute paths.
824
-for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
-	      localstatedir libdir includedir oldincludedir infodir mandir
826
-do
827
-  eval ac_val=$`echo $ac_var`
828
-  case $ac_val in
829
-    [\\/$]* | ?:[\\/]* ) ;;
830
-    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
-   { (exit 1); exit 1; }; };;
820
+    [\\/$]* | ?:[\\/]* )  continue;;
821
+    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
832 822
   esac
823
+  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
824
+   { (exit 1); exit 1; }; }
833 825
 done
834 826
 
835 827
 # There might be people who depend on the old broken behavior: `$host'
... ...
@@ -856,94 +1336,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
856 856
 test "$silent" = yes && exec 6>/dev/null
857 857
 
858 858
 
859
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
860
+ac_ls_di=`ls -di .` &&
861
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
862
+  { echo "$as_me: error: Working directory cannot be determined" >&2
863
+   { (exit 1); exit 1; }; }
864
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
865
+  { echo "$as_me: error: pwd does not report name of working directory" >&2
866
+   { (exit 1); exit 1; }; }
867
+
868
+
859 869
 # Find the source files, if location was not specified.
860 870
 if test -z "$srcdir"; then
861 871
   ac_srcdir_defaulted=yes
862
-  # Try the directory containing this script, then its parent.
863
-  ac_confdir=`(dirname "$0") 2>/dev/null ||
872
+  # Try the directory containing this script, then the parent directory.
873
+  ac_confdir=`$as_dirname -- "$0" ||
864 874
 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 875
 	 X"$0" : 'X\(//\)[^/]' \| \
866 876
 	 X"$0" : 'X\(//\)$' \| \
867
-	 X"$0" : 'X\(/\)' \| \
868
-	 .     : '\(.\)' 2>/dev/null ||
877
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
869 878
 echo X"$0" |
870
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
873
-  	  /^X\(\/\).*/{ s//\1/; q; }
874
-  	  s/.*/./; q'`
879
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
880
+	    s//\1/
881
+	    q
882
+	  }
883
+	  /^X\(\/\/\)[^/].*/{
884
+	    s//\1/
885
+	    q
886
+	  }
887
+	  /^X\(\/\/\)$/{
888
+	    s//\1/
889
+	    q
890
+	  }
891
+	  /^X\(\/\).*/{
892
+	    s//\1/
893
+	    q
894
+	  }
895
+	  s/.*/./; q'`
875 896
   srcdir=$ac_confdir
876
-  if test ! -r $srcdir/$ac_unique_file; then
897
+  if test ! -r "$srcdir/$ac_unique_file"; then
877 898
     srcdir=..
878 899
   fi
879 900
 else
880 901
   ac_srcdir_defaulted=no
881 902
 fi
882
-if test ! -r $srcdir/$ac_unique_file; then
883
-  if test "$ac_srcdir_defaulted" = yes; then
884
-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
903
+if test ! -r "$srcdir/$ac_unique_file"; then
904
+  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
905
+  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
885 906
    { (exit 1); exit 1; }; }
886
-  else
887
-    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
-   { (exit 1); exit 1; }; }
889
-  fi
890 907
 fi
891
-(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
-  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
908
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
909
+ac_abs_confdir=`(
910
+	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
893 911
    { (exit 1); exit 1; }; }
894
-srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
-ac_env_build_alias_set=${build_alias+set}
896
-ac_env_build_alias_value=$build_alias
897
-ac_cv_env_build_alias_set=${build_alias+set}
898
-ac_cv_env_build_alias_value=$build_alias
899
-ac_env_host_alias_set=${host_alias+set}
900
-ac_env_host_alias_value=$host_alias
901
-ac_cv_env_host_alias_set=${host_alias+set}
902
-ac_cv_env_host_alias_value=$host_alias
903
-ac_env_target_alias_set=${target_alias+set}
904
-ac_env_target_alias_value=$target_alias
905
-ac_cv_env_target_alias_set=${target_alias+set}
906
-ac_cv_env_target_alias_value=$target_alias
907
-ac_env_CC_set=${CC+set}
908
-ac_env_CC_value=$CC
909
-ac_cv_env_CC_set=${CC+set}
910
-ac_cv_env_CC_value=$CC
911
-ac_env_CFLAGS_set=${CFLAGS+set}
912
-ac_env_CFLAGS_value=$CFLAGS
913
-ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
-ac_cv_env_CFLAGS_value=$CFLAGS
915
-ac_env_LDFLAGS_set=${LDFLAGS+set}
916
-ac_env_LDFLAGS_value=$LDFLAGS
917
-ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
-ac_cv_env_LDFLAGS_value=$LDFLAGS
919
-ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
-ac_env_CPPFLAGS_value=$CPPFLAGS
921
-ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
-ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
-ac_env_CPP_set=${CPP+set}
924
-ac_env_CPP_value=$CPP
925
-ac_cv_env_CPP_set=${CPP+set}
926
-ac_cv_env_CPP_value=$CPP
927
-ac_env_CXX_set=${CXX+set}
928
-ac_env_CXX_value=$CXX
929
-ac_cv_env_CXX_set=${CXX+set}
930
-ac_cv_env_CXX_value=$CXX
931
-ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932
-ac_env_CXXFLAGS_value=$CXXFLAGS
933
-ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934
-ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935
-ac_env_CXXCPP_set=${CXXCPP+set}
936
-ac_env_CXXCPP_value=$CXXCPP
937
-ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
-ac_cv_env_CXXCPP_value=$CXXCPP
939
-ac_env_F77_set=${F77+set}
940
-ac_env_F77_value=$F77
941
-ac_cv_env_F77_set=${F77+set}
942
-ac_cv_env_F77_value=$F77
943
-ac_env_FFLAGS_set=${FFLAGS+set}
944
-ac_env_FFLAGS_value=$FFLAGS
945
-ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
-ac_cv_env_FFLAGS_value=$FFLAGS
912
+	pwd)`
913
+# When building in place, set srcdir=.
914
+if test "$ac_abs_confdir" = "$ac_pwd"; then
915
+  srcdir=.
916
+fi
917
+# Remove unnecessary trailing slashes from srcdir.
918
+# Double slashes in file names in object file debugging info
919
+# mess up M-x gdb in Emacs.
920
+case $srcdir in
921
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
922
+esac
923
+for ac_var in $ac_precious_vars; do
924
+  eval ac_env_${ac_var}_set=\${${ac_var}+set}
925
+  eval ac_env_${ac_var}_value=\$${ac_var}
926
+  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
927
+  eval ac_cv_env_${ac_var}_value=\$${ac_var}
928
+done
947 929
 
948 930
 #
949 931
 # Report the --help message.
... ...
@@ -972,9 +1434,6 @@ Configuration:
972 972
   -n, --no-create         do not create output files
973 973
       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
974 974
 
975
-_ACEOF
976
-
977
-  cat <<_ACEOF
978 975
 Installation directories:
979 976
   --prefix=PREFIX         install architecture-independent files in PREFIX
980 977
 			  [$ac_default_prefix]
... ...
@@ -992,15 +1451,22 @@ Fine tuning of the installation directories:
992 992
   --bindir=DIR           user executables [EPREFIX/bin]
993 993
   --sbindir=DIR          system admin executables [EPREFIX/sbin]
994 994
   --libexecdir=DIR       program executables [EPREFIX/libexec]
995
-  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
996 995
   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
997 996
   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
998 997
   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
999 998
   --libdir=DIR           object code libraries [EPREFIX/lib]
1000 999
   --includedir=DIR       C header files [PREFIX/include]
1001 1000
   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1002
-  --infodir=DIR          info documentation [PREFIX/info]
1003
-  --mandir=DIR           man documentation [PREFIX/man]
1001
+  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1002
+  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1003
+  --infodir=DIR          info documentation [DATAROOTDIR/info]
1004
+  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1005
+  --mandir=DIR           man documentation [DATAROOTDIR/man]
1006
+  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1007
+  --htmldir=DIR          html documentation [DOCDIR]
1008
+  --dvidir=DIR           dvi documentation [DOCDIR]
1009
+  --pdfdir=DIR           pdf documentation [DOCDIR]
1010
+  --psdir=DIR            ps documentation [DOCDIR]
1004 1011
 _ACEOF
1005 1012
 
1006 1013
   cat <<\_ACEOF
... ...
@@ -1026,15 +1492,14 @@ Optional Features:
1026 1026
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1027 1027
   --disable-dependency-tracking  speeds up one-time build
1028 1028
   --enable-dependency-tracking   do not reject slow dependency extractors
1029
-  --enable-shared[=PKGS]
1030
-                          build shared libraries [default=yes]
1031
-  --enable-static[=PKGS]
1032
-                          build static libraries [default=yes]
1029
+  --enable-shared[=PKGS]  build shared libraries [default=yes]
1030
+  --enable-static[=PKGS]  build static libraries [default=yes]
1033 1031
   --enable-fast-install[=PKGS]
1034 1032
                           optimize for fast installation [default=yes]
1035 1033
   --disable-libtool-lock  avoid locking (might break parallel builds)
1036 1034
   --disable-gcc-vcheck	  do not check for buggy gcc version
1037 1035
   --enable-experimental	enable experimental code
1036
+  --enable-unrar	build and link with libclamunrar (check the licence!)
1038 1037
   --enable-maintainer-mode enable make rules and dependencies not useful
1039 1038
                           (and sometimes confusing) to the casual installer
1040 1039
   --disable-zlib-vcheck	  do not check for buggy zlib version
... ...
@@ -1062,8 +1527,7 @@ Optional Packages:
1062 1062
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1063 1063
   --with-pic              try to use only PIC/non-PIC objects [default=use
1064 1064
                           both]
1065
-  --with-tags[=TAGS]
1066
-                          include additional configurations [automatic]
1065
+  --with-tags[=TAGS]      include additional configurations [automatic]
1067 1066
   --with-zlib=DIR	  path to directory containing zlib library (default=
1068 1067
 			  /usr/local or /usr if not found in /usr/local)
1069 1068
   --with-sendmail=PATH    specify location of Sendmail binary (default=auto find)
... ...
@@ -1077,8 +1541,9 @@ Some influential environment variables:
1077 1077
   CFLAGS      C compiler flags
1078 1078
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1079 1079
               nonstandard directory <lib dir>
1080
-  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081
-              headers in a nonstandard directory <include dir>
1080
+  LIBS        libraries to pass to the linker, e.g. -l<library>
1081
+  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1082
+              you have headers in a nonstandard directory <include dir>
1082 1083
   CPP         C preprocessor
1083 1084
   CXX         C++ compiler command
1084 1085
   CXXFLAGS    C++ compiler flags
... ...
@@ -1090,118 +1555,86 @@ Use these variables to override the choices made by `configure' or to help
1090 1090
 it to find libraries and programs with nonstandard names/locations.
1091 1091
 
1092 1092
 _ACEOF
1093
+ac_status=$?
1093 1094
 fi
1094 1095
 
1095 1096
 if test "$ac_init_help" = "recursive"; then
1096 1097
   # If there are subdirs, report their specific --help.
1097
-  ac_popdir=`pwd`
1098 1098
   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1099
-    test -d $ac_dir || continue
1099
+    test -d "$ac_dir" || continue
1100 1100
     ac_builddir=.
1101 1101
 
1102
-if test "$ac_dir" != .; then
1102
+case "$ac_dir" in
1103
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1104
+*)
1103 1105
   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104
-  # A "../" for each directory in $ac_dir_suffix.
1105
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106
-else
1107
-  ac_dir_suffix= ac_top_builddir=
1108
-fi
1106
+  # A ".." for each directory in $ac_dir_suffix.
1107
+  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1108
+  case $ac_top_builddir_sub in
1109
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1110
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1111
+  esac ;;
1112
+esac
1113
+ac_abs_top_builddir=$ac_pwd
1114
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1115
+# for backward compatibility:
1116
+ac_top_builddir=$ac_top_build_prefix
1109 1117
 
1110 1118
 case $srcdir in
1111
-  .)  # No --srcdir option.  We are building in place.
1119
+  .)  # We are building in place.
1112 1120
     ac_srcdir=.
1113
-    if test -z "$ac_top_builddir"; then
1114
-       ac_top_srcdir=.
1115
-    else
1116
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1117
-    fi ;;
1118
-  [\\/]* | ?:[\\/]* )  # Absolute path.
1121
+    ac_top_srcdir=$ac_top_builddir_sub
1122
+    ac_abs_top_srcdir=$ac_pwd ;;
1123
+  [\\/]* | ?:[\\/]* )  # Absolute name.
1119 1124
     ac_srcdir=$srcdir$ac_dir_suffix;
1120
-    ac_top_srcdir=$srcdir ;;
1121
-  *) # Relative path.
1122
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1123
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1125
+    ac_top_srcdir=$srcdir
1126
+    ac_abs_top_srcdir=$srcdir ;;
1127
+  *) # Relative name.
1128
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1129
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
1130
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1124 1131
 esac
1125
-
1126
-# Do not use `cd foo && pwd` to compute absolute paths, because
1127
-# the directories may not exist.
1128
-case `pwd` in
1129
-.) ac_abs_builddir="$ac_dir";;
1130
-*)
1131
-  case "$ac_dir" in
1132
-  .) ac_abs_builddir=`pwd`;;
1133
-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1134
-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1135
-  esac;;
1136
-esac
1137
-case $ac_abs_builddir in
1138
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
1139
-*)
1140
-  case ${ac_top_builddir}. in
1141
-  .) ac_abs_top_builddir=$ac_abs_builddir;;
1142
-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1143
-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1144
-  esac;;
1145
-esac
1146
-case $ac_abs_builddir in
1147
-.) ac_abs_srcdir=$ac_srcdir;;
1148
-*)
1149
-  case $ac_srcdir in
1150
-  .) ac_abs_srcdir=$ac_abs_builddir;;
1151
-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1152
-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1153
-  esac;;
1154
-esac
1155
-case $ac_abs_builddir in
1156
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
1157
-*)
1158
-  case $ac_top_srcdir in
1159
-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1160
-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1161
-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1162
-  esac;;
1163
-esac
1164
-
1165
-    cd $ac_dir
1166
-    # Check for guested configure; otherwise get Cygnus style configure.
1167
-    if test -f $ac_srcdir/configure.gnu; then
1168
-      echo
1169
-      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1170
-    elif test -f $ac_srcdir/configure; then
1171
-      echo
1172
-      $SHELL $ac_srcdir/configure  --help=recursive
1173
-    elif test -f $ac_srcdir/configure.ac ||
1174
-	   test -f $ac_srcdir/configure.in; then
1175
-      echo
1176
-      $ac_configure --help
1132
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1133
+
1134
+    cd "$ac_dir" || { ac_status=$?; continue; }
1135
+    # Check for guested configure.
1136
+    if test -f "$ac_srcdir/configure.gnu"; then
1137
+      echo &&
1138
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1139
+    elif test -f "$ac_srcdir/configure"; then
1140
+      echo &&
1141
+      $SHELL "$ac_srcdir/configure" --help=recursive
1177 1142
     else
1178 1143
       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1179
-    fi
1180
-    cd $ac_popdir
1144
+    fi || ac_status=$?
1145
+    cd "$ac_pwd" || { ac_status=$?; break; }
1181 1146
   done
1182 1147
 fi
1183 1148
 
1184
-test -n "$ac_init_help" && exit 0
1149
+test -n "$ac_init_help" && exit $ac_status
1185 1150
 if $ac_init_version; then
1186 1151
   cat <<\_ACEOF
1152
+configure
1153
+generated by GNU Autoconf 2.61
1187 1154
 
1188
-Copyright (C) 2003 Free Software Foundation, Inc.
1155
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1156
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1189 1157
 This configure script is free software; the Free Software Foundation
1190 1158
 gives unlimited permission to copy, distribute and modify it.
1191 1159
 _ACEOF
1192
-  exit 0
1160
+  exit
1193 1161
 fi
1194
-exec 5>config.log
1195
-cat >&5 <<_ACEOF
1162
+cat >config.log <<_ACEOF
1196 1163
 This file contains any messages produced by compilers while
1197 1164
 running configure, to aid debugging if configure makes a mistake.
1198 1165
 
1199 1166
 It was created by $as_me, which was
1200
-generated by GNU Autoconf 2.59.  Invocation command line was
1167
+generated by GNU Autoconf 2.61.  Invocation command line was
1201 1168
 
1202 1169
   $ $0 $@
1203 1170
 
1204 1171
 _ACEOF
1172
+exec 5>>config.log
1205 1173
 {
1206 1174
 cat <<_ASUNAME
1207 1175
 ## --------- ##
... ...
@@ -1220,7 +1653,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown`
1220 1220
 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1221 1221
 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1222 1222
 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223
-hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1223
+/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1224 1224
 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1225 1225
 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1226 1226
 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
... ...
@@ -1234,6 +1667,7 @@ do
1234 1234
   test -z "$as_dir" && as_dir=.
1235 1235
   echo "PATH: $as_dir"
1236 1236
 done
1237
+IFS=$as_save_IFS
1237 1238
 
1238 1239
 } >&5
1239 1240
 
... ...
@@ -1255,7 +1689,6 @@ _ACEOF
1255 1255
 ac_configure_args=
1256 1256
 ac_configure_args0=
1257 1257
 ac_configure_args1=
1258
-ac_sep=
1259 1258
 ac_must_keep_next=false
1260 1259
 for ac_pass in 1 2
1261 1260
 do
... ...
@@ -1266,7 +1699,7 @@ do
1266 1266
     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 1267
     | -silent | --silent | --silen | --sile | --sil)
1268 1268
       continue ;;
1269
-    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1269
+    *\'*)
1270 1270
       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1271 1271
     esac
1272 1272
     case $ac_pass in
... ...
@@ -1288,9 +1721,7 @@ do
1288 1288
 	  -* ) ac_must_keep_next=true ;;
1289 1289
 	esac
1290 1290
       fi
1291
-      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1292
-      # Get rid of the leading space.
1293
-      ac_sep=" "
1291
+      ac_configure_args="$ac_configure_args '$ac_arg'"
1294 1292
       ;;
1295 1293
     esac
1296 1294
   done
... ...
@@ -1301,8 +1732,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_
1301 1301
 # When interrupted or exit'd, cleanup temporary files, and complete
1302 1302
 # config.log.  We remove comments because anyway the quotes in there
1303 1303
 # would cause problems or look ugly.
1304
-# WARNING: Be sure not to use single quotes in there, as some shells,
1305
-# such as our DU 5.0 friend, will then `close' the trap.
1304
+# WARNING: Use '\'' to represent an apostrophe within the trap.
1305
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1306 1306
 trap 'exit_status=$?
1307 1307
   # Save into config.log some information that might help in debugging.
1308 1308
   {
... ...
@@ -1315,20 +1746,34 @@ trap 'exit_status=$?
1315 1315
 _ASBOX
1316 1316
     echo
1317 1317
     # The following way of writing the cache mishandles newlines in values,
1318
-{
1318
+(
1319
+  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1320
+    eval ac_val=\$$ac_var
1321
+    case $ac_val in #(
1322
+    *${as_nl}*)
1323
+      case $ac_var in #(
1324
+      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1325
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1326
+      esac
1327
+      case $ac_var in #(
1328
+      _ | IFS | as_nl) ;; #(
1329
+      *) $as_unset $ac_var ;;
1330
+      esac ;;
1331
+    esac
1332
+  done
1319 1333
   (set) 2>&1 |
1320
-    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1321
-    *ac_space=\ *)
1334
+    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1335
+    *${as_nl}ac_space=\ *)
1322 1336
       sed -n \
1323
-	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324
-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1325
-      ;;
1337
+	"s/'\''/'\''\\\\'\'''\''/g;
1338
+	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1339
+      ;; #(
1326 1340
     *)
1327
-      sed -n \
1328
-	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1341
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1329 1342
       ;;
1330
-    esac;
1331
-}
1343
+    esac |
1344
+    sort
1345
+)
1332 1346
     echo
1333 1347
 
1334 1348
     cat <<\_ASBOX
... ...
@@ -1339,22 +1784,28 @@ _ASBOX
1339 1339
     echo
1340 1340
     for ac_var in $ac_subst_vars
1341 1341
     do
1342
-      eval ac_val=$`echo $ac_var`
1343
-      echo "$ac_var='"'"'$ac_val'"'"'"
1342
+      eval ac_val=\$$ac_var
1343
+      case $ac_val in
1344
+      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1345
+      esac
1346
+      echo "$ac_var='\''$ac_val'\''"
1344 1347
     done | sort
1345 1348
     echo
1346 1349
 
1347 1350
     if test -n "$ac_subst_files"; then
1348 1351
       cat <<\_ASBOX
1349
-## ------------- ##
1350
-## Output files. ##
1351
-## ------------- ##
1352
+## ------------------- ##
1353
+## File substitutions. ##
1354
+## ------------------- ##
1352 1355
 _ASBOX
1353 1356
       echo
1354 1357
       for ac_var in $ac_subst_files
1355 1358
       do
1356
-	eval ac_val=$`echo $ac_var`
1357
-	echo "$ac_var='"'"'$ac_val'"'"'"
1359
+	eval ac_val=\$$ac_var
1360
+	case $ac_val in
1361
+	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1362
+	esac
1363
+	echo "$ac_var='\''$ac_val'\''"
1358 1364
       done | sort
1359 1365
       echo
1360 1366
     fi
... ...
@@ -1366,26 +1817,24 @@ _ASBOX
1366 1366
 ## ----------- ##
1367 1367
 _ASBOX
1368 1368
       echo
1369
-      sed "/^$/d" confdefs.h | sort
1369
+      cat confdefs.h
1370 1370
       echo
1371 1371
     fi
1372 1372
     test "$ac_signal" != 0 &&
1373 1373
       echo "$as_me: caught signal $ac_signal"
1374 1374
     echo "$as_me: exit $exit_status"
1375 1375
   } >&5
1376
-  rm -f core *.core &&
1377
-  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1376
+  rm -f core *.core core.conftest.* &&
1377
+    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1378 1378
     exit $exit_status
1379
-     ' 0
1379
+' 0
1380 1380
 for ac_signal in 1 2 13 15; do
1381 1381
   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1382 1382
 done
1383 1383
 ac_signal=0
1384 1384
 
1385 1385
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1386
-rm -rf conftest* confdefs.h
1387
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1388
-echo >confdefs.h
1386
+rm -f -r conftest* confdefs.h
1389 1387
 
1390 1388
 # Predefined preprocessor variables.
1391 1389
 
... ...
@@ -1416,14 +1865,17 @@ _ACEOF
1416 1416
 
1417 1417
 # Let the site file select an alternate cache file if it wants to.
1418 1418
 # Prefer explicitly selected file to automatically selected ones.
1419
-if test -z "$CONFIG_SITE"; then
1420
-  if test "x$prefix" != xNONE; then
1421
-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1422
-  else
1423
-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1424
-  fi
1419
+if test -n "$CONFIG_SITE"; then
1420
+  set x "$CONFIG_SITE"
1421
+elif test "x$prefix" != xNONE; then
1422
+  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1423
+else
1424
+  set x "$ac_default_prefix/share/config.site" \
1425
+	"$ac_default_prefix/etc/config.site"
1425 1426
 fi
1426
-for ac_site_file in $CONFIG_SITE; do
1427
+shift
1428
+for ac_site_file
1429
+do
1427 1430
   if test -r "$ac_site_file"; then
1428 1431
     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429 1432
 echo "$as_me: loading site script $ac_site_file" >&6;}
... ...
@@ -1439,8 +1891,8 @@ if test -r "$cache_file"; then
1439 1439
     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440 1440
 echo "$as_me: loading cache $cache_file" >&6;}
1441 1441
     case $cache_file in
1442
-      [\\/]* | ?:[\\/]* ) . $cache_file;;
1443
-      *)                      . ./$cache_file;;
1442
+      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1443
+      *)                      . "./$cache_file";;
1444 1444
     esac
1445 1445
   fi
1446 1446
 else
... ...
@@ -1452,12 +1904,11 @@ fi
1452 1452
 # Check that the precious variables saved in the cache have kept the same
1453 1453
 # value.
1454 1454
 ac_cache_corrupted=false
1455
-for ac_var in `(set) 2>&1 |
1456
-	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1455
+for ac_var in $ac_precious_vars; do
1457 1456
   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1458 1457
   eval ac_new_set=\$ac_env_${ac_var}_set
1459
-  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1460
-  eval ac_new_val="\$ac_env_${ac_var}_value"
1458
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1459
+  eval ac_new_val=\$ac_env_${ac_var}_value
1461 1460
   case $ac_old_set,$ac_new_set in
1462 1461
     set,)
1463 1462
       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
... ...
@@ -1482,8 +1933,7 @@ echo "$as_me:   current value: $ac_new_val" >&2;}
1482 1482
   # Pass precious variables to config.status.
1483 1483
   if test "$ac_new_set" = set; then
1484 1484
     case $ac_new_val in
1485
-    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486
-      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1485
+    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 1486
     *) ac_arg=$ac_var=$ac_new_val ;;
1488 1487
     esac
1489 1488
     case " $ac_configure_args " in
... ...
@@ -1500,12 +1950,6 @@ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov
1500 1500
    { (exit 1); exit 1; }; }
1501 1501
 fi
1502 1502
 
1503
-ac_ext=c
1504
-ac_cpp='$CPP $CPPFLAGS'
1505
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
1508
-
1509 1503
 
1510 1504
 
1511 1505
 
... ...
@@ -1522,107 +1966,162 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1522 1522
 
1523 1523
 
1524 1524
 
1525
+ac_ext=c
1526
+ac_cpp='$CPP $CPPFLAGS'
1527
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1528
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1529
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
1525 1530
 
1526 1531
 
1527 1532
 ac_aux_dir=
1528
-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1529
-  if test -f $ac_dir/install-sh; then
1533
+for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1534
+  if test -f "$ac_dir/install-sh"; then
1530 1535
     ac_aux_dir=$ac_dir
1531 1536
     ac_install_sh="$ac_aux_dir/install-sh -c"
1532 1537
     break
1533
-  elif test -f $ac_dir/install.sh; then
1538
+  elif test -f "$ac_dir/install.sh"; then
1534 1539
     ac_aux_dir=$ac_dir
1535 1540
     ac_install_sh="$ac_aux_dir/install.sh -c"
1536 1541
     break
1537
-  elif test -f $ac_dir/shtool; then
1542
+  elif test -f "$ac_dir/shtool"; then
1538 1543
     ac_aux_dir=$ac_dir
1539 1544
     ac_install_sh="$ac_aux_dir/shtool install -c"
1540 1545
     break
1541 1546
   fi
1542 1547
 done
1543 1548
 if test -z "$ac_aux_dir"; then
1544
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1545
-echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1549
+  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1550
+echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1546 1551
    { (exit 1); exit 1; }; }
1547 1552
 fi
1548
-ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1549
-ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1550
-ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1553
+
1554
+# These three variables are undocumented and unsupported,
1555
+# and are intended to be withdrawn in a future Autoconf release.
1556
+# They can cause serious problems if a builder's source tree is in a directory
1557
+# whose full name contains unusual characters.
1558
+ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1559
+ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1560
+ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1561
+
1551 1562
 
1552 1563
 # Make sure we can run config.sub.
1553
-$ac_config_sub sun4 >/dev/null 2>&1 ||
1554
-  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1555
-echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1564
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1565
+  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1566
+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1556 1567
    { (exit 1); exit 1; }; }
1557 1568
 
1558
-echo "$as_me:$LINENO: checking build system type" >&5
1559
-echo $ECHO_N "checking build system type... $ECHO_C" >&6
1569
+{ echo "$as_me:$LINENO: checking build system type" >&5
1570
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1560 1571
 if test "${ac_cv_build+set}" = set; then
1561 1572
   echo $ECHO_N "(cached) $ECHO_C" >&6
1562 1573
 else
1563
-  ac_cv_build_alias=$build_alias
1564
-test -z "$ac_cv_build_alias" &&
1565
-  ac_cv_build_alias=`$ac_config_guess`
1566
-test -z "$ac_cv_build_alias" &&
1574
+  ac_build_alias=$build_alias
1575
+test "x$ac_build_alias" = x &&
1576
+  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1577
+test "x$ac_build_alias" = x &&
1567 1578
   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1568 1579
 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1569 1580
    { (exit 1); exit 1; }; }
1570
-ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1571
-  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1572
-echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1581
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1582
+  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1583
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1573 1584
    { (exit 1); exit 1; }; }
1574 1585
 
1575 1586
 fi
1576
-echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1577
-echo "${ECHO_T}$ac_cv_build" >&6
1587
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1588
+echo "${ECHO_T}$ac_cv_build" >&6; }
1589
+case $ac_cv_build in
1590
+*-*-*) ;;
1591
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1592
+echo "$as_me: error: invalid value of canonical build" >&2;}
1593
+   { (exit 1); exit 1; }; };;
1594
+esac
1578 1595
 build=$ac_cv_build
1579
-build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1580
-build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1581
-build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1582
-
1583
-
1584
-echo "$as_me:$LINENO: checking host system type" >&5
1585
-echo $ECHO_N "checking host system type... $ECHO_C" >&6
1596
+ac_save_IFS=$IFS; IFS='-'
1597
+set x $ac_cv_build
1598
+shift
1599
+build_cpu=$1
1600
+build_vendor=$2
1601
+shift; shift
1602
+# Remember, the first character of IFS is used to create $*,
1603
+# except with old shells:
1604
+build_os=$*
1605
+IFS=$ac_save_IFS
1606
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1607
+
1608
+
1609
+{ echo "$as_me:$LINENO: checking host system type" >&5
1610
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1586 1611
 if test "${ac_cv_host+set}" = set; then
1587 1612
   echo $ECHO_N "(cached) $ECHO_C" >&6
1588 1613
 else
1589
-  ac_cv_host_alias=$host_alias
1590
-test -z "$ac_cv_host_alias" &&
1591
-  ac_cv_host_alias=$ac_cv_build_alias
1592
-ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1593
-  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1594
-echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614
+  if test "x$host_alias" = x; then
1615
+  ac_cv_host=$ac_cv_build
1616
+else
1617
+  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1618
+    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1619
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1595 1620
    { (exit 1); exit 1; }; }
1621
+fi
1596 1622
 
1597 1623
 fi
1598
-echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1599
-echo "${ECHO_T}$ac_cv_host" >&6
1624
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1625
+echo "${ECHO_T}$ac_cv_host" >&6; }
1626
+case $ac_cv_host in
1627
+*-*-*) ;;
1628
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1629
+echo "$as_me: error: invalid value of canonical host" >&2;}
1630
+   { (exit 1); exit 1; }; };;
1631
+esac
1600 1632
 host=$ac_cv_host
1601
-host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1602
-host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1603
-host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604
-
1605
-
1606
-echo "$as_me:$LINENO: checking target system type" >&5
1607
-echo $ECHO_N "checking target system type... $ECHO_C" >&6
1633
+ac_save_IFS=$IFS; IFS='-'
1634
+set x $ac_cv_host
1635
+shift
1636
+host_cpu=$1
1637
+host_vendor=$2
1638
+shift; shift
1639
+# Remember, the first character of IFS is used to create $*,
1640
+# except with old shells:
1641
+host_os=$*
1642
+IFS=$ac_save_IFS
1643
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1644
+
1645
+
1646
+{ echo "$as_me:$LINENO: checking target system type" >&5
1647
+echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1608 1648
 if test "${ac_cv_target+set}" = set; then
1609 1649
   echo $ECHO_N "(cached) $ECHO_C" >&6
1610 1650
 else
1611
-  ac_cv_target_alias=$target_alias
1612
-test "x$ac_cv_target_alias" = "x" &&
1613
-  ac_cv_target_alias=$ac_cv_host_alias
1614
-ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1615
-  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1616
-echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1651
+  if test "x$target_alias" = x; then
1652
+  ac_cv_target=$ac_cv_host
1653
+else
1654
+  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1655
+    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1656
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1617 1657
    { (exit 1); exit 1; }; }
1658
+fi
1618 1659
 
1619 1660
 fi
1620
-echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1621
-echo "${ECHO_T}$ac_cv_target" >&6
1661
+{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1662
+echo "${ECHO_T}$ac_cv_target" >&6; }
1663
+case $ac_cv_target in
1664
+*-*-*) ;;
1665
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1666
+echo "$as_me: error: invalid value of canonical target" >&2;}
1667
+   { (exit 1); exit 1; }; };;
1668
+esac
1622 1669
 target=$ac_cv_target
1623
-target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1624
-target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1625
-target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1670
+ac_save_IFS=$IFS; IFS='-'
1671
+set x $ac_cv_target
1672
+shift
1673
+target_cpu=$1
1674
+target_vendor=$2
1675
+shift; shift
1676
+# Remember, the first character of IFS is used to create $*,
1677
+# except with old shells:
1678
+target_os=$*
1679
+IFS=$ac_save_IFS
1680
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1626 1681
 
1627 1682
 
1628 1683
 # The aliases save the names the user supplied, while $host etc.
... ...
@@ -1688,8 +2187,8 @@ target_cpu_arch0=`echo "$target_cpu_arch" | sed -e 'y:abcdefghijklmnopqrstuvwxyz
1688 1688
 #
1689 1689
 #
1690 1690
 if $ac_need_target_h_file_new ; then
1691
-echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5
1692
-echo "${ECHO_T}creating $ac_need_target_h_file - canonical system defines" >&6
1691
+{ echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5
1692
+echo "${ECHO_T}creating $ac_need_target_h_file - canonical system defines" >&6; }
1693 1693
 echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file
1694 1694
 echo /'*' on `date` '*'/ >>$ac_need_target_h_file
1695 1695
 ac_need_target_h_file_new=false
... ...
@@ -1762,8 +2261,8 @@ host_cpu_arch0=`echo "$host_cpu_arch" | sed -e 'y:abcdefghijklmnopqrstuvwxyz:ABC
1762 1762
 #
1763 1763
 #
1764 1764
 if $ac_need_target_h_file_new ; then
1765
-echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5
1766
-echo "${ECHO_T}creating $ac_need_target_h_file - canonical system defines" >&6
1765
+{ echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5
1766
+echo "${ECHO_T}creating $ac_need_target_h_file - canonical system defines" >&6; }
1767 1767
 echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file
1768 1768
 echo /'*' on `date` '*'/ >>$ac_need_target_h_file
1769 1769
 ac_need_target_h_file_new=false
... ...
@@ -1832,8 +2331,8 @@ am__api_version="1.9"
1832 1832
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1833 1833
 # OS/2's system install, which has a completely different semantic
1834 1834
 # ./install, which can be erroneously created by make from ./install.sh.
1835
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1836
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1835
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1836
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1837 1837
 if test -z "$INSTALL"; then
1838 1838
 if test "${ac_cv_path_install+set}" = set; then
1839 1839
   echo $ECHO_N "(cached) $ECHO_C" >&6
... ...
@@ -1855,7 +2354,7 @@ case $as_dir/ in
1855 1855
     # by default.
1856 1856
     for ac_prog in ginstall scoinst install; do
1857 1857
       for ac_exec_ext in '' $ac_executable_extensions; do
1858
-	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1858
+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1859 1859
 	  if test $ac_prog = install &&
1860 1860
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1861 1861
 	    # AIX install.  It has an incompatible calling convention.
... ...
@@ -1874,21 +2373,22 @@ case $as_dir/ in
1874 1874
     ;;
1875 1875
 esac
1876 1876
 done
1877
+IFS=$as_save_IFS
1877 1878
 
1878 1879
 
1879 1880
 fi
1880 1881
   if test "${ac_cv_path_install+set}" = set; then
1881 1882
     INSTALL=$ac_cv_path_install
1882 1883
   else
1883
-    # As a last resort, use the slow shell script.  We don't cache a
1884
-    # path for INSTALL within a source directory, because that will
1884
+    # As a last resort, use the slow shell script.  Don't cache a
1885
+    # value for INSTALL within a source directory, because that will
1885 1886
     # break other packages using the cache if that directory is
1886
-    # removed, or if the path is relative.
1887
+    # removed, or if the value is a relative name.
1887 1888
     INSTALL=$ac_install_sh
1888 1889
   fi
1889 1890
 fi
1890
-echo "$as_me:$LINENO: result: $INSTALL" >&5
1891
-echo "${ECHO_T}$INSTALL" >&6
1891
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1892
+echo "${ECHO_T}$INSTALL" >&6; }
1892 1893
 
1893 1894
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1894 1895
 # It thinks the first close brace ends the variable substitution.
... ...
@@ -1898,8 +2398,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1898 1898
 
1899 1899
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1900 1900
 
1901
-echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1902
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1901
+{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1902
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1903 1903
 # Just in case
1904 1904
 sleep 1
1905 1905
 echo timestamp > conftest.file
... ...
@@ -1941,20 +2441,20 @@ echo "$as_me: error: newly created file is older than distributed files!
1941 1941
 Check your system clock" >&2;}
1942 1942
    { (exit 1); exit 1; }; }
1943 1943
 fi
1944
-echo "$as_me:$LINENO: result: yes" >&5
1945
-echo "${ECHO_T}yes" >&6
1944
+{ echo "$as_me:$LINENO: result: yes" >&5
1945
+echo "${ECHO_T}yes" >&6; }
1946 1946
 test "$program_prefix" != NONE &&
1947
-  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1947
+  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1948 1948
 # Use a double $ so make ignores it.
1949 1949
 test "$program_suffix" != NONE &&
1950
-  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1950
+  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1951 1951
 # Double any \ or $.  echo might interpret backslashes.
1952 1952
 # By default was `s,x,x', remove it if useless.
1953 1953
 cat <<\_ACEOF >conftest.sed
1954 1954
 s/[\\$]/&&/g;s/;s,x,x,$//
1955 1955
 _ACEOF
1956 1956
 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1957
-rm conftest.sed
1957
+rm -f conftest.sed
1958 1958
 
1959 1959
 # expand $ac_aux_dir to an absolute path
1960 1960
 am_aux_dir=`cd $ac_aux_dir && pwd`
... ...
@@ -2006,8 +2506,8 @@ for ac_prog in gawk mawk nawk awk
2006 2006
 do
2007 2007
   # Extract the first word of "$ac_prog", so it can be a program name with args.
2008 2008
 set dummy $ac_prog; ac_word=$2
2009
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2010
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2009
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2010
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2011 2011
 if test "${ac_cv_prog_AWK+set}" = set; then
2012 2012
   echo $ECHO_N "(cached) $ECHO_C" >&6
2013 2013
 else
... ...
@@ -2020,54 +2520,57 @@ do
2020 2020
   IFS=$as_save_IFS
2021 2021
   test -z "$as_dir" && as_dir=.
2022 2022
   for ac_exec_ext in '' $ac_executable_extensions; do
2023
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2023
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2024 2024
     ac_cv_prog_AWK="$ac_prog"
2025 2025
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 2026
     break 2
2027 2027
   fi
2028 2028
 done
2029 2029
 done
2030
+IFS=$as_save_IFS
2030 2031
 
2031 2032
 fi
2032 2033
 fi
2033 2034
 AWK=$ac_cv_prog_AWK
2034 2035
 if test -n "$AWK"; then
2035
-  echo "$as_me:$LINENO: result: $AWK" >&5
2036
-echo "${ECHO_T}$AWK" >&6
2036
+  { echo "$as_me:$LINENO: result: $AWK" >&5
2037
+echo "${ECHO_T}$AWK" >&6; }
2037 2038
 else
2038
-  echo "$as_me:$LINENO: result: no" >&5
2039
-echo "${ECHO_T}no" >&6
2039
+  { echo "$as_me:$LINENO: result: no" >&5
2040
+echo "${ECHO_T}no" >&6; }
2040 2041
 fi
2041 2042
 
2043
+
2042 2044
   test -n "$AWK" && break
2043 2045
 done
2044 2046
 
2045
-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2046
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2047
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2048
-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2047
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2048
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2049
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2050
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2049 2051
   echo $ECHO_N "(cached) $ECHO_C" >&6
2050 2052
 else
2051 2053
   cat >conftest.make <<\_ACEOF
2054
+SHELL = /bin/sh
2052 2055
 all:
2053
-	@echo 'ac_maketemp="$(MAKE)"'
2056
+	@echo '@@@%%%=$(MAKE)=@@@%%%'
2054 2057
 _ACEOF
2055 2058
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2056
-eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2057
-if test -n "$ac_maketemp"; then
2058
-  eval ac_cv_prog_make_${ac_make}_set=yes
2059
-else
2060
-  eval ac_cv_prog_make_${ac_make}_set=no
2061
-fi
2059
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
2060
+  *@@@%%%=?*=@@@%%%*)
2061
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
2062
+  *)
2063
+    eval ac_cv_prog_make_${ac_make}_set=no;;
2064
+esac
2062 2065
 rm -f conftest.make
2063 2066
 fi
2064
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2065
-  echo "$as_me:$LINENO: result: yes" >&5
2066
-echo "${ECHO_T}yes" >&6
2067
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2068
+  { echo "$as_me:$LINENO: result: yes" >&5
2069
+echo "${ECHO_T}yes" >&6; }
2067 2070
   SET_MAKE=
2068 2071
 else
2069
-  echo "$as_me:$LINENO: result: no" >&5
2070
-echo "${ECHO_T}no" >&6
2072
+  { echo "$as_me:$LINENO: result: no" >&5
2073
+echo "${ECHO_T}no" >&6; }
2071 2074
   SET_MAKE="MAKE=${MAKE-make}"
2072 2075
 fi
2073 2076
 
... ...
@@ -2138,8 +2641,8 @@ if test "$cross_compiling" != no; then
2138 2138
   if test -n "$ac_tool_prefix"; then
2139 2139
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2140 2140
 set dummy ${ac_tool_prefix}strip; ac_word=$2
2141
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2142
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2141
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2142
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2143 2143
 if test "${ac_cv_prog_STRIP+set}" = set; then
2144 2144
   echo $ECHO_N "(cached) $ECHO_C" >&6
2145 2145
 else
... ...
@@ -2152,32 +2655,34 @@ do
2152 2152
   IFS=$as_save_IFS
2153 2153
   test -z "$as_dir" && as_dir=.
2154 2154
   for ac_exec_ext in '' $ac_executable_extensions; do
2155
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2155
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 2156
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2157 2157
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 2158
     break 2
2159 2159
   fi
2160 2160
 done
2161 2161
 done
2162
+IFS=$as_save_IFS
2162 2163
 
2163 2164
 fi
2164 2165
 fi
2165 2166
 STRIP=$ac_cv_prog_STRIP
2166 2167
 if test -n "$STRIP"; then
2167
-  echo "$as_me:$LINENO: result: $STRIP" >&5
2168
-echo "${ECHO_T}$STRIP" >&6
2168
+  { echo "$as_me:$LINENO: result: $STRIP" >&5
2169
+echo "${ECHO_T}$STRIP" >&6; }
2169 2170
 else
2170
-  echo "$as_me:$LINENO: result: no" >&5
2171
-echo "${ECHO_T}no" >&6
2171
+  { echo "$as_me:$LINENO: result: no" >&5
2172
+echo "${ECHO_T}no" >&6; }
2172 2173
 fi
2173 2174
 
2175
+
2174 2176
 fi
2175 2177
 if test -z "$ac_cv_prog_STRIP"; then
2176 2178
   ac_ct_STRIP=$STRIP
2177 2179
   # Extract the first word of "strip", so it can be a program name with args.
2178 2180
 set dummy strip; ac_word=$2
2179
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2180
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2181
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2182
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2181 2183
 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2182 2184
   echo $ECHO_N "(cached) $ECHO_C" >&6
2183 2185
 else
... ...
@@ -2190,27 +2695,41 @@ do
2190 2190
   IFS=$as_save_IFS
2191 2191
   test -z "$as_dir" && as_dir=.
2192 2192
   for ac_exec_ext in '' $ac_executable_extensions; do
2193
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 2194
     ac_cv_prog_ac_ct_STRIP="strip"
2195 2195
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 2196
     break 2
2197 2197
   fi
2198 2198
 done
2199 2199
 done
2200
+IFS=$as_save_IFS
2200 2201
 
2201
-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2202 2202
 fi
2203 2203
 fi
2204 2204
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2205 2205
 if test -n "$ac_ct_STRIP"; then
2206
-  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2207
-echo "${ECHO_T}$ac_ct_STRIP" >&6
2206
+  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2207
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2208 2208
 else
2209
-  echo "$as_me:$LINENO: result: no" >&5
2210
-echo "${ECHO_T}no" >&6
2209
+  { echo "$as_me:$LINENO: result: no" >&5
2210
+echo "${ECHO_T}no" >&6; }
2211 2211
 fi
2212 2212
 
2213
-  STRIP=$ac_ct_STRIP
2213
+  if test "x$ac_ct_STRIP" = x; then
2214
+    STRIP=":"
2215
+  else
2216
+    case $cross_compiling:$ac_tool_warned in
2217
+yes:)
2218
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2219
+whose name does not start with the host triplet.  If you think this
2220
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2221
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2222
+whose name does not start with the host triplet.  If you think this
2223
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2224
+ac_tool_warned=yes ;;
2225
+esac
2226
+    STRIP=$ac_ct_STRIP
2227
+  fi
2214 2228
 else
2215 2229
   STRIP="$ac_cv_prog_STRIP"
2216 2230
 fi
... ...
@@ -2230,7 +2749,7 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2230 2230
 
2231 2231
 
2232 2232
 
2233
-          ac_config_headers="$ac_config_headers clamav-config.h"
2233
+ac_config_headers="$ac_config_headers clamav-config.h"
2234 2234
 
2235 2235
 
2236 2236
 LC_CURRENT=3
... ...
@@ -2243,8 +2762,8 @@ for ac_prog in gawk mawk nawk awk
2243 2243
 do
2244 2244
   # Extract the first word of "$ac_prog", so it can be a program name with args.
2245 2245
 set dummy $ac_prog; ac_word=$2
2246
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2247
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2246
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2247
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2248 2248
 if test "${ac_cv_prog_AWK+set}" = set; then
2249 2249
   echo $ECHO_N "(cached) $ECHO_C" >&6
2250 2250
 else
... ...
@@ -2257,25 +2776,27 @@ do
2257 2257
   IFS=$as_save_IFS
2258 2258
   test -z "$as_dir" && as_dir=.
2259 2259
   for ac_exec_ext in '' $ac_executable_extensions; do
2260
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2260
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2261 2261
     ac_cv_prog_AWK="$ac_prog"
2262 2262
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 2263
     break 2
2264 2264
   fi
2265 2265
 done
2266 2266
 done
2267
+IFS=$as_save_IFS
2267 2268
 
2268 2269
 fi
2269 2270
 fi
2270 2271
 AWK=$ac_cv_prog_AWK
2271 2272
 if test -n "$AWK"; then
2272
-  echo "$as_me:$LINENO: result: $AWK" >&5
2273
-echo "${ECHO_T}$AWK" >&6
2273
+  { echo "$as_me:$LINENO: result: $AWK" >&5
2274
+echo "${ECHO_T}$AWK" >&6; }
2274 2275
 else
2275
-  echo "$as_me:$LINENO: result: no" >&5
2276
-echo "${ECHO_T}no" >&6
2276
+  { echo "$as_me:$LINENO: result: no" >&5
2277
+echo "${ECHO_T}no" >&6; }
2277 2278
 fi
2278 2279
 
2280
+
2279 2281
   test -n "$AWK" && break
2280 2282
 done
2281 2283
 
... ...
@@ -2287,8 +2808,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2287 2287
 if test -n "$ac_tool_prefix"; then
2288 2288
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2289 2289
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2290
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2291
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2290
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2291
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 2292
 if test "${ac_cv_prog_CC+set}" = set; then
2293 2293
   echo $ECHO_N "(cached) $ECHO_C" >&6
2294 2294
 else
... ...
@@ -2301,32 +2822,34 @@ do
2301 2301
   IFS=$as_save_IFS
2302 2302
   test -z "$as_dir" && as_dir=.
2303 2303
   for ac_exec_ext in '' $ac_executable_extensions; do
2304
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2304
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 2305
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2306 2306
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 2307
     break 2
2308 2308
   fi
2309 2309
 done
2310 2310
 done
2311
+IFS=$as_save_IFS
2311 2312
 
2312 2313
 fi
2313 2314
 fi
2314 2315
 CC=$ac_cv_prog_CC
2315 2316
 if test -n "$CC"; then
2316
-  echo "$as_me:$LINENO: result: $CC" >&5
2317
-echo "${ECHO_T}$CC" >&6
2317
+  { echo "$as_me:$LINENO: result: $CC" >&5
2318
+echo "${ECHO_T}$CC" >&6; }
2318 2319
 else
2319
-  echo "$as_me:$LINENO: result: no" >&5
2320
-echo "${ECHO_T}no" >&6
2320
+  { echo "$as_me:$LINENO: result: no" >&5
2321
+echo "${ECHO_T}no" >&6; }
2321 2322
 fi
2322 2323
 
2324
+
2323 2325
 fi
2324 2326
 if test -z "$ac_cv_prog_CC"; then
2325 2327
   ac_ct_CC=$CC
2326 2328
   # Extract the first word of "gcc", so it can be a program name with args.
2327 2329
 set dummy gcc; ac_word=$2
2328
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2329
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2330
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2331
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2330 2332
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2331 2333
   echo $ECHO_N "(cached) $ECHO_C" >&6
2332 2334
 else
... ...
@@ -2339,36 +2862,51 @@ do
2339 2339
   IFS=$as_save_IFS
2340 2340
   test -z "$as_dir" && as_dir=.
2341 2341
   for ac_exec_ext in '' $ac_executable_extensions; do
2342
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2342
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2343 2343
     ac_cv_prog_ac_ct_CC="gcc"
2344 2344
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 2345
     break 2
2346 2346
   fi
2347 2347
 done
2348 2348
 done
2349
+IFS=$as_save_IFS
2349 2350
 
2350 2351
 fi
2351 2352
 fi
2352 2353
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2353 2354
 if test -n "$ac_ct_CC"; then
2354
-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2355
-echo "${ECHO_T}$ac_ct_CC" >&6
2355
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2356
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2356 2357
 else
2357
-  echo "$as_me:$LINENO: result: no" >&5
2358
-echo "${ECHO_T}no" >&6
2358
+  { echo "$as_me:$LINENO: result: no" >&5
2359
+echo "${ECHO_T}no" >&6; }
2359 2360
 fi
2360 2361
 
2361
-  CC=$ac_ct_CC
2362
+  if test "x$ac_ct_CC" = x; then
2363
+    CC=""
2364
+  else
2365
+    case $cross_compiling:$ac_tool_warned in
2366
+yes:)
2367
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2368
+whose name does not start with the host triplet.  If you think this
2369
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2370
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2371
+whose name does not start with the host triplet.  If you think this
2372
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2373
+ac_tool_warned=yes ;;
2374
+esac
2375
+    CC=$ac_ct_CC
2376
+  fi
2362 2377
 else
2363 2378
   CC="$ac_cv_prog_CC"
2364 2379
 fi
2365 2380
 
2366 2381
 if test -z "$CC"; then
2367
-  if test -n "$ac_tool_prefix"; then
2368
-  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2382
+          if test -n "$ac_tool_prefix"; then
2383
+    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2369 2384
 set dummy ${ac_tool_prefix}cc; ac_word=$2
2370
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2371
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2385
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2386
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2372 2387
 if test "${ac_cv_prog_CC+set}" = set; then
2373 2388
   echo $ECHO_N "(cached) $ECHO_C" >&6
2374 2389
 else
... ...
@@ -2381,74 +2919,34 @@ do
2381 2381
   IFS=$as_save_IFS
2382 2382
   test -z "$as_dir" && as_dir=.
2383 2383
   for ac_exec_ext in '' $ac_executable_extensions; do
2384
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2384
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 2385
     ac_cv_prog_CC="${ac_tool_prefix}cc"
2386 2386
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 2387
     break 2
2388 2388
   fi
2389 2389
 done
2390 2390
 done
2391
+IFS=$as_save_IFS
2391 2392
 
2392 2393
 fi
2393 2394
 fi
2394 2395
 CC=$ac_cv_prog_CC
2395 2396
 if test -n "$CC"; then
2396
-  echo "$as_me:$LINENO: result: $CC" >&5
2397
-echo "${ECHO_T}$CC" >&6
2397
+  { echo "$as_me:$LINENO: result: $CC" >&5
2398
+echo "${ECHO_T}$CC" >&6; }
2398 2399
 else
2399
-  echo "$as_me:$LINENO: result: no" >&5
2400
-echo "${ECHO_T}no" >&6
2400
+  { echo "$as_me:$LINENO: result: no" >&5
2401
+echo "${ECHO_T}no" >&6; }
2401 2402
 fi
2402 2403
 
2403
-fi
2404
-if test -z "$ac_cv_prog_CC"; then
2405
-  ac_ct_CC=$CC
2406
-  # Extract the first word of "cc", so it can be a program name with args.
2407
-set dummy cc; ac_word=$2
2408
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2409
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2410
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2411
-  echo $ECHO_N "(cached) $ECHO_C" >&6
2412
-else
2413
-  if test -n "$ac_ct_CC"; then
2414
-  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2415
-else
2416
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417
-for as_dir in $PATH
2418
-do
2419
-  IFS=$as_save_IFS
2420
-  test -z "$as_dir" && as_dir=.
2421
-  for ac_exec_ext in '' $ac_executable_extensions; do
2422
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2423
-    ac_cv_prog_ac_ct_CC="cc"
2424
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425
-    break 2
2426
-  fi
2427
-done
2428
-done
2429
-
2430
-fi
2431
-fi
2432
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
2433
-if test -n "$ac_ct_CC"; then
2434
-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2435
-echo "${ECHO_T}$ac_ct_CC" >&6
2436
-else
2437
-  echo "$as_me:$LINENO: result: no" >&5
2438
-echo "${ECHO_T}no" >&6
2439
-fi
2440
-
2441
-  CC=$ac_ct_CC
2442
-else
2443
-  CC="$ac_cv_prog_CC"
2444
-fi
2445 2404
 
2405
+  fi
2446 2406
 fi
2447 2407
 if test -z "$CC"; then
2448 2408
   # Extract the first word of "cc", so it can be a program name with args.
2449 2409
 set dummy cc; ac_word=$2
2450
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2451
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2410
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2411
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 2412
 if test "${ac_cv_prog_CC+set}" = set; then
2453 2413
   echo $ECHO_N "(cached) $ECHO_C" >&6
2454 2414
 else
... ...
@@ -2462,7 +2960,7 @@ do
2462 2462
   IFS=$as_save_IFS
2463 2463
   test -z "$as_dir" && as_dir=.
2464 2464
   for ac_exec_ext in '' $ac_executable_extensions; do
2465
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2465
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 2466
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2467 2467
        ac_prog_rejected=yes
2468 2468
        continue
... ...
@@ -2473,6 +2971,7 @@ do
2473 2473
   fi
2474 2474
 done
2475 2475
 done
2476
+IFS=$as_save_IFS
2476 2477
 
2477 2478
 if test $ac_prog_rejected = yes; then
2478 2479
   # We found a bogon in the path, so make sure we never use it.
... ...
@@ -2490,22 +2989,23 @@ fi
2490 2490
 fi
2491 2491
 CC=$ac_cv_prog_CC
2492 2492
 if test -n "$CC"; then
2493
-  echo "$as_me:$LINENO: result: $CC" >&5
2494
-echo "${ECHO_T}$CC" >&6
2493
+  { echo "$as_me:$LINENO: result: $CC" >&5
2494
+echo "${ECHO_T}$CC" >&6; }
2495 2495
 else
2496
-  echo "$as_me:$LINENO: result: no" >&5
2497
-echo "${ECHO_T}no" >&6
2496
+  { echo "$as_me:$LINENO: result: no" >&5
2497
+echo "${ECHO_T}no" >&6; }
2498 2498
 fi
2499 2499
 
2500
+
2500 2501
 fi
2501 2502
 if test -z "$CC"; then
2502 2503
   if test -n "$ac_tool_prefix"; then
2503
-  for ac_prog in cl
2504
+  for ac_prog in cl.exe
2504 2505
   do
2505 2506
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2506 2507
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2507
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2508
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2508
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2509
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2509 2510
 if test "${ac_cv_prog_CC+set}" = set; then
2510 2511
   echo $ECHO_N "(cached) $ECHO_C" >&6
2511 2512
 else
... ...
@@ -2518,36 +3018,38 @@ do
2518 2518
   IFS=$as_save_IFS
2519 2519
   test -z "$as_dir" && as_dir=.
2520 2520
   for ac_exec_ext in '' $ac_executable_extensions; do
2521
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2521
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2522 2522
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2523 2523
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2524 2524
     break 2
2525 2525
   fi
2526 2526
 done
2527 2527
 done
2528
+IFS=$as_save_IFS
2528 2529
 
2529 2530
 fi
2530 2531
 fi
2531 2532
 CC=$ac_cv_prog_CC
2532 2533
 if test -n "$CC"; then
2533
-  echo "$as_me:$LINENO: result: $CC" >&5
2534
-echo "${ECHO_T}$CC" >&6
2534
+  { echo "$as_me:$LINENO: result: $CC" >&5
2535
+echo "${ECHO_T}$CC" >&6; }
2535 2536
 else
2536
-  echo "$as_me:$LINENO: result: no" >&5
2537
-echo "${ECHO_T}no" >&6
2537
+  { echo "$as_me:$LINENO: result: no" >&5
2538
+echo "${ECHO_T}no" >&6; }
2538 2539
 fi
2539 2540
 
2541
+
2540 2542
     test -n "$CC" && break
2541 2543
   done
2542 2544
 fi
2543 2545
 if test -z "$CC"; then
2544 2546
   ac_ct_CC=$CC
2545
-  for ac_prog in cl
2547
+  for ac_prog in cl.exe
2546 2548
 do
2547 2549
   # Extract the first word of "$ac_prog", so it can be a program name with args.
2548 2550
 set dummy $ac_prog; ac_word=$2
2549
-echo "$as_me:$LINENO: checking for $ac_word" >&5
2550
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2551
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2552
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2551 2553
 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2552 2554
   echo $ECHO_N "(cached) $ECHO_C" >&6
2553 2555
 else
... ...
@@ -2560,29 +3062,45 @@ do
2560 2560
   IFS=$as_save_IFS
2561 2561
   test -z "$as_dir" && as_dir=.
2562 2562
   for ac_exec_ext in '' $ac_executable_extensions; do
2563
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2563
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564 2564
     ac_cv_prog_ac_ct_CC="$ac_prog"
2565 2565
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 2566
     break 2
2567 2567
   fi
2568 2568
 done
2569 2569
 done
2570
+IFS=$as_save_IFS
2570 2571
 
2571 2572
 fi
2572 2573
 fi
2573 2574
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2574 2575
 if test -n "$ac_ct_CC"; then
2575
-  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2576
-echo "${ECHO_T}$ac_ct_CC" >&6
2576
+  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2577
+echo "${ECHO_T}$ac_ct_CC" >&6; }
2577 2578
 else
2578
-  echo "$as_me:$LINENO: result: no" >&5
2579
-echo "${ECHO_T}no" >&6
2579
+  { echo "$as_me:$LINENO: result: no" >&5
2580
+echo "${ECHO_T}no" >&6; }
2580 2581
 fi
2581 2582
 
2583
+
2582 2584
   test -n "$ac_ct_CC" && break
2583 2585
 done
2584 2586
 
2585
-  CC=$ac_ct_CC
2587
+  if test "x$ac_ct_CC" = x; then
2588
+    CC=""
2589
+  else
2590
+    case $cross_compiling:$ac_tool_warned in
2591
+yes:)
2592
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2593
+whose name does not start with the host triplet.  If you think this
2594
+configuration is useful to you, please write to autoconf@gnu.org." >&5
2595
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2596
+whose name does not start with the host triplet.  If you think this
2597
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2598
+ac_tool_warned=yes ;;
2599
+esac
2600
+    CC=$ac_ct_CC
2601
+  fi
2586 2602
 fi
2587 2603
 
2588 2604
 fi
... ...
@@ -2595,21 +3113,35 @@ See \`config.log' for more details." >&2;}
2595 2595
    { (exit 1); exit 1; }; }
2596 2596
 
2597 2597
 # Provide some information about the compiler.
2598
-echo "$as_me:$LINENO:" \
2599
-     "checking for C compiler version" >&5
2598
+echo "$as_me:$LINENO: checking for C compiler version" >&5
2600 2599
 ac_compiler=`set X $ac_compile; echo $2`
2601
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2602
-  (eval $ac_compiler --version </dev/null >&5) 2>&5
2600
+{ (ac_try="$ac_compiler --version >&5"
2601
+case "(($ac_try" in
2602
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603
+  *) ac_try_echo=$ac_try;;
2604
+esac
2605
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606
+  (eval "$ac_compiler --version >&5") 2>&5
2603 2607
   ac_status=$?
2604 2608
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 2609
   (exit $ac_status); }
2606
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2607
-  (eval $ac_compiler -v </dev/null >&5) 2>&5
2610
+{ (ac_try="$ac_compiler -v >&5"
2611
+case "(($ac_try" in
2612
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613
+  *) ac_try_echo=$ac_try;;
2614
+esac
2615
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2616
+  (eval "$ac_compiler -v >&5") 2>&5
2608 2617
   ac_status=$?
2609 2618
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 2619
   (exit $ac_status); }
2611
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2612
-  (eval $ac_compiler -V </dev/null >&5) 2>&5
2620
+{ (ac_try="$ac_compiler -V >&5"
2621
+case "(($ac_try" in
2622
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623
+  *) ac_try_echo=$ac_try;;
2624
+esac
2625
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2626
+  (eval "$ac_compiler -V >&5") 2>&5
2613 2627
   ac_status=$?
2614 2628
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 2629
   (exit $ac_status); }
... ...
@@ -2634,47 +3166,77 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out"
2634 2634
 # Try to create an executable without -o first, disregard a.out.
2635 2635
 # It will help us diagnose broken compilers, and finding out an intuition
2636 2636
 # of exeext.
2637
-echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2638
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2637
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2638
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2639 2639
 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2640
-if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2641
-  (eval $ac_link_default) 2>&5
2640
+#
2641
+# List of possible output files, starting from the most likely.
2642
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2643
+# only as a last resort.  b.out is created by i960 compilers.
2644
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2645
+#
2646
+# The IRIX 6 linker writes into existing files which may not be
2647
+# executable, retaining their permissions.  Remove them first so a
2648
+# subsequent execution test works.
2649
+ac_rmfiles=
2650
+for ac_file in $ac_files
2651
+do
2652
+  case $ac_file in
2653
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2654
+    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2655
+  esac
2656
+done
2657
+rm -f $ac_rmfiles
2658
+
2659
+if { (ac_try="$ac_link_default"
2660
+case "(($ac_try" in
2661
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662
+  *) ac_try_echo=$ac_try;;
2663
+esac
2664
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2665
+  (eval "$ac_link_default") 2>&5
2642 2666
   ac_status=$?
2643 2667
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 2668
   (exit $ac_status); }; then
2645
-  # Find the output, starting from the most likely.  This scheme is
2646
-# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2647
-# resort.
2648
-
2649
-# Be careful to initialize this variable, since it used to be cached.
2650
-# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2651
-ac_cv_exeext=
2652
-# b.out is created by i960 compilers.
2653
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2669
+  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2670
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2671
+# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2672
+# so that the user can short-circuit this test for compilers unknown to
2673
+# Autoconf.
2674
+for ac_file in $ac_files ''
2654 2675
 do
2655 2676
   test -f "$ac_file" || continue
2656 2677
   case $ac_file in
2657
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2658
-	;;
2659
-    conftest.$ac_ext )
2660
-	# This is the source file.
2678
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2661 2679
 	;;
2662 2680
     [ab].out )
2663 2681
 	# We found the default executable, but exeext='' is most
2664 2682
 	# certainly right.
2665 2683
 	break;;
2666 2684
     *.* )
2667
-	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2668
-	# FIXME: I believe we export ac_cv_exeext for Libtool,
2669
-	# but it would be cool to find out if it's true.  Does anybody
2670
-	# maintain Libtool? --akim.
2671
-	export ac_cv_exeext
2685
+        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2686
+	then :; else
2687
+	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2688
+	fi
2689
+	# We set ac_cv_exeext here because the later test for it is not
2690
+	# safe: cross compilers may not add the suffix if given an `-o'
2691
+	# argument, so we may need to know it at that point already.
2692
+	# Even if this section looks crufty: it has the advantage of
2693
+	# actually working.
2672 2694
 	break;;
2673 2695
     * )
2674 2696
 	break;;
2675 2697
   esac
2676 2698
 done
2699
+test "$ac_cv_exeext" = no && ac_cv_exeext=
2700
+
2677 2701
 else
2702
+  ac_file=''
2703
+fi
2704
+
2705
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
2706
+echo "${ECHO_T}$ac_file" >&6; }
2707
+if test -z "$ac_file"; then
2678 2708
   echo "$as_me: failed program was:" >&5
2679 2709
 sed 's/^/| /' conftest.$ac_ext >&5
2680 2710
 
... ...
@@ -2686,19 +3248,21 @@ See \`config.log' for more details." >&2;}
2686 2686
 fi
2687 2687
 
2688 2688
 ac_exeext=$ac_cv_exeext
2689
-echo "$as_me:$LINENO: result: $ac_file" >&5
2690
-echo "${ECHO_T}$ac_file" >&6
2691 2689
 
2692
-# Check the compiler produces executables we can run.  If not, either
2690
+# Check that the compiler produces executables we can run.  If not, either
2693 2691
 # the compiler is broken, or we cross compile.
2694
-echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2695
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2692
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2693
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2696 2694
 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2697 2695
 # If not cross compiling, check that we can run a simple program.
2698 2696
 if test "$cross_compiling" != yes; then
2699 2697
   if { ac_try='./$ac_file'
2700
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701
-  (eval $ac_try) 2>&5
2698
+  { (case "(($ac_try" in
2699
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700
+  *) ac_try_echo=$ac_try;;
2701
+esac
2702
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703
+  (eval "$ac_try") 2>&5
2702 2704
   ac_status=$?
2703 2705
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 2706
   (exit $ac_status); }; }; then
... ...
@@ -2717,22 +3281,27 @@ See \`config.log' for more details." >&2;}
2717 2717
     fi
2718 2718
   fi
2719 2719
 fi
2720
-echo "$as_me:$LINENO: result: yes" >&5
2721
-echo "${ECHO_T}yes" >&6
2720
+{ echo "$as_me:$LINENO: result: yes" >&5
2721
+echo "${ECHO_T}yes" >&6; }
2722 2722
 
2723 2723
 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2724 2724
 ac_clean_files=$ac_clean_files_save
2725
-# Check the compiler produces executables we can run.  If not, either
2725
+# Check that the compiler produces executables we can run.  If not, either
2726 2726
 # the compiler is broken, or we cross compile.
2727
-echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2728
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2729
-echo "$as_me:$LINENO: result: $cross_compiling" >&5
2730
-echo "${ECHO_T}$cross_compiling" >&6
2731
-
2732
-echo "$as_me:$LINENO: checking for suffix of executables" >&5
2733
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2734
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2735
-  (eval $ac_link) 2>&5
2727
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2728
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2729
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2730
+echo "${ECHO_T}$cross_compiling" >&6; }
2731
+
2732
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2733
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2734
+if { (ac_try="$ac_link"
2735
+case "(($ac_try" in
2736
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737
+  *) ac_try_echo=$ac_try;;
2738
+esac
2739
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740
+  (eval "$ac_link") 2>&5
2736 2741
   ac_status=$?
2737 2742
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 2743
   (exit $ac_status); }; then
... ...
@@ -2743,9 +3312,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2743 2743
 for ac_file in conftest.exe conftest conftest.*; do
2744 2744
   test -f "$ac_file" || continue
2745 2745
   case $ac_file in
2746
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2746
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2747 2747
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2748
-	  export ac_cv_exeext
2749 2748
 	  break;;
2750 2749
     * ) break;;
2751 2750
   esac
... ...
@@ -2759,14 +3327,14 @@ See \`config.log' for more details." >&2;}
2759 2759
 fi
2760 2760
 
2761 2761
 rm -f conftest$ac_cv_exeext
2762
-echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2763
-echo "${ECHO_T}$ac_cv_exeext" >&6
2762
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2763
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
2764 2764
 
2765 2765
 rm -f conftest.$ac_ext
2766 2766
 EXEEXT=$ac_cv_exeext
2767 2767
 ac_exeext=$EXEEXT
2768
-echo "$as_me:$LINENO: checking for suffix of object files" >&5
2769
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2768
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2769
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2770 2770
 if test "${ac_cv_objext+set}" = set; then
2771 2771
   echo $ECHO_N "(cached) $ECHO_C" >&6
2772 2772
 else
... ...
@@ -2786,14 +3354,20 @@ main ()
2786 2786
 }
2787 2787
 _ACEOF
2788 2788
 rm -f conftest.o conftest.obj
2789
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790
-  (eval $ac_compile) 2>&5
2789
+if { (ac_try="$ac_compile"
2790
+case "(($ac_try" in
2791
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792
+  *) ac_try_echo=$ac_try;;
2793
+esac
2794
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795
+  (eval "$ac_compile") 2>&5
2791 2796
   ac_status=$?
2792 2797
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 2798
   (exit $ac_status); }; then
2794
-  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2799
+  for ac_file in conftest.o conftest.obj conftest.*; do
2800
+  test -f "$ac_file" || continue;
2795 2801
   case $ac_file in
2796
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2802
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2797 2803
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2798 2804
        break;;
2799 2805
   esac
... ...
@@ -2811,12 +3385,12 @@ fi
2811 2811
 
2812 2812
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 2813
 fi
2814
-echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2815
-echo "${ECHO_T}$ac_cv_objext" >&6
2814
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2815
+echo "${ECHO_T}$ac_cv_objext" >&6; }
2816 2816
 OBJEXT=$ac_cv_objext
2817 2817
 ac_objext=$OBJEXT
2818
-echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2819
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2818
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2819
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2820 2820
 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2821 2821
   echo $ECHO_N "(cached) $ECHO_C" >&6
2822 2822
 else
... ...
@@ -2839,50 +3413,49 @@ main ()
2839 2839
 }
2840 2840
 _ACEOF
2841 2841
 rm -f conftest.$ac_objext
2842
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843
-  (eval $ac_compile) 2>conftest.er1
2842
+if { (ac_try="$ac_compile"
2843
+case "(($ac_try" in
2844
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845
+  *) ac_try_echo=$ac_try;;
2846
+esac
2847
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2848
+  (eval "$ac_compile") 2>conftest.er1
2844 2849
   ac_status=$?
2845 2850
   grep -v '^ *+' conftest.er1 >conftest.err
2846 2851
   rm -f conftest.er1
2847 2852
   cat conftest.err >&5
2848 2853
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849
-  (exit $ac_status); } &&
2850
-	 { ac_try='test -z "$ac_c_werror_flag"
2851
-			 || test ! -s conftest.err'
2852
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853
-  (eval $ac_try) 2>&5
2854
-  ac_status=$?
2855
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
-  (exit $ac_status); }; } &&
2857
-	 { ac_try='test -s conftest.$ac_objext'
2858
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859
-  (eval $ac_try) 2>&5
2860
-  ac_status=$?
2861
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862
-  (exit $ac_status); }; }; then
2854
+  (exit $ac_status); } && {
2855
+	 test -z "$ac_c_werror_flag" ||
2856
+	 test ! -s conftest.err
2857
+       } && test -s conftest.$ac_objext; then
2863 2858
   ac_compiler_gnu=yes
2864 2859
 else
2865 2860
   echo "$as_me: failed program was:" >&5
2866 2861
 sed 's/^/| /' conftest.$ac_ext >&5
2867 2862
 
2868
-ac_compiler_gnu=no
2863
+	ac_compiler_gnu=no
2869 2864
 fi
2870
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2865
+
2866
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 2867
 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2872 2868
 
2873 2869
 fi
2874
-echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2875
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2870
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2871
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2876 2872
 GCC=`test $ac_compiler_gnu = yes && echo yes`
2877 2873
 ac_test_CFLAGS=${CFLAGS+set}
2878 2874
 ac_save_CFLAGS=$CFLAGS
2879
-CFLAGS="-g"
2880
-echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2881
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2875
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2876
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2882 2877
 if test "${ac_cv_prog_cc_g+set}" = set; then
2883 2878
   echo $ECHO_N "(cached) $ECHO_C" >&6
2884 2879
 else
2885
-  cat >conftest.$ac_ext <<_ACEOF
2880
+  ac_save_c_werror_flag=$ac_c_werror_flag
2881
+   ac_c_werror_flag=yes
2882
+   ac_cv_prog_cc_g=no
2883
+   CFLAGS="-g"
2884
+   cat >conftest.$ac_ext <<_ACEOF
2886 2885
 /* confdefs.h.  */
2887 2886
 _ACEOF
2888 2887
 cat confdefs.h >>conftest.$ac_ext
... ...
@@ -2898,38 +3471,118 @@ main ()
2898 2898
 }
2899 2899
 _ACEOF
2900 2900
 rm -f conftest.$ac_objext
2901
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2902
-  (eval $ac_compile) 2>conftest.er1
2901
+if { (ac_try="$ac_compile"
2902
+case "(($ac_try" in
2903
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904
+  *) ac_try_echo=$ac_try;;
2905
+esac
2906
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2907
+  (eval "$ac_compile") 2>conftest.er1
2903 2908
   ac_status=$?
2904 2909
   grep -v '^ *+' conftest.er1 >conftest.err
2905 2910
   rm -f conftest.er1
2906 2911
   cat conftest.err >&5
2907 2912
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908
-  (exit $ac_status); } &&
2909
-	 { ac_try='test -z "$ac_c_werror_flag"
2910
-			 || test ! -s conftest.err'
2911
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912
-  (eval $ac_try) 2>&5
2913
+  (exit $ac_status); } && {
2914
+	 test -z "$ac_c_werror_flag" ||
2915
+	 test ! -s conftest.err
2916
+       } && test -s conftest.$ac_objext; then
2917
+  ac_cv_prog_cc_g=yes
2918
+else
2919
+  echo "$as_me: failed program was:" >&5
2920
+sed 's/^/| /' conftest.$ac_ext >&5
2921
+
2922
+	CFLAGS=""
2923
+      cat >conftest.$ac_ext <<_ACEOF
2924
+/* confdefs.h.  */
2925
+_ACEOF
2926
+cat confdefs.h >>conftest.$ac_ext
2927
+cat >>conftest.$ac_ext <<_ACEOF
2928
+/* end confdefs.h.  */
2929
+
2930
+int
2931
+main ()
2932
+{
2933
+
2934
+  ;
2935
+  return 0;
2936
+}
2937
+_ACEOF
2938
+rm -f conftest.$ac_objext
2939
+if { (ac_try="$ac_compile"
2940
+case "(($ac_try" in
2941
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942
+  *) ac_try_echo=$ac_try;;
2943
+esac
2944
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945
+  (eval "$ac_compile") 2>conftest.er1
2913 2946
   ac_status=$?
2947
+  grep -v '^ *+' conftest.er1 >conftest.err
2948
+  rm -f conftest.er1
2949
+  cat conftest.err >&5
2914 2950
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915
-  (exit $ac_status); }; } &&
2916
-	 { ac_try='test -s conftest.$ac_objext'
2917
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918
-  (eval $ac_try) 2>&5
2951
+  (exit $ac_status); } && {
2952
+	 test -z "$ac_c_werror_flag" ||
2953
+	 test ! -s conftest.err
2954
+       } && test -s conftest.$ac_objext; then
2955
+  :
2956
+else
2957
+  echo "$as_me: failed program was:" >&5
2958
+sed 's/^/| /' conftest.$ac_ext >&5
2959
+
2960
+	ac_c_werror_flag=$ac_save_c_werror_flag
2961
+	 CFLAGS="-g"
2962
+	 cat >conftest.$ac_ext <<_ACEOF
2963
+/* confdefs.h.  */
2964
+_ACEOF
2965
+cat confdefs.h >>conftest.$ac_ext
2966
+cat >>conftest.$ac_ext <<_ACEOF
2967
+/* end confdefs.h.  */
2968
+
2969
+int
2970
+main ()
2971
+{
2972
+
2973
+  ;
2974
+  return 0;
2975
+}
2976
+_ACEOF
2977
+rm -f conftest.$ac_objext
2978
+if { (ac_try="$ac_compile"
2979
+case "(($ac_try" in
2980
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981
+  *) ac_try_echo=$ac_try;;
2982
+esac
2983
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984
+  (eval "$ac_compile") 2>conftest.er1
2919 2985
   ac_status=$?
2986
+  grep -v '^ *+' conftest.er1 >conftest.err
2987
+  rm -f conftest.er1
2988
+  cat conftest.err >&5
2920 2989
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921
-  (exit $ac_status); }; }; then
2990
+  (exit $ac_status); } && {
2991
+	 test -z "$ac_c_werror_flag" ||
2992
+	 test ! -s conftest.err
2993
+       } && test -s conftest.$ac_objext; then
2922 2994
   ac_cv_prog_cc_g=yes
2923 2995
 else
2924 2996
   echo "$as_me: failed program was:" >&5
2925 2997
 sed 's/^/| /' conftest.$ac_ext >&5
2926 2998
 
2927
-ac_cv_prog_cc_g=no
2999
+
2928 3000
 fi
2929
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3001
+
3002
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003
+fi
3004
+
3005
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006
+fi
3007
+
3008
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3009
+   ac_c_werror_flag=$ac_save_c_werror_flag
2930 3010
 fi
2931
-echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2932
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3011
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3012
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2933 3013
 if test "$ac_test_CFLAGS" = set; then
2934 3014
   CFLAGS=$ac_save_CFLAGS
2935 3015
 elif test $ac_cv_prog_cc_g = yes; then
... ...
@@ -2945,12 +3598,12 @@ else
2945 2945
     CFLAGS=
2946 2946
   fi
2947 2947
 fi
2948
-echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2949
-echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2950
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
2948
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2949
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2950
+if test "${ac_cv_prog_cc_c89+set}" = set; then
2951 2951
   echo $ECHO_N "(cached) $ECHO_C" >&6
2952 2952
 else
2953
-  ac_cv_prog_cc_stdc=no
2953
+  ac_cv_prog_cc_c89=no
2954 2954
 ac_save_CC=$CC
2955 2955
 cat >conftest.$ac_ext <<_ACEOF
2956 2956
 /* confdefs.h.  */
... ...
@@ -2984,12 +3637,17 @@ static char *f (char * (*g) (char **, int), char **p, ...)
2984 2984
 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2985 2985
    function prototypes and stuff, but not '\xHH' hex character constants.
2986 2986
    These don't provoke an error unfortunately, instead are silently treated
2987
-   as 'x'.  The following induces an error, until -std1 is added to get
2987
+   as 'x'.  The following induces an error, until -std is added to get
2988 2988
    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2989 2989
    array size at least.  It's necessary to write '\x00'==0 to get something
2990
-   that's true only with -std1.  */
2990
+   that's true only with -std.  */
2991 2991
 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2992 2992
 
2993
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2994
+   inside strings and character constants.  */
2995
+#define FOO(x) 'x'
2996
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2997
+
2993 2998
 int test (int i, double x);
2994 2999
 struct s1 {int (*f) (int a);};
2995 3000
 struct s2 {int (*f) (double a);};
... ...
@@ -3004,205 +3662,57 @@ return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3004 3004
   return 0;
3005 3005
 }
3006 3006
 _ACEOF
3007
-# Don't try gcc -ansi; that turns off useful extensions and
3008
-# breaks some systems' header files.
3009
-# AIX			-qlanglvl=ansi
3010
-# Ultrix and OSF/1	-std1
3011
-# HP-UX 10.20 and later	-Ae
3012
-# HP-UX older versions	-Aa -D_HPUX_SOURCE
3013
-# SVR4			-Xc -D__EXTENSIONS__
3014
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3007
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3008
+	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3015 3009
 do
3016 3010
   CC="$ac_save_CC $ac_arg"
3017 3011
   rm -f conftest.$ac_objext
3018
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3019
-  (eval $ac_compile) 2>conftest.er1
3012
+if { (ac_try="$ac_compile"
3013
+case "(($ac_try" in
3014
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015
+  *) ac_try_echo=$ac_try;;
3016
+esac
3017
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3018
+  (eval "$ac_compile") 2>conftest.er1
3020 3019
   ac_status=$?
3021 3020
   grep -v '^ *+' conftest.er1 >conftest.err
3022 3021
   rm -f conftest.er1
3023 3022
   cat conftest.err >&5
3024 3023
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025
-  (exit $ac_status); } &&
3026
-	 { ac_try='test -z "$ac_c_werror_flag"
3027
-			 || test ! -s conftest.err'
3028
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3029
-  (eval $ac_try) 2>&5
3030
-  ac_status=$?
3031
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032
-  (exit $ac_status); }; } &&
3033
-	 { ac_try='test -s conftest.$ac_objext'
3034
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035
-  (eval $ac_try) 2>&5
3036
-  ac_status=$?
3037
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038
-  (exit $ac_status); }; }; then
3039
-  ac_cv_prog_cc_stdc=$ac_arg
3040
-break
3024
+  (exit $ac_status); } && {
3025
+	 test -z "$ac_c_werror_flag" ||
3026
+	 test ! -s conftest.err
3027
+       } && test -s conftest.$ac_objext; then
3028
+  ac_cv_prog_cc_c89=$ac_arg
3041 3029
 else
3042 3030
   echo "$as_me: failed program was:" >&5
3043 3031
 sed 's/^/| /' conftest.$ac_ext >&5
3044 3032
 
3033
+
3045 3034
 fi
3046
-rm -f conftest.err conftest.$ac_objext
3035
+
3036
+rm -f core conftest.err conftest.$ac_objext
3037
+  test "x$ac_cv_prog_cc_c89" != "xno" && break
3047 3038
 done
3048
-rm -f conftest.$ac_ext conftest.$ac_objext
3039
+rm -f conftest.$ac_ext
3049 3040
 CC=$ac_save_CC
3050 3041
 
3051 3042
 fi
3052
-
3053
-case "x$ac_cv_prog_cc_stdc" in
3054
-  x|xno)
3055
-    echo "$as_me:$LINENO: result: none needed" >&5
3056
-echo "${ECHO_T}none needed" >&6 ;;
3043
+# AC_CACHE_VAL
3044
+case "x$ac_cv_prog_cc_c89" in
3045
+  x)
3046
+    { echo "$as_me:$LINENO: result: none needed" >&5
3047
+echo "${ECHO_T}none needed" >&6; } ;;
3048
+  xno)
3049
+    { echo "$as_me:$LINENO: result: unsupported" >&5
3050
+echo "${ECHO_T}unsupported" >&6; } ;;
3057 3051
   *)
3058
-    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3059
-echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3060
-    CC="$CC $ac_cv_prog_cc_stdc" ;;
3052
+    CC="$CC $ac_cv_prog_cc_c89"
3053
+    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3054
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3061 3055
 esac
3062 3056
 
3063
-# Some people use a C++ compiler to compile C.  Since we use `exit',
3064
-# in C++ we need to declare it.  In case someone uses the same compiler
3065
-# for both compiling C and C++ we need to have the C++ compiler decide
3066
-# the declaration of exit, since it's the most demanding environment.
3067
-cat >conftest.$ac_ext <<_ACEOF
3068
-#ifndef __cplusplus
3069
-  choke me
3070
-#endif
3071
-_ACEOF
3072
-rm -f conftest.$ac_objext
3073
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074
-  (eval $ac_compile) 2>conftest.er1
3075
-  ac_status=$?
3076
-  grep -v '^ *+' conftest.er1 >conftest.err
3077
-  rm -f conftest.er1
3078
-  cat conftest.err >&5
3079
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080
-  (exit $ac_status); } &&
3081
-	 { ac_try='test -z "$ac_c_werror_flag"
3082
-			 || test ! -s conftest.err'
3083
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3084
-  (eval $ac_try) 2>&5
3085
-  ac_status=$?
3086
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087
-  (exit $ac_status); }; } &&
3088
-	 { ac_try='test -s conftest.$ac_objext'
3089
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090
-  (eval $ac_try) 2>&5
3091
-  ac_status=$?
3092
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093
-  (exit $ac_status); }; }; then
3094
-  for ac_declaration in \
3095
-   '' \
3096
-   'extern "C" void std::exit (int) throw (); using std::exit;' \
3097
-   'extern "C" void std::exit (int); using std::exit;' \
3098
-   'extern "C" void exit (int) throw ();' \
3099
-   'extern "C" void exit (int);' \
3100
-   'void exit (int);'
3101
-do
3102
-  cat >conftest.$ac_ext <<_ACEOF
3103
-/* confdefs.h.  */
3104
-_ACEOF
3105
-cat confdefs.h >>conftest.$ac_ext
3106
-cat >>conftest.$ac_ext <<_ACEOF
3107
-/* end confdefs.h.  */
3108
-$ac_declaration
3109
-#include <stdlib.h>
3110
-int
3111
-main ()
3112
-{
3113
-exit (42);
3114
-  ;
3115
-  return 0;
3116
-}
3117
-_ACEOF
3118
-rm -f conftest.$ac_objext
3119
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120
-  (eval $ac_compile) 2>conftest.er1
3121
-  ac_status=$?
3122
-  grep -v '^ *+' conftest.er1 >conftest.err
3123
-  rm -f conftest.er1
3124
-  cat conftest.err >&5
3125
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126
-  (exit $ac_status); } &&
3127
-	 { ac_try='test -z "$ac_c_werror_flag"
3128
-			 || test ! -s conftest.err'
3129
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130
-  (eval $ac_try) 2>&5
3131
-  ac_status=$?
3132
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133
-  (exit $ac_status); }; } &&
3134
-	 { ac_try='test -s conftest.$ac_objext'
3135
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136
-  (eval $ac_try) 2>&5
3137
-  ac_status=$?
3138
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139
-  (exit $ac_status); }; }; then
3140
-  :
3141
-else
3142
-  echo "$as_me: failed program was:" >&5
3143
-sed 's/^/| /' conftest.$ac_ext >&5
3144 3057
 
3145
-continue
3146
-fi
3147
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3148
-  cat >conftest.$ac_ext <<_ACEOF
3149
-/* confdefs.h.  */
3150
-_ACEOF
3151
-cat confdefs.h >>conftest.$ac_ext
3152
-cat >>conftest.$ac_ext <<_ACEOF
3153
-/* end confdefs.h.  */
3154
-$ac_declaration
3155
-int
3156
-main ()
3157
-{
3158
-exit (42);
3159
-  ;
3160
-  return 0;
3161
-}
3162
-_ACEOF
3163
-rm -f conftest.$ac_objext
3164
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165
-  (eval $ac_compile) 2>conftest.er1
3166
-  ac_status=$?
3167
-  grep -v '^ *+' conftest.er1 >conftest.err
3168
-  rm -f conftest.er1
3169
-  cat conftest.err >&5
3170
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171
-  (exit $ac_status); } &&
3172
-	 { ac_try='test -z "$ac_c_werror_flag"
3173
-			 || test ! -s conftest.err'
3174
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175
-  (eval $ac_try) 2>&5
3176
-  ac_status=$?
3177
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178
-  (exit $ac_status); }; } &&
3179
-	 { ac_try='test -s conftest.$ac_objext'
3180
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181
-  (eval $ac_try) 2>&5
3182
-  ac_status=$?
3183
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184
-  (exit $ac_status); }; }; then
3185
-  break
3186
-else
3187
-  echo "$as_me: failed program was:" >&5
3188
-sed 's/^/| /' conftest.$ac_ext >&5
3189
-
3190
-fi
3191
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3192
-done
3193
-rm -f conftest*
3194
-if test -n "$ac_declaration"; then
3195
-  echo '#ifdef __cplusplus' >>confdefs.h
3196
-  echo $ac_declaration      >>confdefs.h
3197
-  echo '#endif'             >>confdefs.h
3198
-fi
3199
-
3200
-else
3201
-  echo "$as_me: failed program was:" >&5
3202
-sed 's/^/| /' conftest.$ac_ext >&5
3203
-
3204
-fi
3205
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 3058
 ac_ext=c
3207 3059
 ac_cpp='$CPP $CPPFLAGS'
3208 3060
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
... ...
@@ -3210,7 +3720,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
3210 3210
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211 3211
 DEPDIR="${am__leading_dot}deps"
3212 3212
 
3213
-          ac_config_commands="$ac_config_commands depfiles"
3213
+ac_config_commands="$ac_config_commands depfiles"
3214 3214
 
3215 3215
 
3216 3216
 am_make=${MAKE-make}
... ...
@@ -3220,8 +3730,8 @@ am__doit:
3220 3220
 .PHONY: am__doit
3221 3221
 END
3222 3222
 # If we don't find an include directive, just comment out the code.
3223
-echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3224
-echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3223
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3224
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3225 3225
 am__include="#"
3226 3226
 am__quote=
3227 3227
 _am_result=none
... ...
@@ -3248,15 +3758,15 @@ if test "$am__include" = "#"; then
3248 3248
 fi
3249 3249
 
3250 3250
 
3251
-echo "$as_me:$LINENO: result: $_am_result" >&5
3252
-echo "${ECHO_T}$_am_result" >&6
3251
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
3252
+echo "${ECHO_T}$_am_result" >&6; }
3253 3253
 rm -f confinc confmf
3254 3254
 
3255
-# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3255
+# Check whether --enable-dependency-tracking was given.
3256 3256
 if test "${enable_dependency_tracking+set}" = set; then
3257
-  enableval="$enable_dependency_tracking"
3257
+  enableval=$enable_dependency_tracking;
3258
+fi
3258 3259
 
3259
-fi;
3260 3260
 if test "x$enable_dependency_tracking" != xno; then
3261 3261
   am_depcomp="$ac_aux_dir/depcomp"
3262 3262
   AMDEPBACKSLASH='\'
... ...
@@ -3276,8 +3786,8 @@ fi
3276 3276
 
3277 3277
 depcc="$CC"   am_compiler_list=
3278 3278
 
3279
-echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3280
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3279
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3280
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3281 3281
 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3282 3282
   echo $ECHO_N "(cached) $ECHO_C" >&6
3283 3283
 else
... ...
@@ -3366,8 +3876,8 @@ else
3366 3366
 fi
3367 3367
 
3368 3368
 fi
3369
-echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3370
-echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3369
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3370
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3371 3371
 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3372 3372
 
3373 3373
 
... ...
@@ -3396,8 +3906,8 @@ fi
3396 3396
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3397 3397
 # OS/2's system install, which has a completely different semantic
3398 3398
 # ./install, which can be erroneously created by make from ./install.sh.
3399
-echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3400
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3399
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3400
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3401 3401
 if test -z "$INSTALL"; then
3402 3402
 if test "${ac_cv_path_install+set}" = set; then
3403 3403
   echo $ECHO_N "(cached) $ECHO_C" >&6
... ...
@@ -3419,7 +3929,7 @@ case $as_dir/ in
3419 3419
     # by default.
3420 3420
     for ac_prog in ginstall scoinst install; do
3421 3421
       for ac_exec_ext in '' $ac_executable_extensions; do
3422
-	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3422
+	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3423 3423
 	  if test $ac_prog = install &&
3424 3424
 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3425 3425
 	    # AIX install.  It has an incompatible calling convention.
... ...
@@ -3438,21 +3948,22 @@ case $as_dir/ in
3438 3438
     ;;
3439 3439
 esac
3440 3440
 done
3441
+IFS=$as_save_IFS
3441 3442
 
3442 3443
 
3443 3444
 fi
3444 3445
   if test "${ac_cv_path_install+set}" = set; then
3445 3446
     INSTALL=$ac_cv_path_install
3446 3447
   else
3447
-    # As a last resort, use the slow shell script.  We don't cache a
3448
-    # path for INSTALL within a source directory, because that will
3448
+    # As a last resort, use the slow shell script.  Don't cache a
3449
+    # value for INSTALL within a source directory, because that will
3449 3450
     # break other packages using the cache if that directory is
3450
-    # removed, or if the path is relative.
3451
+    # removed, or if the value is a relative name.
3451 3452
     INSTALL=$ac_install_sh
3452 3453
   fi
3453 3454
 fi
3454
-echo "$as_me:$LINENO: result: $INSTALL" >&5
3455
-echo "${ECHO_T}$INSTALL" >&6
3455
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3456
+echo "${ECHO_T}$INSTALL" >&6; }
3456 3457
 
3457 3458
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3458 3459
 # It thinks the first close brace ends the variable substitution.
... ...
@@ -3462,50 +3973,50 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3462 3462
 
3463 3463
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3464 3464
 
3465
-echo "$as_me:$LINENO: checking whether ln -s works" >&5
3466
-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3465
+{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3466
+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3467 3467
 LN_S=$as_ln_s
3468 3468
 if test "$LN_S" = "ln -s"; then
3469
-  echo "$as_me:$LINENO: result: yes" >&5
3470
-echo "${ECHO_T}yes" >&6
3469
+  { echo "$as_me:$LINENO: result: yes" >&5
3470
+echo "${ECHO_T}yes" >&6; }
3471 3471
 else
3472
-  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3473
-echo "${ECHO_T}no, using $LN_S" >&6
3472
+  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3473
+echo "${ECHO_T}no, using $LN_S" >&6; }
3474 3474
 fi
3475 3475
 
3476
-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3477
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3478
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3479
-if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3476
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3477
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3478
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3479
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3480 3480
   echo $ECHO_N "(cached) $ECHO_C" >&6
3481 3481
 else
3482 3482
   cat >conftest.make <<\_ACEOF
3483
+SHELL = /bin/sh
3483 3484
 all:
3484
-	@echo 'ac_maketemp="$(MAKE)"'
3485
+	@echo '@@@%%%=$(MAKE)=@@@%%%'
3485 3486
 _ACEOF
3486 3487
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3487
-eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3488
-if test -n "$ac_maketemp"; then
3489
-  eval ac_cv_prog_make_${ac_make}_set=yes
3490
-else
3491
-  eval ac_cv_prog_make_${ac_make}_set=no
3492
-fi
3488
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
3489
+  *@@@%%%=?*=@@@%%%*)
3490
+    eval ac_cv_prog_make_${ac_make}_set=yes;;
3491
+  *)
3492
+    eval ac_cv_prog_make_${ac_make}_set=no;;
3493
+esac
3493 3494
 rm -f conftest.make
3494 3495
 fi
3495
-if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3496
-  echo "$as_me:$LINENO: result: yes" >&5
3497
-echo "${ECHO_T}yes" >&6
3496
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3497
+  { echo "$as_me:$LINENO: result: yes" >&5
3498
+echo "${ECHO_T}yes" >&6; }
3498 3499
   SET_MAKE=
3499 3500
 else
3500
-  echo "$as_me:$LINENO: result: no" >&5
3501
-echo "${ECHO_T}no" >&6
3501
+  { echo "$as_me:$LINENO: result: no" >&5
3502
+echo "${ECHO_T}no" >&6; }
3502 3503
   SET_MAKE="MAKE=${MAKE-make}"
3503 3504
 fi
3504 3505
 
3505
-# Check whether --enable-shared or --disable-shared was given.
3506
+# Check whether --enable-shared was given.
3506 3507
 if test "${enable_shared+set}" = set; then
3507
-  enableval="$enable_shared"
3508
-  p=${PACKAGE-default}
3508
+  enableval=$enable_shared; p=${PACKAGE-default}
3509 3509
     case $enableval in
3510 3510
     yes) enable_shared=yes ;;
3511 3511
     no) enable_shared=no ;;
... ...
@@ -3524,12 +4035,12 @@ if test "${enable_shared+set}" = set; then
3524 3524
     esac
3525 3525
 else
3526 3526
   enable_shared=yes
3527
-fi;
3527
+fi
3528 3528
 
3529
-# Check whether --enable-static or --disable-static was given.
3529
+
3530
+# Check whether --enable-static was given.
3530 3531
 if test "${enable_static+set}" = set; then
3531
-  enableval="$enable_static"
3532
-  p=${PACKAGE-default}
3532
+  enableval=$enable_static; p=${PACKAGE-default}
3533 3533
     case $enableval in
3534 3534
     yes) enable_static=yes ;;
3535 3535
     no) enable_static=no ;;
... ...
@@ -3548,12 +4059,12 @@ if test "${enable_static+set}" = set; then
3548 3548
     esac
3549 3549
 else
3550 3550
   enable_static=yes
3551
-fi;
3551
+fi
3552 3552
 
3553
-# Check whether --enable-fast-install or --disable-fast-install was given.
3553
+
3554
+# Check whether --enable-fast-install was given.
3554 3555
 if test "${enable_fast_install+set}" = set; then
3555
-  enableval="$enable_fast_install"
3556
-  p=${PACKAGE-default}
3556
+  enableval=$enable_fast_install; p=${PACKAGE-default}
3557 3557
     case $enableval in
3558 3558
     yes) enable_fast_install=yes ;;
3559 3559
     no) enable_fast_install=no ;;
... ...
@@ -3572,10 +4083,11 @@ if test "${enable_fast_install+set}" = set; then
3572 3572
     esac
3573 3573
 else
3574 3574
   enable_fast_install=yes
3575
-fi;
3575
+fi
3576 3576
 
3577
-echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3578
-echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3577
+
3578
+{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3579
+echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3579 3580
 if test "${lt_cv_path_SED+set}" = set; then
3580 3581
   echo $ECHO_N "(cached) $ECHO_C" >&6
3581 3582
 else
... ...
@@ -3630,37 +4142,184 @@ fi
3630 3630
 
3631 3631
 SED=$lt_cv_path_SED
3632 3632
 
3633
-echo "$as_me:$LINENO: result: $SED" >&5
3634
-echo "${ECHO_T}$SED" >&6
3633
+{ echo "$as_me:$LINENO: result: $SED" >&5
3634
+echo "${ECHO_T}$SED" >&6; }
3635 3635
 
3636
-echo "$as_me:$LINENO: checking for egrep" >&5
3637
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3638
-if test "${ac_cv_prog_egrep+set}" = set; then
3636
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3637
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3638
+if test "${ac_cv_path_GREP+set}" = set; then
3639
+  echo $ECHO_N "(cached) $ECHO_C" >&6
3640
+else
3641
+  # Extract the first word of "grep ggrep" to use in msg output
3642
+if test -z "$GREP"; then
3643
+set dummy grep ggrep; ac_prog_name=$2
3644
+if test "${ac_cv_path_GREP+set}" = set; then
3639 3645
   echo $ECHO_N "(cached) $ECHO_C" >&6
3640 3646
 else
3641
-  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3642
-    then ac_cv_prog_egrep='grep -E'
3643
-    else ac_cv_prog_egrep='egrep'
3647
+  ac_path_GREP_found=false
3648
+# Loop through the user's path and test for each of PROGNAME-LIST
3649
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3651
+do
3652
+  IFS=$as_save_IFS
3653
+  test -z "$as_dir" && as_dir=.
3654
+  for ac_prog in grep ggrep; do
3655
+  for ac_exec_ext in '' $ac_executable_extensions; do
3656
+    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3657
+    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3658
+    # Check for GNU ac_path_GREP and select it if it is found.
3659
+  # Check for GNU $ac_path_GREP
3660
+case `"$ac_path_GREP" --version 2>&1` in
3661
+*GNU*)
3662
+  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3663
+*)
3664
+  ac_count=0
3665
+  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3666
+  while :
3667
+  do
3668
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
3669
+    mv "conftest.tmp" "conftest.in"
3670
+    cp "conftest.in" "conftest.nl"
3671
+    echo 'GREP' >> "conftest.nl"
3672
+    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3673
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3674
+    ac_count=`expr $ac_count + 1`
3675
+    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3676
+      # Best one so far, save it but keep looking for a better one
3677
+      ac_cv_path_GREP="$ac_path_GREP"
3678
+      ac_path_GREP_max=$ac_count
3644 3679
     fi
3680
+    # 10*(2^10) chars as input seems more than enough
3681
+    test $ac_count -gt 10 && break
3682
+  done
3683
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3684
+esac
3685
+
3686
+
3687
+    $ac_path_GREP_found && break 3
3688
+  done
3689
+done
3690
+
3691
+done
3692
+IFS=$as_save_IFS
3693
+
3694
+
3695
+fi
3696
+
3697
+GREP="$ac_cv_path_GREP"
3698
+if test -z "$GREP"; then
3699
+  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3700
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3701
+   { (exit 1); exit 1; }; }
3702
+fi
3703
+
3704
+else
3705
+  ac_cv_path_GREP=$GREP
3645 3706
 fi
3646
-echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3647
-echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3648
- EGREP=$ac_cv_prog_egrep
3649 3707
 
3650 3708
 
3709
+fi
3710
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3711
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3712
+ GREP="$ac_cv_path_GREP"
3713
+
3714
+
3715
+{ echo "$as_me:$LINENO: checking for egrep" >&5
3716
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3717
+if test "${ac_cv_path_EGREP+set}" = set; then
3718
+  echo $ECHO_N "(cached) $ECHO_C" >&6
3719
+else
3720
+  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3721
+   then ac_cv_path_EGREP="$GREP -E"
3722
+   else
3723
+     # Extract the first word of "egrep" to use in msg output
3724
+if test -z "$EGREP"; then
3725
+set dummy egrep; ac_prog_name=$2
3726
+if test "${ac_cv_path_EGREP+set}" = set; then
3727
+  echo $ECHO_N "(cached) $ECHO_C" >&6
3728
+else
3729
+  ac_path_EGREP_found=false
3730
+# Loop through the user's path and test for each of PROGNAME-LIST
3731
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3733
+do
3734
+  IFS=$as_save_IFS
3735
+  test -z "$as_dir" && as_dir=.
3736
+  for ac_prog in egrep; do
3737
+  for ac_exec_ext in '' $ac_executable_extensions; do
3738
+    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3739
+    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3740
+    # Check for GNU ac_path_EGREP and select it if it is found.
3741
+  # Check for GNU $ac_path_EGREP
3742
+case `"$ac_path_EGREP" --version 2>&1` in
3743
+*GNU*)
3744
+  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3745
+*)
3746
+  ac_count=0
3747
+  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3748
+  while :
3749
+  do
3750
+    cat "conftest.in" "conftest.in" >"conftest.tmp"
3751
+    mv "conftest.tmp" "conftest.in"
3752
+    cp "conftest.in" "conftest.nl"
3753
+    echo 'EGREP' >> "conftest.nl"
3754
+    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3755
+    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3756
+    ac_count=`expr $ac_count + 1`
3757
+    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3758
+      # Best one so far, save it but keep looking for a better one
3759
+      ac_cv_path_EGREP="$ac_path_EGREP"
3760
+      ac_path_EGREP_max=$ac_count
3761
+    fi
3762
+    # 10*(2^10) chars as input seems more than enough
3763
+    test $ac_count -gt 10 && break
3764
+  done
3765
+  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3766
+esac
3767
+
3768
+
3769
+    $ac_path_EGREP_found && break 3
3770
+  done
3771
+done
3772
+
3773
+done
3774
+IFS=$as_save_IFS
3651 3775
 
3652
-# Check whether --with-gnu-ld or --without-gnu-ld was given.
3776
+
3777
+fi
3778
+
3779
+EGREP="$ac_cv_path_EGREP"
3780
+if test -z "$EGREP"; then
3781
+  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3782
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3783
+   { (exit 1); exit 1; }; }
3784
+fi
3785
+
3786
+else
3787
+  ac_cv_path_EGREP=$EGREP
3788
+fi
3789
+
3790
+
3791
+   fi
3792
+fi
3793
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3794
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3795
+ EGREP="$ac_cv_path_EGREP"
3796
+
3797
+
3798
+
3799
+# Check whether --with-gnu-ld was given.
3653 3800
 if test "${with_gnu_ld+set}" = set; then
3654
-  withval="$with_gnu_ld"
3655
-  test "$withval" = no || with_gnu_ld=yes
3801
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3656 3802
 else
3657 3803
   with_gnu_ld=no
3658
-fi;
3804
+fi
3805
+
3659 3806
 ac_prog=ld
3660 3807
 if test "$GCC" = yes; then
3661 3808
   # Check if gcc -print-prog-name=ld gives a path.
3662
-  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3663
-echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3809
+  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3810
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3664 3811
   case $host in
3665 3812
   *-*-mingw*)
3666 3813
     # gcc leaves a trailing carriage return which upsets mingw
... ...
@@ -3689,11 +4348,11 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3689 3689
     ;;
3690 3690
   esac
3691 3691
 elif test "$with_gnu_ld" = yes; then
3692
-  echo "$as_me:$LINENO: checking for GNU ld" >&5
3693
-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3692
+  { echo "$as_me:$LINENO: checking for GNU ld" >&5
3693
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3694 3694
 else
3695
-  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3696
-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3695
+  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3696
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3697 3697
 fi
3698 3698
 if test "${lt_cv_path_LD+set}" = set; then
3699 3699
   echo $ECHO_N "(cached) $ECHO_C" >&6
... ...
@@ -3726,17 +4385,17 @@ fi
3726 3726
 
3727 3727
 LD="$lt_cv_path_LD"
3728 3728
 if test -n "$LD"; then
3729
-  echo "$as_me:$LINENO: result: $LD" >&5
3730
-echo "${ECHO_T}$LD" >&6
3729
+  { echo "$as_me:$LINENO: result: $LD" >&5
3730
+echo "${ECHO_T}$LD" >&6; }
3731 3731
 else
3732
-  echo "$as_me:$LINENO: result: no" >&5
3733
-echo "${ECHO_T}no" >&6
3732
+  { echo "$as_me:$LINENO: result: no" >&5
3733
+echo "${ECHO_T}no" >&6; }
3734 3734
 fi
3735 3735
 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3736 3736
 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3737 3737
    { (exit 1); exit 1; }; }
3738
-echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3739
-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3738
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3739
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3740 3740
 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3741 3741
   echo $ECHO_N "(cached) $ECHO_C" >&6
3742 3742
 else
... ...
@@ -3750,20 +4409,20 @@ case `$LD -v 2>&1 </dev/null` in
3750 3750
   ;;
3751 3751
 esac
3752 3752
 fi
3753
-echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3754
-echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3753
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3754
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3755 3755
 with_gnu_ld=$lt_cv_prog_gnu_ld
3756 3756
 
3757 3757
 
3758
-echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3759
-echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3758
+{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3759
+echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3760 3760
 if test "${lt_cv_ld_reload_flag+set}" = set; then
3761 3761
   echo $ECHO_N "(cached) $ECHO_C" >&6
3762 3762
 else
3763 3763
   lt_cv_ld_reload_flag='-r'
3764 3764
 fi
3765
-echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3766
-echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3765
+{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3766
+echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3767 3767
 reload_flag=$lt_cv_ld_reload_flag
3768 3768
 case $reload_flag in
3769 3769
 "" | " "*) ;;
... ...
@@ -3780,8 +4439,8 @@ case $host_os in
3780 3780
     ;;
3781 3781
 esac
3782 3782
 
3783
-echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3784
-echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3783
+{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3784
+echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3785 3785
 if test "${lt_cv_path_NM+set}" = set; then
3786 3786
   echo $ECHO_N "(cached) $ECHO_C" >&6
3787 3787
 else
... ...
@@ -3829,12 +4488,12 @@ else
3829 3829
   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3830 3830
 fi
3831 3831
 fi
3832
-echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3833
-echo "${ECHO_T}$lt_cv_path_NM" >&6
3832
+{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3833
+echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3834 3834
 NM="$lt_cv_path_NM"
3835 3835
 
3836
-echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3837
-echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3836
+{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3837
+echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
3838 3838
 if test "${lt_cv_deplibs_check_method+set}" = set; then
3839 3839
   echo $ECHO_N "(cached) $ECHO_C" >&6
3840 3840
 else
... ...
@@ -4009,8 +4668,8 @@ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4009 4009
 esac
4010 4010
 
4011 4011
 fi
4012
-echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4013
-echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4012
+{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4013
+echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4014 4014
 file_magic_cmd=$lt_cv_file_magic_cmd
4015 4015
 deplibs_check_method=$lt_cv_deplibs_check_method
4016 4016
 test -z "$deplibs_check_method" && deplibs_check_method=unknown
... ...
@@ -4028,11 +4687,11 @@ LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4028 4028
 compiler=$CC
4029 4029
 
4030 4030
 
4031
-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4031
+# Check whether --enable-libtool-lock was given.
4032 4032
 if test "${enable_libtool_lock+set}" = set; then
4033
-  enableval="$enable_libtool_lock"
4033
+  enableval=$enable_libtool_lock;
4034
+fi
4034 4035
 
4035
-fi;
4036 4036
 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4037 4037
 
4038 4038
 # Some flags need to be propagated to the compiler or linker for good
... ...
@@ -4059,7 +4718,7 @@ ia64-*-hpux*)
4059 4059
   ;;
4060 4060
 *-*-irix6*)
4061 4061
   # Find out which ABI we are using.
4062
-  echo '#line 4062 "configure"' > conftest.$ac_ext
4062
+  echo '#line 4721 "configure"' > conftest.$ac_ext
4063 4063
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4064 4064
   (eval $ac_compile) 2>&5
4065 4065
   ac_status=$?
... ...
@@ -4144,8 +4803,8 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4144 4144
   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4145 4145
   SAVE_CFLAGS="$CFLAGS"
4146 4146
   CFLAGS="$CFLAGS -belf"
4147
-  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4148
-echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4147
+  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4148
+echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4149 4149
 if test "${lt_cv_cc_needs_belf+set}" = set; then
4150 4150
   echo $ECHO_N "(cached) $ECHO_C" >&6
4151 4151
 else
... ...
@@ -4171,35 +4830,32 @@ main ()
4171 4171
 }
4172 4172
 _ACEOF
4173 4173
 rm -f conftest.$ac_objext conftest$ac_exeext
4174
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4175
-  (eval $ac_link) 2>conftest.er1
4174
+if { (ac_try="$ac_link"
4175
+case "(($ac_try" in
4176
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177
+  *) ac_try_echo=$ac_try;;
4178
+esac
4179
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4180
+  (eval "$ac_link") 2>conftest.er1
4176 4181
   ac_status=$?
4177 4182
   grep -v '^ *+' conftest.er1 >conftest.err
4178 4183
   rm -f conftest.er1
4179 4184
   cat conftest.err >&5
4180 4185
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181
-  (exit $ac_status); } &&
4182
-	 { ac_try='test -z "$ac_c_werror_flag"
4183
-			 || test ! -s conftest.err'
4184
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185
-  (eval $ac_try) 2>&5
4186
-  ac_status=$?
4187
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188
-  (exit $ac_status); }; } &&
4189
-	 { ac_try='test -s conftest$ac_exeext'
4190
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4191
-  (eval $ac_try) 2>&5
4192
-  ac_status=$?
4193
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194
-  (exit $ac_status); }; }; then
4186
+  (exit $ac_status); } && {
4187
+	 test -z "$ac_c_werror_flag" ||
4188
+	 test ! -s conftest.err
4189
+       } && test -s conftest$ac_exeext &&
4190
+       $as_test_x conftest$ac_exeext; then
4195 4191
   lt_cv_cc_needs_belf=yes
4196 4192
 else
4197 4193
   echo "$as_me: failed program was:" >&5
4198 4194
 sed 's/^/| /' conftest.$ac_ext >&5
4199 4195
 
4200
-lt_cv_cc_needs_belf=no
4196
+	lt_cv_cc_needs_belf=no
4201 4197
 fi
4202
-rm -f conftest.err conftest.$ac_objext \
4198
+
4199
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4203 4200
       conftest$ac_exeext conftest.$ac_ext
4204 4201
      ac_ext=c
4205 4202
 ac_cpp='$CPP $CPPFLAGS'
... ...
@@ -4208,8 +4864,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
4208 4208
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4209 4209
 
4210 4210
 fi
4211
-echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4212
-echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4211
+{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4212
+echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4213 4213
   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4214 4214
     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4215 4215
     CFLAGS="$SAVE_CFLAGS"
... ...
@@ -4246,8 +4902,8 @@ ac_cpp='$CPP $CPPFLAGS'
4246 4246
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 4247
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 4248
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4249
-echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4250
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4249
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4250
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4251 4251
 # On Suns, sometimes $CPP names a directory.
4252 4252
 if test -n "$CPP" && test -d "$CPP"; then
4253 4253
   CPP=
... ...
@@ -4281,24 +4937,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4281 4281
 #endif
4282 4282
 		     Syntax error
4283 4283
 _ACEOF
4284
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4285
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4284
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4285
+case "(($ac_try" in
4286
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287
+  *) ac_try_echo=$ac_try;;
4288
+esac
4289
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4286 4291
   ac_status=$?
4287 4292
   grep -v '^ *+' conftest.er1 >conftest.err
4288 4293
   rm -f conftest.er1
4289 4294
   cat conftest.err >&5
4290 4295
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291
-  (exit $ac_status); } >/dev/null; then
4292
-  if test -s conftest.err; then
4293
-    ac_cpp_err=$ac_c_preproc_warn_flag
4294
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4295
-  else
4296
-    ac_cpp_err=
4297
-  fi
4298
-else
4299
-  ac_cpp_err=yes
4300
-fi
4301
-if test -z "$ac_cpp_err"; then
4296
+  (exit $ac_status); } >/dev/null && {
4297
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4298
+	 test ! -s conftest.err
4299
+       }; then
4302 4300
   :
4303 4301
 else
4304 4302
   echo "$as_me: failed program was:" >&5
... ...
@@ -4307,9 +4961,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
4307 4307
   # Broken: fails on valid input.
4308 4308
 continue
4309 4309
 fi
4310
+
4310 4311
 rm -f conftest.err conftest.$ac_ext
4311 4312
 
4312
-  # OK, works on sane cases.  Now check whether non-existent headers
4313
+  # OK, works on sane cases.  Now check whether nonexistent headers
4313 4314
   # can be detected and how.
4314 4315
   cat >conftest.$ac_ext <<_ACEOF
4315 4316
 /* confdefs.h.  */
... ...
@@ -4319,24 +4974,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4319 4319
 /* end confdefs.h.  */
4320 4320
 #include <ac_nonexistent.h>
4321 4321
 _ACEOF
4322
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4323
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4322
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4323
+case "(($ac_try" in
4324
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325
+  *) ac_try_echo=$ac_try;;
4326
+esac
4327
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4328
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4324 4329
   ac_status=$?
4325 4330
   grep -v '^ *+' conftest.er1 >conftest.err
4326 4331
   rm -f conftest.er1
4327 4332
   cat conftest.err >&5
4328 4333
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329
-  (exit $ac_status); } >/dev/null; then
4330
-  if test -s conftest.err; then
4331
-    ac_cpp_err=$ac_c_preproc_warn_flag
4332
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4333
-  else
4334
-    ac_cpp_err=
4335
-  fi
4336
-else
4337
-  ac_cpp_err=yes
4338
-fi
4339
-if test -z "$ac_cpp_err"; then
4334
+  (exit $ac_status); } >/dev/null && {
4335
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4336
+	 test ! -s conftest.err
4337
+       }; then
4340 4338
   # Broken: success on invalid input.
4341 4339
 continue
4342 4340
 else
... ...
@@ -4347,6 +5000,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
4347 4347
 ac_preproc_ok=:
4348 4348
 break
4349 4349
 fi
4350
+
4350 4351
 rm -f conftest.err conftest.$ac_ext
4351 4352
 
4352 4353
 done
... ...
@@ -4364,8 +5018,8 @@ fi
4364 4364
 else
4365 4365
   ac_cv_prog_CPP=$CPP
4366 4366
 fi
4367
-echo "$as_me:$LINENO: result: $CPP" >&5
4368
-echo "${ECHO_T}$CPP" >&6
4367
+{ echo "$as_me:$LINENO: result: $CPP" >&5
4368
+echo "${ECHO_T}$CPP" >&6; }
4369 4369
 ac_preproc_ok=false
4370 4370
 for ac_c_preproc_warn_flag in '' yes
4371 4371
 do
... ...
@@ -4388,24 +5042,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4388 4388
 #endif
4389 4389
 		     Syntax error
4390 4390
 _ACEOF
4391
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4392
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4391
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4392
+case "(($ac_try" in
4393
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394
+  *) ac_try_echo=$ac_try;;
4395
+esac
4396
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4397
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4393 4398
   ac_status=$?
4394 4399
   grep -v '^ *+' conftest.er1 >conftest.err
4395 4400
   rm -f conftest.er1
4396 4401
   cat conftest.err >&5
4397 4402
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398
-  (exit $ac_status); } >/dev/null; then
4399
-  if test -s conftest.err; then
4400
-    ac_cpp_err=$ac_c_preproc_warn_flag
4401
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4402
-  else
4403
-    ac_cpp_err=
4404
-  fi
4405
-else
4406
-  ac_cpp_err=yes
4407
-fi
4408
-if test -z "$ac_cpp_err"; then
4403
+  (exit $ac_status); } >/dev/null && {
4404
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4405
+	 test ! -s conftest.err
4406
+       }; then
4409 4407
   :
4410 4408
 else
4411 4409
   echo "$as_me: failed program was:" >&5
... ...
@@ -4414,9 +5066,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
4414 4414
   # Broken: fails on valid input.
4415 4415
 continue
4416 4416
 fi
4417
+
4417 4418
 rm -f conftest.err conftest.$ac_ext
4418 4419
 
4419
-  # OK, works on sane cases.  Now check whether non-existent headers
4420
+  # OK, works on sane cases.  Now check whether nonexistent headers
4420 4421
   # can be detected and how.
4421 4422
   cat >conftest.$ac_ext <<_ACEOF
4422 4423
 /* confdefs.h.  */
... ...
@@ -4426,24 +5079,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4426 4426
 /* end confdefs.h.  */
4427 4427
 #include <ac_nonexistent.h>
4428 4428
 _ACEOF
4429
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4430
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4429
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4430
+case "(($ac_try" in
4431
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432
+  *) ac_try_echo=$ac_try;;
4433
+esac
4434
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4435
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4431 4436
   ac_status=$?
4432 4437
   grep -v '^ *+' conftest.er1 >conftest.err
4433 4438
   rm -f conftest.er1
4434 4439
   cat conftest.err >&5
4435 4440
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436
-  (exit $ac_status); } >/dev/null; then
4437
-  if test -s conftest.err; then
4438
-    ac_cpp_err=$ac_c_preproc_warn_flag
4439
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4440
-  else
4441
-    ac_cpp_err=
4442
-  fi
4443
-else
4444
-  ac_cpp_err=yes
4445
-fi
4446
-if test -z "$ac_cpp_err"; then
4441
+  (exit $ac_status); } >/dev/null && {
4442
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4443
+	 test ! -s conftest.err
4444
+       }; then
4447 4445
   # Broken: success on invalid input.
4448 4446
 continue
4449 4447
 else
... ...
@@ -4454,6 +5105,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
4454 4454
 ac_preproc_ok=:
4455 4455
 break
4456 4456
 fi
4457
+
4457 4458
 rm -f conftest.err conftest.$ac_ext
4458 4459
 
4459 4460
 done
... ...
@@ -4476,8 +5128,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
4476 4476
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4477 4477
 
4478 4478
 
4479
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4480
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4479
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4480
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4481 4481
 if test "${ac_cv_header_stdc+set}" = set; then
4482 4482
   echo $ECHO_N "(cached) $ECHO_C" >&6
4483 4483
 else
... ...
@@ -4501,35 +5153,31 @@ main ()
4501 4501
 }
4502 4502
 _ACEOF
4503 4503
 rm -f conftest.$ac_objext
4504
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4505
-  (eval $ac_compile) 2>conftest.er1
4504
+if { (ac_try="$ac_compile"
4505
+case "(($ac_try" in
4506
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507
+  *) ac_try_echo=$ac_try;;
4508
+esac
4509
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4510
+  (eval "$ac_compile") 2>conftest.er1
4506 4511
   ac_status=$?
4507 4512
   grep -v '^ *+' conftest.er1 >conftest.err
4508 4513
   rm -f conftest.er1
4509 4514
   cat conftest.err >&5
4510 4515
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
-  (exit $ac_status); } &&
4512
-	 { ac_try='test -z "$ac_c_werror_flag"
4513
-			 || test ! -s conftest.err'
4514
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515
-  (eval $ac_try) 2>&5
4516
-  ac_status=$?
4517
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518
-  (exit $ac_status); }; } &&
4519
-	 { ac_try='test -s conftest.$ac_objext'
4520
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521
-  (eval $ac_try) 2>&5
4522
-  ac_status=$?
4523
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524
-  (exit $ac_status); }; }; then
4516
+  (exit $ac_status); } && {
4517
+	 test -z "$ac_c_werror_flag" ||
4518
+	 test ! -s conftest.err
4519
+       } && test -s conftest.$ac_objext; then
4525 4520
   ac_cv_header_stdc=yes
4526 4521
 else
4527 4522
   echo "$as_me: failed program was:" >&5
4528 4523
 sed 's/^/| /' conftest.$ac_ext >&5
4529 4524
 
4530
-ac_cv_header_stdc=no
4525
+	ac_cv_header_stdc=no
4531 4526
 fi
4532
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4527
+
4528
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 4529
 
4534 4530
 if test $ac_cv_header_stdc = yes; then
4535 4531
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
... ...
@@ -4585,6 +5233,7 @@ cat confdefs.h >>conftest.$ac_ext
4585 4585
 cat >>conftest.$ac_ext <<_ACEOF
4586 4586
 /* end confdefs.h.  */
4587 4587
 #include <ctype.h>
4588
+#include <stdlib.h>
4588 4589
 #if ((' ' & 0x0FF) == 0x020)
4589 4590
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4590 4591
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
... ...
@@ -4604,18 +5253,27 @@ main ()
4604 4604
   for (i = 0; i < 256; i++)
4605 4605
     if (XOR (islower (i), ISLOWER (i))
4606 4606
 	|| toupper (i) != TOUPPER (i))
4607
-      exit(2);
4608
-  exit (0);
4607
+      return 2;
4608
+  return 0;
4609 4609
 }
4610 4610
 _ACEOF
4611 4611
 rm -f conftest$ac_exeext
4612
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4613
-  (eval $ac_link) 2>&5
4612
+if { (ac_try="$ac_link"
4613
+case "(($ac_try" in
4614
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4615
+  *) ac_try_echo=$ac_try;;
4616
+esac
4617
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4618
+  (eval "$ac_link") 2>&5
4614 4619
   ac_status=$?
4615 4620
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 4621
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4617
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618
-  (eval $ac_try) 2>&5
4622
+  { (case "(($ac_try" in
4623
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4624
+  *) ac_try_echo=$ac_try;;
4625
+esac
4626
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4627
+  (eval "$ac_try") 2>&5
4619 4628
   ac_status=$?
4620 4629
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 4630
   (exit $ac_status); }; }; then
... ...
@@ -4628,12 +5286,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
4628 4628
 ( exit $ac_status )
4629 4629
 ac_cv_header_stdc=no
4630 4630
 fi
4631
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4631
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4632 4632
 fi
4633
+
4634
+
4633 4635
 fi
4634 4636
 fi
4635
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4636
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
4637
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4638
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4637 4639
 if test $ac_cv_header_stdc = yes; then
4638 4640
 
4639 4641
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -4656,9 +5316,9 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4656 4656
 		  inttypes.h stdint.h unistd.h
4657 4657
 do
4658 4658
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4659
-echo "$as_me:$LINENO: checking for $ac_header" >&5
4660
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4661
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
4659
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4660
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4661
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4662 4662
   echo $ECHO_N "(cached) $ECHO_C" >&6
4663 4663
 else
4664 4664
   cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -4672,38 +5332,35 @@ $ac_includes_default
4672 4672
 #include <$ac_header>
4673 4673
 _ACEOF
4674 4674
 rm -f conftest.$ac_objext
4675
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4676
-  (eval $ac_compile) 2>conftest.er1
4675
+if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
4677 4682
   ac_status=$?
4678 4683
   grep -v '^ *+' conftest.er1 >conftest.err
4679 4684
   rm -f conftest.er1
4680 4685
   cat conftest.err >&5
4681 4686
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682
-  (exit $ac_status); } &&
4683
-	 { ac_try='test -z "$ac_c_werror_flag"
4684
-			 || test ! -s conftest.err'
4685
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686
-  (eval $ac_try) 2>&5
4687
-  ac_status=$?
4688
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689
-  (exit $ac_status); }; } &&
4690
-	 { ac_try='test -s conftest.$ac_objext'
4691
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692
-  (eval $ac_try) 2>&5
4693
-  ac_status=$?
4694
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695
-  (exit $ac_status); }; }; then
4687
+  (exit $ac_status); } && {
4688
+	 test -z "$ac_c_werror_flag" ||
4689
+	 test ! -s conftest.err
4690
+       } && test -s conftest.$ac_objext; then
4696 4691
   eval "$as_ac_Header=yes"
4697 4692
 else
4698 4693
   echo "$as_me: failed program was:" >&5
4699 4694
 sed 's/^/| /' conftest.$ac_ext >&5
4700 4695
 
4701
-eval "$as_ac_Header=no"
4696
+	eval "$as_ac_Header=no"
4702 4697
 fi
4703
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4698
+
4699
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4704 4700
 fi
4705
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4706
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4701
+ac_res=`eval echo '${'$as_ac_Header'}'`
4702
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4703
+echo "${ECHO_T}$ac_res" >&6; }
4707 4704
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4708 4705
   cat >>confdefs.h <<_ACEOF
4709 4706
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
... ...
@@ -4718,18 +5375,19 @@ done
4718 4718
 for ac_header in dlfcn.h
4719 4719
 do
4720 4720
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4721
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
4722
-  echo "$as_me:$LINENO: checking for $ac_header" >&5
4723
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4724
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
4721
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4722
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4723
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4724
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4725 4725
   echo $ECHO_N "(cached) $ECHO_C" >&6
4726 4726
 fi
4727
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4728
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4727
+ac_res=`eval echo '${'$as_ac_Header'}'`
4728
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4729
+echo "${ECHO_T}$ac_res" >&6; }
4729 4730
 else
4730 4731
   # Is the header compilable?
4731
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
4732
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4732
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4733
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4733 4734
 cat >conftest.$ac_ext <<_ACEOF
4734 4735
 /* confdefs.h.  */
4735 4736
 _ACEOF
... ...
@@ -4740,41 +5398,37 @@ $ac_includes_default
4740 4740
 #include <$ac_header>
4741 4741
 _ACEOF
4742 4742
 rm -f conftest.$ac_objext
4743
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744
-  (eval $ac_compile) 2>conftest.er1
4743
+if { (ac_try="$ac_compile"
4744
+case "(($ac_try" in
4745
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4746
+  *) ac_try_echo=$ac_try;;
4747
+esac
4748
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4749
+  (eval "$ac_compile") 2>conftest.er1
4745 4750
   ac_status=$?
4746 4751
   grep -v '^ *+' conftest.er1 >conftest.err
4747 4752
   rm -f conftest.er1
4748 4753
   cat conftest.err >&5
4749 4754
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750
-  (exit $ac_status); } &&
4751
-	 { ac_try='test -z "$ac_c_werror_flag"
4752
-			 || test ! -s conftest.err'
4753
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754
-  (eval $ac_try) 2>&5
4755
-  ac_status=$?
4756
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757
-  (exit $ac_status); }; } &&
4758
-	 { ac_try='test -s conftest.$ac_objext'
4759
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760
-  (eval $ac_try) 2>&5
4761
-  ac_status=$?
4762
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763
-  (exit $ac_status); }; }; then
4755
+  (exit $ac_status); } && {
4756
+	 test -z "$ac_c_werror_flag" ||
4757
+	 test ! -s conftest.err
4758
+       } && test -s conftest.$ac_objext; then
4764 4759
   ac_header_compiler=yes
4765 4760
 else
4766 4761
   echo "$as_me: failed program was:" >&5
4767 4762
 sed 's/^/| /' conftest.$ac_ext >&5
4768 4763
 
4769
-ac_header_compiler=no
4764
+	ac_header_compiler=no
4770 4765
 fi
4771
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4772
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4773
-echo "${ECHO_T}$ac_header_compiler" >&6
4766
+
4767
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4768
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4769
+echo "${ECHO_T}$ac_header_compiler" >&6; }
4774 4770
 
4775 4771
 # Is the header present?
4776
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
4777
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4772
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4773
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4778 4774
 cat >conftest.$ac_ext <<_ACEOF
4779 4775
 /* confdefs.h.  */
4780 4776
 _ACEOF
... ...
@@ -4783,24 +5437,22 @@ cat >>conftest.$ac_ext <<_ACEOF
4783 4783
 /* end confdefs.h.  */
4784 4784
 #include <$ac_header>
4785 4785
 _ACEOF
4786
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4787
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4786
+if { (ac_try="$ac_cpp conftest.$ac_ext"
4787
+case "(($ac_try" in
4788
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4789
+  *) ac_try_echo=$ac_try;;
4790
+esac
4791
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4792
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4788 4793
   ac_status=$?
4789 4794
   grep -v '^ *+' conftest.er1 >conftest.err
4790 4795
   rm -f conftest.er1
4791 4796
   cat conftest.err >&5
4792 4797
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793
-  (exit $ac_status); } >/dev/null; then
4794
-  if test -s conftest.err; then
4795
-    ac_cpp_err=$ac_c_preproc_warn_flag
4796
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4797
-  else
4798
-    ac_cpp_err=
4799
-  fi
4800
-else
4801
-  ac_cpp_err=yes
4802
-fi
4803
-if test -z "$ac_cpp_err"; then
4798
+  (exit $ac_status); } >/dev/null && {
4799
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4800
+	 test ! -s conftest.err
4801
+       }; then
4804 4802
   ac_header_preproc=yes
4805 4803
 else
4806 4804
   echo "$as_me: failed program was:" >&5
... ...
@@ -4808,9 +5460,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
4808 4808
 
4809 4809
   ac_header_preproc=no
4810 4810
 fi
4811
+
4811 4812
 rm -f conftest.err conftest.$ac_ext
4812
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4813
-echo "${ECHO_T}$ac_header_preproc" >&6
4813
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4814
+echo "${ECHO_T}$ac_header_preproc" >&6; }
4814 4815
 
4815 4816
 # So?  What about this header?
4816 4817
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -4834,25 +5487,19 @@ echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\
4834 4834
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4835 4835
     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4836 4836
 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4837
-    (
4838
-      cat <<\_ASBOX
4839
-## ------------------------------------------ ##
4840
-## Report this to the AC_PACKAGE_NAME lists.  ##
4841
-## ------------------------------------------ ##
4842
-_ASBOX
4843
-    ) |
4844
-      sed "s/^/$as_me: WARNING:     /" >&2
4837
+
4845 4838
     ;;
4846 4839
 esac
4847
-echo "$as_me:$LINENO: checking for $ac_header" >&5
4848
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4849
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
4840
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4841
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4842
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4850 4843
   echo $ECHO_N "(cached) $ECHO_C" >&6
4851 4844
 else
4852 4845
   eval "$as_ac_Header=\$ac_header_preproc"
4853 4846
 fi
4854
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4855
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4847
+ac_res=`eval echo '${'$as_ac_Header'}'`
4848
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4849
+echo "${ECHO_T}$ac_res" >&6; }
4856 4850
 
4857 4851
 fi
4858 4852
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
... ...
@@ -4864,18 +5511,22 @@ fi
4864 4864
 
4865 4865
 done
4866 4866
 
4867
-ac_ext=cc
4867
+ac_ext=cpp
4868 4868
 ac_cpp='$CXXCPP $CPPFLAGS'
4869 4869
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4870 4870
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4871 4871
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4872
-if test -n "$ac_tool_prefix"; then
4873
-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4872
+if test -z "$CXX"; then
4873
+  if test -n "$CCC"; then
4874
+    CXX=$CCC
4875
+  else
4876
+    if test -n "$ac_tool_prefix"; then
4877
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4874 4878
   do
4875 4879
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4876 4880
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4877
-echo "$as_me:$LINENO: checking for $ac_word" >&5
4878
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4881
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4882
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4879 4883
 if test "${ac_cv_prog_CXX+set}" = set; then
4880 4884
   echo $ECHO_N "(cached) $ECHO_C" >&6
4881 4885
 else
... ...
@@ -4888,36 +5539,38 @@ do
4888 4888
   IFS=$as_save_IFS
4889 4889
   test -z "$as_dir" && as_dir=.
4890 4890
   for ac_exec_ext in '' $ac_executable_extensions; do
4891
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 4892
     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4893 4893
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 4894
     break 2
4895 4895
   fi
4896 4896
 done
4897 4897
 done
4898
+IFS=$as_save_IFS
4898 4899
 
4899 4900
 fi
4900 4901
 fi
4901 4902
 CXX=$ac_cv_prog_CXX
4902 4903
 if test -n "$CXX"; then
4903
-  echo "$as_me:$LINENO: result: $CXX" >&5
4904
-echo "${ECHO_T}$CXX" >&6
4904
+  { echo "$as_me:$LINENO: result: $CXX" >&5
4905
+echo "${ECHO_T}$CXX" >&6; }
4905 4906
 else
4906
-  echo "$as_me:$LINENO: result: no" >&5
4907
-echo "${ECHO_T}no" >&6
4907
+  { echo "$as_me:$LINENO: result: no" >&5
4908
+echo "${ECHO_T}no" >&6; }
4908 4909
 fi
4909 4910
 
4911
+
4910 4912
     test -n "$CXX" && break
4911 4913
   done
4912 4914
 fi
4913 4915
 if test -z "$CXX"; then
4914 4916
   ac_ct_CXX=$CXX
4915
-  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4917
+  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4916 4918
 do
4917 4919
   # Extract the first word of "$ac_prog", so it can be a program name with args.
4918 4920
 set dummy $ac_prog; ac_word=$2
4919
-echo "$as_me:$LINENO: checking for $ac_word" >&5
4920
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4921
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4922
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4921 4923
 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4922 4924
   echo $ECHO_N "(cached) $ECHO_C" >&6
4923 4925
 else
... ...
@@ -4930,55 +5583,85 @@ do
4930 4930
   IFS=$as_save_IFS
4931 4931
   test -z "$as_dir" && as_dir=.
4932 4932
   for ac_exec_ext in '' $ac_executable_extensions; do
4933
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934 4934
     ac_cv_prog_ac_ct_CXX="$ac_prog"
4935 4935
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 4936
     break 2
4937 4937
   fi
4938 4938
 done
4939 4939
 done
4940
+IFS=$as_save_IFS
4940 4941
 
4941 4942
 fi
4942 4943
 fi
4943 4944
 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4944 4945
 if test -n "$ac_ct_CXX"; then
4945
-  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4946
-echo "${ECHO_T}$ac_ct_CXX" >&6
4946
+  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4947
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
4947 4948
 else
4948
-  echo "$as_me:$LINENO: result: no" >&5
4949
-echo "${ECHO_T}no" >&6
4949
+  { echo "$as_me:$LINENO: result: no" >&5
4950
+echo "${ECHO_T}no" >&6; }
4950 4951
 fi
4951 4952
 
4953
+
4952 4954
   test -n "$ac_ct_CXX" && break
4953 4955
 done
4954
-test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4955 4956
 
4956
-  CXX=$ac_ct_CXX
4957
+  if test "x$ac_ct_CXX" = x; then
4958
+    CXX="g++"
4959
+  else
4960
+    case $cross_compiling:$ac_tool_warned in
4961
+yes:)
4962
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4963
+whose name does not start with the host triplet.  If you think this
4964
+configuration is useful to you, please write to autoconf@gnu.org." >&5
4965
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4966
+whose name does not start with the host triplet.  If you think this
4967
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4968
+ac_tool_warned=yes ;;
4969
+esac
4970
+    CXX=$ac_ct_CXX
4971
+  fi
4957 4972
 fi
4958 4973
 
4959
-
4974
+  fi
4975
+fi
4960 4976
 # Provide some information about the compiler.
4961
-echo "$as_me:$LINENO:" \
4962
-     "checking for C++ compiler version" >&5
4977
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4963 4978
 ac_compiler=`set X $ac_compile; echo $2`
4964
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4965
-  (eval $ac_compiler --version </dev/null >&5) 2>&5
4979
+{ (ac_try="$ac_compiler --version >&5"
4980
+case "(($ac_try" in
4981
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982
+  *) ac_try_echo=$ac_try;;
4983
+esac
4984
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4985
+  (eval "$ac_compiler --version >&5") 2>&5
4966 4986
   ac_status=$?
4967 4987
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 4988
   (exit $ac_status); }
4969
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4970
-  (eval $ac_compiler -v </dev/null >&5) 2>&5
4989
+{ (ac_try="$ac_compiler -v >&5"
4990
+case "(($ac_try" in
4991
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992
+  *) ac_try_echo=$ac_try;;
4993
+esac
4994
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4995
+  (eval "$ac_compiler -v >&5") 2>&5
4971 4996
   ac_status=$?
4972 4997
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 4998
   (exit $ac_status); }
4974
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4975
-  (eval $ac_compiler -V </dev/null >&5) 2>&5
4999
+{ (ac_try="$ac_compiler -V >&5"
5000
+case "(($ac_try" in
5001
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5002
+  *) ac_try_echo=$ac_try;;
5003
+esac
5004
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5005
+  (eval "$ac_compiler -V >&5") 2>&5
4976 5006
   ac_status=$?
4977 5007
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 5008
   (exit $ac_status); }
4979 5009
 
4980
-echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4981
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5010
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5011
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4982 5012
 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4983 5013
   echo $ECHO_N "(cached) $ECHO_C" >&6
4984 5014
 else
... ...
@@ -5001,50 +5684,49 @@ main ()
5001 5001
 }
5002 5002
 _ACEOF
5003 5003
 rm -f conftest.$ac_objext
5004
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5005
-  (eval $ac_compile) 2>conftest.er1
5004
+if { (ac_try="$ac_compile"
5005
+case "(($ac_try" in
5006
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5007
+  *) ac_try_echo=$ac_try;;
5008
+esac
5009
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5010
+  (eval "$ac_compile") 2>conftest.er1
5006 5011
   ac_status=$?
5007 5012
   grep -v '^ *+' conftest.er1 >conftest.err
5008 5013
   rm -f conftest.er1
5009 5014
   cat conftest.err >&5
5010 5015
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
-  (exit $ac_status); } &&
5012
-	 { ac_try='test -z "$ac_cxx_werror_flag"
5013
-			 || test ! -s conftest.err'
5014
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015
-  (eval $ac_try) 2>&5
5016
-  ac_status=$?
5017
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018
-  (exit $ac_status); }; } &&
5019
-	 { ac_try='test -s conftest.$ac_objext'
5020
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021
-  (eval $ac_try) 2>&5
5022
-  ac_status=$?
5023
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024
-  (exit $ac_status); }; }; then
5016
+  (exit $ac_status); } && {
5017
+	 test -z "$ac_cxx_werror_flag" ||
5018
+	 test ! -s conftest.err
5019
+       } && test -s conftest.$ac_objext; then
5025 5020
   ac_compiler_gnu=yes
5026 5021
 else
5027 5022
   echo "$as_me: failed program was:" >&5
5028 5023
 sed 's/^/| /' conftest.$ac_ext >&5
5029 5024
 
5030
-ac_compiler_gnu=no
5025
+	ac_compiler_gnu=no
5031 5026
 fi
5032
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5027
+
5028
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5033 5029
 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5034 5030
 
5035 5031
 fi
5036
-echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5037
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5032
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5033
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5038 5034
 GXX=`test $ac_compiler_gnu = yes && echo yes`
5039 5035
 ac_test_CXXFLAGS=${CXXFLAGS+set}
5040 5036
 ac_save_CXXFLAGS=$CXXFLAGS
5041
-CXXFLAGS="-g"
5042
-echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5043
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5037
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5038
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5044 5039
 if test "${ac_cv_prog_cxx_g+set}" = set; then
5045 5040
   echo $ECHO_N "(cached) $ECHO_C" >&6
5046 5041
 else
5047
-  cat >conftest.$ac_ext <<_ACEOF
5042
+  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5043
+   ac_cxx_werror_flag=yes
5044
+   ac_cv_prog_cxx_g=no
5045
+   CXXFLAGS="-g"
5046
+   cat >conftest.$ac_ext <<_ACEOF
5048 5047
 /* confdefs.h.  */
5049 5048
 _ACEOF
5050 5049
 cat confdefs.h >>conftest.$ac_ext
... ...
@@ -5060,160 +5742,134 @@ main ()
5060 5060
 }
5061 5061
 _ACEOF
5062 5062
 rm -f conftest.$ac_objext
5063
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5064
-  (eval $ac_compile) 2>conftest.er1
5063
+if { (ac_try="$ac_compile"
5064
+case "(($ac_try" in
5065
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066
+  *) ac_try_echo=$ac_try;;
5067
+esac
5068
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069
+  (eval "$ac_compile") 2>conftest.er1
5065 5070
   ac_status=$?
5066 5071
   grep -v '^ *+' conftest.er1 >conftest.err
5067 5072
   rm -f conftest.er1
5068 5073
   cat conftest.err >&5
5069 5074
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
-  (exit $ac_status); } &&
5071
-	 { ac_try='test -z "$ac_cxx_werror_flag"
5072
-			 || test ! -s conftest.err'
5073
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5074
-  (eval $ac_try) 2>&5
5075
-  ac_status=$?
5076
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077
-  (exit $ac_status); }; } &&
5078
-	 { ac_try='test -s conftest.$ac_objext'
5079
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080
-  (eval $ac_try) 2>&5
5081
-  ac_status=$?
5082
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083
-  (exit $ac_status); }; }; then
5075
+  (exit $ac_status); } && {
5076
+	 test -z "$ac_cxx_werror_flag" ||
5077
+	 test ! -s conftest.err
5078
+       } && test -s conftest.$ac_objext; then
5084 5079
   ac_cv_prog_cxx_g=yes
5085 5080
 else
5086 5081
   echo "$as_me: failed program was:" >&5
5087 5082
 sed 's/^/| /' conftest.$ac_ext >&5
5088 5083
 
5089
-ac_cv_prog_cxx_g=no
5090
-fi
5091
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5092
-fi
5093
-echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5094
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5095
-if test "$ac_test_CXXFLAGS" = set; then
5096
-  CXXFLAGS=$ac_save_CXXFLAGS
5097
-elif test $ac_cv_prog_cxx_g = yes; then
5098
-  if test "$GXX" = yes; then
5099
-    CXXFLAGS="-g -O2"
5100
-  else
5101
-    CXXFLAGS="-g"
5102
-  fi
5103
-else
5104
-  if test "$GXX" = yes; then
5105
-    CXXFLAGS="-O2"
5106
-  else
5107
-    CXXFLAGS=
5108
-  fi
5109
-fi
5110
-for ac_declaration in \
5111
-   '' \
5112
-   'extern "C" void std::exit (int) throw (); using std::exit;' \
5113
-   'extern "C" void std::exit (int); using std::exit;' \
5114
-   'extern "C" void exit (int) throw ();' \
5115
-   'extern "C" void exit (int);' \
5116
-   'void exit (int);'
5117
-do
5118
-  cat >conftest.$ac_ext <<_ACEOF
5084
+	CXXFLAGS=""
5085
+      cat >conftest.$ac_ext <<_ACEOF
5119 5086
 /* confdefs.h.  */
5120 5087
 _ACEOF
5121 5088
 cat confdefs.h >>conftest.$ac_ext
5122 5089
 cat >>conftest.$ac_ext <<_ACEOF
5123 5090
 /* end confdefs.h.  */
5124
-$ac_declaration
5125
-#include <stdlib.h>
5091
+
5126 5092
 int
5127 5093
 main ()
5128 5094
 {
5129
-exit (42);
5095
+
5130 5096
   ;
5131 5097
   return 0;
5132 5098
 }
5133 5099
 _ACEOF
5134 5100
 rm -f conftest.$ac_objext
5135
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5136
-  (eval $ac_compile) 2>conftest.er1
5101
+if { (ac_try="$ac_compile"
5102
+case "(($ac_try" in
5103
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5104
+  *) ac_try_echo=$ac_try;;
5105
+esac
5106
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5107
+  (eval "$ac_compile") 2>conftest.er1
5137 5108
   ac_status=$?
5138 5109
   grep -v '^ *+' conftest.er1 >conftest.err
5139 5110
   rm -f conftest.er1
5140 5111
   cat conftest.err >&5
5141 5112
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142
-  (exit $ac_status); } &&
5143
-	 { ac_try='test -z "$ac_cxx_werror_flag"
5144
-			 || test ! -s conftest.err'
5145
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5146
-  (eval $ac_try) 2>&5
5147
-  ac_status=$?
5148
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149
-  (exit $ac_status); }; } &&
5150
-	 { ac_try='test -s conftest.$ac_objext'
5151
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5152
-  (eval $ac_try) 2>&5
5153
-  ac_status=$?
5154
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155
-  (exit $ac_status); }; }; then
5113
+  (exit $ac_status); } && {
5114
+	 test -z "$ac_cxx_werror_flag" ||
5115
+	 test ! -s conftest.err
5116
+       } && test -s conftest.$ac_objext; then
5156 5117
   :
5157 5118
 else
5158 5119
   echo "$as_me: failed program was:" >&5
5159 5120
 sed 's/^/| /' conftest.$ac_ext >&5
5160 5121
 
5161
-continue
5162
-fi
5163
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5164
-  cat >conftest.$ac_ext <<_ACEOF
5122
+	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5123
+	 CXXFLAGS="-g"
5124
+	 cat >conftest.$ac_ext <<_ACEOF
5165 5125
 /* confdefs.h.  */
5166 5126
 _ACEOF
5167 5127
 cat confdefs.h >>conftest.$ac_ext
5168 5128
 cat >>conftest.$ac_ext <<_ACEOF
5169 5129
 /* end confdefs.h.  */
5170
-$ac_declaration
5130
+
5171 5131
 int
5172 5132
 main ()
5173 5133
 {
5174
-exit (42);
5134
+
5175 5135
   ;
5176 5136
   return 0;
5177 5137
 }
5178 5138
 _ACEOF
5179 5139
 rm -f conftest.$ac_objext
5180
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5181
-  (eval $ac_compile) 2>conftest.er1
5140
+if { (ac_try="$ac_compile"
5141
+case "(($ac_try" in
5142
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5143
+  *) ac_try_echo=$ac_try;;
5144
+esac
5145
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5146
+  (eval "$ac_compile") 2>conftest.er1
5182 5147
   ac_status=$?
5183 5148
   grep -v '^ *+' conftest.er1 >conftest.err
5184 5149
   rm -f conftest.er1
5185 5150
   cat conftest.err >&5
5186 5151
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187
-  (exit $ac_status); } &&
5188
-	 { ac_try='test -z "$ac_cxx_werror_flag"
5189
-			 || test ! -s conftest.err'
5190
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5191
-  (eval $ac_try) 2>&5
5192
-  ac_status=$?
5193
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194
-  (exit $ac_status); }; } &&
5195
-	 { ac_try='test -s conftest.$ac_objext'
5196
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5197
-  (eval $ac_try) 2>&5
5198
-  ac_status=$?
5199
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200
-  (exit $ac_status); }; }; then
5201
-  break
5152
+  (exit $ac_status); } && {
5153
+	 test -z "$ac_cxx_werror_flag" ||
5154
+	 test ! -s conftest.err
5155
+       } && test -s conftest.$ac_objext; then
5156
+  ac_cv_prog_cxx_g=yes
5202 5157
 else
5203 5158
   echo "$as_me: failed program was:" >&5
5204 5159
 sed 's/^/| /' conftest.$ac_ext >&5
5205 5160
 
5161
+
5206 5162
 fi
5207
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5208
-done
5209
-rm -f conftest*
5210
-if test -n "$ac_declaration"; then
5211
-  echo '#ifdef __cplusplus' >>confdefs.h
5212
-  echo $ac_declaration      >>confdefs.h
5213
-  echo '#endif'             >>confdefs.h
5163
+
5164
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5165
+fi
5166
+
5167
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5214 5168
 fi
5215 5169
 
5216
-ac_ext=cc
5170
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5171
+   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5172
+fi
5173
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5174
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5175
+if test "$ac_test_CXXFLAGS" = set; then
5176
+  CXXFLAGS=$ac_save_CXXFLAGS
5177
+elif test $ac_cv_prog_cxx_g = yes; then
5178
+  if test "$GXX" = yes; then
5179
+    CXXFLAGS="-g -O2"
5180
+  else
5181
+    CXXFLAGS="-g"
5182
+  fi
5183
+else
5184
+  if test "$GXX" = yes; then
5185
+    CXXFLAGS="-O2"
5186
+  else
5187
+    CXXFLAGS=
5188
+  fi
5189
+fi
5190
+ac_ext=cpp
5217 5191
 ac_cpp='$CXXCPP $CPPFLAGS'
5218 5192
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5219 5193
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
... ...
@@ -5221,8 +5877,8 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5221 5221
 
5222 5222
 depcc="$CXX"  am_compiler_list=
5223 5223
 
5224
-echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5225
-echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5224
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5225
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5226 5226
 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5227 5227
   echo $ECHO_N "(cached) $ECHO_C" >&6
5228 5228
 else
... ...
@@ -5311,8 +5967,8 @@ else
5311 5311
 fi
5312 5312
 
5313 5313
 fi
5314
-echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5315
-echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5314
+{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5315
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5316 5316
 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5317 5317
 
5318 5318
 
... ...
@@ -5333,13 +5989,13 @@ fi
5333 5333
 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5334 5334
     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5335 5335
     (test "X$CXX" != "Xg++"))) ; then
5336
-  ac_ext=cc
5336
+  ac_ext=cpp
5337 5337
 ac_cpp='$CXXCPP $CPPFLAGS'
5338 5338
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 5339
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 5340
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5341
-echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5342
-echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5341
+{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5342
+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5343 5343
 if test -z "$CXXCPP"; then
5344 5344
   if test "${ac_cv_prog_CXXCPP+set}" = set; then
5345 5345
   echo $ECHO_N "(cached) $ECHO_C" >&6
... ...
@@ -5369,24 +6025,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5369 5369
 #endif
5370 5370
 		     Syntax error
5371 5371
 _ACEOF
5372
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5373
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5372
+if { (ac_try="$ac_cpp conftest.$ac_ext"
5373
+case "(($ac_try" in
5374
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5375
+  *) ac_try_echo=$ac_try;;
5376
+esac
5377
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5374 5379
   ac_status=$?
5375 5380
   grep -v '^ *+' conftest.er1 >conftest.err
5376 5381
   rm -f conftest.er1
5377 5382
   cat conftest.err >&5
5378 5383
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379
-  (exit $ac_status); } >/dev/null; then
5380
-  if test -s conftest.err; then
5381
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
5382
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5383
-  else
5384
-    ac_cpp_err=
5385
-  fi
5386
-else
5387
-  ac_cpp_err=yes
5388
-fi
5389
-if test -z "$ac_cpp_err"; then
5384
+  (exit $ac_status); } >/dev/null && {
5385
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5386
+	 test ! -s conftest.err
5387
+       }; then
5390 5388
   :
5391 5389
 else
5392 5390
   echo "$as_me: failed program was:" >&5
... ...
@@ -5395,9 +6049,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
5395 5395
   # Broken: fails on valid input.
5396 5396
 continue
5397 5397
 fi
5398
+
5398 5399
 rm -f conftest.err conftest.$ac_ext
5399 5400
 
5400
-  # OK, works on sane cases.  Now check whether non-existent headers
5401
+  # OK, works on sane cases.  Now check whether nonexistent headers
5401 5402
   # can be detected and how.
5402 5403
   cat >conftest.$ac_ext <<_ACEOF
5403 5404
 /* confdefs.h.  */
... ...
@@ -5407,24 +6062,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5407 5407
 /* end confdefs.h.  */
5408 5408
 #include <ac_nonexistent.h>
5409 5409
 _ACEOF
5410
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5411
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5410
+if { (ac_try="$ac_cpp conftest.$ac_ext"
5411
+case "(($ac_try" in
5412
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5413
+  *) ac_try_echo=$ac_try;;
5414
+esac
5415
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5412 5417
   ac_status=$?
5413 5418
   grep -v '^ *+' conftest.er1 >conftest.err
5414 5419
   rm -f conftest.er1
5415 5420
   cat conftest.err >&5
5416 5421
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5417
-  (exit $ac_status); } >/dev/null; then
5418
-  if test -s conftest.err; then
5419
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
5420
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5421
-  else
5422
-    ac_cpp_err=
5423
-  fi
5424
-else
5425
-  ac_cpp_err=yes
5426
-fi
5427
-if test -z "$ac_cpp_err"; then
5422
+  (exit $ac_status); } >/dev/null && {
5423
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5424
+	 test ! -s conftest.err
5425
+       }; then
5428 5426
   # Broken: success on invalid input.
5429 5427
 continue
5430 5428
 else
... ...
@@ -5435,6 +6088,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
5435 5435
 ac_preproc_ok=:
5436 5436
 break
5437 5437
 fi
5438
+
5438 5439
 rm -f conftest.err conftest.$ac_ext
5439 5440
 
5440 5441
 done
... ...
@@ -5452,8 +6106,8 @@ fi
5452 5452
 else
5453 5453
   ac_cv_prog_CXXCPP=$CXXCPP
5454 5454
 fi
5455
-echo "$as_me:$LINENO: result: $CXXCPP" >&5
5456
-echo "${ECHO_T}$CXXCPP" >&6
5455
+{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5456
+echo "${ECHO_T}$CXXCPP" >&6; }
5457 5457
 ac_preproc_ok=false
5458 5458
 for ac_cxx_preproc_warn_flag in '' yes
5459 5459
 do
... ...
@@ -5476,24 +6130,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5476 5476
 #endif
5477 5477
 		     Syntax error
5478 5478
 _ACEOF
5479
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5480
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5479
+if { (ac_try="$ac_cpp conftest.$ac_ext"
5480
+case "(($ac_try" in
5481
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5482
+  *) ac_try_echo=$ac_try;;
5483
+esac
5484
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5485
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5481 5486
   ac_status=$?
5482 5487
   grep -v '^ *+' conftest.er1 >conftest.err
5483 5488
   rm -f conftest.er1
5484 5489
   cat conftest.err >&5
5485 5490
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486
-  (exit $ac_status); } >/dev/null; then
5487
-  if test -s conftest.err; then
5488
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
5489
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5490
-  else
5491
-    ac_cpp_err=
5492
-  fi
5493
-else
5494
-  ac_cpp_err=yes
5495
-fi
5496
-if test -z "$ac_cpp_err"; then
5491
+  (exit $ac_status); } >/dev/null && {
5492
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5493
+	 test ! -s conftest.err
5494
+       }; then
5497 5495
   :
5498 5496
 else
5499 5497
   echo "$as_me: failed program was:" >&5
... ...
@@ -5502,9 +6154,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
5502 5502
   # Broken: fails on valid input.
5503 5503
 continue
5504 5504
 fi
5505
+
5505 5506
 rm -f conftest.err conftest.$ac_ext
5506 5507
 
5507
-  # OK, works on sane cases.  Now check whether non-existent headers
5508
+  # OK, works on sane cases.  Now check whether nonexistent headers
5508 5509
   # can be detected and how.
5509 5510
   cat >conftest.$ac_ext <<_ACEOF
5510 5511
 /* confdefs.h.  */
... ...
@@ -5514,24 +6167,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5514 5514
 /* end confdefs.h.  */
5515 5515
 #include <ac_nonexistent.h>
5516 5516
 _ACEOF
5517
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5518
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5517
+if { (ac_try="$ac_cpp conftest.$ac_ext"
5518
+case "(($ac_try" in
5519
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5520
+  *) ac_try_echo=$ac_try;;
5521
+esac
5522
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5519 5524
   ac_status=$?
5520 5525
   grep -v '^ *+' conftest.er1 >conftest.err
5521 5526
   rm -f conftest.er1
5522 5527
   cat conftest.err >&5
5523 5528
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524
-  (exit $ac_status); } >/dev/null; then
5525
-  if test -s conftest.err; then
5526
-    ac_cpp_err=$ac_cxx_preproc_warn_flag
5527
-    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5528
-  else
5529
-    ac_cpp_err=
5530
-  fi
5531
-else
5532
-  ac_cpp_err=yes
5533
-fi
5534
-if test -z "$ac_cpp_err"; then
5529
+  (exit $ac_status); } >/dev/null && {
5530
+	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5531
+	 test ! -s conftest.err
5532
+       }; then
5535 5533
   # Broken: success on invalid input.
5536 5534
 continue
5537 5535
 else
... ...
@@ -5542,6 +6193,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
5542 5542
 ac_preproc_ok=:
5543 5543
 break
5544 5544
 fi
5545
+
5545 5546
 rm -f conftest.err conftest.$ac_ext
5546 5547
 
5547 5548
 done
... ...
@@ -5557,7 +6209,7 @@ See \`config.log' for more details." >&2;}
5557 5557
    { (exit 1); exit 1; }; }
5558 5558
 fi
5559 5559
 
5560
-ac_ext=cc
5560
+ac_ext=cpp
5561 5561
 ac_cpp='$CXXCPP $CPPFLAGS'
5562 5562
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5563 5563
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
... ...
@@ -5571,12 +6223,12 @@ ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5571 5571
 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5572 5572
 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5573 5573
 if test -n "$ac_tool_prefix"; then
5574
-  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5574
+  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5575 5575
   do
5576 5576
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5577 5577
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5578
-echo "$as_me:$LINENO: checking for $ac_word" >&5
5579
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5578
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5579
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5580 5580
 if test "${ac_cv_prog_F77+set}" = set; then
5581 5581
   echo $ECHO_N "(cached) $ECHO_C" >&6
5582 5582
 else
... ...
@@ -5589,36 +6241,38 @@ do
5589 5589
   IFS=$as_save_IFS
5590 5590
   test -z "$as_dir" && as_dir=.
5591 5591
   for ac_exec_ext in '' $ac_executable_extensions; do
5592
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5592
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 5593
     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5594 5594
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 5595
     break 2
5596 5596
   fi
5597 5597
 done
5598 5598
 done
5599
+IFS=$as_save_IFS
5599 5600
 
5600 5601
 fi
5601 5602
 fi
5602 5603
 F77=$ac_cv_prog_F77
5603 5604
 if test -n "$F77"; then
5604
-  echo "$as_me:$LINENO: result: $F77" >&5
5605
-echo "${ECHO_T}$F77" >&6
5605
+  { echo "$as_me:$LINENO: result: $F77" >&5
5606
+echo "${ECHO_T}$F77" >&6; }
5606 5607
 else
5607
-  echo "$as_me:$LINENO: result: no" >&5
5608
-echo "${ECHO_T}no" >&6
5608
+  { echo "$as_me:$LINENO: result: no" >&5
5609
+echo "${ECHO_T}no" >&6; }
5609 5610
 fi
5610 5611
 
5612
+
5611 5613
     test -n "$F77" && break
5612 5614
   done
5613 5615
 fi
5614 5616
 if test -z "$F77"; then
5615 5617
   ac_ct_F77=$F77
5616
-  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5618
+  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5617 5619
 do
5618 5620
   # Extract the first word of "$ac_prog", so it can be a program name with args.
5619 5621
 set dummy $ac_prog; ac_word=$2
5620
-echo "$as_me:$LINENO: checking for $ac_word" >&5
5621
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5622
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5623
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5622 5624
 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5623 5625
   echo $ECHO_N "(cached) $ECHO_C" >&6
5624 5626
 else
... ...
@@ -5631,48 +6285,78 @@ do
5631 5631
   IFS=$as_save_IFS
5632 5632
   test -z "$as_dir" && as_dir=.
5633 5633
   for ac_exec_ext in '' $ac_executable_extensions; do
5634
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5634
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 5635
     ac_cv_prog_ac_ct_F77="$ac_prog"
5636 5636
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5637 5637
     break 2
5638 5638
   fi
5639 5639
 done
5640 5640
 done
5641
+IFS=$as_save_IFS
5641 5642
 
5642 5643
 fi
5643 5644
 fi
5644 5645
 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5645 5646
 if test -n "$ac_ct_F77"; then
5646
-  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5647
-echo "${ECHO_T}$ac_ct_F77" >&6
5647
+  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5648
+echo "${ECHO_T}$ac_ct_F77" >&6; }
5648 5649
 else
5649
-  echo "$as_me:$LINENO: result: no" >&5
5650
-echo "${ECHO_T}no" >&6
5650
+  { echo "$as_me:$LINENO: result: no" >&5
5651
+echo "${ECHO_T}no" >&6; }
5651 5652
 fi
5652 5653
 
5654
+
5653 5655
   test -n "$ac_ct_F77" && break
5654 5656
 done
5655 5657
 
5656
-  F77=$ac_ct_F77
5658
+  if test "x$ac_ct_F77" = x; then
5659
+    F77=""
5660
+  else
5661
+    case $cross_compiling:$ac_tool_warned in
5662
+yes:)
5663
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5664
+whose name does not start with the host triplet.  If you think this
5665
+configuration is useful to you, please write to autoconf@gnu.org." >&5
5666
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5667
+whose name does not start with the host triplet.  If you think this
5668
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5669
+ac_tool_warned=yes ;;
5670
+esac
5671
+    F77=$ac_ct_F77
5672
+  fi
5657 5673
 fi
5658 5674
 
5659 5675
 
5660 5676
 # Provide some information about the compiler.
5661
-echo "$as_me:5661:" \
5662
-     "checking for Fortran 77 compiler version" >&5
5677
+echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5663 5678
 ac_compiler=`set X $ac_compile; echo $2`
5664
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5665
-  (eval $ac_compiler --version </dev/null >&5) 2>&5
5679
+{ (ac_try="$ac_compiler --version >&5"
5680
+case "(($ac_try" in
5681
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5682
+  *) ac_try_echo=$ac_try;;
5683
+esac
5684
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5685
+  (eval "$ac_compiler --version >&5") 2>&5
5666 5686
   ac_status=$?
5667 5687
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 5688
   (exit $ac_status); }
5669
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5670
-  (eval $ac_compiler -v </dev/null >&5) 2>&5
5689
+{ (ac_try="$ac_compiler -v >&5"
5690
+case "(($ac_try" in
5691
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5692
+  *) ac_try_echo=$ac_try;;
5693
+esac
5694
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5695
+  (eval "$ac_compiler -v >&5") 2>&5
5671 5696
   ac_status=$?
5672 5697
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 5698
   (exit $ac_status); }
5674
-{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5675
-  (eval $ac_compiler -V </dev/null >&5) 2>&5
5699
+{ (ac_try="$ac_compiler -V >&5"
5700
+case "(($ac_try" in
5701
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702
+  *) ac_try_echo=$ac_try;;
5703
+esac
5704
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705
+  (eval "$ac_compiler -V >&5") 2>&5
5676 5706
   ac_status=$?
5677 5707
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 5708
   (exit $ac_status); }
... ...
@@ -5682,8 +6366,8 @@ rm -f a.out
5682 5682
 # input file.  (Note that this only needs to work for GNU compilers.)
5683 5683
 ac_save_ext=$ac_ext
5684 5684
 ac_ext=F
5685
-echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5686
-echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5685
+{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5686
+echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5687 5687
 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5688 5688
   echo $ECHO_N "(cached) $ECHO_C" >&6
5689 5689
 else
... ...
@@ -5696,46 +6380,42 @@ else
5696 5696
       end
5697 5697
 _ACEOF
5698 5698
 rm -f conftest.$ac_objext
5699
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700
-  (eval $ac_compile) 2>conftest.er1
5699
+if { (ac_try="$ac_compile"
5700
+case "(($ac_try" in
5701
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702
+  *) ac_try_echo=$ac_try;;
5703
+esac
5704
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5705
+  (eval "$ac_compile") 2>conftest.er1
5701 5706
   ac_status=$?
5702 5707
   grep -v '^ *+' conftest.er1 >conftest.err
5703 5708
   rm -f conftest.er1
5704 5709
   cat conftest.err >&5
5705 5710
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706
-  (exit $ac_status); } &&
5707
-	 { ac_try='test -z "$ac_f77_werror_flag"
5708
-			 || test ! -s conftest.err'
5709
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710
-  (eval $ac_try) 2>&5
5711
-  ac_status=$?
5712
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713
-  (exit $ac_status); }; } &&
5714
-	 { ac_try='test -s conftest.$ac_objext'
5715
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5716
-  (eval $ac_try) 2>&5
5717
-  ac_status=$?
5718
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719
-  (exit $ac_status); }; }; then
5711
+  (exit $ac_status); } && {
5712
+	 test -z "$ac_f77_werror_flag" ||
5713
+	 test ! -s conftest.err
5714
+       } && test -s conftest.$ac_objext; then
5720 5715
   ac_compiler_gnu=yes
5721 5716
 else
5722 5717
   echo "$as_me: failed program was:" >&5
5723 5718
 sed 's/^/| /' conftest.$ac_ext >&5
5724 5719
 
5725
-ac_compiler_gnu=no
5720
+	ac_compiler_gnu=no
5726 5721
 fi
5727
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5722
+
5723
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5728 5724
 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5729 5725
 
5730 5726
 fi
5731
-echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5732
-echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5727
+{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5728
+echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5733 5729
 ac_ext=$ac_save_ext
5734 5730
 ac_test_FFLAGS=${FFLAGS+set}
5735 5731
 ac_save_FFLAGS=$FFLAGS
5736 5732
 FFLAGS=
5737
-echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5738
-echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5733
+{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5734
+echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5739 5735
 if test "${ac_cv_prog_f77_g+set}" = set; then
5740 5736
   echo $ECHO_N "(cached) $ECHO_C" >&6
5741 5737
 else
... ...
@@ -5746,39 +6426,35 @@ cat >conftest.$ac_ext <<_ACEOF
5746 5746
       end
5747 5747
 _ACEOF
5748 5748
 rm -f conftest.$ac_objext
5749
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5750
-  (eval $ac_compile) 2>conftest.er1
5749
+if { (ac_try="$ac_compile"
5750
+case "(($ac_try" in
5751
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5752
+  *) ac_try_echo=$ac_try;;
5753
+esac
5754
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5755
+  (eval "$ac_compile") 2>conftest.er1
5751 5756
   ac_status=$?
5752 5757
   grep -v '^ *+' conftest.er1 >conftest.err
5753 5758
   rm -f conftest.er1
5754 5759
   cat conftest.err >&5
5755 5760
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756
-  (exit $ac_status); } &&
5757
-	 { ac_try='test -z "$ac_f77_werror_flag"
5758
-			 || test ! -s conftest.err'
5759
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5760
-  (eval $ac_try) 2>&5
5761
-  ac_status=$?
5762
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763
-  (exit $ac_status); }; } &&
5764
-	 { ac_try='test -s conftest.$ac_objext'
5765
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766
-  (eval $ac_try) 2>&5
5767
-  ac_status=$?
5768
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5769
-  (exit $ac_status); }; }; then
5761
+  (exit $ac_status); } && {
5762
+	 test -z "$ac_f77_werror_flag" ||
5763
+	 test ! -s conftest.err
5764
+       } && test -s conftest.$ac_objext; then
5770 5765
   ac_cv_prog_f77_g=yes
5771 5766
 else
5772 5767
   echo "$as_me: failed program was:" >&5
5773 5768
 sed 's/^/| /' conftest.$ac_ext >&5
5774 5769
 
5775
-ac_cv_prog_f77_g=no
5770
+	ac_cv_prog_f77_g=no
5776 5771
 fi
5777
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5772
+
5773
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5778 5774
 
5779 5775
 fi
5780
-echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5781
-echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5776
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5777
+echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5782 5778
 if test "$ac_test_FFLAGS" = set; then
5783 5779
   FFLAGS=$ac_save_FFLAGS
5784 5780
 elif test $ac_cv_prog_f77_g = yes; then
... ...
@@ -5807,8 +6483,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
5807 5807
 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5808 5808
 
5809 5809
 # find the maximum length of command line arguments
5810
-echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5811
-echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5810
+{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5811
+echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5812 5812
 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5813 5813
   echo $ECHO_N "(cached) $ECHO_C" >&6
5814 5814
 else
... ...
@@ -5916,19 +6592,19 @@ else
5916 5916
 fi
5917 5917
 
5918 5918
 if test -n $lt_cv_sys_max_cmd_len ; then
5919
-  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5920
-echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5919
+  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5920
+echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5921 5921
 else
5922
-  echo "$as_me:$LINENO: result: none" >&5
5923
-echo "${ECHO_T}none" >&6
5922
+  { echo "$as_me:$LINENO: result: none" >&5
5923
+echo "${ECHO_T}none" >&6; }
5924 5924
 fi
5925 5925
 
5926 5926
 
5927 5927
 
5928 5928
 
5929 5929
 # Check for command to grab the raw symbol name followed by C symbol from nm.
5930
-echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5931
-echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5930
+{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5931
+echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5932 5932
 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5933 5933
   echo $ECHO_N "(cached) $ECHO_C" >&6
5934 5934
 else
... ...
@@ -6132,15 +6808,15 @@ if test -z "$lt_cv_sys_global_symbol_pipe"; then
6132 6132
   lt_cv_sys_global_symbol_to_cdecl=
6133 6133
 fi
6134 6134
 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6135
-  echo "$as_me:$LINENO: result: failed" >&5
6136
-echo "${ECHO_T}failed" >&6
6135
+  { echo "$as_me:$LINENO: result: failed" >&5
6136
+echo "${ECHO_T}failed" >&6; }
6137 6137
 else
6138
-  echo "$as_me:$LINENO: result: ok" >&5
6139
-echo "${ECHO_T}ok" >&6
6138
+  { echo "$as_me:$LINENO: result: ok" >&5
6139
+echo "${ECHO_T}ok" >&6; }
6140 6140
 fi
6141 6141
 
6142
-echo "$as_me:$LINENO: checking for objdir" >&5
6143
-echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6142
+{ echo "$as_me:$LINENO: checking for objdir" >&5
6143
+echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6144 6144
 if test "${lt_cv_objdir+set}" = set; then
6145 6145
   echo $ECHO_N "(cached) $ECHO_C" >&6
6146 6146
 else
... ...
@@ -6154,8 +6830,8 @@ else
6154 6154
 fi
6155 6155
 rmdir .libs 2>/dev/null
6156 6156
 fi
6157
-echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6158
-echo "${ECHO_T}$lt_cv_objdir" >&6
6157
+{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6158
+echo "${ECHO_T}$lt_cv_objdir" >&6; }
6159 6159
 objdir=$lt_cv_objdir
6160 6160
 
6161 6161
 
... ...
@@ -6206,8 +6882,8 @@ with_gnu_ld="$lt_cv_prog_gnu_ld"
6206 6206
 if test -n "$ac_tool_prefix"; then
6207 6207
   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6208 6208
 set dummy ${ac_tool_prefix}ar; ac_word=$2
6209
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6210
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6209
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6210
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6211 6211
 if test "${ac_cv_prog_AR+set}" = set; then
6212 6212
   echo $ECHO_N "(cached) $ECHO_C" >&6
6213 6213
 else
... ...
@@ -6220,32 +6896,34 @@ do
6220 6220
   IFS=$as_save_IFS
6221 6221
   test -z "$as_dir" && as_dir=.
6222 6222
   for ac_exec_ext in '' $ac_executable_extensions; do
6223
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6224 6224
     ac_cv_prog_AR="${ac_tool_prefix}ar"
6225 6225
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6226 6226
     break 2
6227 6227
   fi
6228 6228
 done
6229 6229
 done
6230
+IFS=$as_save_IFS
6230 6231
 
6231 6232
 fi
6232 6233
 fi
6233 6234
 AR=$ac_cv_prog_AR
6234 6235
 if test -n "$AR"; then
6235
-  echo "$as_me:$LINENO: result: $AR" >&5
6236
-echo "${ECHO_T}$AR" >&6
6236
+  { echo "$as_me:$LINENO: result: $AR" >&5
6237
+echo "${ECHO_T}$AR" >&6; }
6237 6238
 else
6238
-  echo "$as_me:$LINENO: result: no" >&5
6239
-echo "${ECHO_T}no" >&6
6239
+  { echo "$as_me:$LINENO: result: no" >&5
6240
+echo "${ECHO_T}no" >&6; }
6240 6241
 fi
6241 6242
 
6243
+
6242 6244
 fi
6243 6245
 if test -z "$ac_cv_prog_AR"; then
6244 6246
   ac_ct_AR=$AR
6245 6247
   # Extract the first word of "ar", so it can be a program name with args.
6246 6248
 set dummy ar; ac_word=$2
6247
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6248
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6249
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6250
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6249 6251
 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6250 6252
   echo $ECHO_N "(cached) $ECHO_C" >&6
6251 6253
 else
... ...
@@ -6258,27 +6936,41 @@ do
6258 6258
   IFS=$as_save_IFS
6259 6259
   test -z "$as_dir" && as_dir=.
6260 6260
   for ac_exec_ext in '' $ac_executable_extensions; do
6261
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6261
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 6262
     ac_cv_prog_ac_ct_AR="ar"
6263 6263
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 6264
     break 2
6265 6265
   fi
6266 6266
 done
6267 6267
 done
6268
+IFS=$as_save_IFS
6268 6269
 
6269
-  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6270 6270
 fi
6271 6271
 fi
6272 6272
 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6273 6273
 if test -n "$ac_ct_AR"; then
6274
-  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6275
-echo "${ECHO_T}$ac_ct_AR" >&6
6274
+  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6275
+echo "${ECHO_T}$ac_ct_AR" >&6; }
6276 6276
 else
6277
-  echo "$as_me:$LINENO: result: no" >&5
6278
-echo "${ECHO_T}no" >&6
6277
+  { echo "$as_me:$LINENO: result: no" >&5
6278
+echo "${ECHO_T}no" >&6; }
6279 6279
 fi
6280 6280
 
6281
-  AR=$ac_ct_AR
6281
+  if test "x$ac_ct_AR" = x; then
6282
+    AR="false"
6283
+  else
6284
+    case $cross_compiling:$ac_tool_warned in
6285
+yes:)
6286
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6287
+whose name does not start with the host triplet.  If you think this
6288
+configuration is useful to you, please write to autoconf@gnu.org." >&5
6289
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6290
+whose name does not start with the host triplet.  If you think this
6291
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6292
+ac_tool_warned=yes ;;
6293
+esac
6294
+    AR=$ac_ct_AR
6295
+  fi
6282 6296
 else
6283 6297
   AR="$ac_cv_prog_AR"
6284 6298
 fi
... ...
@@ -6286,8 +6978,8 @@ fi
6286 6286
 if test -n "$ac_tool_prefix"; then
6287 6287
   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6288 6288
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6289
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6290
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6289
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6290
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 6291
 if test "${ac_cv_prog_RANLIB+set}" = set; then
6292 6292
   echo $ECHO_N "(cached) $ECHO_C" >&6
6293 6293
 else
... ...
@@ -6300,32 +6992,34 @@ do
6300 6300
   IFS=$as_save_IFS
6301 6301
   test -z "$as_dir" && as_dir=.
6302 6302
   for ac_exec_ext in '' $ac_executable_extensions; do
6303
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6303
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 6304
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6305 6305
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 6306
     break 2
6307 6307
   fi
6308 6308
 done
6309 6309
 done
6310
+IFS=$as_save_IFS
6310 6311
 
6311 6312
 fi
6312 6313
 fi
6313 6314
 RANLIB=$ac_cv_prog_RANLIB
6314 6315
 if test -n "$RANLIB"; then
6315
-  echo "$as_me:$LINENO: result: $RANLIB" >&5
6316
-echo "${ECHO_T}$RANLIB" >&6
6316
+  { echo "$as_me:$LINENO: result: $RANLIB" >&5
6317
+echo "${ECHO_T}$RANLIB" >&6; }
6317 6318
 else
6318
-  echo "$as_me:$LINENO: result: no" >&5
6319
-echo "${ECHO_T}no" >&6
6319
+  { echo "$as_me:$LINENO: result: no" >&5
6320
+echo "${ECHO_T}no" >&6; }
6320 6321
 fi
6321 6322
 
6323
+
6322 6324
 fi
6323 6325
 if test -z "$ac_cv_prog_RANLIB"; then
6324 6326
   ac_ct_RANLIB=$RANLIB
6325 6327
   # Extract the first word of "ranlib", so it can be a program name with args.
6326 6328
 set dummy ranlib; ac_word=$2
6327
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6328
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6329
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6330
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6329 6331
 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6330 6332
   echo $ECHO_N "(cached) $ECHO_C" >&6
6331 6333
 else
... ...
@@ -6338,27 +7032,41 @@ do
6338 6338
   IFS=$as_save_IFS
6339 6339
   test -z "$as_dir" && as_dir=.
6340 6340
   for ac_exec_ext in '' $ac_executable_extensions; do
6341
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6341
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342 6342
     ac_cv_prog_ac_ct_RANLIB="ranlib"
6343 6343
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6344 6344
     break 2
6345 6345
   fi
6346 6346
 done
6347 6347
 done
6348
+IFS=$as_save_IFS
6348 6349
 
6349
-  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6350 6350
 fi
6351 6351
 fi
6352 6352
 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6353 6353
 if test -n "$ac_ct_RANLIB"; then
6354
-  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6355
-echo "${ECHO_T}$ac_ct_RANLIB" >&6
6354
+  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6355
+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6356 6356
 else
6357
-  echo "$as_me:$LINENO: result: no" >&5
6358
-echo "${ECHO_T}no" >&6
6357
+  { echo "$as_me:$LINENO: result: no" >&5
6358
+echo "${ECHO_T}no" >&6; }
6359 6359
 fi
6360 6360
 
6361
-  RANLIB=$ac_ct_RANLIB
6361
+  if test "x$ac_ct_RANLIB" = x; then
6362
+    RANLIB=":"
6363
+  else
6364
+    case $cross_compiling:$ac_tool_warned in
6365
+yes:)
6366
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6367
+whose name does not start with the host triplet.  If you think this
6368
+configuration is useful to you, please write to autoconf@gnu.org." >&5
6369
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6370
+whose name does not start with the host triplet.  If you think this
6371
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6372
+ac_tool_warned=yes ;;
6373
+esac
6374
+    RANLIB=$ac_ct_RANLIB
6375
+  fi
6362 6376
 else
6363 6377
   RANLIB="$ac_cv_prog_RANLIB"
6364 6378
 fi
... ...
@@ -6366,8 +7074,8 @@ fi
6366 6366
 if test -n "$ac_tool_prefix"; then
6367 6367
   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6368 6368
 set dummy ${ac_tool_prefix}strip; ac_word=$2
6369
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6370
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6369
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6370
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6371 6371
 if test "${ac_cv_prog_STRIP+set}" = set; then
6372 6372
   echo $ECHO_N "(cached) $ECHO_C" >&6
6373 6373
 else
... ...
@@ -6380,32 +7088,34 @@ do
6380 6380
   IFS=$as_save_IFS
6381 6381
   test -z "$as_dir" && as_dir=.
6382 6382
   for ac_exec_ext in '' $ac_executable_extensions; do
6383
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6383
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6384 6384
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6385 6385
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 6386
     break 2
6387 6387
   fi
6388 6388
 done
6389 6389
 done
6390
+IFS=$as_save_IFS
6390 6391
 
6391 6392
 fi
6392 6393
 fi
6393 6394
 STRIP=$ac_cv_prog_STRIP
6394 6395
 if test -n "$STRIP"; then
6395
-  echo "$as_me:$LINENO: result: $STRIP" >&5
6396
-echo "${ECHO_T}$STRIP" >&6
6396
+  { echo "$as_me:$LINENO: result: $STRIP" >&5
6397
+echo "${ECHO_T}$STRIP" >&6; }
6397 6398
 else
6398
-  echo "$as_me:$LINENO: result: no" >&5
6399
-echo "${ECHO_T}no" >&6
6399
+  { echo "$as_me:$LINENO: result: no" >&5
6400
+echo "${ECHO_T}no" >&6; }
6400 6401
 fi
6401 6402
 
6403
+
6402 6404
 fi
6403 6405
 if test -z "$ac_cv_prog_STRIP"; then
6404 6406
   ac_ct_STRIP=$STRIP
6405 6407
   # Extract the first word of "strip", so it can be a program name with args.
6406 6408
 set dummy strip; ac_word=$2
6407
-echo "$as_me:$LINENO: checking for $ac_word" >&5
6408
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6409
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6410
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6409 6411
 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6410 6412
   echo $ECHO_N "(cached) $ECHO_C" >&6
6411 6413
 else
... ...
@@ -6418,27 +7128,41 @@ do
6418 6418
   IFS=$as_save_IFS
6419 6419
   test -z "$as_dir" && as_dir=.
6420 6420
   for ac_exec_ext in '' $ac_executable_extensions; do
6421
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6421
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6422 6422
     ac_cv_prog_ac_ct_STRIP="strip"
6423 6423
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 6424
     break 2
6425 6425
   fi
6426 6426
 done
6427 6427
 done
6428
+IFS=$as_save_IFS
6428 6429
 
6429
-  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6430 6430
 fi
6431 6431
 fi
6432 6432
 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6433 6433
 if test -n "$ac_ct_STRIP"; then
6434
-  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6435
-echo "${ECHO_T}$ac_ct_STRIP" >&6
6434
+  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6435
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6436 6436
 else
6437
-  echo "$as_me:$LINENO: result: no" >&5
6438
-echo "${ECHO_T}no" >&6
6437
+  { echo "$as_me:$LINENO: result: no" >&5
6438
+echo "${ECHO_T}no" >&6; }
6439 6439
 fi
6440 6440
 
6441
-  STRIP=$ac_ct_STRIP
6441
+  if test "x$ac_ct_STRIP" = x; then
6442
+    STRIP=":"
6443
+  else
6444
+    case $cross_compiling:$ac_tool_warned in
6445
+yes:)
6446
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6447
+whose name does not start with the host triplet.  If you think this
6448
+configuration is useful to you, please write to autoconf@gnu.org." >&5
6449
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6450
+whose name does not start with the host triplet.  If you think this
6451
+configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6452
+ac_tool_warned=yes ;;
6453
+esac
6454
+    STRIP=$ac_ct_STRIP
6455
+  fi
6442 6456
 else
6443 6457
   STRIP="$ac_cv_prog_STRIP"
6444 6458
 fi
... ...
@@ -6497,8 +7221,8 @@ cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6497 6497
 case $deplibs_check_method in
6498 6498
 file_magic*)
6499 6499
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6500
-    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6501
-echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6500
+    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6501
+echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6502 6502
 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6503 6503
   echo $ECHO_N "(cached) $ECHO_C" >&6
6504 6504
 else
... ...
@@ -6550,17 +7274,17 @@ fi
6550 6550
 
6551 6551
 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6552 6552
 if test -n "$MAGIC_CMD"; then
6553
-  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6554
-echo "${ECHO_T}$MAGIC_CMD" >&6
6553
+  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6554
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
6555 6555
 else
6556
-  echo "$as_me:$LINENO: result: no" >&5
6557
-echo "${ECHO_T}no" >&6
6556
+  { echo "$as_me:$LINENO: result: no" >&5
6557
+echo "${ECHO_T}no" >&6; }
6558 6558
 fi
6559 6559
 
6560 6560
 if test -z "$lt_cv_path_MAGIC_CMD"; then
6561 6561
   if test -n "$ac_tool_prefix"; then
6562
-    echo "$as_me:$LINENO: checking for file" >&5
6563
-echo $ECHO_N "checking for file... $ECHO_C" >&6
6562
+    { echo "$as_me:$LINENO: checking for file" >&5
6563
+echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6564 6564
 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6565 6565
   echo $ECHO_N "(cached) $ECHO_C" >&6
6566 6566
 else
... ...
@@ -6612,11 +7336,11 @@ fi
6612 6612
 
6613 6613
 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6614 6614
 if test -n "$MAGIC_CMD"; then
6615
-  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6616
-echo "${ECHO_T}$MAGIC_CMD" >&6
6615
+  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6616
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
6617 6617
 else
6618
-  echo "$as_me:$LINENO: result: no" >&5
6619
-echo "${ECHO_T}no" >&6
6618
+  { echo "$as_me:$LINENO: result: no" >&5
6619
+echo "${ECHO_T}no" >&6; }
6620 6620
 fi
6621 6621
 
6622 6622
   else
... ...
@@ -6631,21 +7355,21 @@ esac
6631 6631
 enable_dlopen=no
6632 6632
 enable_win32_dll=no
6633 6633
 
6634
-# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6634
+# Check whether --enable-libtool-lock was given.
6635 6635
 if test "${enable_libtool_lock+set}" = set; then
6636
-  enableval="$enable_libtool_lock"
6636
+  enableval=$enable_libtool_lock;
6637
+fi
6637 6638
 
6638
-fi;
6639 6639
 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6640 6640
 
6641 6641
 
6642
-# Check whether --with-pic or --without-pic was given.
6642
+# Check whether --with-pic was given.
6643 6643
 if test "${with_pic+set}" = set; then
6644
-  withval="$with_pic"
6645
-  pic_mode="$withval"
6644
+  withval=$with_pic; pic_mode="$withval"
6646 6645
 else
6647 6646
   pic_mode=default
6648
-fi;
6647
+fi
6648
+
6649 6649
 test -z "$pic_mode" && pic_mode=default
6650 6650
 
6651 6651
 # Use C for the default configuration in the libtool script
... ...
@@ -6703,8 +7427,8 @@ if test "$GCC" = yes; then
6703 6703
   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6704 6704
 
6705 6705
 
6706
-echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6707
-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6706
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6707
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6708 6708
 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6709 6709
   echo $ECHO_N "(cached) $ECHO_C" >&6
6710 6710
 else
... ...
@@ -6721,11 +7445,11 @@ else
6721 6721
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6722 6722
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6723 6723
    -e 's:$: $lt_compiler_flag:'`
6724
-   (eval echo "\"\$as_me:6724: $lt_compile\"" >&5)
6724
+   (eval echo "\"\$as_me:7448: $lt_compile\"" >&5)
6725 6725
    (eval "$lt_compile" 2>conftest.err)
6726 6726
    ac_status=$?
6727 6727
    cat conftest.err >&5
6728
-   echo "$as_me:6728: \$? = $ac_status" >&5
6728
+   echo "$as_me:7452: \$? = $ac_status" >&5
6729 6729
    if (exit $ac_status) && test -s "$ac_outfile"; then
6730 6730
      # The compiler can only warn and ignore the option if not recognized
6731 6731
      # So say no if there are warnings other than the usual output.
... ...
@@ -6738,8 +7462,8 @@ else
6738 6738
    $rm conftest*
6739 6739
 
6740 6740
 fi
6741
-echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6742
-echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6741
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6742
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6743 6743
 
6744 6744
 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6745 6745
     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
... ...
@@ -6753,8 +7477,8 @@ lt_prog_compiler_wl=
6753 6753
 lt_prog_compiler_pic=
6754 6754
 lt_prog_compiler_static=
6755 6755
 
6756
-echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6757
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6756
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6757
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6758 6758
 
6759 6759
   if test "$GCC" = yes; then
6760 6760
     lt_prog_compiler_wl='-Wl,'
... ...
@@ -6963,16 +7687,16 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6963 6963
     esac
6964 6964
   fi
6965 6965
 
6966
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6967
-echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6966
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6967
+echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6968 6968
 
6969 6969
 #
6970 6970
 # Check to make sure the PIC flag actually works.
6971 6971
 #
6972 6972
 if test -n "$lt_prog_compiler_pic"; then
6973 6973
 
6974
-echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6975
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6974
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6975
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6976 6976
 if test "${lt_prog_compiler_pic_works+set}" = set; then
6977 6977
   echo $ECHO_N "(cached) $ECHO_C" >&6
6978 6978
 else
... ...
@@ -6989,11 +7713,11 @@ else
6989 6989
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6990 6990
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6991 6991
    -e 's:$: $lt_compiler_flag:'`
6992
-   (eval echo "\"\$as_me:6992: $lt_compile\"" >&5)
6992
+   (eval echo "\"\$as_me:7716: $lt_compile\"" >&5)
6993 6993
    (eval "$lt_compile" 2>conftest.err)
6994 6994
    ac_status=$?
6995 6995
    cat conftest.err >&5
6996
-   echo "$as_me:6996: \$? = $ac_status" >&5
6996
+   echo "$as_me:7720: \$? = $ac_status" >&5
6997 6997
    if (exit $ac_status) && test -s "$ac_outfile"; then
6998 6998
      # The compiler can only warn and ignore the option if not recognized
6999 6999
      # So say no if there are warnings other than the usual output.
... ...
@@ -7006,8 +7730,8 @@ else
7006 7006
    $rm conftest*
7007 7007
 
7008 7008
 fi
7009
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7010
-echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7009
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7010
+echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7011 7011
 
7012 7012
 if test x"$lt_prog_compiler_pic_works" = xyes; then
7013 7013
     case $lt_prog_compiler_pic in
... ...
@@ -7034,8 +7758,8 @@ esac
7034 7034
 # Check to make sure the static flag actually works.
7035 7035
 #
7036 7036
 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7037
-echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7038
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7037
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7038
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7039 7039
 if test "${lt_prog_compiler_static_works+set}" = set; then
7040 7040
   echo $ECHO_N "(cached) $ECHO_C" >&6
7041 7041
 else
... ...
@@ -7062,8 +7786,8 @@ else
7062 7062
    LDFLAGS="$save_LDFLAGS"
7063 7063
 
7064 7064
 fi
7065
-echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7066
-echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7065
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7066
+echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7067 7067
 
7068 7068
 if test x"$lt_prog_compiler_static_works" = xyes; then
7069 7069
     :
... ...
@@ -7072,8 +7796,8 @@ else
7072 7072
 fi
7073 7073
 
7074 7074
 
7075
-echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7076
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7075
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7076
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7077 7077
 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7078 7078
   echo $ECHO_N "(cached) $ECHO_C" >&6
7079 7079
 else
... ...
@@ -7093,11 +7817,11 @@ else
7093 7093
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7094 7094
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7095 7095
    -e 's:$: $lt_compiler_flag:'`
7096
-   (eval echo "\"\$as_me:7096: $lt_compile\"" >&5)
7096
+   (eval echo "\"\$as_me:7820: $lt_compile\"" >&5)
7097 7097
    (eval "$lt_compile" 2>out/conftest.err)
7098 7098
    ac_status=$?
7099 7099
    cat out/conftest.err >&5
7100
-   echo "$as_me:7100: \$? = $ac_status" >&5
7100
+   echo "$as_me:7824: \$? = $ac_status" >&5
7101 7101
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7102 7102
    then
7103 7103
      # The compiler can only warn and ignore the option if not recognized
... ...
@@ -7119,23 +7843,23 @@ else
7119 7119
    $rm conftest*
7120 7120
 
7121 7121
 fi
7122
-echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7123
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7122
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7123
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7124 7124
 
7125 7125
 
7126 7126
 hard_links="nottested"
7127 7127
 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7128 7128
   # do not overwrite the value of need_locks provided by the user
7129
-  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7130
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7129
+  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7130
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7131 7131
   hard_links=yes
7132 7132
   $rm conftest*
7133 7133
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7134 7134
   touch conftest.a
7135 7135
   ln conftest.a conftest.b 2>&5 || hard_links=no
7136 7136
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7137
-  echo "$as_me:$LINENO: result: $hard_links" >&5
7138
-echo "${ECHO_T}$hard_links" >&6
7137
+  { echo "$as_me:$LINENO: result: $hard_links" >&5
7138
+echo "${ECHO_T}$hard_links" >&6; }
7139 7139
   if test "$hard_links" = no; then
7140 7140
     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7141 7141
 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
... ...
@@ -7145,8 +7869,8 @@ else
7145 7145
   need_locks=no
7146 7146
 fi
7147 7147
 
7148
-echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7149
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7148
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7149
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7150 7150
 
7151 7151
   runpath_var=
7152 7152
   allow_undefined_flag=
... ...
@@ -7561,27 +8285,23 @@ main ()
7561 7561
 }
7562 7562
 _ACEOF
7563 7563
 rm -f conftest.$ac_objext conftest$ac_exeext
7564
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7565
-  (eval $ac_link) 2>conftest.er1
7564
+if { (ac_try="$ac_link"
7565
+case "(($ac_try" in
7566
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7567
+  *) ac_try_echo=$ac_try;;
7568
+esac
7569
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7570
+  (eval "$ac_link") 2>conftest.er1
7566 7571
   ac_status=$?
7567 7572
   grep -v '^ *+' conftest.er1 >conftest.err
7568 7573
   rm -f conftest.er1
7569 7574
   cat conftest.err >&5
7570 7575
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571
-  (exit $ac_status); } &&
7572
-	 { ac_try='test -z "$ac_c_werror_flag"
7573
-			 || test ! -s conftest.err'
7574
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575
-  (eval $ac_try) 2>&5
7576
-  ac_status=$?
7577
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578
-  (exit $ac_status); }; } &&
7579
-	 { ac_try='test -s conftest$ac_exeext'
7580
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581
-  (eval $ac_try) 2>&5
7582
-  ac_status=$?
7583
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584
-  (exit $ac_status); }; }; then
7576
+  (exit $ac_status); } && {
7577
+	 test -z "$ac_c_werror_flag" ||
7578
+	 test ! -s conftest.err
7579
+       } && test -s conftest$ac_exeext &&
7580
+       $as_test_x conftest$ac_exeext; then
7585 7581
 
7586 7582
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7587 7583
 }'`
... ...
@@ -7592,8 +8312,10 @@ else
7592 7592
   echo "$as_me: failed program was:" >&5
7593 7593
 sed 's/^/| /' conftest.$ac_ext >&5
7594 7594
 
7595
+
7595 7596
 fi
7596
-rm -f conftest.err conftest.$ac_objext \
7597
+
7598
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7597 7599
       conftest$ac_exeext conftest.$ac_ext
7598 7600
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7599 7601
 
... ...
@@ -7622,27 +8344,23 @@ main ()
7622 7622
 }
7623 7623
 _ACEOF
7624 7624
 rm -f conftest.$ac_objext conftest$ac_exeext
7625
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7626
-  (eval $ac_link) 2>conftest.er1
7625
+if { (ac_try="$ac_link"
7626
+case "(($ac_try" in
7627
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7628
+  *) ac_try_echo=$ac_try;;
7629
+esac
7630
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7631
+  (eval "$ac_link") 2>conftest.er1
7627 7632
   ac_status=$?
7628 7633
   grep -v '^ *+' conftest.er1 >conftest.err
7629 7634
   rm -f conftest.er1
7630 7635
   cat conftest.err >&5
7631 7636
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632
-  (exit $ac_status); } &&
7633
-	 { ac_try='test -z "$ac_c_werror_flag"
7634
-			 || test ! -s conftest.err'
7635
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7636
-  (eval $ac_try) 2>&5
7637
-  ac_status=$?
7638
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639
-  (exit $ac_status); }; } &&
7640
-	 { ac_try='test -s conftest$ac_exeext'
7641
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7642
-  (eval $ac_try) 2>&5
7643
-  ac_status=$?
7644
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645
-  (exit $ac_status); }; }; then
7637
+  (exit $ac_status); } && {
7638
+	 test -z "$ac_c_werror_flag" ||
7639
+	 test ! -s conftest.err
7640
+       } && test -s conftest$ac_exeext &&
7641
+       $as_test_x conftest$ac_exeext; then
7646 7642
 
7647 7643
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7648 7644
 }'`
... ...
@@ -7653,8 +8371,10 @@ else
7653 7653
   echo "$as_me: failed program was:" >&5
7654 7654
 sed 's/^/| /' conftest.$ac_ext >&5
7655 7655
 
7656
+
7656 7657
 fi
7657
-rm -f conftest.err conftest.$ac_objext \
7658
+
7659
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7658 7660
       conftest$ac_exeext conftest.$ac_ext
7659 7661
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7660 7662
 
... ...
@@ -8103,8 +8823,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8103 8103
     esac
8104 8104
   fi
8105 8105
 
8106
-echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8107
-echo "${ECHO_T}$ld_shlibs" >&6
8106
+{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8107
+echo "${ECHO_T}$ld_shlibs" >&6; }
8108 8108
 test "$ld_shlibs" = no && can_build_shared=no
8109 8109
 
8110 8110
 #
... ...
@@ -8124,8 +8844,8 @@ x|xyes)
8124 8124
       # Test whether the compiler implicitly links with -lc since on some
8125 8125
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8126 8126
       # to ld, don't add -lc before -lgcc.
8127
-      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8128
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8127
+      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8128
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8129 8129
       $rm conftest*
8130 8130
       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8131 8131
 
... ...
@@ -8162,16 +8882,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
8162 8162
         cat conftest.err 1>&5
8163 8163
       fi
8164 8164
       $rm conftest*
8165
-      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8166
-echo "${ECHO_T}$archive_cmds_need_lc" >&6
8165
+      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8166
+echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8167 8167
       ;;
8168 8168
     esac
8169 8169
   fi
8170 8170
   ;;
8171 8171
 esac
8172 8172
 
8173
-echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8174
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8173
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8174
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8175 8175
 library_names_spec=
8176 8176
 libname_spec='lib$name'
8177 8177
 soname_spec=
... ...
@@ -8562,7 +9282,7 @@ linux*)
8562 8562
   libsuff=
8563 8563
   case "$host_cpu" in
8564 8564
   x86_64*|s390x*|powerpc64*)
8565
-    echo '#line 8565 "configure"' > conftest.$ac_ext
8565
+    echo '#line 9285 "configure"' > conftest.$ac_ext
8566 8566
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8567 8567
   (eval $ac_compile) 2>&5
8568 8568
   ac_status=$?
... ...
@@ -8779,8 +9499,8 @@ uts4*)
8779 8779
   dynamic_linker=no
8780 8780
   ;;
8781 8781
 esac
8782
-echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8783
-echo "${ECHO_T}$dynamic_linker" >&6
8782
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8783
+echo "${ECHO_T}$dynamic_linker" >&6; }
8784 8784
 test "$dynamic_linker" = no && can_build_shared=no
8785 8785
 
8786 8786
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
... ...
@@ -8788,8 +9508,8 @@ if test "$GCC" = yes; then
8788 8788
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8789 8789
 fi
8790 8790
 
8791
-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8792
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8791
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8792
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8793 8793
 hardcode_action=
8794 8794
 if test -n "$hardcode_libdir_flag_spec" || \
8795 8795
    test -n "$runpath_var" || \
... ...
@@ -8813,8 +9533,8 @@ else
8813 8813
   # directories.
8814 8814
   hardcode_action=unsupported
8815 8815
 fi
8816
-echo "$as_me:$LINENO: result: $hardcode_action" >&5
8817
-echo "${ECHO_T}$hardcode_action" >&6
8816
+{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
8817
+echo "${ECHO_T}$hardcode_action" >&6; }
8818 8818
 
8819 8819
 if test "$hardcode_action" = relink; then
8820 8820
   # Fast installation is not supported
... ...
@@ -8827,29 +9547,29 @@ fi
8827 8827
 
8828 8828
 striplib=
8829 8829
 old_striplib=
8830
-echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8831
-echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
8830
+{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8831
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8832 8832
 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8833 8833
   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8834 8834
   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8835
-  echo "$as_me:$LINENO: result: yes" >&5
8836
-echo "${ECHO_T}yes" >&6
8835
+  { echo "$as_me:$LINENO: result: yes" >&5
8836
+echo "${ECHO_T}yes" >&6; }
8837 8837
 else
8838 8838
 # FIXME - insert some real tests, host_os isn't really good enough
8839 8839
   case $host_os in
8840 8840
    darwin*)
8841 8841
        if test -n "$STRIP" ; then
8842 8842
          striplib="$STRIP -x"
8843
-         echo "$as_me:$LINENO: result: yes" >&5
8844
-echo "${ECHO_T}yes" >&6
8843
+         { echo "$as_me:$LINENO: result: yes" >&5
8844
+echo "${ECHO_T}yes" >&6; }
8845 8845
        else
8846
-  echo "$as_me:$LINENO: result: no" >&5
8847
-echo "${ECHO_T}no" >&6
8846
+  { echo "$as_me:$LINENO: result: no" >&5
8847
+echo "${ECHO_T}no" >&6; }
8848 8848
 fi
8849 8849
        ;;
8850 8850
    *)
8851
-  echo "$as_me:$LINENO: result: no" >&5
8852
-echo "${ECHO_T}no" >&6
8851
+  { echo "$as_me:$LINENO: result: no" >&5
8852
+echo "${ECHO_T}no" >&6; }
8853 8853
     ;;
8854 8854
   esac
8855 8855
 fi
... ...
@@ -8881,8 +9601,8 @@ else
8881 8881
 
8882 8882
   darwin*)
8883 8883
   # if libdl is installed we need to link against it
8884
-    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8885
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8884
+    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8885
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8886 8886
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8887 8887
   echo $ECHO_N "(cached) $ECHO_C" >&6
8888 8888
 else
... ...
@@ -8895,56 +9615,53 @@ cat confdefs.h >>conftest.$ac_ext
8895 8895
 cat >>conftest.$ac_ext <<_ACEOF
8896 8896
 /* end confdefs.h.  */
8897 8897
 
8898
-/* Override any gcc2 internal prototype to avoid an error.  */
8898
+/* Override any GCC internal prototype to avoid an error.
8899
+   Use char because int might match the return type of a GCC
8900
+   builtin and then its argument prototype would still apply.  */
8899 8901
 #ifdef __cplusplus
8900 8902
 extern "C"
8901 8903
 #endif
8902
-/* We use char because int might match the return type of a gcc2
8903
-   builtin and then its argument prototype would still apply.  */
8904 8904
 char dlopen ();
8905 8905
 int
8906 8906
 main ()
8907 8907
 {
8908
-dlopen ();
8908
+return dlopen ();
8909 8909
   ;
8910 8910
   return 0;
8911 8911
 }
8912 8912
 _ACEOF
8913 8913
 rm -f conftest.$ac_objext conftest$ac_exeext
8914
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8915
-  (eval $ac_link) 2>conftest.er1
8914
+if { (ac_try="$ac_link"
8915
+case "(($ac_try" in
8916
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8917
+  *) ac_try_echo=$ac_try;;
8918
+esac
8919
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8920
+  (eval "$ac_link") 2>conftest.er1
8916 8921
   ac_status=$?
8917 8922
   grep -v '^ *+' conftest.er1 >conftest.err
8918 8923
   rm -f conftest.er1
8919 8924
   cat conftest.err >&5
8920 8925
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921
-  (exit $ac_status); } &&
8922
-	 { ac_try='test -z "$ac_c_werror_flag"
8923
-			 || test ! -s conftest.err'
8924
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925
-  (eval $ac_try) 2>&5
8926
-  ac_status=$?
8927
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928
-  (exit $ac_status); }; } &&
8929
-	 { ac_try='test -s conftest$ac_exeext'
8930
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931
-  (eval $ac_try) 2>&5
8932
-  ac_status=$?
8933
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934
-  (exit $ac_status); }; }; then
8926
+  (exit $ac_status); } && {
8927
+	 test -z "$ac_c_werror_flag" ||
8928
+	 test ! -s conftest.err
8929
+       } && test -s conftest$ac_exeext &&
8930
+       $as_test_x conftest$ac_exeext; then
8935 8931
   ac_cv_lib_dl_dlopen=yes
8936 8932
 else
8937 8933
   echo "$as_me: failed program was:" >&5
8938 8934
 sed 's/^/| /' conftest.$ac_ext >&5
8939 8935
 
8940
-ac_cv_lib_dl_dlopen=no
8936
+	ac_cv_lib_dl_dlopen=no
8941 8937
 fi
8942
-rm -f conftest.err conftest.$ac_objext \
8938
+
8939
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8943 8940
       conftest$ac_exeext conftest.$ac_ext
8944 8941
 LIBS=$ac_check_lib_save_LIBS
8945 8942
 fi
8946
-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8947
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8943
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8944
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8948 8945
 if test $ac_cv_lib_dl_dlopen = yes; then
8949 8946
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8950 8947
 else
... ...
@@ -8958,8 +9675,8 @@ fi
8958 8958
    ;;
8959 8959
 
8960 8960
   *)
8961
-    echo "$as_me:$LINENO: checking for shl_load" >&5
8962
-echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8961
+    { echo "$as_me:$LINENO: checking for shl_load" >&5
8962
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8963 8963
 if test "${ac_cv_func_shl_load+set}" = set; then
8964 8964
   echo $ECHO_N "(cached) $ECHO_C" >&6
8965 8965
 else
... ...
@@ -8986,73 +9703,64 @@ cat >>conftest.$ac_ext <<_ACEOF
8986 8986
 
8987 8987
 #undef shl_load
8988 8988
 
8989
-/* Override any gcc2 internal prototype to avoid an error.  */
8989
+/* Override any GCC internal prototype to avoid an error.
8990
+   Use char because int might match the return type of a GCC
8991
+   builtin and then its argument prototype would still apply.  */
8990 8992
 #ifdef __cplusplus
8991 8993
 extern "C"
8992
-{
8993 8994
 #endif
8994
-/* We use char because int might match the return type of a gcc2
8995
-   builtin and then its argument prototype would still apply.  */
8996 8995
 char shl_load ();
8997 8996
 /* The GNU C library defines this for functions which it implements
8998 8997
     to always fail with ENOSYS.  Some functions are actually named
8999 8998
     something starting with __ and the normal name is an alias.  */
9000
-#if defined (__stub_shl_load) || defined (__stub___shl_load)
8999
+#if defined __stub_shl_load || defined __stub___shl_load
9001 9000
 choke me
9002
-#else
9003
-char (*f) () = shl_load;
9004
-#endif
9005
-#ifdef __cplusplus
9006
-}
9007 9001
 #endif
9008 9002
 
9009 9003
 int
9010 9004
 main ()
9011 9005
 {
9012
-return f != shl_load;
9006
+return shl_load ();
9013 9007
   ;
9014 9008
   return 0;
9015 9009
 }
9016 9010
 _ACEOF
9017 9011
 rm -f conftest.$ac_objext conftest$ac_exeext
9018
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9019
-  (eval $ac_link) 2>conftest.er1
9012
+if { (ac_try="$ac_link"
9013
+case "(($ac_try" in
9014
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9015
+  *) ac_try_echo=$ac_try;;
9016
+esac
9017
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9018
+  (eval "$ac_link") 2>conftest.er1
9020 9019
   ac_status=$?
9021 9020
   grep -v '^ *+' conftest.er1 >conftest.err
9022 9021
   rm -f conftest.er1
9023 9022
   cat conftest.err >&5
9024 9023
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025
-  (exit $ac_status); } &&
9026
-	 { ac_try='test -z "$ac_c_werror_flag"
9027
-			 || test ! -s conftest.err'
9028
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029
-  (eval $ac_try) 2>&5
9030
-  ac_status=$?
9031
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032
-  (exit $ac_status); }; } &&
9033
-	 { ac_try='test -s conftest$ac_exeext'
9034
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9035
-  (eval $ac_try) 2>&5
9036
-  ac_status=$?
9037
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038
-  (exit $ac_status); }; }; then
9024
+  (exit $ac_status); } && {
9025
+	 test -z "$ac_c_werror_flag" ||
9026
+	 test ! -s conftest.err
9027
+       } && test -s conftest$ac_exeext &&
9028
+       $as_test_x conftest$ac_exeext; then
9039 9029
   ac_cv_func_shl_load=yes
9040 9030
 else
9041 9031
   echo "$as_me: failed program was:" >&5
9042 9032
 sed 's/^/| /' conftest.$ac_ext >&5
9043 9033
 
9044
-ac_cv_func_shl_load=no
9034
+	ac_cv_func_shl_load=no
9045 9035
 fi
9046
-rm -f conftest.err conftest.$ac_objext \
9036
+
9037
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9047 9038
       conftest$ac_exeext conftest.$ac_ext
9048 9039
 fi
9049
-echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9050
-echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9040
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9041
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9051 9042
 if test $ac_cv_func_shl_load = yes; then
9052 9043
   lt_cv_dlopen="shl_load"
9053 9044
 else
9054
-  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9055
-echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9045
+  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9046
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9056 9047
 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9057 9048
   echo $ECHO_N "(cached) $ECHO_C" >&6
9058 9049
 else
... ...
@@ -9065,61 +9773,58 @@ cat confdefs.h >>conftest.$ac_ext
9065 9065
 cat >>conftest.$ac_ext <<_ACEOF
9066 9066
 /* end confdefs.h.  */
9067 9067
 
9068
-/* Override any gcc2 internal prototype to avoid an error.  */
9068
+/* Override any GCC internal prototype to avoid an error.
9069
+   Use char because int might match the return type of a GCC
9070
+   builtin and then its argument prototype would still apply.  */
9069 9071
 #ifdef __cplusplus
9070 9072
 extern "C"
9071 9073
 #endif
9072
-/* We use char because int might match the return type of a gcc2
9073
-   builtin and then its argument prototype would still apply.  */
9074 9074
 char shl_load ();
9075 9075
 int
9076 9076
 main ()
9077 9077
 {
9078
-shl_load ();
9078
+return shl_load ();
9079 9079
   ;
9080 9080
   return 0;
9081 9081
 }
9082 9082
 _ACEOF
9083 9083
 rm -f conftest.$ac_objext conftest$ac_exeext
9084
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9085
-  (eval $ac_link) 2>conftest.er1
9084
+if { (ac_try="$ac_link"
9085
+case "(($ac_try" in
9086
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9087
+  *) ac_try_echo=$ac_try;;
9088
+esac
9089
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9090
+  (eval "$ac_link") 2>conftest.er1
9086 9091
   ac_status=$?
9087 9092
   grep -v '^ *+' conftest.er1 >conftest.err
9088 9093
   rm -f conftest.er1
9089 9094
   cat conftest.err >&5
9090 9095
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9091
-  (exit $ac_status); } &&
9092
-	 { ac_try='test -z "$ac_c_werror_flag"
9093
-			 || test ! -s conftest.err'
9094
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095
-  (eval $ac_try) 2>&5
9096
-  ac_status=$?
9097
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098
-  (exit $ac_status); }; } &&
9099
-	 { ac_try='test -s conftest$ac_exeext'
9100
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9101
-  (eval $ac_try) 2>&5
9102
-  ac_status=$?
9103
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104
-  (exit $ac_status); }; }; then
9096
+  (exit $ac_status); } && {
9097
+	 test -z "$ac_c_werror_flag" ||
9098
+	 test ! -s conftest.err
9099
+       } && test -s conftest$ac_exeext &&
9100
+       $as_test_x conftest$ac_exeext; then
9105 9101
   ac_cv_lib_dld_shl_load=yes
9106 9102
 else
9107 9103
   echo "$as_me: failed program was:" >&5
9108 9104
 sed 's/^/| /' conftest.$ac_ext >&5
9109 9105
 
9110
-ac_cv_lib_dld_shl_load=no
9106
+	ac_cv_lib_dld_shl_load=no
9111 9107
 fi
9112
-rm -f conftest.err conftest.$ac_objext \
9108
+
9109
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9113 9110
       conftest$ac_exeext conftest.$ac_ext
9114 9111
 LIBS=$ac_check_lib_save_LIBS
9115 9112
 fi
9116
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9117
-echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9113
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9114
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9118 9115
 if test $ac_cv_lib_dld_shl_load = yes; then
9119 9116
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9120 9117
 else
9121
-  echo "$as_me:$LINENO: checking for dlopen" >&5
9122
-echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9118
+  { echo "$as_me:$LINENO: checking for dlopen" >&5
9119
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9123 9120
 if test "${ac_cv_func_dlopen+set}" = set; then
9124 9121
   echo $ECHO_N "(cached) $ECHO_C" >&6
9125 9122
 else
... ...
@@ -9146,73 +9851,64 @@ cat >>conftest.$ac_ext <<_ACEOF
9146 9146
 
9147 9147
 #undef dlopen
9148 9148
 
9149
-/* Override any gcc2 internal prototype to avoid an error.  */
9149
+/* Override any GCC internal prototype to avoid an error.
9150
+   Use char because int might match the return type of a GCC
9151
+   builtin and then its argument prototype would still apply.  */
9150 9152
 #ifdef __cplusplus
9151 9153
 extern "C"
9152
-{
9153 9154
 #endif
9154
-/* We use char because int might match the return type of a gcc2
9155
-   builtin and then its argument prototype would still apply.  */
9156 9155
 char dlopen ();
9157 9156
 /* The GNU C library defines this for functions which it implements
9158 9157
     to always fail with ENOSYS.  Some functions are actually named
9159 9158
     something starting with __ and the normal name is an alias.  */
9160
-#if defined (__stub_dlopen) || defined (__stub___dlopen)
9159
+#if defined __stub_dlopen || defined __stub___dlopen
9161 9160
 choke me
9162
-#else
9163
-char (*f) () = dlopen;
9164
-#endif
9165
-#ifdef __cplusplus
9166
-}
9167 9161
 #endif
9168 9162
 
9169 9163
 int
9170 9164
 main ()
9171 9165
 {
9172
-return f != dlopen;
9166
+return dlopen ();
9173 9167
   ;
9174 9168
   return 0;
9175 9169
 }
9176 9170
 _ACEOF
9177 9171
 rm -f conftest.$ac_objext conftest$ac_exeext
9178
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9179
-  (eval $ac_link) 2>conftest.er1
9172
+if { (ac_try="$ac_link"
9173
+case "(($ac_try" in
9174
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9175
+  *) ac_try_echo=$ac_try;;
9176
+esac
9177
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9178
+  (eval "$ac_link") 2>conftest.er1
9180 9179
   ac_status=$?
9181 9180
   grep -v '^ *+' conftest.er1 >conftest.err
9182 9181
   rm -f conftest.er1
9183 9182
   cat conftest.err >&5
9184 9183
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185
-  (exit $ac_status); } &&
9186
-	 { ac_try='test -z "$ac_c_werror_flag"
9187
-			 || test ! -s conftest.err'
9188
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9189
-  (eval $ac_try) 2>&5
9190
-  ac_status=$?
9191
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192
-  (exit $ac_status); }; } &&
9193
-	 { ac_try='test -s conftest$ac_exeext'
9194
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195
-  (eval $ac_try) 2>&5
9196
-  ac_status=$?
9197
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198
-  (exit $ac_status); }; }; then
9184
+  (exit $ac_status); } && {
9185
+	 test -z "$ac_c_werror_flag" ||
9186
+	 test ! -s conftest.err
9187
+       } && test -s conftest$ac_exeext &&
9188
+       $as_test_x conftest$ac_exeext; then
9199 9189
   ac_cv_func_dlopen=yes
9200 9190
 else
9201 9191
   echo "$as_me: failed program was:" >&5
9202 9192
 sed 's/^/| /' conftest.$ac_ext >&5
9203 9193
 
9204
-ac_cv_func_dlopen=no
9194
+	ac_cv_func_dlopen=no
9205 9195
 fi
9206
-rm -f conftest.err conftest.$ac_objext \
9196
+
9197
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9207 9198
       conftest$ac_exeext conftest.$ac_ext
9208 9199
 fi
9209
-echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9210
-echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9200
+{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9201
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9211 9202
 if test $ac_cv_func_dlopen = yes; then
9212 9203
   lt_cv_dlopen="dlopen"
9213 9204
 else
9214
-  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9215
-echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9205
+  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9206
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9216 9207
 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9217 9208
   echo $ECHO_N "(cached) $ECHO_C" >&6
9218 9209
 else
... ...
@@ -9225,61 +9921,58 @@ cat confdefs.h >>conftest.$ac_ext
9225 9225
 cat >>conftest.$ac_ext <<_ACEOF
9226 9226
 /* end confdefs.h.  */
9227 9227
 
9228
-/* Override any gcc2 internal prototype to avoid an error.  */
9228
+/* Override any GCC internal prototype to avoid an error.
9229
+   Use char because int might match the return type of a GCC
9230
+   builtin and then its argument prototype would still apply.  */
9229 9231
 #ifdef __cplusplus
9230 9232
 extern "C"
9231 9233
 #endif
9232
-/* We use char because int might match the return type of a gcc2
9233
-   builtin and then its argument prototype would still apply.  */
9234 9234
 char dlopen ();
9235 9235
 int
9236 9236
 main ()
9237 9237
 {
9238
-dlopen ();
9238
+return dlopen ();
9239 9239
   ;
9240 9240
   return 0;
9241 9241
 }
9242 9242
 _ACEOF
9243 9243
 rm -f conftest.$ac_objext conftest$ac_exeext
9244
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9245
-  (eval $ac_link) 2>conftest.er1
9244
+if { (ac_try="$ac_link"
9245
+case "(($ac_try" in
9246
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9247
+  *) ac_try_echo=$ac_try;;
9248
+esac
9249
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9250
+  (eval "$ac_link") 2>conftest.er1
9246 9251
   ac_status=$?
9247 9252
   grep -v '^ *+' conftest.er1 >conftest.err
9248 9253
   rm -f conftest.er1
9249 9254
   cat conftest.err >&5
9250 9255
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251
-  (exit $ac_status); } &&
9252
-	 { ac_try='test -z "$ac_c_werror_flag"
9253
-			 || test ! -s conftest.err'
9254
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9255
-  (eval $ac_try) 2>&5
9256
-  ac_status=$?
9257
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258
-  (exit $ac_status); }; } &&
9259
-	 { ac_try='test -s conftest$ac_exeext'
9260
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9261
-  (eval $ac_try) 2>&5
9262
-  ac_status=$?
9263
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264
-  (exit $ac_status); }; }; then
9256
+  (exit $ac_status); } && {
9257
+	 test -z "$ac_c_werror_flag" ||
9258
+	 test ! -s conftest.err
9259
+       } && test -s conftest$ac_exeext &&
9260
+       $as_test_x conftest$ac_exeext; then
9265 9261
   ac_cv_lib_dl_dlopen=yes
9266 9262
 else
9267 9263
   echo "$as_me: failed program was:" >&5
9268 9264
 sed 's/^/| /' conftest.$ac_ext >&5
9269 9265
 
9270
-ac_cv_lib_dl_dlopen=no
9266
+	ac_cv_lib_dl_dlopen=no
9271 9267
 fi
9272
-rm -f conftest.err conftest.$ac_objext \
9268
+
9269
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9273 9270
       conftest$ac_exeext conftest.$ac_ext
9274 9271
 LIBS=$ac_check_lib_save_LIBS
9275 9272
 fi
9276
-echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9277
-echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9273
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9274
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9278 9275
 if test $ac_cv_lib_dl_dlopen = yes; then
9279 9276
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9280 9277
 else
9281
-  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9282
-echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9278
+  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9279
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9283 9280
 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9284 9281
   echo $ECHO_N "(cached) $ECHO_C" >&6
9285 9282
 else
... ...
@@ -9292,61 +9985,58 @@ cat confdefs.h >>conftest.$ac_ext
9292 9292
 cat >>conftest.$ac_ext <<_ACEOF
9293 9293
 /* end confdefs.h.  */
9294 9294
 
9295
-/* Override any gcc2 internal prototype to avoid an error.  */
9295
+/* Override any GCC internal prototype to avoid an error.
9296
+   Use char because int might match the return type of a GCC
9297
+   builtin and then its argument prototype would still apply.  */
9296 9298
 #ifdef __cplusplus
9297 9299
 extern "C"
9298 9300
 #endif
9299
-/* We use char because int might match the return type of a gcc2
9300
-   builtin and then its argument prototype would still apply.  */
9301 9301
 char dlopen ();
9302 9302
 int
9303 9303
 main ()
9304 9304
 {
9305
-dlopen ();
9305
+return dlopen ();
9306 9306
   ;
9307 9307
   return 0;
9308 9308
 }
9309 9309
 _ACEOF
9310 9310
 rm -f conftest.$ac_objext conftest$ac_exeext
9311
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9312
-  (eval $ac_link) 2>conftest.er1
9311
+if { (ac_try="$ac_link"
9312
+case "(($ac_try" in
9313
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9314
+  *) ac_try_echo=$ac_try;;
9315
+esac
9316
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9317
+  (eval "$ac_link") 2>conftest.er1
9313 9318
   ac_status=$?
9314 9319
   grep -v '^ *+' conftest.er1 >conftest.err
9315 9320
   rm -f conftest.er1
9316 9321
   cat conftest.err >&5
9317 9322
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318
-  (exit $ac_status); } &&
9319
-	 { ac_try='test -z "$ac_c_werror_flag"
9320
-			 || test ! -s conftest.err'
9321
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322
-  (eval $ac_try) 2>&5
9323
-  ac_status=$?
9324
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325
-  (exit $ac_status); }; } &&
9326
-	 { ac_try='test -s conftest$ac_exeext'
9327
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9328
-  (eval $ac_try) 2>&5
9329
-  ac_status=$?
9330
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331
-  (exit $ac_status); }; }; then
9323
+  (exit $ac_status); } && {
9324
+	 test -z "$ac_c_werror_flag" ||
9325
+	 test ! -s conftest.err
9326
+       } && test -s conftest$ac_exeext &&
9327
+       $as_test_x conftest$ac_exeext; then
9332 9328
   ac_cv_lib_svld_dlopen=yes
9333 9329
 else
9334 9330
   echo "$as_me: failed program was:" >&5
9335 9331
 sed 's/^/| /' conftest.$ac_ext >&5
9336 9332
 
9337
-ac_cv_lib_svld_dlopen=no
9333
+	ac_cv_lib_svld_dlopen=no
9338 9334
 fi
9339
-rm -f conftest.err conftest.$ac_objext \
9335
+
9336
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9340 9337
       conftest$ac_exeext conftest.$ac_ext
9341 9338
 LIBS=$ac_check_lib_save_LIBS
9342 9339
 fi
9343
-echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9344
-echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9340
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9341
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9345 9342
 if test $ac_cv_lib_svld_dlopen = yes; then
9346 9343
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9347 9344
 else
9348
-  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9349
-echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9345
+  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9346
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9350 9347
 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9351 9348
   echo $ECHO_N "(cached) $ECHO_C" >&6
9352 9349
 else
... ...
@@ -9359,56 +10049,53 @@ cat confdefs.h >>conftest.$ac_ext
9359 9359
 cat >>conftest.$ac_ext <<_ACEOF
9360 9360
 /* end confdefs.h.  */
9361 9361
 
9362
-/* Override any gcc2 internal prototype to avoid an error.  */
9362
+/* Override any GCC internal prototype to avoid an error.
9363
+   Use char because int might match the return type of a GCC
9364
+   builtin and then its argument prototype would still apply.  */
9363 9365
 #ifdef __cplusplus
9364 9366
 extern "C"
9365 9367
 #endif
9366
-/* We use char because int might match the return type of a gcc2
9367
-   builtin and then its argument prototype would still apply.  */
9368 9368
 char dld_link ();
9369 9369
 int
9370 9370
 main ()
9371 9371
 {
9372
-dld_link ();
9372
+return dld_link ();
9373 9373
   ;
9374 9374
   return 0;
9375 9375
 }
9376 9376
 _ACEOF
9377 9377
 rm -f conftest.$ac_objext conftest$ac_exeext
9378
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9379
-  (eval $ac_link) 2>conftest.er1
9378
+if { (ac_try="$ac_link"
9379
+case "(($ac_try" in
9380
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9381
+  *) ac_try_echo=$ac_try;;
9382
+esac
9383
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9384
+  (eval "$ac_link") 2>conftest.er1
9380 9385
   ac_status=$?
9381 9386
   grep -v '^ *+' conftest.er1 >conftest.err
9382 9387
   rm -f conftest.er1
9383 9388
   cat conftest.err >&5
9384 9389
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385
-  (exit $ac_status); } &&
9386
-	 { ac_try='test -z "$ac_c_werror_flag"
9387
-			 || test ! -s conftest.err'
9388
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389
-  (eval $ac_try) 2>&5
9390
-  ac_status=$?
9391
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392
-  (exit $ac_status); }; } &&
9393
-	 { ac_try='test -s conftest$ac_exeext'
9394
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395
-  (eval $ac_try) 2>&5
9396
-  ac_status=$?
9397
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398
-  (exit $ac_status); }; }; then
9390
+  (exit $ac_status); } && {
9391
+	 test -z "$ac_c_werror_flag" ||
9392
+	 test ! -s conftest.err
9393
+       } && test -s conftest$ac_exeext &&
9394
+       $as_test_x conftest$ac_exeext; then
9399 9395
   ac_cv_lib_dld_dld_link=yes
9400 9396
 else
9401 9397
   echo "$as_me: failed program was:" >&5
9402 9398
 sed 's/^/| /' conftest.$ac_ext >&5
9403 9399
 
9404
-ac_cv_lib_dld_dld_link=no
9400
+	ac_cv_lib_dld_dld_link=no
9405 9401
 fi
9406
-rm -f conftest.err conftest.$ac_objext \
9402
+
9403
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9407 9404
       conftest$ac_exeext conftest.$ac_ext
9408 9405
 LIBS=$ac_check_lib_save_LIBS
9409 9406
 fi
9410
-echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9411
-echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9407
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9408
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9412 9409
 if test $ac_cv_lib_dld_dld_link = yes; then
9413 9410
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9414 9411
 fi
... ...
@@ -9448,8 +10135,8 @@ fi
9448 9448
     save_LIBS="$LIBS"
9449 9449
     LIBS="$lt_cv_dlopen_libs $LIBS"
9450 9450
 
9451
-    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9452
-echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9451
+    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9452
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9453 9453
 if test "${lt_cv_dlopen_self+set}" = set; then
9454 9454
   echo $ECHO_N "(cached) $ECHO_C" >&6
9455 9455
 else
... ...
@@ -9459,7 +10146,7 @@ else
9459 9459
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9460 9460
   lt_status=$lt_dlunknown
9461 9461
   cat > conftest.$ac_ext <<EOF
9462
-#line 9462 "configure"
9462
+#line 10149 "configure"
9463 9463
 #include "confdefs.h"
9464 9464
 
9465 9465
 #if HAVE_DLFCN_H
... ...
@@ -9543,13 +10230,13 @@ rm -fr conftest*
9543 9543
 
9544 9544
 
9545 9545
 fi
9546
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9547
-echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9546
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9547
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9548 9548
 
9549 9549
     if test "x$lt_cv_dlopen_self" = xyes; then
9550 9550
       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9551
-      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9552
-echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9551
+      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9552
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9553 9553
 if test "${lt_cv_dlopen_self_static+set}" = set; then
9554 9554
   echo $ECHO_N "(cached) $ECHO_C" >&6
9555 9555
 else
... ...
@@ -9559,7 +10246,7 @@ else
9559 9559
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9560 9560
   lt_status=$lt_dlunknown
9561 9561
   cat > conftest.$ac_ext <<EOF
9562
-#line 9562 "configure"
9562
+#line 10249 "configure"
9563 9563
 #include "confdefs.h"
9564 9564
 
9565 9565
 #if HAVE_DLFCN_H
... ...
@@ -9643,8 +10330,8 @@ rm -fr conftest*
9643 9643
 
9644 9644
 
9645 9645
 fi
9646
-echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9647
-echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9646
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9647
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9648 9648
     fi
9649 9649
 
9650 9650
     CPPFLAGS="$save_CPPFLAGS"
... ...
@@ -9666,13 +10353,13 @@ fi
9666 9666
 
9667 9667
 
9668 9668
 # Report which library types will actually be built
9669
-echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9670
-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9671
-echo "$as_me:$LINENO: result: $can_build_shared" >&5
9672
-echo "${ECHO_T}$can_build_shared" >&6
9669
+{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9670
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9671
+{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9672
+echo "${ECHO_T}$can_build_shared" >&6; }
9673 9673
 
9674
-echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9675
-echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9674
+{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9675
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9676 9676
 test "$can_build_shared" = "no" && enable_shared=no
9677 9677
 
9678 9678
 # On AIX, shared libraries and static libraries use the same namespace, and
... ...
@@ -9692,15 +10379,15 @@ aix4* | aix5*)
9692 9692
   fi
9693 9693
     ;;
9694 9694
 esac
9695
-echo "$as_me:$LINENO: result: $enable_shared" >&5
9696
-echo "${ECHO_T}$enable_shared" >&6
9695
+{ echo "$as_me:$LINENO: result: $enable_shared" >&5
9696
+echo "${ECHO_T}$enable_shared" >&6; }
9697 9697
 
9698
-echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9699
-echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9698
+{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9699
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9700 9700
 # Make sure either enable_shared or enable_static is yes.
9701 9701
 test "$enable_shared" = yes || enable_static=yes
9702
-echo "$as_me:$LINENO: result: $enable_static" >&5
9703
-echo "${ECHO_T}$enable_static" >&6
9702
+{ echo "$as_me:$LINENO: result: $enable_static" >&5
9703
+echo "${ECHO_T}$enable_static" >&6; }
9704 9704
 
9705 9705
 # The else clause should only fire when bootstrapping the
9706 9706
 # libtool distribution, otherwise you forgot to ship ltmain.sh
... ...
@@ -10192,11 +10879,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
10192 10192
 CC="$lt_save_CC"
10193 10193
 
10194 10194
 
10195
-# Check whether --with-tags or --without-tags was given.
10195
+# Check whether --with-tags was given.
10196 10196
 if test "${with_tags+set}" = set; then
10197
-  withval="$with_tags"
10198
-  tagnames="$withval"
10199
-fi;
10197
+  withval=$with_tags; tagnames="$withval"
10198
+fi
10199
+
10200 10200
 
10201 10201
 if test -f "$ltmain" && test -n "$tagnames"; then
10202 10202
   if test ! -f "${ofile}"; then
... ...
@@ -10250,7 +10937,7 @@ echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10250 10250
 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10251 10251
 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10252 10252
 	    (test "X$CXX" != "Xg++"))) ; then
10253
-	  ac_ext=cc
10253
+	  ac_ext=cpp
10254 10254
 ac_cpp='$CXXCPP $CPPFLAGS'
10255 10255
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10256 10256
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
... ...
@@ -10369,18 +11056,18 @@ if test "$GXX" = yes; then
10369 10369
   # Set up default GNU C++ configuration
10370 10370
 
10371 10371
 
10372
-# Check whether --with-gnu-ld or --without-gnu-ld was given.
10372
+# Check whether --with-gnu-ld was given.
10373 10373
 if test "${with_gnu_ld+set}" = set; then
10374
-  withval="$with_gnu_ld"
10375
-  test "$withval" = no || with_gnu_ld=yes
10374
+  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10376 10375
 else
10377 10376
   with_gnu_ld=no
10378
-fi;
10377
+fi
10378
+
10379 10379
 ac_prog=ld
10380 10380
 if test "$GCC" = yes; then
10381 10381
   # Check if gcc -print-prog-name=ld gives a path.
10382
-  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10383
-echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10382
+  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10383
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10384 10384
   case $host in
10385 10385
   *-*-mingw*)
10386 10386
     # gcc leaves a trailing carriage return which upsets mingw
... ...
@@ -10409,11 +11096,11 @@ echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10409 10409
     ;;
10410 10410
   esac
10411 10411
 elif test "$with_gnu_ld" = yes; then
10412
-  echo "$as_me:$LINENO: checking for GNU ld" >&5
10413
-echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10412
+  { echo "$as_me:$LINENO: checking for GNU ld" >&5
10413
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10414 10414
 else
10415
-  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10416
-echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10415
+  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10416
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10417 10417
 fi
10418 10418
 if test "${lt_cv_path_LD+set}" = set; then
10419 10419
   echo $ECHO_N "(cached) $ECHO_C" >&6
... ...
@@ -10446,17 +11133,17 @@ fi
10446 10446
 
10447 10447
 LD="$lt_cv_path_LD"
10448 10448
 if test -n "$LD"; then
10449
-  echo "$as_me:$LINENO: result: $LD" >&5
10450
-echo "${ECHO_T}$LD" >&6
10449
+  { echo "$as_me:$LINENO: result: $LD" >&5
10450
+echo "${ECHO_T}$LD" >&6; }
10451 10451
 else
10452
-  echo "$as_me:$LINENO: result: no" >&5
10453
-echo "${ECHO_T}no" >&6
10452
+  { echo "$as_me:$LINENO: result: no" >&5
10453
+echo "${ECHO_T}no" >&6; }
10454 10454
 fi
10455 10455
 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10456 10456
 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10457 10457
    { (exit 1); exit 1; }; }
10458
-echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10459
-echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10458
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10459
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10460 10460
 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10461 10461
   echo $ECHO_N "(cached) $ECHO_C" >&6
10462 10462
 else
... ...
@@ -10470,8 +11157,8 @@ case `$LD -v 2>&1 </dev/null` in
10470 10470
   ;;
10471 10471
 esac
10472 10472
 fi
10473
-echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10474
-echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
10473
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10474
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10475 10475
 with_gnu_ld=$lt_cv_prog_gnu_ld
10476 10476
 
10477 10477
 
... ...
@@ -10521,8 +11208,8 @@ else
10521 10521
 fi
10522 10522
 
10523 10523
 # PORTME: fill in a description of your system's C++ link characteristics
10524
-echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10525
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10524
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10525
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10526 10526
 ld_shlibs_CXX=yes
10527 10527
 case $host_os in
10528 10528
   aix3*)
... ...
@@ -10634,27 +11321,23 @@ main ()
10634 10634
 }
10635 10635
 _ACEOF
10636 10636
 rm -f conftest.$ac_objext conftest$ac_exeext
10637
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10638
-  (eval $ac_link) 2>conftest.er1
10637
+if { (ac_try="$ac_link"
10638
+case "(($ac_try" in
10639
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10640
+  *) ac_try_echo=$ac_try;;
10641
+esac
10642
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10643
+  (eval "$ac_link") 2>conftest.er1
10639 10644
   ac_status=$?
10640 10645
   grep -v '^ *+' conftest.er1 >conftest.err
10641 10646
   rm -f conftest.er1
10642 10647
   cat conftest.err >&5
10643 10648
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644
-  (exit $ac_status); } &&
10645
-	 { ac_try='test -z "$ac_cxx_werror_flag"
10646
-			 || test ! -s conftest.err'
10647
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648
-  (eval $ac_try) 2>&5
10649
-  ac_status=$?
10650
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651
-  (exit $ac_status); }; } &&
10652
-	 { ac_try='test -s conftest$ac_exeext'
10653
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654
-  (eval $ac_try) 2>&5
10655
-  ac_status=$?
10656
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657
-  (exit $ac_status); }; }; then
10649
+  (exit $ac_status); } && {
10650
+	 test -z "$ac_cxx_werror_flag" ||
10651
+	 test ! -s conftest.err
10652
+       } && test -s conftest$ac_exeext &&
10653
+       $as_test_x conftest$ac_exeext; then
10658 10654
 
10659 10655
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10660 10656
 }'`
... ...
@@ -10665,8 +11348,10 @@ else
10665 10665
   echo "$as_me: failed program was:" >&5
10666 10666
 sed 's/^/| /' conftest.$ac_ext >&5
10667 10667
 
10668
+
10668 10669
 fi
10669
-rm -f conftest.err conftest.$ac_objext \
10670
+
10671
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10670 10672
       conftest$ac_exeext conftest.$ac_ext
10671 10673
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10672 10674
 
... ...
@@ -10696,27 +11381,23 @@ main ()
10696 10696
 }
10697 10697
 _ACEOF
10698 10698
 rm -f conftest.$ac_objext conftest$ac_exeext
10699
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10700
-  (eval $ac_link) 2>conftest.er1
10699
+if { (ac_try="$ac_link"
10700
+case "(($ac_try" in
10701
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10702
+  *) ac_try_echo=$ac_try;;
10703
+esac
10704
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10705
+  (eval "$ac_link") 2>conftest.er1
10701 10706
   ac_status=$?
10702 10707
   grep -v '^ *+' conftest.er1 >conftest.err
10703 10708
   rm -f conftest.er1
10704 10709
   cat conftest.err >&5
10705 10710
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706
-  (exit $ac_status); } &&
10707
-	 { ac_try='test -z "$ac_cxx_werror_flag"
10708
-			 || test ! -s conftest.err'
10709
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710
-  (eval $ac_try) 2>&5
10711
-  ac_status=$?
10712
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713
-  (exit $ac_status); }; } &&
10714
-	 { ac_try='test -s conftest$ac_exeext'
10715
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716
-  (eval $ac_try) 2>&5
10717
-  ac_status=$?
10718
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719
-  (exit $ac_status); }; }; then
10711
+  (exit $ac_status); } && {
10712
+	 test -z "$ac_cxx_werror_flag" ||
10713
+	 test ! -s conftest.err
10714
+       } && test -s conftest$ac_exeext &&
10715
+       $as_test_x conftest$ac_exeext; then
10720 10716
 
10721 10717
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10722 10718
 }'`
... ...
@@ -10727,8 +11408,10 @@ else
10727 10727
   echo "$as_me: failed program was:" >&5
10728 10728
 sed 's/^/| /' conftest.$ac_ext >&5
10729 10729
 
10730
+
10730 10731
 fi
10731
-rm -f conftest.err conftest.$ac_objext \
10732
+
10733
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10732 10734
       conftest$ac_exeext conftest.$ac_ext
10733 10735
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10734 10736
 
... ...
@@ -11459,8 +12142,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11459 11459
     ld_shlibs_CXX=no
11460 11460
     ;;
11461 11461
 esac
11462
-echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11463
-echo "${ECHO_T}$ld_shlibs_CXX" >&6
11462
+{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11463
+echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11464 11464
 test "$ld_shlibs_CXX" = no && can_build_shared=no
11465 11465
 
11466 11466
 GCC_CXX="$GXX"
... ...
@@ -11599,8 +12282,8 @@ lt_prog_compiler_wl_CXX=
11599 11599
 lt_prog_compiler_pic_CXX=
11600 11600
 lt_prog_compiler_static_CXX=
11601 11601
 
11602
-echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11603
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11602
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11603
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11604 11604
 
11605 11605
   # C++ specific cases for pic, static, wl, etc.
11606 11606
   if test "$GXX" = yes; then
... ...
@@ -11873,16 +12556,16 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11873 11873
     esac
11874 11874
   fi
11875 11875
 
11876
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11877
-echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
11876
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11877
+echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11878 11878
 
11879 11879
 #
11880 11880
 # Check to make sure the PIC flag actually works.
11881 11881
 #
11882 11882
 if test -n "$lt_prog_compiler_pic_CXX"; then
11883 11883
 
11884
-echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11885
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11884
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11885
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
11886 11886
 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
11887 11887
   echo $ECHO_N "(cached) $ECHO_C" >&6
11888 11888
 else
... ...
@@ -11899,11 +12582,11 @@ else
11899 11899
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11900 11900
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11901 11901
    -e 's:$: $lt_compiler_flag:'`
11902
-   (eval echo "\"\$as_me:11902: $lt_compile\"" >&5)
11902
+   (eval echo "\"\$as_me:12585: $lt_compile\"" >&5)
11903 11903
    (eval "$lt_compile" 2>conftest.err)
11904 11904
    ac_status=$?
11905 11905
    cat conftest.err >&5
11906
-   echo "$as_me:11906: \$? = $ac_status" >&5
11906
+   echo "$as_me:12589: \$? = $ac_status" >&5
11907 11907
    if (exit $ac_status) && test -s "$ac_outfile"; then
11908 11908
      # The compiler can only warn and ignore the option if not recognized
11909 11909
      # So say no if there are warnings other than the usual output.
... ...
@@ -11916,8 +12599,8 @@ else
11916 11916
    $rm conftest*
11917 11917
 
11918 11918
 fi
11919
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11920
-echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
11919
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11920
+echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
11921 11921
 
11922 11922
 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
11923 11923
     case $lt_prog_compiler_pic_CXX in
... ...
@@ -11944,8 +12627,8 @@ esac
11944 11944
 # Check to make sure the static flag actually works.
11945 11945
 #
11946 11946
 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11947
-echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11948
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11947
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11948
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11949 11949
 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
11950 11950
   echo $ECHO_N "(cached) $ECHO_C" >&6
11951 11951
 else
... ...
@@ -11972,8 +12655,8 @@ else
11972 11972
    LDFLAGS="$save_LDFLAGS"
11973 11973
 
11974 11974
 fi
11975
-echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11976
-echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
11975
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11976
+echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
11977 11977
 
11978 11978
 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
11979 11979
     :
... ...
@@ -11982,8 +12665,8 @@ else
11982 11982
 fi
11983 11983
 
11984 11984
 
11985
-echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11986
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11985
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11986
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11987 11987
 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11988 11988
   echo $ECHO_N "(cached) $ECHO_C" >&6
11989 11989
 else
... ...
@@ -12003,11 +12686,11 @@ else
12003 12003
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12004 12004
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12005 12005
    -e 's:$: $lt_compiler_flag:'`
12006
-   (eval echo "\"\$as_me:12006: $lt_compile\"" >&5)
12006
+   (eval echo "\"\$as_me:12689: $lt_compile\"" >&5)
12007 12007
    (eval "$lt_compile" 2>out/conftest.err)
12008 12008
    ac_status=$?
12009 12009
    cat out/conftest.err >&5
12010
-   echo "$as_me:12010: \$? = $ac_status" >&5
12010
+   echo "$as_me:12693: \$? = $ac_status" >&5
12011 12011
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12012 12012
    then
12013 12013
      # The compiler can only warn and ignore the option if not recognized
... ...
@@ -12029,23 +12712,23 @@ else
12029 12029
    $rm conftest*
12030 12030
 
12031 12031
 fi
12032
-echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12033
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12032
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12033
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12034 12034
 
12035 12035
 
12036 12036
 hard_links="nottested"
12037 12037
 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12038 12038
   # do not overwrite the value of need_locks provided by the user
12039
-  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12040
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12039
+  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12040
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12041 12041
   hard_links=yes
12042 12042
   $rm conftest*
12043 12043
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12044 12044
   touch conftest.a
12045 12045
   ln conftest.a conftest.b 2>&5 || hard_links=no
12046 12046
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12047
-  echo "$as_me:$LINENO: result: $hard_links" >&5
12048
-echo "${ECHO_T}$hard_links" >&6
12047
+  { echo "$as_me:$LINENO: result: $hard_links" >&5
12048
+echo "${ECHO_T}$hard_links" >&6; }
12049 12049
   if test "$hard_links" = no; then
12050 12050
     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12051 12051
 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
... ...
@@ -12055,8 +12738,8 @@ else
12055 12055
   need_locks=no
12056 12056
 fi
12057 12057
 
12058
-echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12059
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12058
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12059
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12060 12060
 
12061 12061
   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12062 12062
   case $host_os in
... ...
@@ -12080,8 +12763,8 @@ echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared librar
12080 12080
   ;;
12081 12081
   esac
12082 12082
 
12083
-echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12084
-echo "${ECHO_T}$ld_shlibs_CXX" >&6
12083
+{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12084
+echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12085 12085
 test "$ld_shlibs_CXX" = no && can_build_shared=no
12086 12086
 
12087 12087
 #
... ...
@@ -12101,8 +12784,8 @@ x|xyes)
12101 12101
       # Test whether the compiler implicitly links with -lc since on some
12102 12102
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12103 12103
       # to ld, don't add -lc before -lgcc.
12104
-      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12105
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12104
+      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12105
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12106 12106
       $rm conftest*
12107 12107
       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12108 12108
 
... ...
@@ -12139,16 +12822,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
12139 12139
         cat conftest.err 1>&5
12140 12140
       fi
12141 12141
       $rm conftest*
12142
-      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12143
-echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12142
+      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12143
+echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12144 12144
       ;;
12145 12145
     esac
12146 12146
   fi
12147 12147
   ;;
12148 12148
 esac
12149 12149
 
12150
-echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12151
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12150
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12151
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12152 12152
 library_names_spec=
12153 12153
 libname_spec='lib$name'
12154 12154
 soname_spec=
... ...
@@ -12539,7 +13222,7 @@ linux*)
12539 12539
   libsuff=
12540 12540
   case "$host_cpu" in
12541 12541
   x86_64*|s390x*|powerpc64*)
12542
-    echo '#line 12542 "configure"' > conftest.$ac_ext
12542
+    echo '#line 13225 "configure"' > conftest.$ac_ext
12543 12543
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 12544
   (eval $ac_compile) 2>&5
12545 12545
   ac_status=$?
... ...
@@ -12756,8 +13439,8 @@ uts4*)
12756 12756
   dynamic_linker=no
12757 12757
   ;;
12758 12758
 esac
12759
-echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12760
-echo "${ECHO_T}$dynamic_linker" >&6
12759
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12760
+echo "${ECHO_T}$dynamic_linker" >&6; }
12761 12761
 test "$dynamic_linker" = no && can_build_shared=no
12762 12762
 
12763 12763
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
... ...
@@ -12765,8 +13448,8 @@ if test "$GCC" = yes; then
12765 12765
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12766 12766
 fi
12767 12767
 
12768
-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12769
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12768
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12769
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12770 12770
 hardcode_action_CXX=
12771 12771
 if test -n "$hardcode_libdir_flag_spec_CXX" || \
12772 12772
    test -n "$runpath_var_CXX" || \
... ...
@@ -12790,8 +13473,8 @@ else
12790 12790
   # directories.
12791 12791
   hardcode_action_CXX=unsupported
12792 12792
 fi
12793
-echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12794
-echo "${ECHO_T}$hardcode_action_CXX" >&6
12793
+{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12794
+echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12795 12795
 
12796 12796
 if test "$hardcode_action_CXX" = relink; then
12797 12797
   # Fast installation is not supported
... ...
@@ -13316,13 +13999,13 @@ done
13316 13316
 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13317 13317
 
13318 13318
 
13319
-echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13320
-echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13321
-echo "$as_me:$LINENO: result: $can_build_shared" >&5
13322
-echo "${ECHO_T}$can_build_shared" >&6
13319
+{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13320
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13321
+{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13322
+echo "${ECHO_T}$can_build_shared" >&6; }
13323 13323
 
13324
-echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13325
-echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13324
+{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13325
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13326 13326
 test "$can_build_shared" = "no" && enable_shared=no
13327 13327
 
13328 13328
 # On AIX, shared libraries and static libraries use the same namespace, and
... ...
@@ -13341,15 +14024,15 @@ aix4* | aix5*)
13341 13341
   fi
13342 13342
   ;;
13343 13343
 esac
13344
-echo "$as_me:$LINENO: result: $enable_shared" >&5
13345
-echo "${ECHO_T}$enable_shared" >&6
13344
+{ echo "$as_me:$LINENO: result: $enable_shared" >&5
13345
+echo "${ECHO_T}$enable_shared" >&6; }
13346 13346
 
13347
-echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13348
-echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13347
+{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13348
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13349 13349
 # Make sure either enable_shared or enable_static is yes.
13350 13350
 test "$enable_shared" = yes || enable_static=yes
13351
-echo "$as_me:$LINENO: result: $enable_static" >&5
13352
-echo "${ECHO_T}$enable_static" >&6
13351
+{ echo "$as_me:$LINENO: result: $enable_static" >&5
13352
+echo "${ECHO_T}$enable_static" >&6; }
13353 13353
 
13354 13354
 GCC_F77="$G77"
13355 13355
 LD_F77="$LD"
... ...
@@ -13358,8 +14041,8 @@ lt_prog_compiler_wl_F77=
13358 13358
 lt_prog_compiler_pic_F77=
13359 13359
 lt_prog_compiler_static_F77=
13360 13360
 
13361
-echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13362
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13361
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13362
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13363 13363
 
13364 13364
   if test "$GCC" = yes; then
13365 13365
     lt_prog_compiler_wl_F77='-Wl,'
... ...
@@ -13568,16 +14251,16 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13568 13568
     esac
13569 13569
   fi
13570 13570
 
13571
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13572
-echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13571
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13572
+echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13573 13573
 
13574 13574
 #
13575 13575
 # Check to make sure the PIC flag actually works.
13576 13576
 #
13577 13577
 if test -n "$lt_prog_compiler_pic_F77"; then
13578 13578
 
13579
-echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13580
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13579
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13580
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
13581 13581
 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13582 13582
   echo $ECHO_N "(cached) $ECHO_C" >&6
13583 13583
 else
... ...
@@ -13594,11 +14277,11 @@ else
13594 13594
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13595 13595
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13596 13596
    -e 's:$: $lt_compiler_flag:'`
13597
-   (eval echo "\"\$as_me:13597: $lt_compile\"" >&5)
13597
+   (eval echo "\"\$as_me:14280: $lt_compile\"" >&5)
13598 13598
    (eval "$lt_compile" 2>conftest.err)
13599 13599
    ac_status=$?
13600 13600
    cat conftest.err >&5
13601
-   echo "$as_me:13601: \$? = $ac_status" >&5
13601
+   echo "$as_me:14284: \$? = $ac_status" >&5
13602 13602
    if (exit $ac_status) && test -s "$ac_outfile"; then
13603 13603
      # The compiler can only warn and ignore the option if not recognized
13604 13604
      # So say no if there are warnings other than the usual output.
... ...
@@ -13611,8 +14294,8 @@ else
13611 13611
    $rm conftest*
13612 13612
 
13613 13613
 fi
13614
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13615
-echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13614
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13615
+echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
13616 13616
 
13617 13617
 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13618 13618
     case $lt_prog_compiler_pic_F77 in
... ...
@@ -13639,8 +14322,8 @@ esac
13639 13639
 # Check to make sure the static flag actually works.
13640 13640
 #
13641 13641
 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13642
-echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13643
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13642
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13643
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13644 13644
 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
13645 13645
   echo $ECHO_N "(cached) $ECHO_C" >&6
13646 13646
 else
... ...
@@ -13667,8 +14350,8 @@ else
13667 13667
    LDFLAGS="$save_LDFLAGS"
13668 13668
 
13669 13669
 fi
13670
-echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13671
-echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
13670
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13671
+echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
13672 13672
 
13673 13673
 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
13674 13674
     :
... ...
@@ -13677,8 +14360,8 @@ else
13677 13677
 fi
13678 13678
 
13679 13679
 
13680
-echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13681
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13680
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13681
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13682 13682
 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13683 13683
   echo $ECHO_N "(cached) $ECHO_C" >&6
13684 13684
 else
... ...
@@ -13698,11 +14381,11 @@ else
13698 13698
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13699 13699
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13700 13700
    -e 's:$: $lt_compiler_flag:'`
13701
-   (eval echo "\"\$as_me:13701: $lt_compile\"" >&5)
13701
+   (eval echo "\"\$as_me:14384: $lt_compile\"" >&5)
13702 13702
    (eval "$lt_compile" 2>out/conftest.err)
13703 13703
    ac_status=$?
13704 13704
    cat out/conftest.err >&5
13705
-   echo "$as_me:13705: \$? = $ac_status" >&5
13705
+   echo "$as_me:14388: \$? = $ac_status" >&5
13706 13706
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13707 13707
    then
13708 13708
      # The compiler can only warn and ignore the option if not recognized
... ...
@@ -13724,23 +14407,23 @@ else
13724 13724
    $rm conftest*
13725 13725
 
13726 13726
 fi
13727
-echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13728
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13727
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13728
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13729 13729
 
13730 13730
 
13731 13731
 hard_links="nottested"
13732 13732
 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13733 13733
   # do not overwrite the value of need_locks provided by the user
13734
-  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13735
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13734
+  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13735
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13736 13736
   hard_links=yes
13737 13737
   $rm conftest*
13738 13738
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13739 13739
   touch conftest.a
13740 13740
   ln conftest.a conftest.b 2>&5 || hard_links=no
13741 13741
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13742
-  echo "$as_me:$LINENO: result: $hard_links" >&5
13743
-echo "${ECHO_T}$hard_links" >&6
13742
+  { echo "$as_me:$LINENO: result: $hard_links" >&5
13743
+echo "${ECHO_T}$hard_links" >&6; }
13744 13744
   if test "$hard_links" = no; then
13745 13745
     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13746 13746
 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
... ...
@@ -13750,8 +14433,8 @@ else
13750 13750
   need_locks=no
13751 13751
 fi
13752 13752
 
13753
-echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13754
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13753
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13754
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13755 13755
 
13756 13756
   runpath_var=
13757 13757
   allow_undefined_flag_F77=
... ...
@@ -14156,27 +14839,23 @@ _LT_EOF
14156 14156
       end
14157 14157
 _ACEOF
14158 14158
 rm -f conftest.$ac_objext conftest$ac_exeext
14159
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14160
-  (eval $ac_link) 2>conftest.er1
14159
+if { (ac_try="$ac_link"
14160
+case "(($ac_try" in
14161
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14162
+  *) ac_try_echo=$ac_try;;
14163
+esac
14164
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165
+  (eval "$ac_link") 2>conftest.er1
14161 14166
   ac_status=$?
14162 14167
   grep -v '^ *+' conftest.er1 >conftest.err
14163 14168
   rm -f conftest.er1
14164 14169
   cat conftest.err >&5
14165 14170
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166
-  (exit $ac_status); } &&
14167
-	 { ac_try='test -z "$ac_f77_werror_flag"
14168
-			 || test ! -s conftest.err'
14169
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170
-  (eval $ac_try) 2>&5
14171
-  ac_status=$?
14172
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173
-  (exit $ac_status); }; } &&
14174
-	 { ac_try='test -s conftest$ac_exeext'
14175
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176
-  (eval $ac_try) 2>&5
14177
-  ac_status=$?
14178
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179
-  (exit $ac_status); }; }; then
14171
+  (exit $ac_status); } && {
14172
+	 test -z "$ac_f77_werror_flag" ||
14173
+	 test ! -s conftest.err
14174
+       } && test -s conftest$ac_exeext &&
14175
+       $as_test_x conftest$ac_exeext; then
14180 14176
 
14181 14177
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14182 14178
 }'`
... ...
@@ -14187,8 +14866,10 @@ else
14187 14187
   echo "$as_me: failed program was:" >&5
14188 14188
 sed 's/^/| /' conftest.$ac_ext >&5
14189 14189
 
14190
+
14190 14191
 fi
14191
-rm -f conftest.err conftest.$ac_objext \
14192
+
14193
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14192 14194
       conftest$ac_exeext conftest.$ac_ext
14193 14195
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14194 14196
 
... ...
@@ -14207,27 +14888,23 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14207 14207
       end
14208 14208
 _ACEOF
14209 14209
 rm -f conftest.$ac_objext conftest$ac_exeext
14210
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14211
-  (eval $ac_link) 2>conftest.er1
14210
+if { (ac_try="$ac_link"
14211
+case "(($ac_try" in
14212
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14213
+  *) ac_try_echo=$ac_try;;
14214
+esac
14215
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14216
+  (eval "$ac_link") 2>conftest.er1
14212 14217
   ac_status=$?
14213 14218
   grep -v '^ *+' conftest.er1 >conftest.err
14214 14219
   rm -f conftest.er1
14215 14220
   cat conftest.err >&5
14216 14221
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217
-  (exit $ac_status); } &&
14218
-	 { ac_try='test -z "$ac_f77_werror_flag"
14219
-			 || test ! -s conftest.err'
14220
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14221
-  (eval $ac_try) 2>&5
14222
-  ac_status=$?
14223
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224
-  (exit $ac_status); }; } &&
14225
-	 { ac_try='test -s conftest$ac_exeext'
14226
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14227
-  (eval $ac_try) 2>&5
14228
-  ac_status=$?
14229
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230
-  (exit $ac_status); }; }; then
14222
+  (exit $ac_status); } && {
14223
+	 test -z "$ac_f77_werror_flag" ||
14224
+	 test ! -s conftest.err
14225
+       } && test -s conftest$ac_exeext &&
14226
+       $as_test_x conftest$ac_exeext; then
14231 14227
 
14232 14228
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14233 14229
 }'`
... ...
@@ -14238,8 +14915,10 @@ else
14238 14238
   echo "$as_me: failed program was:" >&5
14239 14239
 sed 's/^/| /' conftest.$ac_ext >&5
14240 14240
 
14241
+
14241 14242
 fi
14242
-rm -f conftest.err conftest.$ac_objext \
14243
+
14244
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14243 14245
       conftest$ac_exeext conftest.$ac_ext
14244 14246
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14245 14247
 
... ...
@@ -14688,8 +15367,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14688 14688
     esac
14689 14689
   fi
14690 14690
 
14691
-echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14692
-echo "${ECHO_T}$ld_shlibs_F77" >&6
14691
+{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14692
+echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14693 14693
 test "$ld_shlibs_F77" = no && can_build_shared=no
14694 14694
 
14695 14695
 #
... ...
@@ -14709,8 +15388,8 @@ x|xyes)
14709 14709
       # Test whether the compiler implicitly links with -lc since on some
14710 14710
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14711 14711
       # to ld, don't add -lc before -lgcc.
14712
-      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14713
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14712
+      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14713
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14714 14714
       $rm conftest*
14715 14715
       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14716 14716
 
... ...
@@ -14747,16 +15426,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
14747 14747
         cat conftest.err 1>&5
14748 14748
       fi
14749 14749
       $rm conftest*
14750
-      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14751
-echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14750
+      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14751
+echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14752 14752
       ;;
14753 14753
     esac
14754 14754
   fi
14755 14755
   ;;
14756 14756
 esac
14757 14757
 
14758
-echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14759
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14758
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14759
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14760 14760
 library_names_spec=
14761 14761
 libname_spec='lib$name'
14762 14762
 soname_spec=
... ...
@@ -15147,7 +15826,7 @@ linux*)
15147 15147
   libsuff=
15148 15148
   case "$host_cpu" in
15149 15149
   x86_64*|s390x*|powerpc64*)
15150
-    echo '#line 15150 "configure"' > conftest.$ac_ext
15150
+    echo '#line 15829 "configure"' > conftest.$ac_ext
15151 15151
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15152 15152
   (eval $ac_compile) 2>&5
15153 15153
   ac_status=$?
... ...
@@ -15364,8 +16043,8 @@ uts4*)
15364 15364
   dynamic_linker=no
15365 15365
   ;;
15366 15366
 esac
15367
-echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15368
-echo "${ECHO_T}$dynamic_linker" >&6
15367
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15368
+echo "${ECHO_T}$dynamic_linker" >&6; }
15369 15369
 test "$dynamic_linker" = no && can_build_shared=no
15370 15370
 
15371 15371
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
... ...
@@ -15373,8 +16052,8 @@ if test "$GCC" = yes; then
15373 15373
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15374 15374
 fi
15375 15375
 
15376
-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15377
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15376
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15377
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15378 15378
 hardcode_action_F77=
15379 15379
 if test -n "$hardcode_libdir_flag_spec_F77" || \
15380 15380
    test -n "$runpath_var_F77" || \
... ...
@@ -15398,8 +16077,8 @@ else
15398 15398
   # directories.
15399 15399
   hardcode_action_F77=unsupported
15400 15400
 fi
15401
-echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15402
-echo "${ECHO_T}$hardcode_action_F77" >&6
15401
+{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15402
+echo "${ECHO_T}$hardcode_action_F77" >&6; }
15403 15403
 
15404 15404
 if test "$hardcode_action_F77" = relink; then
15405 15405
   # Fast installation is not supported
... ...
@@ -15836,7 +16515,6 @@ CC="$lt_save_CC"
15836 15836
 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15837 15837
 
15838 15838
 
15839
-
15840 15839
 # Source file extension for Java test sources.
15841 15840
 ac_ext=java
15842 15841
 
... ...
@@ -15904,8 +16582,8 @@ if test "$GCC" = yes; then
15904 15904
   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15905 15905
 
15906 15906
 
15907
-echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15908
-echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15907
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15908
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15909 15909
 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15910 15910
   echo $ECHO_N "(cached) $ECHO_C" >&6
15911 15911
 else
... ...
@@ -15922,11 +16600,11 @@ else
15922 15922
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15923 15923
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15924 15924
    -e 's:$: $lt_compiler_flag:'`
15925
-   (eval echo "\"\$as_me:15925: $lt_compile\"" >&5)
15925
+   (eval echo "\"\$as_me:16603: $lt_compile\"" >&5)
15926 15926
    (eval "$lt_compile" 2>conftest.err)
15927 15927
    ac_status=$?
15928 15928
    cat conftest.err >&5
15929
-   echo "$as_me:15929: \$? = $ac_status" >&5
15929
+   echo "$as_me:16607: \$? = $ac_status" >&5
15930 15930
    if (exit $ac_status) && test -s "$ac_outfile"; then
15931 15931
      # The compiler can only warn and ignore the option if not recognized
15932 15932
      # So say no if there are warnings other than the usual output.
... ...
@@ -15939,8 +16617,8 @@ else
15939 15939
    $rm conftest*
15940 15940
 
15941 15941
 fi
15942
-echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15943
-echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15942
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15943
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15944 15944
 
15945 15945
 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15946 15946
     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
... ...
@@ -15954,8 +16632,8 @@ lt_prog_compiler_wl_GCJ=
15954 15954
 lt_prog_compiler_pic_GCJ=
15955 15955
 lt_prog_compiler_static_GCJ=
15956 15956
 
15957
-echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15958
-echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15957
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15958
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15959 15959
 
15960 15960
   if test "$GCC" = yes; then
15961 15961
     lt_prog_compiler_wl_GCJ='-Wl,'
... ...
@@ -16164,16 +16842,16 @@ echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16164 16164
     esac
16165 16165
   fi
16166 16166
 
16167
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16168
-echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16167
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16168
+echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16169 16169
 
16170 16170
 #
16171 16171
 # Check to make sure the PIC flag actually works.
16172 16172
 #
16173 16173
 if test -n "$lt_prog_compiler_pic_GCJ"; then
16174 16174
 
16175
-echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16176
-echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16175
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16176
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16177 16177
 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16178 16178
   echo $ECHO_N "(cached) $ECHO_C" >&6
16179 16179
 else
... ...
@@ -16190,11 +16868,11 @@ else
16190 16190
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16191 16191
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16192 16192
    -e 's:$: $lt_compiler_flag:'`
16193
-   (eval echo "\"\$as_me:16193: $lt_compile\"" >&5)
16193
+   (eval echo "\"\$as_me:16871: $lt_compile\"" >&5)
16194 16194
    (eval "$lt_compile" 2>conftest.err)
16195 16195
    ac_status=$?
16196 16196
    cat conftest.err >&5
16197
-   echo "$as_me:16197: \$? = $ac_status" >&5
16197
+   echo "$as_me:16875: \$? = $ac_status" >&5
16198 16198
    if (exit $ac_status) && test -s "$ac_outfile"; then
16199 16199
      # The compiler can only warn and ignore the option if not recognized
16200 16200
      # So say no if there are warnings other than the usual output.
... ...
@@ -16207,8 +16885,8 @@ else
16207 16207
    $rm conftest*
16208 16208
 
16209 16209
 fi
16210
-echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16211
-echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16210
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16211
+echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16212 16212
 
16213 16213
 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16214 16214
     case $lt_prog_compiler_pic_GCJ in
... ...
@@ -16235,8 +16913,8 @@ esac
16235 16235
 # Check to make sure the static flag actually works.
16236 16236
 #
16237 16237
 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16238
-echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16239
-echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16238
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16239
+echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16240 16240
 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16241 16241
   echo $ECHO_N "(cached) $ECHO_C" >&6
16242 16242
 else
... ...
@@ -16263,8 +16941,8 @@ else
16263 16263
    LDFLAGS="$save_LDFLAGS"
16264 16264
 
16265 16265
 fi
16266
-echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16267
-echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16266
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16267
+echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16268 16268
 
16269 16269
 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16270 16270
     :
... ...
@@ -16273,8 +16951,8 @@ else
16273 16273
 fi
16274 16274
 
16275 16275
 
16276
-echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16277
-echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16276
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16277
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16278 16278
 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16279 16279
   echo $ECHO_N "(cached) $ECHO_C" >&6
16280 16280
 else
... ...
@@ -16294,11 +16972,11 @@ else
16294 16294
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16295 16295
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16296 16296
    -e 's:$: $lt_compiler_flag:'`
16297
-   (eval echo "\"\$as_me:16297: $lt_compile\"" >&5)
16297
+   (eval echo "\"\$as_me:16975: $lt_compile\"" >&5)
16298 16298
    (eval "$lt_compile" 2>out/conftest.err)
16299 16299
    ac_status=$?
16300 16300
    cat out/conftest.err >&5
16301
-   echo "$as_me:16301: \$? = $ac_status" >&5
16301
+   echo "$as_me:16979: \$? = $ac_status" >&5
16302 16302
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
16303 16303
    then
16304 16304
      # The compiler can only warn and ignore the option if not recognized
... ...
@@ -16320,23 +16998,23 @@ else
16320 16320
    $rm conftest*
16321 16321
 
16322 16322
 fi
16323
-echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16324
-echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16323
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16324
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16325 16325
 
16326 16326
 
16327 16327
 hard_links="nottested"
16328 16328
 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16329 16329
   # do not overwrite the value of need_locks provided by the user
16330
-  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16331
-echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16330
+  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16331
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16332 16332
   hard_links=yes
16333 16333
   $rm conftest*
16334 16334
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16335 16335
   touch conftest.a
16336 16336
   ln conftest.a conftest.b 2>&5 || hard_links=no
16337 16337
   ln conftest.a conftest.b 2>/dev/null && hard_links=no
16338
-  echo "$as_me:$LINENO: result: $hard_links" >&5
16339
-echo "${ECHO_T}$hard_links" >&6
16338
+  { echo "$as_me:$LINENO: result: $hard_links" >&5
16339
+echo "${ECHO_T}$hard_links" >&6; }
16340 16340
   if test "$hard_links" = no; then
16341 16341
     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16342 16342
 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
... ...
@@ -16346,8 +17024,8 @@ else
16346 16346
   need_locks=no
16347 16347
 fi
16348 16348
 
16349
-echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16350
-echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16349
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16350
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16351 16351
 
16352 16352
   runpath_var=
16353 16353
   allow_undefined_flag_GCJ=
... ...
@@ -16762,27 +17440,23 @@ main ()
16762 16762
 }
16763 16763
 _ACEOF
16764 16764
 rm -f conftest.$ac_objext conftest$ac_exeext
16765
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16766
-  (eval $ac_link) 2>conftest.er1
16765
+if { (ac_try="$ac_link"
16766
+case "(($ac_try" in
16767
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16768
+  *) ac_try_echo=$ac_try;;
16769
+esac
16770
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16771
+  (eval "$ac_link") 2>conftest.er1
16767 16772
   ac_status=$?
16768 16773
   grep -v '^ *+' conftest.er1 >conftest.err
16769 16774
   rm -f conftest.er1
16770 16775
   cat conftest.err >&5
16771 16776
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772
-  (exit $ac_status); } &&
16773
-	 { ac_try='test -z "$ac_c_werror_flag"
16774
-			 || test ! -s conftest.err'
16775
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776
-  (eval $ac_try) 2>&5
16777
-  ac_status=$?
16778
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779
-  (exit $ac_status); }; } &&
16780
-	 { ac_try='test -s conftest$ac_exeext'
16781
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782
-  (eval $ac_try) 2>&5
16783
-  ac_status=$?
16784
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785
-  (exit $ac_status); }; }; then
16777
+  (exit $ac_status); } && {
16778
+	 test -z "$ac_c_werror_flag" ||
16779
+	 test ! -s conftest.err
16780
+       } && test -s conftest$ac_exeext &&
16781
+       $as_test_x conftest$ac_exeext; then
16786 16782
 
16787 16783
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16788 16784
 }'`
... ...
@@ -16793,8 +17467,10 @@ else
16793 16793
   echo "$as_me: failed program was:" >&5
16794 16794
 sed 's/^/| /' conftest.$ac_ext >&5
16795 16795
 
16796
+
16796 16797
 fi
16797
-rm -f conftest.err conftest.$ac_objext \
16798
+
16799
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16798 16800
       conftest$ac_exeext conftest.$ac_ext
16799 16801
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16800 16802
 
... ...
@@ -16823,27 +17499,23 @@ main ()
16823 16823
 }
16824 16824
 _ACEOF
16825 16825
 rm -f conftest.$ac_objext conftest$ac_exeext
16826
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16827
-  (eval $ac_link) 2>conftest.er1
16826
+if { (ac_try="$ac_link"
16827
+case "(($ac_try" in
16828
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16829
+  *) ac_try_echo=$ac_try;;
16830
+esac
16831
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16832
+  (eval "$ac_link") 2>conftest.er1
16828 16833
   ac_status=$?
16829 16834
   grep -v '^ *+' conftest.er1 >conftest.err
16830 16835
   rm -f conftest.er1
16831 16836
   cat conftest.err >&5
16832 16837
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833
-  (exit $ac_status); } &&
16834
-	 { ac_try='test -z "$ac_c_werror_flag"
16835
-			 || test ! -s conftest.err'
16836
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16837
-  (eval $ac_try) 2>&5
16838
-  ac_status=$?
16839
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840
-  (exit $ac_status); }; } &&
16841
-	 { ac_try='test -s conftest$ac_exeext'
16842
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843
-  (eval $ac_try) 2>&5
16844
-  ac_status=$?
16845
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846
-  (exit $ac_status); }; }; then
16838
+  (exit $ac_status); } && {
16839
+	 test -z "$ac_c_werror_flag" ||
16840
+	 test ! -s conftest.err
16841
+       } && test -s conftest$ac_exeext &&
16842
+       $as_test_x conftest$ac_exeext; then
16847 16843
 
16848 16844
 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16849 16845
 }'`
... ...
@@ -16854,8 +17526,10 @@ else
16854 16854
   echo "$as_me: failed program was:" >&5
16855 16855
 sed 's/^/| /' conftest.$ac_ext >&5
16856 16856
 
16857
+
16857 16858
 fi
16858
-rm -f conftest.err conftest.$ac_objext \
16859
+
16860
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16859 16861
       conftest$ac_exeext conftest.$ac_ext
16860 16862
 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16861 16863
 
... ...
@@ -17304,8 +17978,8 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17304 17304
     esac
17305 17305
   fi
17306 17306
 
17307
-echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17308
-echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17307
+{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17308
+echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17309 17309
 test "$ld_shlibs_GCJ" = no && can_build_shared=no
17310 17310
 
17311 17311
 #
... ...
@@ -17325,8 +17999,8 @@ x|xyes)
17325 17325
       # Test whether the compiler implicitly links with -lc since on some
17326 17326
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
17327 17327
       # to ld, don't add -lc before -lgcc.
17328
-      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17329
-echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17328
+      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17329
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17330 17330
       $rm conftest*
17331 17331
       printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17332 17332
 
... ...
@@ -17363,16 +18037,16 @@ echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&
17363 17363
         cat conftest.err 1>&5
17364 17364
       fi
17365 17365
       $rm conftest*
17366
-      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17367
-echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17366
+      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17367
+echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17368 17368
       ;;
17369 17369
     esac
17370 17370
   fi
17371 17371
   ;;
17372 17372
 esac
17373 17373
 
17374
-echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17375
-echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17374
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17375
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17376 17376
 library_names_spec=
17377 17377
 libname_spec='lib$name'
17378 17378
 soname_spec=
... ...
@@ -17763,7 +18437,7 @@ linux*)
17763 17763
   libsuff=
17764 17764
   case "$host_cpu" in
17765 17765
   x86_64*|s390x*|powerpc64*)
17766
-    echo '#line 17766 "configure"' > conftest.$ac_ext
17766
+    echo '#line 18440 "configure"' > conftest.$ac_ext
17767 17767
     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 17768
   (eval $ac_compile) 2>&5
17769 17769
   ac_status=$?
... ...
@@ -17980,8 +18654,8 @@ uts4*)
17980 17980
   dynamic_linker=no
17981 17981
   ;;
17982 17982
 esac
17983
-echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17984
-echo "${ECHO_T}$dynamic_linker" >&6
17983
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17984
+echo "${ECHO_T}$dynamic_linker" >&6; }
17985 17985
 test "$dynamic_linker" = no && can_build_shared=no
17986 17986
 
17987 17987
 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
... ...
@@ -17989,8 +18663,8 @@ if test "$GCC" = yes; then
17989 17989
   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17990 17990
 fi
17991 17991
 
17992
-echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17993
-echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17992
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17993
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17994 17994
 hardcode_action_GCJ=
17995 17995
 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17996 17996
    test -n "$runpath_var_GCJ" || \
... ...
@@ -18014,8 +18688,8 @@ else
18014 18014
   # directories.
18015 18015
   hardcode_action_GCJ=unsupported
18016 18016
 fi
18017
-echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18018
-echo "${ECHO_T}$hardcode_action_GCJ" >&6
18017
+{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18018
+echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18019 18019
 
18020 18020
 if test "$hardcode_action_GCJ" = relink; then
18021 18021
   # Fast installation is not supported
... ...
@@ -18451,7 +19125,6 @@ CC="$lt_save_CC"
18451 18451
       RC)
18452 18452
 
18453 18453
 
18454
-
18455 18454
 # Source file extension for RC test sources.
18456 18455
 ac_ext=rc
18457 18456
 
... ...
@@ -18994,8 +19667,8 @@ cat >>confdefs.h <<\_ACEOF
18994 18994
 _ACEOF
18995 18995
 
18996 18996
 
18997
-echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18998
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18997
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18998
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18999 18999
 if test "${ac_cv_header_stdc+set}" = set; then
19000 19000
   echo $ECHO_N "(cached) $ECHO_C" >&6
19001 19001
 else
... ...
@@ -19019,35 +19692,31 @@ main ()
19019 19019
 }
19020 19020
 _ACEOF
19021 19021
 rm -f conftest.$ac_objext
19022
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19023
-  (eval $ac_compile) 2>conftest.er1
19022
+if { (ac_try="$ac_compile"
19023
+case "(($ac_try" in
19024
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025
+  *) ac_try_echo=$ac_try;;
19026
+esac
19027
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028
+  (eval "$ac_compile") 2>conftest.er1
19024 19029
   ac_status=$?
19025 19030
   grep -v '^ *+' conftest.er1 >conftest.err
19026 19031
   rm -f conftest.er1
19027 19032
   cat conftest.err >&5
19028 19033
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029
-  (exit $ac_status); } &&
19030
-	 { ac_try='test -z "$ac_c_werror_flag"
19031
-			 || test ! -s conftest.err'
19032
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033
-  (eval $ac_try) 2>&5
19034
-  ac_status=$?
19035
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036
-  (exit $ac_status); }; } &&
19037
-	 { ac_try='test -s conftest.$ac_objext'
19038
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039
-  (eval $ac_try) 2>&5
19040
-  ac_status=$?
19041
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042
-  (exit $ac_status); }; }; then
19034
+  (exit $ac_status); } && {
19035
+	 test -z "$ac_c_werror_flag" ||
19036
+	 test ! -s conftest.err
19037
+       } && test -s conftest.$ac_objext; then
19043 19038
   ac_cv_header_stdc=yes
19044 19039
 else
19045 19040
   echo "$as_me: failed program was:" >&5
19046 19041
 sed 's/^/| /' conftest.$ac_ext >&5
19047 19042
 
19048
-ac_cv_header_stdc=no
19043
+	ac_cv_header_stdc=no
19049 19044
 fi
19050
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19045
+
19046
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19051 19047
 
19052 19048
 if test $ac_cv_header_stdc = yes; then
19053 19049
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
... ...
@@ -19103,6 +19772,7 @@ cat confdefs.h >>conftest.$ac_ext
19103 19103
 cat >>conftest.$ac_ext <<_ACEOF
19104 19104
 /* end confdefs.h.  */
19105 19105
 #include <ctype.h>
19106
+#include <stdlib.h>
19106 19107
 #if ((' ' & 0x0FF) == 0x020)
19107 19108
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19108 19109
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
... ...
@@ -19122,18 +19792,27 @@ main ()
19122 19122
   for (i = 0; i < 256; i++)
19123 19123
     if (XOR (islower (i), ISLOWER (i))
19124 19124
 	|| toupper (i) != TOUPPER (i))
19125
-      exit(2);
19126
-  exit (0);
19125
+      return 2;
19126
+  return 0;
19127 19127
 }
19128 19128
 _ACEOF
19129 19129
 rm -f conftest$ac_exeext
19130
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19131
-  (eval $ac_link) 2>&5
19130
+if { (ac_try="$ac_link"
19131
+case "(($ac_try" in
19132
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133
+  *) ac_try_echo=$ac_try;;
19134
+esac
19135
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136
+  (eval "$ac_link") 2>&5
19132 19137
   ac_status=$?
19133 19138
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 19139
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19135
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136
-  (eval $ac_try) 2>&5
19140
+  { (case "(($ac_try" in
19141
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19142
+  *) ac_try_echo=$ac_try;;
19143
+esac
19144
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19145
+  (eval "$ac_try") 2>&5
19137 19146
   ac_status=$?
19138 19147
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 19148
   (exit $ac_status); }; }; then
... ...
@@ -19146,12 +19825,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
19146 19146
 ( exit $ac_status )
19147 19147
 ac_cv_header_stdc=no
19148 19148
 fi
19149
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19149
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19150 19150
 fi
19151
+
19152
+
19151 19153
 fi
19152 19154
 fi
19153
-echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19154
-echo "${ECHO_T}$ac_cv_header_stdc" >&6
19155
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19156
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19155 19157
 if test $ac_cv_header_stdc = yes; then
19156 19158
 
19157 19159
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -19161,40 +19842,40 @@ _ACEOF
19161 19161
 fi
19162 19162
 
19163 19163
 
19164
-# Check whether --enable-gcc-vcheck or --disable-gcc-vcheck was given.
19164
+# Check whether --enable-gcc-vcheck was given.
19165 19165
 if test "${enable_gcc_vcheck+set}" = set; then
19166
-  enableval="$enable_gcc_vcheck"
19167
-  gcc_check=$enableval
19166
+  enableval=$enable_gcc_vcheck; gcc_check=$enableval
19168 19167
 else
19169 19168
   gcc_check="yes"
19170
-fi;
19169
+fi
19170
+
19171 19171
 
19172 19172
 msg_gcc_check="use --disable-gcc-vcheck to disable this check. Before reporting any bugs check with a supported version of gcc"
19173 19173
 
19174 19174
 if test "$gcc_check" = "yes"; then
19175 19175
 	if test "x$ac_compiler_gnu" = "xyes"; then
19176
-		echo "$as_me:$LINENO: checking for a supported version of gcc" >&5
19177
-echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6
19176
+		{ echo "$as_me:$LINENO: checking for a supported version of gcc" >&5
19177
+echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6; }
19178 19178
 		gcc_version=`${CC} -dumpversion`
19179 19179
 		case "${gcc_version}" in
19180 19180
 			4.1.0*)
19181
-				echo "$as_me:$LINENO: result: no (${gcc_version})" >&5
19182
-echo "${ECHO_T}no (${gcc_version})" >&6
19181
+				{ echo "$as_me:$LINENO: result: no (${gcc_version})" >&5
19182
+echo "${ECHO_T}no (${gcc_version})" >&6; }
19183 19183
 				{ { echo "$as_me:$LINENO: error: gcc 4.1.0 is known to incorrectly compile upx.c. Upgrade your compiler to at least 4.1.1/4.1.2)" >&5
19184 19184
 echo "$as_me: error: gcc 4.1.0 is known to incorrectly compile upx.c. Upgrade your compiler to at least 4.1.1/4.1.2)" >&2;}
19185 19185
    { (exit 1); exit 1; }; }
19186 19186
 				;;
19187 19187
 			*)
19188
-				echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5
19189
-echo "${ECHO_T}ok (${gcc_version})" >&6
19188
+				{ echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5
19189
+echo "${ECHO_T}ok (${gcc_version})" >&6; }
19190 19190
 				;;
19191 19191
 	esac
19192 19192
 	fi
19193 19193
 fi
19194 19194
 
19195 19195
 
19196
-echo "$as_me:$LINENO: checking for gcc bug PR27603" >&5
19197
-echo $ECHO_N "checking for gcc bug PR27603... $ECHO_C" >&6
19196
+{ echo "$as_me:$LINENO: checking for gcc bug PR27603" >&5
19197
+echo $ECHO_N "checking for gcc bug PR27603... $ECHO_C" >&6; }
19198 19198
 if test "$cross_compiling" = yes; then
19199 19199
   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19200 19200
 See \`config.log' for more details." >&5
... ...
@@ -19227,18 +19908,27 @@ int main()
19227 19227
 
19228 19228
 _ACEOF
19229 19229
 rm -f conftest$ac_exeext
19230
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19231
-  (eval $ac_link) 2>&5
19230
+if { (ac_try="$ac_link"
19231
+case "(($ac_try" in
19232
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19233
+  *) ac_try_echo=$ac_try;;
19234
+esac
19235
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19236
+  (eval "$ac_link") 2>&5
19232 19237
   ac_status=$?
19233 19238
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 19239
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19235
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236
-  (eval $ac_try) 2>&5
19240
+  { (case "(($ac_try" in
19241
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242
+  *) ac_try_echo=$ac_try;;
19243
+esac
19244
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245
+  (eval "$ac_try") 2>&5
19237 19246
   ac_status=$?
19238 19247
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 19248
   (exit $ac_status); }; }; then
19240
-  echo "$as_me:$LINENO: result: ok, bug not present" >&5
19241
-echo "${ECHO_T}ok, bug not present" >&6
19249
+  { echo "$as_me:$LINENO: result: ok, bug not present" >&5
19250
+echo "${ECHO_T}ok, bug not present" >&6; }
19242 19251
 else
19243 19252
   echo "$as_me: program exited with status $ac_status" >&5
19244 19253
 echo "$as_me: failed program was:" >&5
... ...
@@ -19249,11 +19939,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
19249 19249
 echo "$as_me: error: your compiler has gcc PR27603 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27603" >&2;}
19250 19250
    { (exit 1); exit 1; }; }
19251 19251
 fi
19252
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19252
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19253 19253
 fi
19254 19254
 
19255
-echo "$as_me:$LINENO: checking for gcc bug PR28045" >&5
19256
-echo $ECHO_N "checking for gcc bug PR28045... $ECHO_C" >&6
19255
+
19256
+
19257
+{ echo "$as_me:$LINENO: checking for gcc bug PR28045" >&5
19258
+echo $ECHO_N "checking for gcc bug PR28045... $ECHO_C" >&6; }
19257 19259
 if test "$cross_compiling" = yes; then
19258 19260
   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19259 19261
 See \`config.log' for more details." >&5
... ...
@@ -19291,18 +19983,27 @@ int main ()
19291 19291
 
19292 19292
 _ACEOF
19293 19293
 rm -f conftest$ac_exeext
19294
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295
-  (eval $ac_link) 2>&5
19294
+if { (ac_try="$ac_link"
19295
+case "(($ac_try" in
19296
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297
+  *) ac_try_echo=$ac_try;;
19298
+esac
19299
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19300
+  (eval "$ac_link") 2>&5
19296 19301
   ac_status=$?
19297 19302
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 19303
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19299
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300
-  (eval $ac_try) 2>&5
19304
+  { (case "(($ac_try" in
19305
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19306
+  *) ac_try_echo=$ac_try;;
19307
+esac
19308
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19309
+  (eval "$ac_try") 2>&5
19301 19310
   ac_status=$?
19302 19311
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 19312
   (exit $ac_status); }; }; then
19304
-  echo "$as_me:$LINENO: result: ok, bug not present" >&5
19305
-echo "${ECHO_T}ok, bug not present" >&6
19313
+  { echo "$as_me:$LINENO: result: ok, bug not present" >&5
19314
+echo "${ECHO_T}ok, bug not present" >&6; }
19306 19315
 else
19307 19316
   echo "$as_me: program exited with status $ac_status" >&5
19308 19317
 echo "$as_me: failed program was:" >&5
... ...
@@ -19313,11 +20014,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
19313 19313
 echo "$as_me: error: your compiler has gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045" >&2;}
19314 19314
    { (exit 1); exit 1; }; }
19315 19315
 fi
19316
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19316
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19317 19317
 fi
19318 19318
 
19319
-echo "$as_me:$LINENO: checking for gcc bug PR26763-2" >&5
19320
-echo $ECHO_N "checking for gcc bug PR26763-2... $ECHO_C" >&6
19319
+
19320
+
19321
+{ echo "$as_me:$LINENO: checking for gcc bug PR26763-2" >&5
19322
+echo $ECHO_N "checking for gcc bug PR26763-2... $ECHO_C" >&6; }
19321 19323
 if test "$cross_compiling" = yes; then
19322 19324
   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19323 19325
 See \`config.log' for more details." >&5
... ...
@@ -19352,18 +20055,27 @@ int main(void)
19352 19352
 
19353 19353
 _ACEOF
19354 19354
 rm -f conftest$ac_exeext
19355
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19356
-  (eval $ac_link) 2>&5
19355
+if { (ac_try="$ac_link"
19356
+case "(($ac_try" in
19357
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358
+  *) ac_try_echo=$ac_try;;
19359
+esac
19360
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19361
+  (eval "$ac_link") 2>&5
19357 19362
   ac_status=$?
19358 19363
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 19364
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19360
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361
-  (eval $ac_try) 2>&5
19365
+  { (case "(($ac_try" in
19366
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19367
+  *) ac_try_echo=$ac_try;;
19368
+esac
19369
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19370
+  (eval "$ac_try") 2>&5
19362 19371
   ac_status=$?
19363 19372
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 19373
   (exit $ac_status); }; }; then
19365
-  echo "$as_me:$LINENO: result: ok, bug not present" >&5
19366
-echo "${ECHO_T}ok, bug not present" >&6
19374
+  { echo "$as_me:$LINENO: result: ok, bug not present" >&5
19375
+echo "${ECHO_T}ok, bug not present" >&6; }
19367 19376
 else
19368 19377
   echo "$as_me: program exited with status $ac_status" >&5
19369 19378
 echo "$as_me: failed program was:" >&5
... ...
@@ -19374,11 +20086,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
19374 19374
 echo "$as_me: error: your compiler has gcc PR26763-2 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763" >&2;}
19375 19375
    { (exit 1); exit 1; }; }
19376 19376
 fi
19377
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19377
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19378 19378
 fi
19379 19379
 
19380
-echo "$as_me:$LINENO: checking for valid code generation of CLI_ISCONTAINED" >&5
19381
-echo $ECHO_N "checking for valid code generation of CLI_ISCONTAINED... $ECHO_C" >&6
19380
+
19381
+
19382
+{ echo "$as_me:$LINENO: checking for valid code generation of CLI_ISCONTAINED" >&5
19383
+echo $ECHO_N "checking for valid code generation of CLI_ISCONTAINED... $ECHO_C" >&6; }
19382 19384
 if test "$cross_compiling" = yes; then
19383 19385
   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19384 19386
 See \`config.log' for more details." >&5
... ...
@@ -19433,18 +20147,27 @@ int main()
19433 19433
 
19434 19434
 _ACEOF
19435 19435
 rm -f conftest$ac_exeext
19436
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19437
-  (eval $ac_link) 2>&5
19436
+if { (ac_try="$ac_link"
19437
+case "(($ac_try" in
19438
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19439
+  *) ac_try_echo=$ac_try;;
19440
+esac
19441
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19442
+  (eval "$ac_link") 2>&5
19438 19443
   ac_status=$?
19439 19444
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 19445
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19441
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442
-  (eval $ac_try) 2>&5
19446
+  { (case "(($ac_try" in
19447
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448
+  *) ac_try_echo=$ac_try;;
19449
+esac
19450
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451
+  (eval "$ac_try") 2>&5
19443 19452
   ac_status=$?
19444 19453
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 19454
   (exit $ac_status); }; }; then
19446
-  echo "$as_me:$LINENO: result: ok, bug not present" >&5
19447
-echo "${ECHO_T}ok, bug not present" >&6
19455
+  { echo "$as_me:$LINENO: result: ok, bug not present" >&5
19456
+echo "${ECHO_T}ok, bug not present" >&6; }
19448 19457
 else
19449 19458
   echo "$as_me: program exited with status $ac_status" >&5
19450 19459
 echo "$as_me: failed program was:" >&5
... ...
@@ -19455,7 +20178,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
19455 19455
 echo "$as_me: error: your compiler has a bug that causes clamav 670, use a different compiler, see http://bugs.clamav.net/bugzilla/show_bug.cgi?id=670" >&2;}
19456 19456
    { (exit 1); exit 1; }; }
19457 19457
 fi
19458
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19458
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19459 19459
 fi
19460 19460
 
19461 19461
 
... ...
@@ -19483,21 +20206,24 @@ fi
19483 19483
 
19484 19484
 
19485 19485
 
19486
+
19487
+
19486 19488
 for ac_header in stdint.h unistd.h sys/int_types.h dlfcn.h inttypes.h sys/inttypes.h memory.h ndir.h stdlib.h strings.h string.h sys/mman.h sys/param.h sys/stat.h sys/types.h malloc.h poll.h limits.h sys/filio.h sys/uio.h termios.h iconv.h stdbool.h pwd.h grp.h
19487 19489
 do
19488 19490
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19489
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
19490
-  echo "$as_me:$LINENO: checking for $ac_header" >&5
19491
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19492
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
19491
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19492
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
19493
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19494
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19493 19495
   echo $ECHO_N "(cached) $ECHO_C" >&6
19494 19496
 fi
19495
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19496
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19497
+ac_res=`eval echo '${'$as_ac_Header'}'`
19498
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
19499
+echo "${ECHO_T}$ac_res" >&6; }
19497 19500
 else
19498 19501
   # Is the header compilable?
19499
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
19500
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19502
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19503
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19501 19504
 cat >conftest.$ac_ext <<_ACEOF
19502 19505
 /* confdefs.h.  */
19503 19506
 _ACEOF
... ...
@@ -19508,41 +20234,37 @@ $ac_includes_default
19508 19508
 #include <$ac_header>
19509 19509
 _ACEOF
19510 19510
 rm -f conftest.$ac_objext
19511
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19512
-  (eval $ac_compile) 2>conftest.er1
19511
+if { (ac_try="$ac_compile"
19512
+case "(($ac_try" in
19513
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514
+  *) ac_try_echo=$ac_try;;
19515
+esac
19516
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517
+  (eval "$ac_compile") 2>conftest.er1
19513 19518
   ac_status=$?
19514 19519
   grep -v '^ *+' conftest.er1 >conftest.err
19515 19520
   rm -f conftest.er1
19516 19521
   cat conftest.err >&5
19517 19522
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518
-  (exit $ac_status); } &&
19519
-	 { ac_try='test -z "$ac_c_werror_flag"
19520
-			 || test ! -s conftest.err'
19521
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522
-  (eval $ac_try) 2>&5
19523
-  ac_status=$?
19524
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525
-  (exit $ac_status); }; } &&
19526
-	 { ac_try='test -s conftest.$ac_objext'
19527
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528
-  (eval $ac_try) 2>&5
19529
-  ac_status=$?
19530
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531
-  (exit $ac_status); }; }; then
19523
+  (exit $ac_status); } && {
19524
+	 test -z "$ac_c_werror_flag" ||
19525
+	 test ! -s conftest.err
19526
+       } && test -s conftest.$ac_objext; then
19532 19527
   ac_header_compiler=yes
19533 19528
 else
19534 19529
   echo "$as_me: failed program was:" >&5
19535 19530
 sed 's/^/| /' conftest.$ac_ext >&5
19536 19531
 
19537
-ac_header_compiler=no
19532
+	ac_header_compiler=no
19538 19533
 fi
19539
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19540
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19541
-echo "${ECHO_T}$ac_header_compiler" >&6
19534
+
19535
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19536
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19537
+echo "${ECHO_T}$ac_header_compiler" >&6; }
19542 19538
 
19543 19539
 # Is the header present?
19544
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
19545
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19540
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
19541
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19546 19542
 cat >conftest.$ac_ext <<_ACEOF
19547 19543
 /* confdefs.h.  */
19548 19544
 _ACEOF
... ...
@@ -19551,24 +20273,22 @@ cat >>conftest.$ac_ext <<_ACEOF
19551 19551
 /* end confdefs.h.  */
19552 19552
 #include <$ac_header>
19553 19553
 _ACEOF
19554
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19555
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19554
+if { (ac_try="$ac_cpp conftest.$ac_ext"
19555
+case "(($ac_try" in
19556
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19557
+  *) ac_try_echo=$ac_try;;
19558
+esac
19559
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19556 19561
   ac_status=$?
19557 19562
   grep -v '^ *+' conftest.er1 >conftest.err
19558 19563
   rm -f conftest.er1
19559 19564
   cat conftest.err >&5
19560 19565
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561
-  (exit $ac_status); } >/dev/null; then
19562
-  if test -s conftest.err; then
19563
-    ac_cpp_err=$ac_c_preproc_warn_flag
19564
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19565
-  else
19566
-    ac_cpp_err=
19567
-  fi
19568
-else
19569
-  ac_cpp_err=yes
19570
-fi
19571
-if test -z "$ac_cpp_err"; then
19566
+  (exit $ac_status); } >/dev/null && {
19567
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19568
+	 test ! -s conftest.err
19569
+       }; then
19572 19570
   ac_header_preproc=yes
19573 19571
 else
19574 19572
   echo "$as_me: failed program was:" >&5
... ...
@@ -19576,9 +20296,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
19576 19576
 
19577 19577
   ac_header_preproc=no
19578 19578
 fi
19579
+
19579 19580
 rm -f conftest.err conftest.$ac_ext
19580
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19581
-echo "${ECHO_T}$ac_header_preproc" >&6
19581
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19582
+echo "${ECHO_T}$ac_header_preproc" >&6; }
19582 19583
 
19583 19584
 # So?  What about this header?
19584 19585
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -19602,25 +20323,19 @@ echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\
19602 19602
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19603 19603
     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19604 19604
 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19605
-    (
19606
-      cat <<\_ASBOX
19607
-## ------------------------------------------ ##
19608
-## Report this to the AC_PACKAGE_NAME lists.  ##
19609
-## ------------------------------------------ ##
19610
-_ASBOX
19611
-    ) |
19612
-      sed "s/^/$as_me: WARNING:     /" >&2
19605
+
19613 19606
     ;;
19614 19607
 esac
19615
-echo "$as_me:$LINENO: checking for $ac_header" >&5
19616
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19617
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
19608
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19609
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19610
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19618 19611
   echo $ECHO_N "(cached) $ECHO_C" >&6
19619 19612
 else
19620 19613
   eval "$as_ac_Header=\$ac_header_preproc"
19621 19614
 fi
19622
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19623
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19615
+ac_res=`eval echo '${'$as_ac_Header'}'`
19616
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
19617
+echo "${ECHO_T}$ac_res" >&6; }
19624 19618
 
19625 19619
 fi
19626 19620
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
... ...
@@ -19633,17 +20348,17 @@ fi
19633 19633
 done
19634 19634
 
19635 19635
 if test "${ac_cv_header_syslog_h+set}" = set; then
19636
-  echo "$as_me:$LINENO: checking for syslog.h" >&5
19637
-echo $ECHO_N "checking for syslog.h... $ECHO_C" >&6
19636
+  { echo "$as_me:$LINENO: checking for syslog.h" >&5
19637
+echo $ECHO_N "checking for syslog.h... $ECHO_C" >&6; }
19638 19638
 if test "${ac_cv_header_syslog_h+set}" = set; then
19639 19639
   echo $ECHO_N "(cached) $ECHO_C" >&6
19640 19640
 fi
19641
-echo "$as_me:$LINENO: result: $ac_cv_header_syslog_h" >&5
19642
-echo "${ECHO_T}$ac_cv_header_syslog_h" >&6
19641
+{ echo "$as_me:$LINENO: result: $ac_cv_header_syslog_h" >&5
19642
+echo "${ECHO_T}$ac_cv_header_syslog_h" >&6; }
19643 19643
 else
19644 19644
   # Is the header compilable?
19645
-echo "$as_me:$LINENO: checking syslog.h usability" >&5
19646
-echo $ECHO_N "checking syslog.h usability... $ECHO_C" >&6
19645
+{ echo "$as_me:$LINENO: checking syslog.h usability" >&5
19646
+echo $ECHO_N "checking syslog.h usability... $ECHO_C" >&6; }
19647 19647
 cat >conftest.$ac_ext <<_ACEOF
19648 19648
 /* confdefs.h.  */
19649 19649
 _ACEOF
... ...
@@ -19654,41 +20369,37 @@ $ac_includes_default
19654 19654
 #include <syslog.h>
19655 19655
 _ACEOF
19656 19656
 rm -f conftest.$ac_objext
19657
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19658
-  (eval $ac_compile) 2>conftest.er1
19657
+if { (ac_try="$ac_compile"
19658
+case "(($ac_try" in
19659
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660
+  *) ac_try_echo=$ac_try;;
19661
+esac
19662
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663
+  (eval "$ac_compile") 2>conftest.er1
19659 19664
   ac_status=$?
19660 19665
   grep -v '^ *+' conftest.er1 >conftest.err
19661 19666
   rm -f conftest.er1
19662 19667
   cat conftest.err >&5
19663 19668
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664
-  (exit $ac_status); } &&
19665
-	 { ac_try='test -z "$ac_c_werror_flag"
19666
-			 || test ! -s conftest.err'
19667
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19668
-  (eval $ac_try) 2>&5
19669
-  ac_status=$?
19670
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671
-  (exit $ac_status); }; } &&
19672
-	 { ac_try='test -s conftest.$ac_objext'
19673
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674
-  (eval $ac_try) 2>&5
19675
-  ac_status=$?
19676
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677
-  (exit $ac_status); }; }; then
19669
+  (exit $ac_status); } && {
19670
+	 test -z "$ac_c_werror_flag" ||
19671
+	 test ! -s conftest.err
19672
+       } && test -s conftest.$ac_objext; then
19678 19673
   ac_header_compiler=yes
19679 19674
 else
19680 19675
   echo "$as_me: failed program was:" >&5
19681 19676
 sed 's/^/| /' conftest.$ac_ext >&5
19682 19677
 
19683
-ac_header_compiler=no
19678
+	ac_header_compiler=no
19684 19679
 fi
19685
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19686
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19687
-echo "${ECHO_T}$ac_header_compiler" >&6
19680
+
19681
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19683
+echo "${ECHO_T}$ac_header_compiler" >&6; }
19688 19684
 
19689 19685
 # Is the header present?
19690
-echo "$as_me:$LINENO: checking syslog.h presence" >&5
19691
-echo $ECHO_N "checking syslog.h presence... $ECHO_C" >&6
19686
+{ echo "$as_me:$LINENO: checking syslog.h presence" >&5
19687
+echo $ECHO_N "checking syslog.h presence... $ECHO_C" >&6; }
19692 19688
 cat >conftest.$ac_ext <<_ACEOF
19693 19689
 /* confdefs.h.  */
19694 19690
 _ACEOF
... ...
@@ -19697,24 +20408,22 @@ cat >>conftest.$ac_ext <<_ACEOF
19697 19697
 /* end confdefs.h.  */
19698 19698
 #include <syslog.h>
19699 19699
 _ACEOF
19700
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19701
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19700
+if { (ac_try="$ac_cpp conftest.$ac_ext"
19701
+case "(($ac_try" in
19702
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703
+  *) ac_try_echo=$ac_try;;
19704
+esac
19705
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19702 19707
   ac_status=$?
19703 19708
   grep -v '^ *+' conftest.er1 >conftest.err
19704 19709
   rm -f conftest.er1
19705 19710
   cat conftest.err >&5
19706 19711
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707
-  (exit $ac_status); } >/dev/null; then
19708
-  if test -s conftest.err; then
19709
-    ac_cpp_err=$ac_c_preproc_warn_flag
19710
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19711
-  else
19712
-    ac_cpp_err=
19713
-  fi
19714
-else
19715
-  ac_cpp_err=yes
19716
-fi
19717
-if test -z "$ac_cpp_err"; then
19712
+  (exit $ac_status); } >/dev/null && {
19713
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19714
+	 test ! -s conftest.err
19715
+       }; then
19718 19716
   ac_header_preproc=yes
19719 19717
 else
19720 19718
   echo "$as_me: failed program was:" >&5
... ...
@@ -19722,9 +20431,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
19722 19722
 
19723 19723
   ac_header_preproc=no
19724 19724
 fi
19725
+
19725 19726
 rm -f conftest.err conftest.$ac_ext
19726
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19727
-echo "${ECHO_T}$ac_header_preproc" >&6
19727
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19728
+echo "${ECHO_T}$ac_header_preproc" >&6; }
19728 19729
 
19729 19730
 # So?  What about this header?
19730 19731
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -19748,25 +20458,18 @@ echo "$as_me: WARNING: syslog.h:     section \"Present But Cannot Be Compiled\""
19748 19748
 echo "$as_me: WARNING: syslog.h: proceeding with the preprocessor's result" >&2;}
19749 19749
     { echo "$as_me:$LINENO: WARNING: syslog.h: in the future, the compiler will take precedence" >&5
19750 19750
 echo "$as_me: WARNING: syslog.h: in the future, the compiler will take precedence" >&2;}
19751
-    (
19752
-      cat <<\_ASBOX
19753
-## ------------------------------------------ ##
19754
-## Report this to the AC_PACKAGE_NAME lists.  ##
19755
-## ------------------------------------------ ##
19756
-_ASBOX
19757
-    ) |
19758
-      sed "s/^/$as_me: WARNING:     /" >&2
19751
+
19759 19752
     ;;
19760 19753
 esac
19761
-echo "$as_me:$LINENO: checking for syslog.h" >&5
19762
-echo $ECHO_N "checking for syslog.h... $ECHO_C" >&6
19754
+{ echo "$as_me:$LINENO: checking for syslog.h" >&5
19755
+echo $ECHO_N "checking for syslog.h... $ECHO_C" >&6; }
19763 19756
 if test "${ac_cv_header_syslog_h+set}" = set; then
19764 19757
   echo $ECHO_N "(cached) $ECHO_C" >&6
19765 19758
 else
19766 19759
   ac_cv_header_syslog_h=$ac_header_preproc
19767 19760
 fi
19768
-echo "$as_me:$LINENO: result: $ac_cv_header_syslog_h" >&5
19769
-echo "${ECHO_T}$ac_cv_header_syslog_h" >&6
19761
+{ echo "$as_me:$LINENO: result: $ac_cv_header_syslog_h" >&5
19762
+echo "${ECHO_T}$ac_cv_header_syslog_h" >&6; }
19770 19763
 
19771 19764
 fi
19772 19765
 if test $ac_cv_header_syslog_h = yes; then
... ...
@@ -19779,8 +20482,8 @@ fi
19779 19779
 
19780 19780
 
19781 19781
 
19782
-echo "$as_me:$LINENO: checking for off_t" >&5
19783
-echo $ECHO_N "checking for off_t... $ECHO_C" >&6
19782
+{ echo "$as_me:$LINENO: checking for off_t" >&5
19783
+echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19784 19784
 if test "${ac_cv_type_off_t+set}" = set; then
19785 19785
   echo $ECHO_N "(cached) $ECHO_C" >&6
19786 19786
 else
... ...
@@ -19791,62 +20494,59 @@ cat confdefs.h >>conftest.$ac_ext
19791 19791
 cat >>conftest.$ac_ext <<_ACEOF
19792 19792
 /* end confdefs.h.  */
19793 19793
 $ac_includes_default
19794
+typedef off_t ac__type_new_;
19794 19795
 int
19795 19796
 main ()
19796 19797
 {
19797
-if ((off_t *) 0)
19798
+if ((ac__type_new_ *) 0)
19798 19799
   return 0;
19799
-if (sizeof (off_t))
19800
+if (sizeof (ac__type_new_))
19800 19801
   return 0;
19801 19802
   ;
19802 19803
   return 0;
19803 19804
 }
19804 19805
 _ACEOF
19805 19806
 rm -f conftest.$ac_objext
19806
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19807
-  (eval $ac_compile) 2>conftest.er1
19807
+if { (ac_try="$ac_compile"
19808
+case "(($ac_try" in
19809
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810
+  *) ac_try_echo=$ac_try;;
19811
+esac
19812
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813
+  (eval "$ac_compile") 2>conftest.er1
19808 19814
   ac_status=$?
19809 19815
   grep -v '^ *+' conftest.er1 >conftest.err
19810 19816
   rm -f conftest.er1
19811 19817
   cat conftest.err >&5
19812 19818
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813
-  (exit $ac_status); } &&
19814
-	 { ac_try='test -z "$ac_c_werror_flag"
19815
-			 || test ! -s conftest.err'
19816
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817
-  (eval $ac_try) 2>&5
19818
-  ac_status=$?
19819
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820
-  (exit $ac_status); }; } &&
19821
-	 { ac_try='test -s conftest.$ac_objext'
19822
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823
-  (eval $ac_try) 2>&5
19824
-  ac_status=$?
19825
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826
-  (exit $ac_status); }; }; then
19819
+  (exit $ac_status); } && {
19820
+	 test -z "$ac_c_werror_flag" ||
19821
+	 test ! -s conftest.err
19822
+       } && test -s conftest.$ac_objext; then
19827 19823
   ac_cv_type_off_t=yes
19828 19824
 else
19829 19825
   echo "$as_me: failed program was:" >&5
19830 19826
 sed 's/^/| /' conftest.$ac_ext >&5
19831 19827
 
19832
-ac_cv_type_off_t=no
19828
+	ac_cv_type_off_t=no
19833 19829
 fi
19834
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19830
+
19831
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 19832
 fi
19836
-echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19837
-echo "${ECHO_T}$ac_cv_type_off_t" >&6
19833
+{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19834
+echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19838 19835
 if test $ac_cv_type_off_t = yes; then
19839 19836
   :
19840 19837
 else
19841 19838
 
19842 19839
 cat >>confdefs.h <<_ACEOF
19843
-#define off_t long
19840
+#define off_t long int
19844 19841
 _ACEOF
19845 19842
 
19846 19843
 fi
19847 19844
 
19848
-echo "$as_me:$LINENO: checking size of short" >&5
19849
-echo $ECHO_N "checking size of short... $ECHO_C" >&6
19845
+{ echo "$as_me:$LINENO: checking size of short" >&5
19846
+echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19850 19847
 if test "${ac_cv_sizeof_short+set}" = set; then
19851 19848
   echo $ECHO_N "(cached) $ECHO_C" >&6
19852 19849
 else
... ...
@@ -19870,34 +20570,31 @@ switch (0) case 0: case (sizeof (short) == $ac_size):;
19870 19870
 }
19871 19871
 _ACEOF
19872 19872
 rm -f conftest.$ac_objext
19873
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874
-  (eval $ac_compile) 2>conftest.er1
19873
+if { (ac_try="$ac_compile"
19874
+case "(($ac_try" in
19875
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19876
+  *) ac_try_echo=$ac_try;;
19877
+esac
19878
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879
+  (eval "$ac_compile") 2>conftest.er1
19875 19880
   ac_status=$?
19876 19881
   grep -v '^ *+' conftest.er1 >conftest.err
19877 19882
   rm -f conftest.er1
19878 19883
   cat conftest.err >&5
19879 19884
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880
-  (exit $ac_status); } &&
19881
-	 { ac_try='test -z "$ac_c_werror_flag"
19882
-			 || test ! -s conftest.err'
19883
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884
-  (eval $ac_try) 2>&5
19885
-  ac_status=$?
19886
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887
-  (exit $ac_status); }; } &&
19888
-	 { ac_try='test -s conftest.$ac_objext'
19889
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19890
-  (eval $ac_try) 2>&5
19891
-  ac_status=$?
19892
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893
-  (exit $ac_status); }; }; then
19885
+  (exit $ac_status); } && {
19886
+	 test -z "$ac_c_werror_flag" ||
19887
+	 test ! -s conftest.err
19888
+       } && test -s conftest.$ac_objext; then
19894 19889
   ac_cv_sizeof_short=$ac_size
19895 19890
 else
19896 19891
   echo "$as_me: failed program was:" >&5
19897 19892
 sed 's/^/| /' conftest.$ac_ext >&5
19898 19893
 
19894
+
19899 19895
 fi
19900
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19896
+
19897
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 19898
   if test x$ac_cv_sizeof_short != x ; then break; fi
19902 19899
 done
19903 19900
 
... ...
@@ -19908,16 +20605,16 @@ if test x$ac_cv_sizeof_short = x ; then
19908 19908
 echo "$as_me: error: cannot determine a size for short" >&2;}
19909 19909
    { (exit 1); exit 1; }; }
19910 19910
 fi
19911
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19912
-echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19911
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19912
+echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19913 19913
 
19914 19914
 cat >>confdefs.h <<_ACEOF
19915 19915
 #define SIZEOF_SHORT $ac_cv_sizeof_short
19916 19916
 _ACEOF
19917 19917
 
19918 19918
 
19919
-echo "$as_me:$LINENO: checking size of int" >&5
19920
-echo $ECHO_N "checking size of int... $ECHO_C" >&6
19919
+{ echo "$as_me:$LINENO: checking size of int" >&5
19920
+echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19921 19921
 if test "${ac_cv_sizeof_int+set}" = set; then
19922 19922
   echo $ECHO_N "(cached) $ECHO_C" >&6
19923 19923
 else
... ...
@@ -19941,34 +20638,31 @@ switch (0) case 0: case (sizeof (int) == $ac_size):;
19941 19941
 }
19942 19942
 _ACEOF
19943 19943
 rm -f conftest.$ac_objext
19944
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19945
-  (eval $ac_compile) 2>conftest.er1
19944
+if { (ac_try="$ac_compile"
19945
+case "(($ac_try" in
19946
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947
+  *) ac_try_echo=$ac_try;;
19948
+esac
19949
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950
+  (eval "$ac_compile") 2>conftest.er1
19946 19951
   ac_status=$?
19947 19952
   grep -v '^ *+' conftest.er1 >conftest.err
19948 19953
   rm -f conftest.er1
19949 19954
   cat conftest.err >&5
19950 19955
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951
-  (exit $ac_status); } &&
19952
-	 { ac_try='test -z "$ac_c_werror_flag"
19953
-			 || test ! -s conftest.err'
19954
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955
-  (eval $ac_try) 2>&5
19956
-  ac_status=$?
19957
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958
-  (exit $ac_status); }; } &&
19959
-	 { ac_try='test -s conftest.$ac_objext'
19960
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961
-  (eval $ac_try) 2>&5
19962
-  ac_status=$?
19963
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964
-  (exit $ac_status); }; }; then
19956
+  (exit $ac_status); } && {
19957
+	 test -z "$ac_c_werror_flag" ||
19958
+	 test ! -s conftest.err
19959
+       } && test -s conftest.$ac_objext; then
19965 19960
   ac_cv_sizeof_int=$ac_size
19966 19961
 else
19967 19962
   echo "$as_me: failed program was:" >&5
19968 19963
 sed 's/^/| /' conftest.$ac_ext >&5
19969 19964
 
19965
+
19970 19966
 fi
19971
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19967
+
19968
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19972 19969
   if test x$ac_cv_sizeof_int != x ; then break; fi
19973 19970
 done
19974 19971
 
... ...
@@ -19979,16 +20673,16 @@ if test x$ac_cv_sizeof_int = x ; then
19979 19979
 echo "$as_me: error: cannot determine a size for int" >&2;}
19980 19980
    { (exit 1); exit 1; }; }
19981 19981
 fi
19982
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19983
-echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19982
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19983
+echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19984 19984
 
19985 19985
 cat >>confdefs.h <<_ACEOF
19986 19986
 #define SIZEOF_INT $ac_cv_sizeof_int
19987 19987
 _ACEOF
19988 19988
 
19989 19989
 
19990
-echo "$as_me:$LINENO: checking size of long" >&5
19991
-echo $ECHO_N "checking size of long... $ECHO_C" >&6
19990
+{ echo "$as_me:$LINENO: checking size of long" >&5
19991
+echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19992 19992
 if test "${ac_cv_sizeof_long+set}" = set; then
19993 19993
   echo $ECHO_N "(cached) $ECHO_C" >&6
19994 19994
 else
... ...
@@ -20012,34 +20706,31 @@ switch (0) case 0: case (sizeof (long) == $ac_size):;
20012 20012
 }
20013 20013
 _ACEOF
20014 20014
 rm -f conftest.$ac_objext
20015
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20016
-  (eval $ac_compile) 2>conftest.er1
20015
+if { (ac_try="$ac_compile"
20016
+case "(($ac_try" in
20017
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20018
+  *) ac_try_echo=$ac_try;;
20019
+esac
20020
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20021
+  (eval "$ac_compile") 2>conftest.er1
20017 20022
   ac_status=$?
20018 20023
   grep -v '^ *+' conftest.er1 >conftest.err
20019 20024
   rm -f conftest.er1
20020 20025
   cat conftest.err >&5
20021 20026
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022
-  (exit $ac_status); } &&
20023
-	 { ac_try='test -z "$ac_c_werror_flag"
20024
-			 || test ! -s conftest.err'
20025
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026
-  (eval $ac_try) 2>&5
20027
-  ac_status=$?
20028
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029
-  (exit $ac_status); }; } &&
20030
-	 { ac_try='test -s conftest.$ac_objext'
20031
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032
-  (eval $ac_try) 2>&5
20033
-  ac_status=$?
20034
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035
-  (exit $ac_status); }; }; then
20027
+  (exit $ac_status); } && {
20028
+	 test -z "$ac_c_werror_flag" ||
20029
+	 test ! -s conftest.err
20030
+       } && test -s conftest.$ac_objext; then
20036 20031
   ac_cv_sizeof_long=$ac_size
20037 20032
 else
20038 20033
   echo "$as_me: failed program was:" >&5
20039 20034
 sed 's/^/| /' conftest.$ac_ext >&5
20040 20035
 
20036
+
20041 20037
 fi
20042
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20038
+
20039
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043 20040
   if test x$ac_cv_sizeof_long != x ; then break; fi
20044 20041
 done
20045 20042
 
... ...
@@ -20050,16 +20741,16 @@ if test x$ac_cv_sizeof_long = x ; then
20050 20050
 echo "$as_me: error: cannot determine a size for long" >&2;}
20051 20051
    { (exit 1); exit 1; }; }
20052 20052
 fi
20053
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20054
-echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20053
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20054
+echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20055 20055
 
20056 20056
 cat >>confdefs.h <<_ACEOF
20057 20057
 #define SIZEOF_LONG $ac_cv_sizeof_long
20058 20058
 _ACEOF
20059 20059
 
20060 20060
 
20061
-echo "$as_me:$LINENO: checking size of long long" >&5
20062
-echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20061
+{ echo "$as_me:$LINENO: checking size of long long" >&5
20062
+echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20063 20063
 if test "${ac_cv_sizeof_long_long+set}" = set; then
20064 20064
   echo $ECHO_N "(cached) $ECHO_C" >&6
20065 20065
 else
... ...
@@ -20083,34 +20774,31 @@ switch (0) case 0: case (sizeof (long long) == $ac_size):;
20083 20083
 }
20084 20084
 _ACEOF
20085 20085
 rm -f conftest.$ac_objext
20086
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20087
-  (eval $ac_compile) 2>conftest.er1
20086
+if { (ac_try="$ac_compile"
20087
+case "(($ac_try" in
20088
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20089
+  *) ac_try_echo=$ac_try;;
20090
+esac
20091
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20092
+  (eval "$ac_compile") 2>conftest.er1
20088 20093
   ac_status=$?
20089 20094
   grep -v '^ *+' conftest.er1 >conftest.err
20090 20095
   rm -f conftest.er1
20091 20096
   cat conftest.err >&5
20092 20097
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093
-  (exit $ac_status); } &&
20094
-	 { ac_try='test -z "$ac_c_werror_flag"
20095
-			 || test ! -s conftest.err'
20096
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097
-  (eval $ac_try) 2>&5
20098
-  ac_status=$?
20099
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100
-  (exit $ac_status); }; } &&
20101
-	 { ac_try='test -s conftest.$ac_objext'
20102
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103
-  (eval $ac_try) 2>&5
20104
-  ac_status=$?
20105
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106
-  (exit $ac_status); }; }; then
20098
+  (exit $ac_status); } && {
20099
+	 test -z "$ac_c_werror_flag" ||
20100
+	 test ! -s conftest.err
20101
+       } && test -s conftest.$ac_objext; then
20107 20102
   ac_cv_sizeof_long_long=$ac_size
20108 20103
 else
20109 20104
   echo "$as_me: failed program was:" >&5
20110 20105
 sed 's/^/| /' conftest.$ac_ext >&5
20111 20106
 
20107
+
20112 20108
 fi
20113
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20109
+
20110
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 20111
   if test x$ac_cv_sizeof_long_long != x ; then break; fi
20115 20112
 done
20116 20113
 
... ...
@@ -20121,8 +20809,8 @@ if test x$ac_cv_sizeof_long_long = x ; then
20121 20121
 echo "$as_me: error: cannot determine a size for long long" >&2;}
20122 20122
    { (exit 1); exit 1; }; }
20123 20123
 fi
20124
-echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20125
-echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20124
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20125
+echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20126 20126
 
20127 20127
 cat >>confdefs.h <<_ACEOF
20128 20128
 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
... ...
@@ -20130,13 +20818,13 @@ _ACEOF
20130 20130
 
20131 20131
 
20132 20132
 
20133
-# Check whether --enable-experimental or --disable-experimental was given.
20133
+# Check whether --enable-experimental was given.
20134 20134
 if test "${enable_experimental+set}" = set; then
20135
-  enableval="$enable_experimental"
20136
-  enable_experimental=$enableval
20135
+  enableval=$enable_experimental; enable_experimental=$enableval
20137 20136
 else
20138 20137
   enable_experimental="no"
20139
-fi;
20138
+fi
20139
+
20140 20140
 
20141 20141
 if test "$enable_experimental" = "yes"; then
20142 20142
 
... ...
@@ -20146,8 +20834,16 @@ _ACEOF
20146 20146
 
20147 20147
 fi
20148 20148
 
20149
-echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
20150
-echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6
20149
+# Check whether --enable-unrar was given.
20150
+if test "${enable_unrar+set}" = set; then
20151
+  enableval=$enable_unrar; enable_unrar=$enableval
20152
+else
20153
+  enable_unrar="no"
20154
+fi
20155
+
20156
+
20157
+{ echo "$as_me:$LINENO: checking for bind in -lsocket" >&5
20158
+echo $ECHO_N "checking for bind in -lsocket... $ECHO_C" >&6; }
20151 20159
 if test "${ac_cv_lib_socket_bind+set}" = set; then
20152 20160
   echo $ECHO_N "(cached) $ECHO_C" >&6
20153 20161
 else
... ...
@@ -20160,62 +20856,59 @@ cat confdefs.h >>conftest.$ac_ext
20160 20160
 cat >>conftest.$ac_ext <<_ACEOF
20161 20161
 /* end confdefs.h.  */
20162 20162
 
20163
-/* Override any gcc2 internal prototype to avoid an error.  */
20163
+/* Override any GCC internal prototype to avoid an error.
20164
+   Use char because int might match the return type of a GCC
20165
+   builtin and then its argument prototype would still apply.  */
20164 20166
 #ifdef __cplusplus
20165 20167
 extern "C"
20166 20168
 #endif
20167
-/* We use char because int might match the return type of a gcc2
20168
-   builtin and then its argument prototype would still apply.  */
20169 20169
 char bind ();
20170 20170
 int
20171 20171
 main ()
20172 20172
 {
20173
-bind ();
20173
+return bind ();
20174 20174
   ;
20175 20175
   return 0;
20176 20176
 }
20177 20177
 _ACEOF
20178 20178
 rm -f conftest.$ac_objext conftest$ac_exeext
20179
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20180
-  (eval $ac_link) 2>conftest.er1
20179
+if { (ac_try="$ac_link"
20180
+case "(($ac_try" in
20181
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182
+  *) ac_try_echo=$ac_try;;
20183
+esac
20184
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185
+  (eval "$ac_link") 2>conftest.er1
20181 20186
   ac_status=$?
20182 20187
   grep -v '^ *+' conftest.er1 >conftest.err
20183 20188
   rm -f conftest.er1
20184 20189
   cat conftest.err >&5
20185 20190
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186
-  (exit $ac_status); } &&
20187
-	 { ac_try='test -z "$ac_c_werror_flag"
20188
-			 || test ! -s conftest.err'
20189
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190
-  (eval $ac_try) 2>&5
20191
-  ac_status=$?
20192
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193
-  (exit $ac_status); }; } &&
20194
-	 { ac_try='test -s conftest$ac_exeext'
20195
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196
-  (eval $ac_try) 2>&5
20197
-  ac_status=$?
20198
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199
-  (exit $ac_status); }; }; then
20191
+  (exit $ac_status); } && {
20192
+	 test -z "$ac_c_werror_flag" ||
20193
+	 test ! -s conftest.err
20194
+       } && test -s conftest$ac_exeext &&
20195
+       $as_test_x conftest$ac_exeext; then
20200 20196
   ac_cv_lib_socket_bind=yes
20201 20197
 else
20202 20198
   echo "$as_me: failed program was:" >&5
20203 20199
 sed 's/^/| /' conftest.$ac_ext >&5
20204 20200
 
20205
-ac_cv_lib_socket_bind=no
20201
+	ac_cv_lib_socket_bind=no
20206 20202
 fi
20207
-rm -f conftest.err conftest.$ac_objext \
20203
+
20204
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20208 20205
       conftest$ac_exeext conftest.$ac_ext
20209 20206
 LIBS=$ac_check_lib_save_LIBS
20210 20207
 fi
20211
-echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
20212
-echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6
20208
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_bind" >&5
20209
+echo "${ECHO_T}$ac_cv_lib_socket_bind" >&6; }
20213 20210
 if test $ac_cv_lib_socket_bind = yes; then
20214 20211
   LIBS="$LIBS -lsocket"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lsocket"; FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lsocket"; CLAMD_LIBS="$CLAMD_LIBS -lsocket"
20215 20212
 fi
20216 20213
 
20217
-echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
20218
-echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
20214
+{ echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
20215
+echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6; }
20219 20216
 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
20220 20217
   echo $ECHO_N "(cached) $ECHO_C" >&6
20221 20218
 else
... ...
@@ -20228,63 +20921,60 @@ cat confdefs.h >>conftest.$ac_ext
20228 20228
 cat >>conftest.$ac_ext <<_ACEOF
20229 20229
 /* end confdefs.h.  */
20230 20230
 
20231
-/* Override any gcc2 internal prototype to avoid an error.  */
20231
+/* Override any GCC internal prototype to avoid an error.
20232
+   Use char because int might match the return type of a GCC
20233
+   builtin and then its argument prototype would still apply.  */
20232 20234
 #ifdef __cplusplus
20233 20235
 extern "C"
20234 20236
 #endif
20235
-/* We use char because int might match the return type of a gcc2
20236
-   builtin and then its argument prototype would still apply.  */
20237 20237
 char gethostent ();
20238 20238
 int
20239 20239
 main ()
20240 20240
 {
20241
-gethostent ();
20241
+return gethostent ();
20242 20242
   ;
20243 20243
   return 0;
20244 20244
 }
20245 20245
 _ACEOF
20246 20246
 rm -f conftest.$ac_objext conftest$ac_exeext
20247
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20248
-  (eval $ac_link) 2>conftest.er1
20247
+if { (ac_try="$ac_link"
20248
+case "(($ac_try" in
20249
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250
+  *) ac_try_echo=$ac_try;;
20251
+esac
20252
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253
+  (eval "$ac_link") 2>conftest.er1
20249 20254
   ac_status=$?
20250 20255
   grep -v '^ *+' conftest.er1 >conftest.err
20251 20256
   rm -f conftest.er1
20252 20257
   cat conftest.err >&5
20253 20258
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254
-  (exit $ac_status); } &&
20255
-	 { ac_try='test -z "$ac_c_werror_flag"
20256
-			 || test ! -s conftest.err'
20257
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258
-  (eval $ac_try) 2>&5
20259
-  ac_status=$?
20260
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261
-  (exit $ac_status); }; } &&
20262
-	 { ac_try='test -s conftest$ac_exeext'
20263
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264
-  (eval $ac_try) 2>&5
20265
-  ac_status=$?
20266
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267
-  (exit $ac_status); }; }; then
20259
+  (exit $ac_status); } && {
20260
+	 test -z "$ac_c_werror_flag" ||
20261
+	 test ! -s conftest.err
20262
+       } && test -s conftest$ac_exeext &&
20263
+       $as_test_x conftest$ac_exeext; then
20268 20264
   ac_cv_lib_nsl_gethostent=yes
20269 20265
 else
20270 20266
   echo "$as_me: failed program was:" >&5
20271 20267
 sed 's/^/| /' conftest.$ac_ext >&5
20272 20268
 
20273
-ac_cv_lib_nsl_gethostent=no
20269
+	ac_cv_lib_nsl_gethostent=no
20274 20270
 fi
20275
-rm -f conftest.err conftest.$ac_objext \
20271
+
20272
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20276 20273
       conftest$ac_exeext conftest.$ac_ext
20277 20274
 LIBS=$ac_check_lib_save_LIBS
20278 20275
 fi
20279
-echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
20280
-echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
20276
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
20277
+echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6; }
20281 20278
 if test $ac_cv_lib_nsl_gethostent = yes; then
20282 20279
   LIBS="$LIBS -lnsl"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lnsl"; FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lnsl"; CLAMD_LIBS="$CLAMD_LIBS -lnsl"
20283 20280
 fi
20284 20281
 
20285 20282
 
20286
-echo "$as_me:$LINENO: checking for libiconv_open in -liconv" >&5
20287
-echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6
20283
+{ echo "$as_me:$LINENO: checking for libiconv_open in -liconv" >&5
20284
+echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6; }
20288 20285
 if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then
20289 20286
   echo $ECHO_N "(cached) $ECHO_C" >&6
20290 20287
 else
... ...
@@ -20297,56 +20987,53 @@ cat confdefs.h >>conftest.$ac_ext
20297 20297
 cat >>conftest.$ac_ext <<_ACEOF
20298 20298
 /* end confdefs.h.  */
20299 20299
 
20300
-/* Override any gcc2 internal prototype to avoid an error.  */
20300
+/* Override any GCC internal prototype to avoid an error.
20301
+   Use char because int might match the return type of a GCC
20302
+   builtin and then its argument prototype would still apply.  */
20301 20303
 #ifdef __cplusplus
20302 20304
 extern "C"
20303 20305
 #endif
20304
-/* We use char because int might match the return type of a gcc2
20305
-   builtin and then its argument prototype would still apply.  */
20306 20306
 char libiconv_open ();
20307 20307
 int
20308 20308
 main ()
20309 20309
 {
20310
-libiconv_open ();
20310
+return libiconv_open ();
20311 20311
   ;
20312 20312
   return 0;
20313 20313
 }
20314 20314
 _ACEOF
20315 20315
 rm -f conftest.$ac_objext conftest$ac_exeext
20316
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20317
-  (eval $ac_link) 2>conftest.er1
20316
+if { (ac_try="$ac_link"
20317
+case "(($ac_try" in
20318
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20319
+  *) ac_try_echo=$ac_try;;
20320
+esac
20321
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20322
+  (eval "$ac_link") 2>conftest.er1
20318 20323
   ac_status=$?
20319 20324
   grep -v '^ *+' conftest.er1 >conftest.err
20320 20325
   rm -f conftest.er1
20321 20326
   cat conftest.err >&5
20322 20327
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323
-  (exit $ac_status); } &&
20324
-	 { ac_try='test -z "$ac_c_werror_flag"
20325
-			 || test ! -s conftest.err'
20326
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327
-  (eval $ac_try) 2>&5
20328
-  ac_status=$?
20329
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330
-  (exit $ac_status); }; } &&
20331
-	 { ac_try='test -s conftest$ac_exeext'
20332
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333
-  (eval $ac_try) 2>&5
20334
-  ac_status=$?
20335
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336
-  (exit $ac_status); }; }; then
20328
+  (exit $ac_status); } && {
20329
+	 test -z "$ac_c_werror_flag" ||
20330
+	 test ! -s conftest.err
20331
+       } && test -s conftest$ac_exeext &&
20332
+       $as_test_x conftest$ac_exeext; then
20337 20333
   ac_cv_lib_iconv_libiconv_open=yes
20338 20334
 else
20339 20335
   echo "$as_me: failed program was:" >&5
20340 20336
 sed 's/^/| /' conftest.$ac_ext >&5
20341 20337
 
20342
-ac_cv_lib_iconv_libiconv_open=no
20338
+	ac_cv_lib_iconv_libiconv_open=no
20343 20339
 fi
20344
-rm -f conftest.err conftest.$ac_objext \
20340
+
20341
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20345 20342
       conftest$ac_exeext conftest.$ac_ext
20346 20343
 LIBS=$ac_check_lib_save_LIBS
20347 20344
 fi
20348
-echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_libiconv_open" >&5
20349
-echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6
20345
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_libiconv_open" >&5
20346
+echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6; }
20350 20347
 if test $ac_cv_lib_iconv_libiconv_open = yes; then
20351 20348
   LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -liconv"
20352 20349
 fi
... ...
@@ -20368,9 +21055,9 @@ fi
20368 20368
 for ac_func in poll setsid memcpy snprintf vsnprintf strerror_r strlcpy strlcat inet_ntop setgroups initgroups ctime_r mkstemp
20369 20369
 do
20370 20370
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20371
-echo "$as_me:$LINENO: checking for $ac_func" >&5
20372
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20373
-if eval "test \"\${$as_ac_var+set}\" = set"; then
20371
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20372
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20373
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20374 20374
   echo $ECHO_N "(cached) $ECHO_C" >&6
20375 20375
 else
20376 20376
   cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -20396,68 +21083,60 @@ cat >>conftest.$ac_ext <<_ACEOF
20396 20396
 
20397 20397
 #undef $ac_func
20398 20398
 
20399
-/* Override any gcc2 internal prototype to avoid an error.  */
20399
+/* Override any GCC internal prototype to avoid an error.
20400
+   Use char because int might match the return type of a GCC
20401
+   builtin and then its argument prototype would still apply.  */
20400 20402
 #ifdef __cplusplus
20401 20403
 extern "C"
20402
-{
20403 20404
 #endif
20404
-/* We use char because int might match the return type of a gcc2
20405
-   builtin and then its argument prototype would still apply.  */
20406 20405
 char $ac_func ();
20407 20406
 /* The GNU C library defines this for functions which it implements
20408 20407
     to always fail with ENOSYS.  Some functions are actually named
20409 20408
     something starting with __ and the normal name is an alias.  */
20410
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20409
+#if defined __stub_$ac_func || defined __stub___$ac_func
20411 20410
 choke me
20412
-#else
20413
-char (*f) () = $ac_func;
20414
-#endif
20415
-#ifdef __cplusplus
20416
-}
20417 20411
 #endif
20418 20412
 
20419 20413
 int
20420 20414
 main ()
20421 20415
 {
20422
-return f != $ac_func;
20416
+return $ac_func ();
20423 20417
   ;
20424 20418
   return 0;
20425 20419
 }
20426 20420
 _ACEOF
20427 20421
 rm -f conftest.$ac_objext conftest$ac_exeext
20428
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20429
-  (eval $ac_link) 2>conftest.er1
20422
+if { (ac_try="$ac_link"
20423
+case "(($ac_try" in
20424
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425
+  *) ac_try_echo=$ac_try;;
20426
+esac
20427
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428
+  (eval "$ac_link") 2>conftest.er1
20430 20429
   ac_status=$?
20431 20430
   grep -v '^ *+' conftest.er1 >conftest.err
20432 20431
   rm -f conftest.er1
20433 20432
   cat conftest.err >&5
20434 20433
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435
-  (exit $ac_status); } &&
20436
-	 { ac_try='test -z "$ac_c_werror_flag"
20437
-			 || test ! -s conftest.err'
20438
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439
-  (eval $ac_try) 2>&5
20440
-  ac_status=$?
20441
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442
-  (exit $ac_status); }; } &&
20443
-	 { ac_try='test -s conftest$ac_exeext'
20444
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445
-  (eval $ac_try) 2>&5
20446
-  ac_status=$?
20447
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448
-  (exit $ac_status); }; }; then
20434
+  (exit $ac_status); } && {
20435
+	 test -z "$ac_c_werror_flag" ||
20436
+	 test ! -s conftest.err
20437
+       } && test -s conftest$ac_exeext &&
20438
+       $as_test_x conftest$ac_exeext; then
20449 20439
   eval "$as_ac_var=yes"
20450 20440
 else
20451 20441
   echo "$as_me: failed program was:" >&5
20452 20442
 sed 's/^/| /' conftest.$ac_ext >&5
20453 20443
 
20454
-eval "$as_ac_var=no"
20444
+	eval "$as_ac_var=no"
20455 20445
 fi
20456
-rm -f conftest.err conftest.$ac_objext \
20446
+
20447
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20457 20448
       conftest$ac_exeext conftest.$ac_ext
20458 20449
 fi
20459
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20460
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20450
+ac_res=`eval echo '${'$as_ac_var'}'`
20451
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20452
+echo "${ECHO_T}$ac_res" >&6; }
20461 20453
 if test `eval echo '${'$as_ac_var'}'` = yes; then
20462 20454
   cat >>confdefs.h <<_ACEOF
20463 20455
 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
... ...
@@ -20471,18 +21150,19 @@ done
20471 20471
 for ac_header in stdlib.h unistd.h
20472 20472
 do
20473 20473
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20474
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
20475
-  echo "$as_me:$LINENO: checking for $ac_header" >&5
20476
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20477
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
20474
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20475
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20476
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20477
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20478 20478
   echo $ECHO_N "(cached) $ECHO_C" >&6
20479 20479
 fi
20480
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20481
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20480
+ac_res=`eval echo '${'$as_ac_Header'}'`
20481
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20482
+echo "${ECHO_T}$ac_res" >&6; }
20482 20483
 else
20483 20484
   # Is the header compilable?
20484
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
20485
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20485
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20486
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20486 20487
 cat >conftest.$ac_ext <<_ACEOF
20487 20488
 /* confdefs.h.  */
20488 20489
 _ACEOF
... ...
@@ -20493,41 +21173,37 @@ $ac_includes_default
20493 20493
 #include <$ac_header>
20494 20494
 _ACEOF
20495 20495
 rm -f conftest.$ac_objext
20496
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497
-  (eval $ac_compile) 2>conftest.er1
20496
+if { (ac_try="$ac_compile"
20497
+case "(($ac_try" in
20498
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20499
+  *) ac_try_echo=$ac_try;;
20500
+esac
20501
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20502
+  (eval "$ac_compile") 2>conftest.er1
20498 20503
   ac_status=$?
20499 20504
   grep -v '^ *+' conftest.er1 >conftest.err
20500 20505
   rm -f conftest.er1
20501 20506
   cat conftest.err >&5
20502 20507
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503
-  (exit $ac_status); } &&
20504
-	 { ac_try='test -z "$ac_c_werror_flag"
20505
-			 || test ! -s conftest.err'
20506
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507
-  (eval $ac_try) 2>&5
20508
-  ac_status=$?
20509
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510
-  (exit $ac_status); }; } &&
20511
-	 { ac_try='test -s conftest.$ac_objext'
20512
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513
-  (eval $ac_try) 2>&5
20514
-  ac_status=$?
20515
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516
-  (exit $ac_status); }; }; then
20508
+  (exit $ac_status); } && {
20509
+	 test -z "$ac_c_werror_flag" ||
20510
+	 test ! -s conftest.err
20511
+       } && test -s conftest.$ac_objext; then
20517 20512
   ac_header_compiler=yes
20518 20513
 else
20519 20514
   echo "$as_me: failed program was:" >&5
20520 20515
 sed 's/^/| /' conftest.$ac_ext >&5
20521 20516
 
20522
-ac_header_compiler=no
20517
+	ac_header_compiler=no
20523 20518
 fi
20524
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20525
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20526
-echo "${ECHO_T}$ac_header_compiler" >&6
20519
+
20520
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20521
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20522
+echo "${ECHO_T}$ac_header_compiler" >&6; }
20527 20523
 
20528 20524
 # Is the header present?
20529
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
20530
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20525
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20526
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20531 20527
 cat >conftest.$ac_ext <<_ACEOF
20532 20528
 /* confdefs.h.  */
20533 20529
 _ACEOF
... ...
@@ -20536,24 +21212,22 @@ cat >>conftest.$ac_ext <<_ACEOF
20536 20536
 /* end confdefs.h.  */
20537 20537
 #include <$ac_header>
20538 20538
 _ACEOF
20539
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20540
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20539
+if { (ac_try="$ac_cpp conftest.$ac_ext"
20540
+case "(($ac_try" in
20541
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542
+  *) ac_try_echo=$ac_try;;
20543
+esac
20544
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20541 20546
   ac_status=$?
20542 20547
   grep -v '^ *+' conftest.er1 >conftest.err
20543 20548
   rm -f conftest.er1
20544 20549
   cat conftest.err >&5
20545 20550
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546
-  (exit $ac_status); } >/dev/null; then
20547
-  if test -s conftest.err; then
20548
-    ac_cpp_err=$ac_c_preproc_warn_flag
20549
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20550
-  else
20551
-    ac_cpp_err=
20552
-  fi
20553
-else
20554
-  ac_cpp_err=yes
20555
-fi
20556
-if test -z "$ac_cpp_err"; then
20551
+  (exit $ac_status); } >/dev/null && {
20552
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20553
+	 test ! -s conftest.err
20554
+       }; then
20557 20555
   ac_header_preproc=yes
20558 20556
 else
20559 20557
   echo "$as_me: failed program was:" >&5
... ...
@@ -20561,9 +21235,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
20561 20561
 
20562 20562
   ac_header_preproc=no
20563 20563
 fi
20564
+
20564 20565
 rm -f conftest.err conftest.$ac_ext
20565
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20566
-echo "${ECHO_T}$ac_header_preproc" >&6
20566
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20567
+echo "${ECHO_T}$ac_header_preproc" >&6; }
20567 20568
 
20568 20569
 # So?  What about this header?
20569 20570
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -20587,25 +21262,19 @@ echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\
20587 20587
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20588 20588
     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20589 20589
 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20590
-    (
20591
-      cat <<\_ASBOX
20592
-## ------------------------------------------ ##
20593
-## Report this to the AC_PACKAGE_NAME lists.  ##
20594
-## ------------------------------------------ ##
20595
-_ASBOX
20596
-    ) |
20597
-      sed "s/^/$as_me: WARNING:     /" >&2
20590
+
20598 20591
     ;;
20599 20592
 esac
20600
-echo "$as_me:$LINENO: checking for $ac_header" >&5
20601
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20602
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
20593
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20594
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20595
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20603 20596
   echo $ECHO_N "(cached) $ECHO_C" >&6
20604 20597
 else
20605 20598
   eval "$as_ac_Header=\$ac_header_preproc"
20606 20599
 fi
20607
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20608
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20600
+ac_res=`eval echo '${'$as_ac_Header'}'`
20601
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20602
+echo "${ECHO_T}$ac_res" >&6; }
20609 20603
 
20610 20604
 fi
20611 20605
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
... ...
@@ -20621,9 +21290,9 @@ done
20621 20621
 for ac_func in getpagesize
20622 20622
 do
20623 20623
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20624
-echo "$as_me:$LINENO: checking for $ac_func" >&5
20625
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20626
-if eval "test \"\${$as_ac_var+set}\" = set"; then
20624
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20625
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20626
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20627 20627
   echo $ECHO_N "(cached) $ECHO_C" >&6
20628 20628
 else
20629 20629
   cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -20649,68 +21318,60 @@ cat >>conftest.$ac_ext <<_ACEOF
20649 20649
 
20650 20650
 #undef $ac_func
20651 20651
 
20652
-/* Override any gcc2 internal prototype to avoid an error.  */
20652
+/* Override any GCC internal prototype to avoid an error.
20653
+   Use char because int might match the return type of a GCC
20654
+   builtin and then its argument prototype would still apply.  */
20653 20655
 #ifdef __cplusplus
20654 20656
 extern "C"
20655
-{
20656 20657
 #endif
20657
-/* We use char because int might match the return type of a gcc2
20658
-   builtin and then its argument prototype would still apply.  */
20659 20658
 char $ac_func ();
20660 20659
 /* The GNU C library defines this for functions which it implements
20661 20660
     to always fail with ENOSYS.  Some functions are actually named
20662 20661
     something starting with __ and the normal name is an alias.  */
20663
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20662
+#if defined __stub_$ac_func || defined __stub___$ac_func
20664 20663
 choke me
20665
-#else
20666
-char (*f) () = $ac_func;
20667
-#endif
20668
-#ifdef __cplusplus
20669
-}
20670 20664
 #endif
20671 20665
 
20672 20666
 int
20673 20667
 main ()
20674 20668
 {
20675
-return f != $ac_func;
20669
+return $ac_func ();
20676 20670
   ;
20677 20671
   return 0;
20678 20672
 }
20679 20673
 _ACEOF
20680 20674
 rm -f conftest.$ac_objext conftest$ac_exeext
20681
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20682
-  (eval $ac_link) 2>conftest.er1
20675
+if { (ac_try="$ac_link"
20676
+case "(($ac_try" in
20677
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20678
+  *) ac_try_echo=$ac_try;;
20679
+esac
20680
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20681
+  (eval "$ac_link") 2>conftest.er1
20683 20682
   ac_status=$?
20684 20683
   grep -v '^ *+' conftest.er1 >conftest.err
20685 20684
   rm -f conftest.er1
20686 20685
   cat conftest.err >&5
20687 20686
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688
-  (exit $ac_status); } &&
20689
-	 { ac_try='test -z "$ac_c_werror_flag"
20690
-			 || test ! -s conftest.err'
20691
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692
-  (eval $ac_try) 2>&5
20693
-  ac_status=$?
20694
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695
-  (exit $ac_status); }; } &&
20696
-	 { ac_try='test -s conftest$ac_exeext'
20697
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698
-  (eval $ac_try) 2>&5
20699
-  ac_status=$?
20700
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701
-  (exit $ac_status); }; }; then
20687
+  (exit $ac_status); } && {
20688
+	 test -z "$ac_c_werror_flag" ||
20689
+	 test ! -s conftest.err
20690
+       } && test -s conftest$ac_exeext &&
20691
+       $as_test_x conftest$ac_exeext; then
20702 20692
   eval "$as_ac_var=yes"
20703 20693
 else
20704 20694
   echo "$as_me: failed program was:" >&5
20705 20695
 sed 's/^/| /' conftest.$ac_ext >&5
20706 20696
 
20707
-eval "$as_ac_var=no"
20697
+	eval "$as_ac_var=no"
20708 20698
 fi
20709
-rm -f conftest.err conftest.$ac_objext \
20699
+
20700
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20710 20701
       conftest$ac_exeext conftest.$ac_ext
20711 20702
 fi
20712
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20713
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20703
+ac_res=`eval echo '${'$as_ac_var'}'`
20704
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
20705
+echo "${ECHO_T}$ac_res" >&6; }
20714 20706
 if test `eval echo '${'$as_ac_var'}'` = yes; then
20715 20707
   cat >>confdefs.h <<_ACEOF
20716 20708
 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
... ...
@@ -20719,8 +21380,8 @@ _ACEOF
20719 20719
 fi
20720 20720
 done
20721 20721
 
20722
-echo "$as_me:$LINENO: checking for working mmap" >&5
20723
-echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
20722
+{ echo "$as_me:$LINENO: checking for working mmap" >&5
20723
+echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
20724 20724
 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
20725 20725
   echo $ECHO_N "(cached) $ECHO_C" >&6
20726 20726
 else
... ...
@@ -20762,21 +21423,21 @@ $ac_includes_default
20762 20762
 #include <fcntl.h>
20763 20763
 #include <sys/mman.h>
20764 20764
 
20765
-#if !STDC_HEADERS && !HAVE_STDLIB_H
20765
+#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
20766 20766
 char *malloc ();
20767 20767
 #endif
20768 20768
 
20769 20769
 /* This mess was copied from the GNU getpagesize.h.  */
20770
-#if !HAVE_GETPAGESIZE
20770
+#ifndef HAVE_GETPAGESIZE
20771 20771
 /* Assume that all systems that can run configure have sys/param.h.  */
20772
-# if !HAVE_SYS_PARAM_H
20772
+# ifndef HAVE_SYS_PARAM_H
20773 20773
 #  define HAVE_SYS_PARAM_H 1
20774 20774
 # endif
20775 20775
 
20776 20776
 # ifdef _SC_PAGESIZE
20777 20777
 #  define getpagesize() sysconf(_SC_PAGESIZE)
20778 20778
 # else /* no _SC_PAGESIZE */
20779
-#  if HAVE_SYS_PARAM_H
20779
+#  ifdef HAVE_SYS_PARAM_H
20780 20780
 #   include <sys/param.h>
20781 20781
 #   ifdef EXEC_PAGESIZE
20782 20782
 #    define getpagesize() EXEC_PAGESIZE
... ...
@@ -20815,15 +21476,15 @@ main ()
20815 20815
   /* First, make a file with some known garbage in it. */
20816 20816
   data = (char *) malloc (pagesize);
20817 20817
   if (!data)
20818
-    exit (1);
20818
+    return 1;
20819 20819
   for (i = 0; i < pagesize; ++i)
20820 20820
     *(data + i) = rand ();
20821 20821
   umask (0);
20822 20822
   fd = creat ("conftest.mmap", 0600);
20823 20823
   if (fd < 0)
20824
-    exit (1);
20824
+    return 1;
20825 20825
   if (write (fd, data, pagesize) != pagesize)
20826
-    exit (1);
20826
+    return 1;
20827 20827
   close (fd);
20828 20828
 
20829 20829
   /* Next, try to mmap the file at a fixed address which already has
... ...
@@ -20831,17 +21492,17 @@ main ()
20831 20831
      we see the same garbage.  */
20832 20832
   fd = open ("conftest.mmap", O_RDWR);
20833 20833
   if (fd < 0)
20834
-    exit (1);
20834
+    return 1;
20835 20835
   data2 = (char *) malloc (2 * pagesize);
20836 20836
   if (!data2)
20837
-    exit (1);
20838
-  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
20837
+    return 1;
20838
+  data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
20839 20839
   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
20840 20840
 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
20841
-    exit (1);
20841
+    return 1;
20842 20842
   for (i = 0; i < pagesize; ++i)
20843 20843
     if (*(data + i) != *(data2 + i))
20844
-      exit (1);
20844
+      return 1;
20845 20845
 
20846 20846
   /* Finally, make sure that changes to the mapped area do not
20847 20847
      percolate back to the file as seen by read().  (This is a bug on
... ...
@@ -20850,24 +21511,33 @@ main ()
20850 20850
     *(data2 + i) = *(data2 + i) + 1;
20851 20851
   data3 = (char *) malloc (pagesize);
20852 20852
   if (!data3)
20853
-    exit (1);
20853
+    return 1;
20854 20854
   if (read (fd, data3, pagesize) != pagesize)
20855
-    exit (1);
20855
+    return 1;
20856 20856
   for (i = 0; i < pagesize; ++i)
20857 20857
     if (*(data + i) != *(data3 + i))
20858
-      exit (1);
20858
+      return 1;
20859 20859
   close (fd);
20860
-  exit (0);
20860
+  return 0;
20861 20861
 }
20862 20862
 _ACEOF
20863 20863
 rm -f conftest$ac_exeext
20864
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20865
-  (eval $ac_link) 2>&5
20864
+if { (ac_try="$ac_link"
20865
+case "(($ac_try" in
20866
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20867
+  *) ac_try_echo=$ac_try;;
20868
+esac
20869
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20870
+  (eval "$ac_link") 2>&5
20866 20871
   ac_status=$?
20867 20872
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 20873
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20869
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20870
-  (eval $ac_try) 2>&5
20874
+  { (case "(($ac_try" in
20875
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20876
+  *) ac_try_echo=$ac_try;;
20877
+esac
20878
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20879
+  (eval "$ac_try") 2>&5
20871 20880
   ac_status=$?
20872 20881
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 20882
   (exit $ac_status); }; }; then
... ...
@@ -20880,11 +21550,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
20880 20880
 ( exit $ac_status )
20881 20881
 ac_cv_func_mmap_fixed_mapped=no
20882 20882
 fi
20883
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20883
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20884 20884
 fi
20885
+
20886
+
20885 20887
 fi
20886
-echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20887
-echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
20888
+{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
20889
+echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
20888 20890
 if test $ac_cv_func_mmap_fixed_mapped = yes; then
20889 20891
 
20890 20892
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -20894,57 +21566,57 @@ _ACEOF
20894 20894
 fi
20895 20895
 rm -f conftest.mmap
20896 20896
 
20897
-echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20898
-echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20897
+{ echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20898
+echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
20899 20899
 if test "${ac_cv_sys_largefile_source+set}" = set; then
20900 20900
   echo $ECHO_N "(cached) $ECHO_C" >&6
20901 20901
 else
20902 20902
   while :; do
20903
-  ac_cv_sys_largefile_source=no
20904 20903
   cat >conftest.$ac_ext <<_ACEOF
20905 20904
 /* confdefs.h.  */
20906 20905
 _ACEOF
20907 20906
 cat confdefs.h >>conftest.$ac_ext
20908 20907
 cat >>conftest.$ac_ext <<_ACEOF
20909 20908
 /* end confdefs.h.  */
20910
-#include <stdio.h>
20909
+#include <sys/types.h> /* for off_t */
20910
+     #include <stdio.h>
20911 20911
 int
20912 20912
 main ()
20913 20913
 {
20914
-return !fseeko;
20914
+int (*fp) (FILE *, off_t, int) = fseeko;
20915
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20915 20916
   ;
20916 20917
   return 0;
20917 20918
 }
20918 20919
 _ACEOF
20919
-rm -f conftest.$ac_objext
20920
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20921
-  (eval $ac_compile) 2>conftest.er1
20920
+rm -f conftest.$ac_objext conftest$ac_exeext
20921
+if { (ac_try="$ac_link"
20922
+case "(($ac_try" in
20923
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20924
+  *) ac_try_echo=$ac_try;;
20925
+esac
20926
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20927
+  (eval "$ac_link") 2>conftest.er1
20922 20928
   ac_status=$?
20923 20929
   grep -v '^ *+' conftest.er1 >conftest.err
20924 20930
   rm -f conftest.er1
20925 20931
   cat conftest.err >&5
20926 20932
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927
-  (exit $ac_status); } &&
20928
-	 { ac_try='test -z "$ac_c_werror_flag"
20929
-			 || test ! -s conftest.err'
20930
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931
-  (eval $ac_try) 2>&5
20932
-  ac_status=$?
20933
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934
-  (exit $ac_status); }; } &&
20935
-	 { ac_try='test -s conftest.$ac_objext'
20936
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20937
-  (eval $ac_try) 2>&5
20938
-  ac_status=$?
20939
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20940
-  (exit $ac_status); }; }; then
20941
-  break
20933
+  (exit $ac_status); } && {
20934
+	 test -z "$ac_c_werror_flag" ||
20935
+	 test ! -s conftest.err
20936
+       } && test -s conftest$ac_exeext &&
20937
+       $as_test_x conftest$ac_exeext; then
20938
+  ac_cv_sys_largefile_source=no; break
20942 20939
 else
20943 20940
   echo "$as_me: failed program was:" >&5
20944 20941
 sed 's/^/| /' conftest.$ac_ext >&5
20945 20942
 
20943
+
20946 20944
 fi
20947
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20945
+
20946
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20947
+      conftest$ac_exeext conftest.$ac_ext
20948 20948
   cat >conftest.$ac_ext <<_ACEOF
20949 20949
 /* confdefs.h.  */
20950 20950
 _ACEOF
... ...
@@ -20952,116 +21624,65 @@ cat confdefs.h >>conftest.$ac_ext
20952 20952
 cat >>conftest.$ac_ext <<_ACEOF
20953 20953
 /* end confdefs.h.  */
20954 20954
 #define _LARGEFILE_SOURCE 1
20955
-#include <stdio.h>
20955
+#include <sys/types.h> /* for off_t */
20956
+     #include <stdio.h>
20956 20957
 int
20957 20958
 main ()
20958 20959
 {
20959
-return !fseeko;
20960
+int (*fp) (FILE *, off_t, int) = fseeko;
20961
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20960 20962
   ;
20961 20963
   return 0;
20962 20964
 }
20963 20965
 _ACEOF
20964
-rm -f conftest.$ac_objext
20965
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20966
-  (eval $ac_compile) 2>conftest.er1
20966
+rm -f conftest.$ac_objext conftest$ac_exeext
20967
+if { (ac_try="$ac_link"
20968
+case "(($ac_try" in
20969
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20970
+  *) ac_try_echo=$ac_try;;
20971
+esac
20972
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973
+  (eval "$ac_link") 2>conftest.er1
20967 20974
   ac_status=$?
20968 20975
   grep -v '^ *+' conftest.er1 >conftest.err
20969 20976
   rm -f conftest.er1
20970 20977
   cat conftest.err >&5
20971 20978
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972
-  (exit $ac_status); } &&
20973
-	 { ac_try='test -z "$ac_c_werror_flag"
20974
-			 || test ! -s conftest.err'
20975
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976
-  (eval $ac_try) 2>&5
20977
-  ac_status=$?
20978
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979
-  (exit $ac_status); }; } &&
20980
-	 { ac_try='test -s conftest.$ac_objext'
20981
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20982
-  (eval $ac_try) 2>&5
20983
-  ac_status=$?
20984
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985
-  (exit $ac_status); }; }; then
20979
+  (exit $ac_status); } && {
20980
+	 test -z "$ac_c_werror_flag" ||
20981
+	 test ! -s conftest.err
20982
+       } && test -s conftest$ac_exeext &&
20983
+       $as_test_x conftest$ac_exeext; then
20986 20984
   ac_cv_sys_largefile_source=1; break
20987 20985
 else
20988 20986
   echo "$as_me: failed program was:" >&5
20989 20987
 sed 's/^/| /' conftest.$ac_ext >&5
20990 20988
 
20989
+
20991 20990
 fi
20992
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20991
+
20992
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20993
+      conftest$ac_exeext conftest.$ac_ext
20994
+  ac_cv_sys_largefile_source=unknown
20993 20995
   break
20994 20996
 done
20995 20997
 fi
20996
-echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20997
-echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20998
-if test "$ac_cv_sys_largefile_source" != no; then
20999
-
20998
+{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20999
+echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
21000
+case $ac_cv_sys_largefile_source in #(
21001
+  no | unknown) ;;
21002
+  *)
21000 21003
 cat >>confdefs.h <<_ACEOF
21001 21004
 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21002 21005
 _ACEOF
21003
-
21004
-fi
21006
+;;
21007
+esac
21005 21008
 rm -f conftest*
21006 21009
 
21007 21010
 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21008 21011
 # in glibc 2.1.3, but that breaks too many other things.
21009 21012
 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21010
-echo "$as_me:$LINENO: checking for fseeko" >&5
21011
-echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21012
-if test "${ac_cv_func_fseeko+set}" = set; then
21013
-  echo $ECHO_N "(cached) $ECHO_C" >&6
21014
-else
21015
-  cat >conftest.$ac_ext <<_ACEOF
21016
-/* confdefs.h.  */
21017
-_ACEOF
21018
-cat confdefs.h >>conftest.$ac_ext
21019
-cat >>conftest.$ac_ext <<_ACEOF
21020
-/* end confdefs.h.  */
21021
-#include <stdio.h>
21022
-int
21023
-main ()
21024
-{
21025
-return fseeko && fseeko (stdin, 0, 0);
21026
-  ;
21027
-  return 0;
21028
-}
21029
-_ACEOF
21030
-rm -f conftest.$ac_objext conftest$ac_exeext
21031
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21032
-  (eval $ac_link) 2>conftest.er1
21033
-  ac_status=$?
21034
-  grep -v '^ *+' conftest.er1 >conftest.err
21035
-  rm -f conftest.er1
21036
-  cat conftest.err >&5
21037
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038
-  (exit $ac_status); } &&
21039
-	 { ac_try='test -z "$ac_c_werror_flag"
21040
-			 || test ! -s conftest.err'
21041
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042
-  (eval $ac_try) 2>&5
21043
-  ac_status=$?
21044
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045
-  (exit $ac_status); }; } &&
21046
-	 { ac_try='test -s conftest$ac_exeext'
21047
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048
-  (eval $ac_try) 2>&5
21049
-  ac_status=$?
21050
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051
-  (exit $ac_status); }; }; then
21052
-  ac_cv_func_fseeko=yes
21053
-else
21054
-  echo "$as_me: failed program was:" >&5
21055
-sed 's/^/| /' conftest.$ac_ext >&5
21056
-
21057
-ac_cv_func_fseeko=no
21058
-fi
21059
-rm -f conftest.err conftest.$ac_objext \
21060
-      conftest$ac_exeext conftest.$ac_ext
21061
-fi
21062
-echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21063
-echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21064
-if test $ac_cv_func_fseeko = yes; then
21013
+if test $ac_cv_sys_largefile_source != unknown; then
21065 21014
 
21066 21015
 cat >>confdefs.h <<\_ACEOF
21067 21016
 #define HAVE_FSEEKO 1
... ...
@@ -21071,8 +21692,8 @@ fi
21071 21071
 
21072 21072
 
21073 21073
 if test "x$ac_cv_func_snprintf" = "xyes" ; then
21074
-        echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
21075
-echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
21074
+        { echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
21075
+echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6; }
21076 21076
         if test "$cross_compiling" = yes; then
21077 21077
   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21078 21078
 See \`config.log' for more details." >&5
... ...
@@ -21092,18 +21713,27 @@ int main(void){char b[5];snprintf(b,5,"123456789");return(b[4]!='\0');}
21092 21092
 
21093 21093
 _ACEOF
21094 21094
 rm -f conftest$ac_exeext
21095
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21096
-  (eval $ac_link) 2>&5
21095
+if { (ac_try="$ac_link"
21096
+case "(($ac_try" in
21097
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098
+  *) ac_try_echo=$ac_try;;
21099
+esac
21100
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101
+  (eval "$ac_link") 2>&5
21097 21102
   ac_status=$?
21098 21103
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 21104
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21100
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101
-  (eval $ac_try) 2>&5
21105
+  { (case "(($ac_try" in
21106
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107
+  *) ac_try_echo=$ac_try;;
21108
+esac
21109
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21110
+  (eval "$ac_try") 2>&5
21102 21111
   ac_status=$?
21103 21112
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 21113
   (exit $ac_status); }; }; then
21105
-  echo "$as_me:$LINENO: result: yes" >&5
21106
-echo "${ECHO_T}yes" >&6
21114
+  { echo "$as_me:$LINENO: result: yes" >&5
21115
+echo "${ECHO_T}yes" >&6; }
21107 21116
 else
21108 21117
   echo "$as_me: program exited with status $ac_status" >&5
21109 21118
 echo "$as_me: failed program was:" >&5
... ...
@@ -21111,8 +21741,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
21111 21111
 
21112 21112
 ( exit $ac_status )
21113 21113
 
21114
-                        echo "$as_me:$LINENO: result: no" >&5
21115
-echo "${ECHO_T}no" >&6
21114
+                        { echo "$as_me:$LINENO: result: no" >&5
21115
+echo "${ECHO_T}no" >&6; }
21116 21116
 
21117 21117
 cat >>confdefs.h <<\_ACEOF
21118 21118
 #define BROKEN_SNPRINTF 1
... ...
@@ -21123,23 +21753,25 @@ echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to yo
21123 21123
 
21124 21124
 
21125 21125
 fi
21126
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21126
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21127 21127
 fi
21128
+
21129
+
21128 21130
 fi
21129 21131
 
21130 21132
 have_pthreads=no
21131 21133
 if test "${ac_cv_header_pthread_h+set}" = set; then
21132
-  echo "$as_me:$LINENO: checking for pthread.h" >&5
21133
-echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
21134
+  { echo "$as_me:$LINENO: checking for pthread.h" >&5
21135
+echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
21134 21136
 if test "${ac_cv_header_pthread_h+set}" = set; then
21135 21137
   echo $ECHO_N "(cached) $ECHO_C" >&6
21136 21138
 fi
21137
-echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
21138
-echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
21139
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
21140
+echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
21139 21141
 else
21140 21142
   # Is the header compilable?
21141
-echo "$as_me:$LINENO: checking pthread.h usability" >&5
21142
-echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
21143
+{ echo "$as_me:$LINENO: checking pthread.h usability" >&5
21144
+echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
21143 21145
 cat >conftest.$ac_ext <<_ACEOF
21144 21146
 /* confdefs.h.  */
21145 21147
 _ACEOF
... ...
@@ -21150,41 +21782,37 @@ $ac_includes_default
21150 21150
 #include <pthread.h>
21151 21151
 _ACEOF
21152 21152
 rm -f conftest.$ac_objext
21153
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21154
-  (eval $ac_compile) 2>conftest.er1
21153
+if { (ac_try="$ac_compile"
21154
+case "(($ac_try" in
21155
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21156
+  *) ac_try_echo=$ac_try;;
21157
+esac
21158
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21159
+  (eval "$ac_compile") 2>conftest.er1
21155 21160
   ac_status=$?
21156 21161
   grep -v '^ *+' conftest.er1 >conftest.err
21157 21162
   rm -f conftest.er1
21158 21163
   cat conftest.err >&5
21159 21164
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160
-  (exit $ac_status); } &&
21161
-	 { ac_try='test -z "$ac_c_werror_flag"
21162
-			 || test ! -s conftest.err'
21163
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164
-  (eval $ac_try) 2>&5
21165
-  ac_status=$?
21166
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167
-  (exit $ac_status); }; } &&
21168
-	 { ac_try='test -s conftest.$ac_objext'
21169
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170
-  (eval $ac_try) 2>&5
21171
-  ac_status=$?
21172
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173
-  (exit $ac_status); }; }; then
21165
+  (exit $ac_status); } && {
21166
+	 test -z "$ac_c_werror_flag" ||
21167
+	 test ! -s conftest.err
21168
+       } && test -s conftest.$ac_objext; then
21174 21169
   ac_header_compiler=yes
21175 21170
 else
21176 21171
   echo "$as_me: failed program was:" >&5
21177 21172
 sed 's/^/| /' conftest.$ac_ext >&5
21178 21173
 
21179
-ac_header_compiler=no
21174
+	ac_header_compiler=no
21180 21175
 fi
21181
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21182
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21183
-echo "${ECHO_T}$ac_header_compiler" >&6
21176
+
21177
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21178
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21179
+echo "${ECHO_T}$ac_header_compiler" >&6; }
21184 21180
 
21185 21181
 # Is the header present?
21186
-echo "$as_me:$LINENO: checking pthread.h presence" >&5
21187
-echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
21182
+{ echo "$as_me:$LINENO: checking pthread.h presence" >&5
21183
+echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
21188 21184
 cat >conftest.$ac_ext <<_ACEOF
21189 21185
 /* confdefs.h.  */
21190 21186
 _ACEOF
... ...
@@ -21193,24 +21821,22 @@ cat >>conftest.$ac_ext <<_ACEOF
21193 21193
 /* end confdefs.h.  */
21194 21194
 #include <pthread.h>
21195 21195
 _ACEOF
21196
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21197
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21196
+if { (ac_try="$ac_cpp conftest.$ac_ext"
21197
+case "(($ac_try" in
21198
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21199
+  *) ac_try_echo=$ac_try;;
21200
+esac
21201
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21202
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21198 21203
   ac_status=$?
21199 21204
   grep -v '^ *+' conftest.er1 >conftest.err
21200 21205
   rm -f conftest.er1
21201 21206
   cat conftest.err >&5
21202 21207
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203
-  (exit $ac_status); } >/dev/null; then
21204
-  if test -s conftest.err; then
21205
-    ac_cpp_err=$ac_c_preproc_warn_flag
21206
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21207
-  else
21208
-    ac_cpp_err=
21209
-  fi
21210
-else
21211
-  ac_cpp_err=yes
21212
-fi
21213
-if test -z "$ac_cpp_err"; then
21208
+  (exit $ac_status); } >/dev/null && {
21209
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21210
+	 test ! -s conftest.err
21211
+       }; then
21214 21212
   ac_header_preproc=yes
21215 21213
 else
21216 21214
   echo "$as_me: failed program was:" >&5
... ...
@@ -21218,9 +21844,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
21218 21218
 
21219 21219
   ac_header_preproc=no
21220 21220
 fi
21221
+
21221 21222
 rm -f conftest.err conftest.$ac_ext
21222
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21223
-echo "${ECHO_T}$ac_header_preproc" >&6
21223
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21224
+echo "${ECHO_T}$ac_header_preproc" >&6; }
21224 21225
 
21225 21226
 # So?  What about this header?
21226 21227
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -21244,25 +21871,18 @@ echo "$as_me: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"
21244 21244
 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
21245 21245
     { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
21246 21246
 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
21247
-    (
21248
-      cat <<\_ASBOX
21249
-## ------------------------------------------ ##
21250
-## Report this to the AC_PACKAGE_NAME lists.  ##
21251
-## ------------------------------------------ ##
21252
-_ASBOX
21253
-    ) |
21254
-      sed "s/^/$as_me: WARNING:     /" >&2
21247
+
21255 21248
     ;;
21256 21249
 esac
21257
-echo "$as_me:$LINENO: checking for pthread.h" >&5
21258
-echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
21250
+{ echo "$as_me:$LINENO: checking for pthread.h" >&5
21251
+echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
21259 21252
 if test "${ac_cv_header_pthread_h+set}" = set; then
21260 21253
   echo $ECHO_N "(cached) $ECHO_C" >&6
21261 21254
 else
21262 21255
   ac_cv_header_pthread_h=$ac_header_preproc
21263 21256
 fi
21264
-echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
21265
-echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
21257
+{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
21258
+echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
21266 21259
 
21267 21260
 fi
21268 21261
 if test $ac_cv_header_pthread_h = yes; then
... ...
@@ -21271,17 +21891,17 @@ fi
21271 21271
 
21272 21272
 
21273 21273
 
21274
-echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
21275
-echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
21276
-    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
21274
+{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
21275
+echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
21276
+    # Check whether --enable-maintainer-mode was given.
21277 21277
 if test "${enable_maintainer_mode+set}" = set; then
21278
-  enableval="$enable_maintainer_mode"
21279
-  USE_MAINTAINER_MODE=$enableval
21278
+  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
21280 21279
 else
21281 21280
   USE_MAINTAINER_MODE=no
21282
-fi;
21283
-  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
21284
-echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
21281
+fi
21282
+
21283
+  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
21284
+echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
21285 21285
 
21286 21286
 
21287 21287
 if test $USE_MAINTAINER_MODE = yes; then
... ...
@@ -21295,17 +21915,16 @@ fi
21295 21295
   MAINT=$MAINTAINER_MODE_TRUE
21296 21296
 
21297 21297
 
21298
-echo "$as_me:$LINENO: checking for zlib installation" >&5
21299
-echo $ECHO_N "checking for zlib installation... $ECHO_C" >&6
21298
+{ echo "$as_me:$LINENO: checking for zlib installation" >&5
21299
+echo $ECHO_N "checking for zlib installation... $ECHO_C" >&6; }
21300 21300
 
21301
-# Check whether --with-zlib or --without-zlib was given.
21301
+# Check whether --with-zlib was given.
21302 21302
 if test "${with_zlib+set}" = set; then
21303
-  withval="$with_zlib"
21304
-
21303
+  withval=$with_zlib;
21305 21304
 if test "$withval"; then
21306 21305
   ZLIB_HOME="$withval"
21307
-  echo "$as_me:$LINENO: result: using $ZLIB_HOME" >&5
21308
-echo "${ECHO_T}using $ZLIB_HOME" >&6
21306
+  { echo "$as_me:$LINENO: result: using $ZLIB_HOME" >&5
21307
+echo "${ECHO_T}using $ZLIB_HOME" >&6; }
21309 21308
 fi
21310 21309
 
21311 21310
 else
... ...
@@ -21315,18 +21934,19 @@ if test ! -f "$ZLIB_HOME/include/zlib.h"
21315 21315
 then
21316 21316
   ZLIB_HOME=/usr
21317 21317
 fi
21318
-echo "$as_me:$LINENO: result: $ZLIB_HOME" >&5
21319
-echo "${ECHO_T}$ZLIB_HOME" >&6
21318
+{ echo "$as_me:$LINENO: result: $ZLIB_HOME" >&5
21319
+echo "${ECHO_T}$ZLIB_HOME" >&6; }
21320
+
21321
+fi
21320 21322
 
21321
-fi;
21322 21323
 
21323
-# Check whether --enable-zlib-vcheck or --disable-zlib-vcheck was given.
21324
+# Check whether --enable-zlib-vcheck was given.
21324 21325
 if test "${enable_zlib_vcheck+set}" = set; then
21325
-  enableval="$enable_zlib_vcheck"
21326
-  zlib_check=$enableval
21326
+  enableval=$enable_zlib_vcheck; zlib_check=$enableval
21327 21327
 else
21328 21328
   zlib_check="yes"
21329
-fi;
21329
+fi
21330
+
21330 21331
 
21331 21332
 if test ! -f "$ZLIB_HOME/include/zlib.h"
21332 21333
 then
... ...
@@ -21359,8 +21979,8 @@ echo "$as_me: WARNING: ****** stability problems to the ClamAV developers!" >&2;
21359 21359
 	CPPFLAGS="$CPPFLAGS -I$ZLIB_HOME/include"
21360 21360
 	save_LDFLAGS="$LDFLAGS"
21361 21361
 	LDFLAGS="$LIBS -L$ZLIB_HOME/lib"
21362
-	echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
21363
-echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
21362
+	{ echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
21363
+echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; }
21364 21364
 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
21365 21365
   echo $ECHO_N "(cached) $ECHO_C" >&6
21366 21366
 else
... ...
@@ -21373,56 +21993,53 @@ cat confdefs.h >>conftest.$ac_ext
21373 21373
 cat >>conftest.$ac_ext <<_ACEOF
21374 21374
 /* end confdefs.h.  */
21375 21375
 
21376
-/* Override any gcc2 internal prototype to avoid an error.  */
21376
+/* Override any GCC internal prototype to avoid an error.
21377
+   Use char because int might match the return type of a GCC
21378
+   builtin and then its argument prototype would still apply.  */
21377 21379
 #ifdef __cplusplus
21378 21380
 extern "C"
21379 21381
 #endif
21380
-/* We use char because int might match the return type of a gcc2
21381
-   builtin and then its argument prototype would still apply.  */
21382 21382
 char inflateEnd ();
21383 21383
 int
21384 21384
 main ()
21385 21385
 {
21386
-inflateEnd ();
21386
+return inflateEnd ();
21387 21387
   ;
21388 21388
   return 0;
21389 21389
 }
21390 21390
 _ACEOF
21391 21391
 rm -f conftest.$ac_objext conftest$ac_exeext
21392
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21393
-  (eval $ac_link) 2>conftest.er1
21392
+if { (ac_try="$ac_link"
21393
+case "(($ac_try" in
21394
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21395
+  *) ac_try_echo=$ac_try;;
21396
+esac
21397
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21398
+  (eval "$ac_link") 2>conftest.er1
21394 21399
   ac_status=$?
21395 21400
   grep -v '^ *+' conftest.er1 >conftest.err
21396 21401
   rm -f conftest.er1
21397 21402
   cat conftest.err >&5
21398 21403
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399
-  (exit $ac_status); } &&
21400
-	 { ac_try='test -z "$ac_c_werror_flag"
21401
-			 || test ! -s conftest.err'
21402
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403
-  (eval $ac_try) 2>&5
21404
-  ac_status=$?
21405
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406
-  (exit $ac_status); }; } &&
21407
-	 { ac_try='test -s conftest$ac_exeext'
21408
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409
-  (eval $ac_try) 2>&5
21410
-  ac_status=$?
21411
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412
-  (exit $ac_status); }; }; then
21404
+  (exit $ac_status); } && {
21405
+	 test -z "$ac_c_werror_flag" ||
21406
+	 test ! -s conftest.err
21407
+       } && test -s conftest$ac_exeext &&
21408
+       $as_test_x conftest$ac_exeext; then
21413 21409
   ac_cv_lib_z_inflateEnd=yes
21414 21410
 else
21415 21411
   echo "$as_me: failed program was:" >&5
21416 21412
 sed 's/^/| /' conftest.$ac_ext >&5
21417 21413
 
21418
-ac_cv_lib_z_inflateEnd=no
21414
+	ac_cv_lib_z_inflateEnd=no
21419 21415
 fi
21420
-rm -f conftest.err conftest.$ac_objext \
21416
+
21417
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21421 21418
       conftest$ac_exeext conftest.$ac_ext
21422 21419
 LIBS=$ac_check_lib_save_LIBS
21423 21420
 fi
21424
-echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
21425
-echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
21421
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
21422
+echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; }
21426 21423
 if test $ac_cv_lib_z_inflateEnd = yes; then
21427 21424
   LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -L$ZLIB_HOME/lib -lz";
21428 21425
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -21437,8 +22054,8 @@ fi
21437 21437
 
21438 21438
 	LDFLAGS="$save_LDFLAGS"
21439 21439
     else
21440
-	echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
21441
-echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
21440
+	{ echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
21441
+echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6; }
21442 21442
 if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
21443 21443
   echo $ECHO_N "(cached) $ECHO_C" >&6
21444 21444
 else
... ...
@@ -21451,56 +22068,53 @@ cat confdefs.h >>conftest.$ac_ext
21451 21451
 cat >>conftest.$ac_ext <<_ACEOF
21452 21452
 /* end confdefs.h.  */
21453 21453
 
21454
-/* Override any gcc2 internal prototype to avoid an error.  */
21454
+/* Override any GCC internal prototype to avoid an error.
21455
+   Use char because int might match the return type of a GCC
21456
+   builtin and then its argument prototype would still apply.  */
21455 21457
 #ifdef __cplusplus
21456 21458
 extern "C"
21457 21459
 #endif
21458
-/* We use char because int might match the return type of a gcc2
21459
-   builtin and then its argument prototype would still apply.  */
21460 21460
 char inflateEnd ();
21461 21461
 int
21462 21462
 main ()
21463 21463
 {
21464
-inflateEnd ();
21464
+return inflateEnd ();
21465 21465
   ;
21466 21466
   return 0;
21467 21467
 }
21468 21468
 _ACEOF
21469 21469
 rm -f conftest.$ac_objext conftest$ac_exeext
21470
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21471
-  (eval $ac_link) 2>conftest.er1
21470
+if { (ac_try="$ac_link"
21471
+case "(($ac_try" in
21472
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21473
+  *) ac_try_echo=$ac_try;;
21474
+esac
21475
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21476
+  (eval "$ac_link") 2>conftest.er1
21472 21477
   ac_status=$?
21473 21478
   grep -v '^ *+' conftest.er1 >conftest.err
21474 21479
   rm -f conftest.er1
21475 21480
   cat conftest.err >&5
21476 21481
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477
-  (exit $ac_status); } &&
21478
-	 { ac_try='test -z "$ac_c_werror_flag"
21479
-			 || test ! -s conftest.err'
21480
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21481
-  (eval $ac_try) 2>&5
21482
-  ac_status=$?
21483
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484
-  (exit $ac_status); }; } &&
21485
-	 { ac_try='test -s conftest$ac_exeext'
21486
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21487
-  (eval $ac_try) 2>&5
21488
-  ac_status=$?
21489
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490
-  (exit $ac_status); }; }; then
21482
+  (exit $ac_status); } && {
21483
+	 test -z "$ac_c_werror_flag" ||
21484
+	 test ! -s conftest.err
21485
+       } && test -s conftest$ac_exeext &&
21486
+       $as_test_x conftest$ac_exeext; then
21491 21487
   ac_cv_lib_z_inflateEnd=yes
21492 21488
 else
21493 21489
   echo "$as_me: failed program was:" >&5
21494 21490
 sed 's/^/| /' conftest.$ac_ext >&5
21495 21491
 
21496
-ac_cv_lib_z_inflateEnd=no
21492
+	ac_cv_lib_z_inflateEnd=no
21497 21493
 fi
21498
-rm -f conftest.err conftest.$ac_objext \
21494
+
21495
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21499 21496
       conftest$ac_exeext conftest.$ac_ext
21500 21497
 LIBS=$ac_check_lib_save_LIBS
21501 21498
 fi
21502
-echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
21503
-echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
21499
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
21500
+echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6; }
21504 21501
 if test $ac_cv_lib_z_inflateEnd = yes; then
21505 21502
   LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lz";
21506 21503
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -21516,18 +22130,18 @@ fi
21516 21516
     fi
21517 21517
 fi
21518 21518
 
21519
-# Check whether --enable-bzip2 or --disable-bzip2 was given.
21519
+# Check whether --enable-bzip2 was given.
21520 21520
 if test "${enable_bzip2+set}" = set; then
21521
-  enableval="$enable_bzip2"
21522
-  want_bzip2=$enableval
21521
+  enableval=$enable_bzip2; want_bzip2=$enableval
21523 21522
 else
21524 21523
   want_bzip2="yes"
21525
-fi;
21524
+fi
21525
+
21526 21526
 
21527 21527
 if test "$want_bzip2" = "yes"
21528 21528
 then
21529
-    echo "$as_me:$LINENO: checking for bzReadOpen in -lbz2" >&5
21530
-echo $ECHO_N "checking for bzReadOpen in -lbz2... $ECHO_C" >&6
21529
+    { echo "$as_me:$LINENO: checking for bzReadOpen in -lbz2" >&5
21530
+echo $ECHO_N "checking for bzReadOpen in -lbz2... $ECHO_C" >&6; }
21531 21531
 if test "${ac_cv_lib_bz2_bzReadOpen+set}" = set; then
21532 21532
   echo $ECHO_N "(cached) $ECHO_C" >&6
21533 21533
 else
... ...
@@ -21540,56 +22154,53 @@ cat confdefs.h >>conftest.$ac_ext
21540 21540
 cat >>conftest.$ac_ext <<_ACEOF
21541 21541
 /* end confdefs.h.  */
21542 21542
 
21543
-/* Override any gcc2 internal prototype to avoid an error.  */
21543
+/* Override any GCC internal prototype to avoid an error.
21544
+   Use char because int might match the return type of a GCC
21545
+   builtin and then its argument prototype would still apply.  */
21544 21546
 #ifdef __cplusplus
21545 21547
 extern "C"
21546 21548
 #endif
21547
-/* We use char because int might match the return type of a gcc2
21548
-   builtin and then its argument prototype would still apply.  */
21549 21549
 char bzReadOpen ();
21550 21550
 int
21551 21551
 main ()
21552 21552
 {
21553
-bzReadOpen ();
21553
+return bzReadOpen ();
21554 21554
   ;
21555 21555
   return 0;
21556 21556
 }
21557 21557
 _ACEOF
21558 21558
 rm -f conftest.$ac_objext conftest$ac_exeext
21559
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21560
-  (eval $ac_link) 2>conftest.er1
21559
+if { (ac_try="$ac_link"
21560
+case "(($ac_try" in
21561
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562
+  *) ac_try_echo=$ac_try;;
21563
+esac
21564
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565
+  (eval "$ac_link") 2>conftest.er1
21561 21566
   ac_status=$?
21562 21567
   grep -v '^ *+' conftest.er1 >conftest.err
21563 21568
   rm -f conftest.er1
21564 21569
   cat conftest.err >&5
21565 21570
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566
-  (exit $ac_status); } &&
21567
-	 { ac_try='test -z "$ac_c_werror_flag"
21568
-			 || test ! -s conftest.err'
21569
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570
-  (eval $ac_try) 2>&5
21571
-  ac_status=$?
21572
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573
-  (exit $ac_status); }; } &&
21574
-	 { ac_try='test -s conftest$ac_exeext'
21575
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576
-  (eval $ac_try) 2>&5
21577
-  ac_status=$?
21578
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579
-  (exit $ac_status); }; }; then
21571
+  (exit $ac_status); } && {
21572
+	 test -z "$ac_c_werror_flag" ||
21573
+	 test ! -s conftest.err
21574
+       } && test -s conftest$ac_exeext &&
21575
+       $as_test_x conftest$ac_exeext; then
21580 21576
   ac_cv_lib_bz2_bzReadOpen=yes
21581 21577
 else
21582 21578
   echo "$as_me: failed program was:" >&5
21583 21579
 sed 's/^/| /' conftest.$ac_ext >&5
21584 21580
 
21585
-ac_cv_lib_bz2_bzReadOpen=no
21581
+	ac_cv_lib_bz2_bzReadOpen=no
21586 21582
 fi
21587
-rm -f conftest.err conftest.$ac_objext \
21583
+
21584
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21588 21585
       conftest$ac_exeext conftest.$ac_ext
21589 21586
 LIBS=$ac_check_lib_save_LIBS
21590 21587
 fi
21591
-echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_bzReadOpen" >&5
21592
-echo "${ECHO_T}$ac_cv_lib_bz2_bzReadOpen" >&6
21588
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_bzReadOpen" >&5
21589
+echo "${ECHO_T}$ac_cv_lib_bz2_bzReadOpen" >&6; }
21593 21590
 if test $ac_cv_lib_bz2_bzReadOpen = yes; then
21594 21591
 
21595 21592
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -21599,17 +22210,17 @@ _ACEOF
21599 21599
 fi
21600 21600
 
21601 21601
     if test "${ac_cv_header_bzlib_h+set}" = set; then
21602
-  echo "$as_me:$LINENO: checking for bzlib.h" >&5
21603
-echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6
21602
+  { echo "$as_me:$LINENO: checking for bzlib.h" >&5
21603
+echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6; }
21604 21604
 if test "${ac_cv_header_bzlib_h+set}" = set; then
21605 21605
   echo $ECHO_N "(cached) $ECHO_C" >&6
21606 21606
 fi
21607
-echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
21608
-echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6
21607
+{ echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
21608
+echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6; }
21609 21609
 else
21610 21610
   # Is the header compilable?
21611
-echo "$as_me:$LINENO: checking bzlib.h usability" >&5
21612
-echo $ECHO_N "checking bzlib.h usability... $ECHO_C" >&6
21611
+{ echo "$as_me:$LINENO: checking bzlib.h usability" >&5
21612
+echo $ECHO_N "checking bzlib.h usability... $ECHO_C" >&6; }
21613 21613
 cat >conftest.$ac_ext <<_ACEOF
21614 21614
 /* confdefs.h.  */
21615 21615
 _ACEOF
... ...
@@ -21620,41 +22231,37 @@ $ac_includes_default
21620 21620
 #include <bzlib.h>
21621 21621
 _ACEOF
21622 21622
 rm -f conftest.$ac_objext
21623
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21624
-  (eval $ac_compile) 2>conftest.er1
21623
+if { (ac_try="$ac_compile"
21624
+case "(($ac_try" in
21625
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626
+  *) ac_try_echo=$ac_try;;
21627
+esac
21628
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629
+  (eval "$ac_compile") 2>conftest.er1
21625 21630
   ac_status=$?
21626 21631
   grep -v '^ *+' conftest.er1 >conftest.err
21627 21632
   rm -f conftest.er1
21628 21633
   cat conftest.err >&5
21629 21634
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630
-  (exit $ac_status); } &&
21631
-	 { ac_try='test -z "$ac_c_werror_flag"
21632
-			 || test ! -s conftest.err'
21633
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634
-  (eval $ac_try) 2>&5
21635
-  ac_status=$?
21636
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637
-  (exit $ac_status); }; } &&
21638
-	 { ac_try='test -s conftest.$ac_objext'
21639
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640
-  (eval $ac_try) 2>&5
21641
-  ac_status=$?
21642
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643
-  (exit $ac_status); }; }; then
21635
+  (exit $ac_status); } && {
21636
+	 test -z "$ac_c_werror_flag" ||
21637
+	 test ! -s conftest.err
21638
+       } && test -s conftest.$ac_objext; then
21644 21639
   ac_header_compiler=yes
21645 21640
 else
21646 21641
   echo "$as_me: failed program was:" >&5
21647 21642
 sed 's/^/| /' conftest.$ac_ext >&5
21648 21643
 
21649
-ac_header_compiler=no
21644
+	ac_header_compiler=no
21650 21645
 fi
21651
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21653
-echo "${ECHO_T}$ac_header_compiler" >&6
21646
+
21647
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21648
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21649
+echo "${ECHO_T}$ac_header_compiler" >&6; }
21654 21650
 
21655 21651
 # Is the header present?
21656
-echo "$as_me:$LINENO: checking bzlib.h presence" >&5
21657
-echo $ECHO_N "checking bzlib.h presence... $ECHO_C" >&6
21652
+{ echo "$as_me:$LINENO: checking bzlib.h presence" >&5
21653
+echo $ECHO_N "checking bzlib.h presence... $ECHO_C" >&6; }
21658 21654
 cat >conftest.$ac_ext <<_ACEOF
21659 21655
 /* confdefs.h.  */
21660 21656
 _ACEOF
... ...
@@ -21663,24 +22270,22 @@ cat >>conftest.$ac_ext <<_ACEOF
21663 21663
 /* end confdefs.h.  */
21664 21664
 #include <bzlib.h>
21665 21665
 _ACEOF
21666
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21667
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21666
+if { (ac_try="$ac_cpp conftest.$ac_ext"
21667
+case "(($ac_try" in
21668
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21669
+  *) ac_try_echo=$ac_try;;
21670
+esac
21671
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21672
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21668 21673
   ac_status=$?
21669 21674
   grep -v '^ *+' conftest.er1 >conftest.err
21670 21675
   rm -f conftest.er1
21671 21676
   cat conftest.err >&5
21672 21677
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673
-  (exit $ac_status); } >/dev/null; then
21674
-  if test -s conftest.err; then
21675
-    ac_cpp_err=$ac_c_preproc_warn_flag
21676
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21677
-  else
21678
-    ac_cpp_err=
21679
-  fi
21680
-else
21681
-  ac_cpp_err=yes
21682
-fi
21683
-if test -z "$ac_cpp_err"; then
21678
+  (exit $ac_status); } >/dev/null && {
21679
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21680
+	 test ! -s conftest.err
21681
+       }; then
21684 21682
   ac_header_preproc=yes
21685 21683
 else
21686 21684
   echo "$as_me: failed program was:" >&5
... ...
@@ -21688,9 +22293,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
21688 21688
 
21689 21689
   ac_header_preproc=no
21690 21690
 fi
21691
+
21691 21692
 rm -f conftest.err conftest.$ac_ext
21692
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21693
-echo "${ECHO_T}$ac_header_preproc" >&6
21693
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21694
+echo "${ECHO_T}$ac_header_preproc" >&6; }
21694 21695
 
21695 21696
 # So?  What about this header?
21696 21697
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -21714,25 +22320,18 @@ echo "$as_me: WARNING: bzlib.h:     section \"Present But Cannot Be Compiled\""
21714 21714
 echo "$as_me: WARNING: bzlib.h: proceeding with the preprocessor's result" >&2;}
21715 21715
     { echo "$as_me:$LINENO: WARNING: bzlib.h: in the future, the compiler will take precedence" >&5
21716 21716
 echo "$as_me: WARNING: bzlib.h: in the future, the compiler will take precedence" >&2;}
21717
-    (
21718
-      cat <<\_ASBOX
21719
-## ------------------------------------------ ##
21720
-## Report this to the AC_PACKAGE_NAME lists.  ##
21721
-## ------------------------------------------ ##
21722
-_ASBOX
21723
-    ) |
21724
-      sed "s/^/$as_me: WARNING:     /" >&2
21717
+
21725 21718
     ;;
21726 21719
 esac
21727
-echo "$as_me:$LINENO: checking for bzlib.h" >&5
21728
-echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6
21720
+{ echo "$as_me:$LINENO: checking for bzlib.h" >&5
21721
+echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6; }
21729 21722
 if test "${ac_cv_header_bzlib_h+set}" = set; then
21730 21723
   echo $ECHO_N "(cached) $ECHO_C" >&6
21731 21724
 else
21732 21725
   ac_cv_header_bzlib_h=$ac_header_preproc
21733 21726
 fi
21734
-echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
21735
-echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6
21727
+{ echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
21728
+echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6; }
21736 21729
 
21737 21730
 fi
21738 21731
 if test $ac_cv_header_bzlib_h = yes; then
... ...
@@ -21749,17 +22348,17 @@ fi
21749 21749
 
21750 21750
 fi
21751 21751
 
21752
-# Check whether --enable-dns or --disable-dns was given.
21752
+# Check whether --enable-dns was given.
21753 21753
 if test "${enable_dns+set}" = set; then
21754
-  enableval="$enable_dns"
21755
-  want_dns=$enableval
21754
+  enableval=$enable_dns; want_dns=$enableval
21756 21755
 else
21757 21756
   want_dns=yes
21758 21757
 
21759
-fi;
21758
+fi
21759
+
21760 21760
 if test $want_dns = yes; then
21761
-    echo "$as_me:$LINENO: checking for __dn_expand in -lresolv" >&5
21762
-echo $ECHO_N "checking for __dn_expand in -lresolv... $ECHO_C" >&6
21761
+    { echo "$as_me:$LINENO: checking for __dn_expand in -lresolv" >&5
21762
+echo $ECHO_N "checking for __dn_expand in -lresolv... $ECHO_C" >&6; }
21763 21763
 if test "${ac_cv_lib_resolv___dn_expand+set}" = set; then
21764 21764
   echo $ECHO_N "(cached) $ECHO_C" >&6
21765 21765
 else
... ...
@@ -21772,63 +22371,60 @@ cat confdefs.h >>conftest.$ac_ext
21772 21772
 cat >>conftest.$ac_ext <<_ACEOF
21773 21773
 /* end confdefs.h.  */
21774 21774
 
21775
-/* Override any gcc2 internal prototype to avoid an error.  */
21775
+/* Override any GCC internal prototype to avoid an error.
21776
+   Use char because int might match the return type of a GCC
21777
+   builtin and then its argument prototype would still apply.  */
21776 21778
 #ifdef __cplusplus
21777 21779
 extern "C"
21778 21780
 #endif
21779
-/* We use char because int might match the return type of a gcc2
21780
-   builtin and then its argument prototype would still apply.  */
21781 21781
 char __dn_expand ();
21782 21782
 int
21783 21783
 main ()
21784 21784
 {
21785
-__dn_expand ();
21785
+return __dn_expand ();
21786 21786
   ;
21787 21787
   return 0;
21788 21788
 }
21789 21789
 _ACEOF
21790 21790
 rm -f conftest.$ac_objext conftest$ac_exeext
21791
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21792
-  (eval $ac_link) 2>conftest.er1
21791
+if { (ac_try="$ac_link"
21792
+case "(($ac_try" in
21793
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21794
+  *) ac_try_echo=$ac_try;;
21795
+esac
21796
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21797
+  (eval "$ac_link") 2>conftest.er1
21793 21798
   ac_status=$?
21794 21799
   grep -v '^ *+' conftest.er1 >conftest.err
21795 21800
   rm -f conftest.er1
21796 21801
   cat conftest.err >&5
21797 21802
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798
-  (exit $ac_status); } &&
21799
-	 { ac_try='test -z "$ac_c_werror_flag"
21800
-			 || test ! -s conftest.err'
21801
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21802
-  (eval $ac_try) 2>&5
21803
-  ac_status=$?
21804
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805
-  (exit $ac_status); }; } &&
21806
-	 { ac_try='test -s conftest$ac_exeext'
21807
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808
-  (eval $ac_try) 2>&5
21809
-  ac_status=$?
21810
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811
-  (exit $ac_status); }; }; then
21803
+  (exit $ac_status); } && {
21804
+	 test -z "$ac_c_werror_flag" ||
21805
+	 test ! -s conftest.err
21806
+       } && test -s conftest$ac_exeext &&
21807
+       $as_test_x conftest$ac_exeext; then
21812 21808
   ac_cv_lib_resolv___dn_expand=yes
21813 21809
 else
21814 21810
   echo "$as_me: failed program was:" >&5
21815 21811
 sed 's/^/| /' conftest.$ac_ext >&5
21816 21812
 
21817
-ac_cv_lib_resolv___dn_expand=no
21813
+	ac_cv_lib_resolv___dn_expand=no
21818 21814
 fi
21819
-rm -f conftest.err conftest.$ac_objext \
21815
+
21816
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21820 21817
       conftest$ac_exeext conftest.$ac_ext
21821 21818
 LIBS=$ac_check_lib_save_LIBS
21822 21819
 fi
21823
-echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_expand" >&5
21824
-echo "${ECHO_T}$ac_cv_lib_resolv___dn_expand" >&6
21820
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_expand" >&5
21821
+echo "${ECHO_T}$ac_cv_lib_resolv___dn_expand" >&6; }
21825 21822
 if test $ac_cv_lib_resolv___dn_expand = yes; then
21826 21823
   resolv_lib="-lresolv"
21827 21824
 fi
21828 21825
 
21829 21826
     if test -z "$resolv_lib"; then
21830
-	echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
21831
-echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
21827
+	{ echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
21828
+echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6; }
21832 21829
 if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
21833 21830
   echo $ECHO_N "(cached) $ECHO_C" >&6
21834 21831
 else
... ...
@@ -21841,63 +22437,60 @@ cat confdefs.h >>conftest.$ac_ext
21841 21841
 cat >>conftest.$ac_ext <<_ACEOF
21842 21842
 /* end confdefs.h.  */
21843 21843
 
21844
-/* Override any gcc2 internal prototype to avoid an error.  */
21844
+/* Override any GCC internal prototype to avoid an error.
21845
+   Use char because int might match the return type of a GCC
21846
+   builtin and then its argument prototype would still apply.  */
21845 21847
 #ifdef __cplusplus
21846 21848
 extern "C"
21847 21849
 #endif
21848
-/* We use char because int might match the return type of a gcc2
21849
-   builtin and then its argument prototype would still apply.  */
21850 21850
 char dn_expand ();
21851 21851
 int
21852 21852
 main ()
21853 21853
 {
21854
-dn_expand ();
21854
+return dn_expand ();
21855 21855
   ;
21856 21856
   return 0;
21857 21857
 }
21858 21858
 _ACEOF
21859 21859
 rm -f conftest.$ac_objext conftest$ac_exeext
21860
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21861
-  (eval $ac_link) 2>conftest.er1
21860
+if { (ac_try="$ac_link"
21861
+case "(($ac_try" in
21862
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21863
+  *) ac_try_echo=$ac_try;;
21864
+esac
21865
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21866
+  (eval "$ac_link") 2>conftest.er1
21862 21867
   ac_status=$?
21863 21868
   grep -v '^ *+' conftest.er1 >conftest.err
21864 21869
   rm -f conftest.er1
21865 21870
   cat conftest.err >&5
21866 21871
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867
-  (exit $ac_status); } &&
21868
-	 { ac_try='test -z "$ac_c_werror_flag"
21869
-			 || test ! -s conftest.err'
21870
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871
-  (eval $ac_try) 2>&5
21872
-  ac_status=$?
21873
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874
-  (exit $ac_status); }; } &&
21875
-	 { ac_try='test -s conftest$ac_exeext'
21876
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21877
-  (eval $ac_try) 2>&5
21878
-  ac_status=$?
21879
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880
-  (exit $ac_status); }; }; then
21872
+  (exit $ac_status); } && {
21873
+	 test -z "$ac_c_werror_flag" ||
21874
+	 test ! -s conftest.err
21875
+       } && test -s conftest$ac_exeext &&
21876
+       $as_test_x conftest$ac_exeext; then
21881 21877
   ac_cv_lib_resolv_dn_expand=yes
21882 21878
 else
21883 21879
   echo "$as_me: failed program was:" >&5
21884 21880
 sed 's/^/| /' conftest.$ac_ext >&5
21885 21881
 
21886
-ac_cv_lib_resolv_dn_expand=no
21882
+	ac_cv_lib_resolv_dn_expand=no
21887 21883
 fi
21888
-rm -f conftest.err conftest.$ac_objext \
21884
+
21885
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21889 21886
       conftest$ac_exeext conftest.$ac_ext
21890 21887
 LIBS=$ac_check_lib_save_LIBS
21891 21888
 fi
21892
-echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
21893
-echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
21889
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
21890
+echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6; }
21894 21891
 if test $ac_cv_lib_resolv_dn_expand = yes; then
21895 21892
   resolv_lib="-lresolv"
21896 21893
 fi
21897 21894
 
21898 21895
     fi
21899
-    echo "$as_me:$LINENO: checking for resolv.h" >&5
21900
-echo $ECHO_N "checking for resolv.h... $ECHO_C" >&6
21896
+    { echo "$as_me:$LINENO: checking for resolv.h" >&5
21897
+echo $ECHO_N "checking for resolv.h... $ECHO_C" >&6; }
21901 21898
 if test "${ac_cv_header_resolv_h+set}" = set; then
21902 21899
   echo $ECHO_N "(cached) $ECHO_C" >&6
21903 21900
 else
... ...
@@ -21916,38 +22509,34 @@ cat >>conftest.$ac_ext <<_ACEOF
21916 21916
 #include <resolv.h>
21917 21917
 _ACEOF
21918 21918
 rm -f conftest.$ac_objext
21919
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21920
-  (eval $ac_compile) 2>conftest.er1
21919
+if { (ac_try="$ac_compile"
21920
+case "(($ac_try" in
21921
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21922
+  *) ac_try_echo=$ac_try;;
21923
+esac
21924
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21925
+  (eval "$ac_compile") 2>conftest.er1
21921 21926
   ac_status=$?
21922 21927
   grep -v '^ *+' conftest.er1 >conftest.err
21923 21928
   rm -f conftest.er1
21924 21929
   cat conftest.err >&5
21925 21930
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926
-  (exit $ac_status); } &&
21927
-	 { ac_try='test -z "$ac_c_werror_flag"
21928
-			 || test ! -s conftest.err'
21929
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930
-  (eval $ac_try) 2>&5
21931
-  ac_status=$?
21932
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933
-  (exit $ac_status); }; } &&
21934
-	 { ac_try='test -s conftest.$ac_objext'
21935
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936
-  (eval $ac_try) 2>&5
21937
-  ac_status=$?
21938
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939
-  (exit $ac_status); }; }; then
21931
+  (exit $ac_status); } && {
21932
+	 test -z "$ac_c_werror_flag" ||
21933
+	 test ! -s conftest.err
21934
+       } && test -s conftest.$ac_objext; then
21940 21935
   ac_cv_header_resolv_h=yes
21941 21936
 else
21942 21937
   echo "$as_me: failed program was:" >&5
21943 21938
 sed 's/^/| /' conftest.$ac_ext >&5
21944 21939
 
21945
-ac_cv_header_resolv_h=no
21940
+	ac_cv_header_resolv_h=no
21946 21941
 fi
21947
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21942
+
21943
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21948 21944
 fi
21949
-echo "$as_me:$LINENO: result: $ac_cv_header_resolv_h" >&5
21950
-echo "${ECHO_T}$ac_cv_header_resolv_h" >&6
21945
+{ echo "$as_me:$LINENO: result: $ac_cv_header_resolv_h" >&5
21946
+echo "${ECHO_T}$ac_cv_header_resolv_h" >&6; }
21951 21947
 if test $ac_cv_header_resolv_h = yes; then
21952 21948
   FRESHCLAM_LIBS="$FRESHCLAM_LIBS $resolv_lib"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS $resolv_lib";
21953 21949
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -21962,16 +22551,16 @@ fi
21962 21962
 
21963 21963
 fi
21964 21964
 
21965
-# Check whether --enable-clamuko or --disable-clamuko was given.
21965
+# Check whether --enable-clamuko was given.
21966 21966
 if test "${enable_clamuko+set}" = set; then
21967
-  enableval="$enable_clamuko"
21968
-  want_clamuko=$enableval
21967
+  enableval=$enable_clamuko; want_clamuko=$enableval
21969 21968
 else
21970 21969
   want_clamuko="yes"
21971
-fi;
21970
+fi
21971
+
21972 21972
 
21973
-echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
21974
-echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
21973
+{ echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
21974
+echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6; }
21975 21975
 if test "${ac_cv_func_setpgrp_void+set}" = set; then
21976 21976
   echo $ECHO_N "(cached) $ECHO_C" >&6
21977 21977
 else
... ...
@@ -21986,29 +22575,35 @@ _ACEOF
21986 21986
 cat confdefs.h >>conftest.$ac_ext
21987 21987
 cat >>conftest.$ac_ext <<_ACEOF
21988 21988
 /* end confdefs.h.  */
21989
-#if HAVE_UNISTD_H
21990
-# include <unistd.h>
21991
-#endif
21992
-
21989
+$ac_includes_default
21993 21990
 int
21994 21991
 main ()
21995 21992
 {
21996 21993
 /* If this system has a BSD-style setpgrp which takes arguments,
21997 21994
   setpgrp(1, 1) will fail with ESRCH and return -1, in that case
21998 21995
   exit successfully. */
21999
-  exit (setpgrp (1,1) == -1 ? 0 : 1);
21996
+  return setpgrp (1,1) != -1;
22000 21997
   ;
22001 21998
   return 0;
22002 21999
 }
22003 22000
 _ACEOF
22004 22001
 rm -f conftest$ac_exeext
22005
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006
-  (eval $ac_link) 2>&5
22002
+if { (ac_try="$ac_link"
22003
+case "(($ac_try" in
22004
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22005
+  *) ac_try_echo=$ac_try;;
22006
+esac
22007
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22008
+  (eval "$ac_link") 2>&5
22007 22009
   ac_status=$?
22008 22010
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 22011
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22010
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22011
-  (eval $ac_try) 2>&5
22012
+  { (case "(($ac_try" in
22013
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22014
+  *) ac_try_echo=$ac_try;;
22015
+esac
22016
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22017
+  (eval "$ac_try") 2>&5
22012 22018
   ac_status=$?
22013 22019
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 22020
   (exit $ac_status); }; }; then
... ...
@@ -22021,11 +22616,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
22021 22021
 ( exit $ac_status )
22022 22022
 ac_cv_func_setpgrp_void=yes
22023 22023
 fi
22024
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22024
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22025 22025
 fi
22026
+
22027
+
22026 22028
 fi
22027
-echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
22028
-echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
22029
+{ echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
22030
+echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6; }
22029 22031
 if test $ac_cv_func_setpgrp_void = yes; then
22030 22032
 
22031 22033
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -22035,30 +22632,30 @@ _ACEOF
22035 22035
 fi
22036 22036
 
22037 22037
 
22038
-# Check whether --enable-milter or --disable-milter was given.
22038
+# Check whether --enable-milter was given.
22039 22039
 if test "${enable_milter+set}" = set; then
22040
-  enableval="$enable_milter"
22041
-  have_milter=$enableval
22040
+  enableval=$enable_milter; have_milter=$enableval
22042 22041
 else
22043 22042
   have_milter="no"
22044
-fi;
22043
+fi
22044
+
22045 22045
 
22046 22046
 if test "$have_milter" = "yes"; then
22047 22047
   sendmailprog=no
22048 22048
 
22049
-# Check whether --with-sendmail or --without-sendmail was given.
22049
+# Check whether --with-sendmail was given.
22050 22050
 if test "${with_sendmail+set}" = set; then
22051
-  withval="$with_sendmail"
22052
-  sendmailprog=$with_sendmail
22051
+  withval=$with_sendmail; sendmailprog=$with_sendmail
22053 22052
 else
22054 22053
   sendmailprog=no
22055
-fi;
22054
+fi
22055
+
22056 22056
 
22057 22057
   if test "$sendmailprog" = "no" ; then
22058 22058
     # Extract the first word of "sendmail", so it can be a program name with args.
22059 22059
 set dummy sendmail; ac_word=$2
22060
-echo "$as_me:$LINENO: checking for $ac_word" >&5
22061
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22060
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22061
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22062 22062
 if test "${ac_cv_path_sendmailprog+set}" = set; then
22063 22063
   echo $ECHO_N "(cached) $ECHO_C" >&6
22064 22064
 else
... ...
@@ -22074,28 +22671,29 @@ do
22074 22074
   IFS=$as_save_IFS
22075 22075
   test -z "$as_dir" && as_dir=.
22076 22076
   for ac_exec_ext in '' $ac_executable_extensions; do
22077
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22077
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22078 22078
     ac_cv_path_sendmailprog="$as_dir/$ac_word$ac_exec_ext"
22079 22079
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22080 22080
     break 2
22081 22081
   fi
22082 22082
 done
22083 22083
 done
22084
+IFS=$as_save_IFS
22084 22085
 
22085 22086
   test -z "$ac_cv_path_sendmailprog" && ac_cv_path_sendmailprog="no"
22086 22087
   ;;
22087 22088
 esac
22088 22089
 fi
22089 22090
 sendmailprog=$ac_cv_path_sendmailprog
22090
-
22091 22091
 if test -n "$sendmailprog"; then
22092
-  echo "$as_me:$LINENO: result: $sendmailprog" >&5
22093
-echo "${ECHO_T}$sendmailprog" >&6
22092
+  { echo "$as_me:$LINENO: result: $sendmailprog" >&5
22093
+echo "${ECHO_T}$sendmailprog" >&6; }
22094 22094
 else
22095
-  echo "$as_me:$LINENO: result: no" >&5
22096
-echo "${ECHO_T}no" >&6
22095
+  { echo "$as_me:$LINENO: result: no" >&5
22096
+echo "${ECHO_T}no" >&6; }
22097 22097
 fi
22098 22098
 
22099
+
22099 22100
   fi
22100 22101
 
22101 22102
 
... ...
@@ -22129,18 +22727,18 @@ _ACEOF
22129 22129
   fi
22130 22130
 fi
22131 22131
 
22132
-# Check whether --enable-dsig or --disable-dsig was given.
22132
+# Check whether --enable-dsig was given.
22133 22133
 if test "${enable_dsig+set}" = set; then
22134
-  enableval="$enable_dsig"
22135
-  want_dsig=$enableval
22134
+  enableval=$enable_dsig; want_dsig=$enableval
22136 22135
 else
22137 22136
   want_dsig="yes"
22138
-fi;
22137
+fi
22138
+
22139 22139
 
22140 22140
 if test "$want_dsig" = "yes"
22141 22141
 then
22142
-    echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
22143
-echo $ECHO_N "checking for __gmpz_init in -lgmp... $ECHO_C" >&6
22142
+    { echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
22143
+echo $ECHO_N "checking for __gmpz_init in -lgmp... $ECHO_C" >&6; }
22144 22144
 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
22145 22145
   echo $ECHO_N "(cached) $ECHO_C" >&6
22146 22146
 else
... ...
@@ -22153,56 +22751,53 @@ cat confdefs.h >>conftest.$ac_ext
22153 22153
 cat >>conftest.$ac_ext <<_ACEOF
22154 22154
 /* end confdefs.h.  */
22155 22155
 
22156
-/* Override any gcc2 internal prototype to avoid an error.  */
22156
+/* Override any GCC internal prototype to avoid an error.
22157
+   Use char because int might match the return type of a GCC
22158
+   builtin and then its argument prototype would still apply.  */
22157 22159
 #ifdef __cplusplus
22158 22160
 extern "C"
22159 22161
 #endif
22160
-/* We use char because int might match the return type of a gcc2
22161
-   builtin and then its argument prototype would still apply.  */
22162 22162
 char __gmpz_init ();
22163 22163
 int
22164 22164
 main ()
22165 22165
 {
22166
-__gmpz_init ();
22166
+return __gmpz_init ();
22167 22167
   ;
22168 22168
   return 0;
22169 22169
 }
22170 22170
 _ACEOF
22171 22171
 rm -f conftest.$ac_objext conftest$ac_exeext
22172
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22173
-  (eval $ac_link) 2>conftest.er1
22172
+if { (ac_try="$ac_link"
22173
+case "(($ac_try" in
22174
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22175
+  *) ac_try_echo=$ac_try;;
22176
+esac
22177
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178
+  (eval "$ac_link") 2>conftest.er1
22174 22179
   ac_status=$?
22175 22180
   grep -v '^ *+' conftest.er1 >conftest.err
22176 22181
   rm -f conftest.er1
22177 22182
   cat conftest.err >&5
22178 22183
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179
-  (exit $ac_status); } &&
22180
-	 { ac_try='test -z "$ac_c_werror_flag"
22181
-			 || test ! -s conftest.err'
22182
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183
-  (eval $ac_try) 2>&5
22184
-  ac_status=$?
22185
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186
-  (exit $ac_status); }; } &&
22187
-	 { ac_try='test -s conftest$ac_exeext'
22188
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22189
-  (eval $ac_try) 2>&5
22190
-  ac_status=$?
22191
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192
-  (exit $ac_status); }; }; then
22184
+  (exit $ac_status); } && {
22185
+	 test -z "$ac_c_werror_flag" ||
22186
+	 test ! -s conftest.err
22187
+       } && test -s conftest$ac_exeext &&
22188
+       $as_test_x conftest$ac_exeext; then
22193 22189
   ac_cv_lib_gmp___gmpz_init=yes
22194 22190
 else
22195 22191
   echo "$as_me: failed program was:" >&5
22196 22192
 sed 's/^/| /' conftest.$ac_ext >&5
22197 22193
 
22198
-ac_cv_lib_gmp___gmpz_init=no
22194
+	ac_cv_lib_gmp___gmpz_init=no
22199 22195
 fi
22200
-rm -f conftest.err conftest.$ac_objext \
22196
+
22197
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22201 22198
       conftest$ac_exeext conftest.$ac_ext
22202 22199
 LIBS=$ac_check_lib_save_LIBS
22203 22200
 fi
22204
-echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
22205
-echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_init" >&6
22201
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
22202
+echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_init" >&6; }
22206 22203
 if test $ac_cv_lib_gmp___gmpz_init = yes; then
22207 22204
   LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgmp";
22208 22205
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -22210,8 +22805,8 @@ cat >>confdefs.h <<\_ACEOF
22210 22210
 _ACEOF
22211 22211
 
22212 22212
 else
22213
-  echo "$as_me:$LINENO: checking for mpz_init in -lgmp" >&5
22214
-echo $ECHO_N "checking for mpz_init in -lgmp... $ECHO_C" >&6
22213
+  { echo "$as_me:$LINENO: checking for mpz_init in -lgmp" >&5
22214
+echo $ECHO_N "checking for mpz_init in -lgmp... $ECHO_C" >&6; }
22215 22215
 if test "${ac_cv_lib_gmp_mpz_init+set}" = set; then
22216 22216
   echo $ECHO_N "(cached) $ECHO_C" >&6
22217 22217
 else
... ...
@@ -22224,56 +22819,53 @@ cat confdefs.h >>conftest.$ac_ext
22224 22224
 cat >>conftest.$ac_ext <<_ACEOF
22225 22225
 /* end confdefs.h.  */
22226 22226
 
22227
-/* Override any gcc2 internal prototype to avoid an error.  */
22227
+/* Override any GCC internal prototype to avoid an error.
22228
+   Use char because int might match the return type of a GCC
22229
+   builtin and then its argument prototype would still apply.  */
22228 22230
 #ifdef __cplusplus
22229 22231
 extern "C"
22230 22232
 #endif
22231
-/* We use char because int might match the return type of a gcc2
22232
-   builtin and then its argument prototype would still apply.  */
22233 22233
 char mpz_init ();
22234 22234
 int
22235 22235
 main ()
22236 22236
 {
22237
-mpz_init ();
22237
+return mpz_init ();
22238 22238
   ;
22239 22239
   return 0;
22240 22240
 }
22241 22241
 _ACEOF
22242 22242
 rm -f conftest.$ac_objext conftest$ac_exeext
22243
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22244
-  (eval $ac_link) 2>conftest.er1
22243
+if { (ac_try="$ac_link"
22244
+case "(($ac_try" in
22245
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22246
+  *) ac_try_echo=$ac_try;;
22247
+esac
22248
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22249
+  (eval "$ac_link") 2>conftest.er1
22245 22250
   ac_status=$?
22246 22251
   grep -v '^ *+' conftest.er1 >conftest.err
22247 22252
   rm -f conftest.er1
22248 22253
   cat conftest.err >&5
22249 22254
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250
-  (exit $ac_status); } &&
22251
-	 { ac_try='test -z "$ac_c_werror_flag"
22252
-			 || test ! -s conftest.err'
22253
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254
-  (eval $ac_try) 2>&5
22255
-  ac_status=$?
22256
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257
-  (exit $ac_status); }; } &&
22258
-	 { ac_try='test -s conftest$ac_exeext'
22259
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22260
-  (eval $ac_try) 2>&5
22261
-  ac_status=$?
22262
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263
-  (exit $ac_status); }; }; then
22255
+  (exit $ac_status); } && {
22256
+	 test -z "$ac_c_werror_flag" ||
22257
+	 test ! -s conftest.err
22258
+       } && test -s conftest$ac_exeext &&
22259
+       $as_test_x conftest$ac_exeext; then
22264 22260
   ac_cv_lib_gmp_mpz_init=yes
22265 22261
 else
22266 22262
   echo "$as_me: failed program was:" >&5
22267 22263
 sed 's/^/| /' conftest.$ac_ext >&5
22268 22264
 
22269
-ac_cv_lib_gmp_mpz_init=no
22265
+	ac_cv_lib_gmp_mpz_init=no
22270 22266
 fi
22271
-rm -f conftest.err conftest.$ac_objext \
22267
+
22268
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22272 22269
       conftest$ac_exeext conftest.$ac_ext
22273 22270
 LIBS=$ac_check_lib_save_LIBS
22274 22271
 fi
22275
-echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_mpz_init" >&5
22276
-echo "${ECHO_T}$ac_cv_lib_gmp_mpz_init" >&6
22272
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_mpz_init" >&5
22273
+echo "${ECHO_T}$ac_cv_lib_gmp_mpz_init" >&6; }
22277 22274
 if test $ac_cv_lib_gmp_mpz_init = yes; then
22278 22275
   LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -lgmp";
22279 22276
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -22289,51 +22881,51 @@ fi
22289 22289
 
22290 22290
 fi
22291 22291
 
22292
-# Check whether --enable-pthreads or --disable-pthreads was given.
22292
+# Check whether --enable-pthreads was given.
22293 22293
 if test "${enable_pthreads+set}" = set; then
22294
-  enableval="$enable_pthreads"
22295
-  have_pthreads=$enableval
22296
-fi;
22294
+  enableval=$enable_pthreads; have_pthreads=$enableval
22295
+fi
22297 22296
 
22298
-# Check whether --enable-cr or --disable-cr was given.
22297
+
22298
+# Check whether --enable-cr was given.
22299 22299
 if test "${enable_cr+set}" = set; then
22300
-  enableval="$enable_cr"
22301
-  use_cr=$enableval
22302
-fi;
22300
+  enableval=$enable_cr; use_cr=$enableval
22301
+fi
22303 22302
 
22304
-# Check whether --enable-id-check or --disable-id-check was given.
22303
+
22304
+# Check whether --enable-id-check was given.
22305 22305
 if test "${enable_id_check+set}" = set; then
22306
-  enableval="$enable_id_check"
22307
-  use_id=$enableval
22306
+  enableval=$enable_id_check; use_id=$enableval
22308 22307
 else
22309 22308
   use_id="no"
22310
-fi;
22309
+fi
22310
+
22311 22311
 
22312
-# Check whether --enable-yp-check or --disable-yp-check was given.
22312
+# Check whether --enable-yp-check was given.
22313 22313
 if test "${enable_yp_check+set}" = set; then
22314
-  enableval="$enable_yp_check"
22315
-  use_yp=$enableval
22314
+  enableval=$enable_yp_check; use_yp=$enableval
22316 22315
 else
22317 22316
   use_yp="no"
22318
-fi;
22317
+fi
22318
+
22319 22319
 
22320 22320
 
22321
-# Check whether --with-user or --without-user was given.
22321
+# Check whether --with-user was given.
22322 22322
 if test "${with_user+set}" = set; then
22323
-  withval="$with_user"
22324
-  clamav_user="$withval"
22323
+  withval=$with_user; clamav_user="$withval"
22325 22324
 else
22326 22325
   clamav_user="clamav"
22327
-fi;
22326
+fi
22327
+
22328 22328
 
22329 22329
 
22330
-# Check whether --with-group or --without-group was given.
22330
+# Check whether --with-group was given.
22331 22331
 if test "${with_group+set}" = set; then
22332
-  withval="$with_group"
22333
-  clamav_group="$withval"
22332
+  withval=$with_group; clamav_group="$withval"
22334 22333
 else
22335 22334
   clamav_group="clamav"
22336
-fi;
22335
+fi
22336
+
22337 22337
 
22338 22338
 
22339 22339
 cat >>confdefs.h <<_ACEOF
... ...
@@ -22346,21 +22938,21 @@ cat >>confdefs.h <<_ACEOF
22346 22346
 _ACEOF
22347 22347
 
22348 22348
 
22349
-# Check whether --enable-clamav or --disable-clamav was given.
22349
+# Check whether --enable-clamav was given.
22350 22350
 if test "${enable_clamav+set}" = set; then
22351
-  enableval="$enable_clamav"
22352
-  test_clamav=$enableval
22351
+  enableval=$enable_clamav; test_clamav=$enableval
22353 22352
 else
22354 22353
   test_clamav=yes
22355
-fi;
22354
+fi
22355
+
22356 22356
 
22357
-# Check whether --enable-debug or --disable-debug was given.
22357
+# Check whether --enable-debug was given.
22358 22358
 if test "${enable_debug+set}" = set; then
22359
-  enableval="$enable_debug"
22360
-  enable_debug=$enableval
22359
+  enableval=$enable_debug; enable_debug=$enableval
22361 22360
 else
22362 22361
   enable_debug="no"
22363
-fi;
22362
+fi
22363
+
22364 22364
 
22365 22365
 if test "$enable_debug" = "yes"; then
22366 22366
 
... ...
@@ -22370,13 +22962,13 @@ _ACEOF
22370 22370
 
22371 22371
 fi
22372 22372
 
22373
-# Check whether --enable-no-cache or --disable-no-cache was given.
22373
+# Check whether --enable-no-cache was given.
22374 22374
 if test "${enable_no_cache+set}" = set; then
22375
-  enableval="$enable_no_cache"
22376
-  enable_nocache=$enableval
22375
+  enableval=$enable_no_cache; enable_nocache=$enableval
22377 22376
 else
22378 22377
   enable_nocache="no"
22379
-fi;
22378
+fi
22379
+
22380 22380
 
22381 22381
 if test "$enable_nocache" = "yes"; then
22382 22382
 
... ...
@@ -22386,13 +22978,13 @@ _ACEOF
22386 22386
 
22387 22387
 fi
22388 22388
 
22389
-# Check whether --enable-dns-fix or --disable-dns-fix was given.
22389
+# Check whether --enable-dns-fix was given.
22390 22390
 if test "${enable_dns_fix+set}" = set; then
22391
-  enableval="$enable_dns_fix"
22392
-  enable_dnsfix=$enableval
22391
+  enableval=$enable_dns_fix; enable_dnsfix=$enableval
22393 22392
 else
22394 22393
   enable_dnsfix="no"
22395
-fi;
22394
+fi
22395
+
22396 22396
 
22397 22397
 if test "$enable_dnsfix" = "yes"; then
22398 22398
 
... ...
@@ -22402,13 +22994,13 @@ _ACEOF
22402 22402
 
22403 22403
 fi
22404 22404
 
22405
-# Check whether --enable-bigstack or --disable-bigstack was given.
22405
+# Check whether --enable-bigstack was given.
22406 22406
 if test "${enable_bigstack+set}" = set; then
22407
-  enableval="$enable_bigstack"
22408
-  enable_bigstack=$enableval
22407
+  enableval=$enable_bigstack; enable_bigstack=$enableval
22409 22408
 else
22410 22409
   enable_bigstack="no"
22411
-fi;
22410
+fi
22411
+
22412 22412
 
22413 22413
 if test "$enable_bigstack" = "yes"; then
22414 22414
 
... ...
@@ -22419,13 +23011,13 @@ _ACEOF
22419 22419
 fi
22420 22420
 
22421 22421
 
22422
-# Check whether --with-dbdir or --without-dbdir was given.
22422
+# Check whether --with-dbdir was given.
22423 22423
 if test "${with_dbdir+set}" = set; then
22424
-  withval="$with_dbdir"
22425
-  db_dir="$withval"
22424
+  withval=$with_dbdir; db_dir="$withval"
22426 22425
 else
22427 22426
   db_dir="_default_"
22428
-fi;
22427
+fi
22428
+
22429 22429
 
22430 22430
 if test "$db_dir" = "_default_"
22431 22431
 then
... ...
@@ -22486,13 +23078,22 @@ int main(int argc, char **argv) { in_port_t pt; pt = 0; return pt; }
22486 22486
 
22487 22487
 _ACEOF
22488 22488
 rm -f conftest$ac_exeext
22489
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22490
-  (eval $ac_link) 2>&5
22489
+if { (ac_try="$ac_link"
22490
+case "(($ac_try" in
22491
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22492
+  *) ac_try_echo=$ac_try;;
22493
+esac
22494
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22495
+  (eval "$ac_link") 2>&5
22491 22496
   ac_status=$?
22492 22497
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 22498
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22494
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495
-  (eval $ac_try) 2>&5
22499
+  { (case "(($ac_try" in
22500
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501
+  *) ac_try_echo=$ac_try;;
22502
+esac
22503
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504
+  (eval "$ac_try") 2>&5
22496 22505
   ac_status=$?
22497 22506
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 22507
   (exit $ac_status); }; }; then
... ...
@@ -22507,12 +23108,14 @@ echo "$as_me: failed program was:" >&5
22507 22507
 sed 's/^/| /' conftest.$ac_ext >&5
22508 22508
 
22509 22509
 ( exit $ac_status )
22510
-echo "$as_me:$LINENO: result: in_port_t is not defined" >&5
22511
-echo "${ECHO_T}in_port_t is not defined" >&6
22510
+{ echo "$as_me:$LINENO: result: in_port_t is not defined" >&5
22511
+echo "${ECHO_T}in_port_t is not defined" >&6; }
22512 22512
 fi
22513
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22513
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22514 22514
 fi
22515 22515
 
22516
+
22517
+
22516 22518
 if test "$cross_compiling" = yes; then
22517 22519
   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22518 22520
 See \`config.log' for more details." >&5
... ...
@@ -22533,13 +23136,22 @@ int main(int argc, char **argv) { in_addr_t pt; pt = 0; return pt; }
22533 22533
 
22534 22534
 _ACEOF
22535 22535
 rm -f conftest$ac_exeext
22536
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22537
-  (eval $ac_link) 2>&5
22536
+if { (ac_try="$ac_link"
22537
+case "(($ac_try" in
22538
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22539
+  *) ac_try_echo=$ac_try;;
22540
+esac
22541
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542
+  (eval "$ac_link") 2>&5
22538 22543
   ac_status=$?
22539 22544
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 22545
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22541
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542
-  (eval $ac_try) 2>&5
22546
+  { (case "(($ac_try" in
22547
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548
+  *) ac_try_echo=$ac_try;;
22549
+esac
22550
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551
+  (eval "$ac_try") 2>&5
22543 22552
   ac_status=$?
22544 22553
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 22554
   (exit $ac_status); }; }; then
... ...
@@ -22554,12 +23166,14 @@ echo "$as_me: failed program was:" >&5
22554 22554
 sed 's/^/| /' conftest.$ac_ext >&5
22555 22555
 
22556 22556
 ( exit $ac_status )
22557
-echo "$as_me:$LINENO: result: in_addr_t is not defined" >&5
22558
-echo "${ECHO_T}in_addr_t is not defined" >&6
22557
+{ echo "$as_me:$LINENO: result: in_addr_t is not defined" >&5
22558
+echo "${ECHO_T}in_addr_t is not defined" >&6; }
22559 22559
 fi
22560
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22560
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22561 22561
 fi
22562 22562
 
22563
+
22564
+
22563 22565
 case "$target_os" in
22564 22566
 linux*)
22565 22567
 
... ...
@@ -22834,8 +23448,8 @@ _ACEOF
22834 22834
     use_gethostbyname_r="no"
22835 22835
     ;;
22836 22836
 bsd*)
22837
-    echo "$as_me:$LINENO: result: Unknown BSD detected. Disabling thread support." >&5
22838
-echo "${ECHO_T}Unknown BSD detected. Disabling thread support." >&6
22837
+    { echo "$as_me:$LINENO: result: Unknown BSD detected. Disabling thread support." >&5
22838
+echo "${ECHO_T}Unknown BSD detected. Disabling thread support." >&6; }
22839 22839
     have_pthreads="no"
22840 22840
 
22841 22841
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -22845,8 +23459,8 @@ _ACEOF
22845 22845
     use_gethostbyname_r="no"
22846 22846
     ;;
22847 22847
 beos*)
22848
-    echo "$as_me:$LINENO: result: BeOS detected. Disabling thread support." >&5
22849
-echo "${ECHO_T}BeOS detected. Disabling thread support." >&6
22848
+    { echo "$as_me:$LINENO: result: BeOS detected. Disabling thread support." >&5
22849
+echo "${ECHO_T}BeOS detected. Disabling thread support." >&6; }
22850 22850
     have_pthreads="no"
22851 22851
 
22852 22852
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -23074,8 +23688,8 @@ if test "$have_milter" = "yes"; then
23074 23074
 	CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter"
23075 23075
     fi
23076 23076
     LDFLAGS="$LDFLAGS -lmilter $CLAMAV_MILTER_LIBS"
23077
-    echo "$as_me:$LINENO: checking for mi_stop in -lmilter" >&5
23078
-echo $ECHO_N "checking for mi_stop in -lmilter... $ECHO_C" >&6
23077
+    { echo "$as_me:$LINENO: checking for mi_stop in -lmilter" >&5
23078
+echo $ECHO_N "checking for mi_stop in -lmilter... $ECHO_C" >&6; }
23079 23079
 if test "${ac_cv_lib_milter_mi_stop+set}" = set; then
23080 23080
   echo $ECHO_N "(cached) $ECHO_C" >&6
23081 23081
 else
... ...
@@ -23088,67 +23702,63 @@ cat confdefs.h >>conftest.$ac_ext
23088 23088
 cat >>conftest.$ac_ext <<_ACEOF
23089 23089
 /* end confdefs.h.  */
23090 23090
 
23091
-/* Override any gcc2 internal prototype to avoid an error.  */
23091
+/* Override any GCC internal prototype to avoid an error.
23092
+   Use char because int might match the return type of a GCC
23093
+   builtin and then its argument prototype would still apply.  */
23092 23094
 #ifdef __cplusplus
23093 23095
 extern "C"
23094 23096
 #endif
23095
-/* We use char because int might match the return type of a gcc2
23096
-   builtin and then its argument prototype would still apply.  */
23097 23097
 char mi_stop ();
23098 23098
 int
23099 23099
 main ()
23100 23100
 {
23101
-mi_stop ();
23101
+return mi_stop ();
23102 23102
   ;
23103 23103
   return 0;
23104 23104
 }
23105 23105
 _ACEOF
23106 23106
 rm -f conftest.$ac_objext conftest$ac_exeext
23107
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23108
-  (eval $ac_link) 2>conftest.er1
23107
+if { (ac_try="$ac_link"
23108
+case "(($ac_try" in
23109
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23110
+  *) ac_try_echo=$ac_try;;
23111
+esac
23112
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23113
+  (eval "$ac_link") 2>conftest.er1
23109 23114
   ac_status=$?
23110 23115
   grep -v '^ *+' conftest.er1 >conftest.err
23111 23116
   rm -f conftest.er1
23112 23117
   cat conftest.err >&5
23113 23118
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114
-  (exit $ac_status); } &&
23115
-	 { ac_try='test -z "$ac_c_werror_flag"
23116
-			 || test ! -s conftest.err'
23117
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118
-  (eval $ac_try) 2>&5
23119
-  ac_status=$?
23120
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121
-  (exit $ac_status); }; } &&
23122
-	 { ac_try='test -s conftest$ac_exeext'
23123
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124
-  (eval $ac_try) 2>&5
23125
-  ac_status=$?
23126
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127
-  (exit $ac_status); }; }; then
23119
+  (exit $ac_status); } && {
23120
+	 test -z "$ac_c_werror_flag" ||
23121
+	 test ! -s conftest.err
23122
+       } && test -s conftest$ac_exeext &&
23123
+       $as_test_x conftest$ac_exeext; then
23128 23124
   ac_cv_lib_milter_mi_stop=yes
23129 23125
 else
23130 23126
   echo "$as_me: failed program was:" >&5
23131 23127
 sed 's/^/| /' conftest.$ac_ext >&5
23132 23128
 
23133
-ac_cv_lib_milter_mi_stop=no
23129
+	ac_cv_lib_milter_mi_stop=no
23134 23130
 fi
23135
-rm -f conftest.err conftest.$ac_objext \
23131
+
23132
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23136 23133
       conftest$ac_exeext conftest.$ac_ext
23137 23134
 LIBS=$ac_check_lib_save_LIBS
23138 23135
 fi
23139
-echo "$as_me:$LINENO: result: $ac_cv_lib_milter_mi_stop" >&5
23140
-echo "${ECHO_T}$ac_cv_lib_milter_mi_stop" >&6
23136
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_milter_mi_stop" >&5
23137
+echo "${ECHO_T}$ac_cv_lib_milter_mi_stop" >&6; }
23141 23138
 if test $ac_cv_lib_milter_mi_stop = yes; then
23142 23139
   CLAMAV_MILTER_LIBS="-lmilter $CLAMAV_MILTER_LIBS"
23143 23140
 else
23144 23141
 
23145
-		echo "$as_me:$LINENO: checking for library containing strlcpy" >&5
23146
-echo $ECHO_N "checking for library containing strlcpy... $ECHO_C" >&6
23142
+		{ echo "$as_me:$LINENO: checking for library containing strlcpy" >&5
23143
+echo $ECHO_N "checking for library containing strlcpy... $ECHO_C" >&6; }
23147 23144
 if test "${ac_cv_search_strlcpy+set}" = set; then
23148 23145
   echo $ECHO_N "(cached) $ECHO_C" >&6
23149 23146
 else
23150 23147
   ac_func_search_save_LIBS=$LIBS
23151
-ac_cv_search_strlcpy=no
23152 23148
 cat >conftest.$ac_ext <<_ACEOF
23153 23149
 /* confdefs.h.  */
23154 23150
 _ACEOF
... ...
@@ -23156,122 +23766,80 @@ cat confdefs.h >>conftest.$ac_ext
23156 23156
 cat >>conftest.$ac_ext <<_ACEOF
23157 23157
 /* end confdefs.h.  */
23158 23158
 
23159
-/* Override any gcc2 internal prototype to avoid an error.  */
23159
+/* Override any GCC internal prototype to avoid an error.
23160
+   Use char because int might match the return type of a GCC
23161
+   builtin and then its argument prototype would still apply.  */
23160 23162
 #ifdef __cplusplus
23161 23163
 extern "C"
23162 23164
 #endif
23163
-/* We use char because int might match the return type of a gcc2
23164
-   builtin and then its argument prototype would still apply.  */
23165 23165
 char strlcpy ();
23166 23166
 int
23167 23167
 main ()
23168 23168
 {
23169
-strlcpy ();
23169
+return strlcpy ();
23170 23170
   ;
23171 23171
   return 0;
23172 23172
 }
23173 23173
 _ACEOF
23174
-rm -f conftest.$ac_objext conftest$ac_exeext
23175
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23176
-  (eval $ac_link) 2>conftest.er1
23174
+for ac_lib in '' sm smutil; do
23175
+  if test -z "$ac_lib"; then
23176
+    ac_res="none required"
23177
+  else
23178
+    ac_res=-l$ac_lib
23179
+    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23180
+  fi
23181
+  rm -f conftest.$ac_objext conftest$ac_exeext
23182
+if { (ac_try="$ac_link"
23183
+case "(($ac_try" in
23184
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23185
+  *) ac_try_echo=$ac_try;;
23186
+esac
23187
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23188
+  (eval "$ac_link") 2>conftest.er1
23177 23189
   ac_status=$?
23178 23190
   grep -v '^ *+' conftest.er1 >conftest.err
23179 23191
   rm -f conftest.er1
23180 23192
   cat conftest.err >&5
23181 23193
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182
-  (exit $ac_status); } &&
23183
-	 { ac_try='test -z "$ac_c_werror_flag"
23184
-			 || test ! -s conftest.err'
23185
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186
-  (eval $ac_try) 2>&5
23187
-  ac_status=$?
23188
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189
-  (exit $ac_status); }; } &&
23190
-	 { ac_try='test -s conftest$ac_exeext'
23191
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23192
-  (eval $ac_try) 2>&5
23193
-  ac_status=$?
23194
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23195
-  (exit $ac_status); }; }; then
23196
-  ac_cv_search_strlcpy="none required"
23194
+  (exit $ac_status); } && {
23195
+	 test -z "$ac_c_werror_flag" ||
23196
+	 test ! -s conftest.err
23197
+       } && test -s conftest$ac_exeext &&
23198
+       $as_test_x conftest$ac_exeext; then
23199
+  ac_cv_search_strlcpy=$ac_res
23197 23200
 else
23198 23201
   echo "$as_me: failed program was:" >&5
23199 23202
 sed 's/^/| /' conftest.$ac_ext >&5
23200 23203
 
23201
-fi
23202
-rm -f conftest.err conftest.$ac_objext \
23203
-      conftest$ac_exeext conftest.$ac_ext
23204
-if test "$ac_cv_search_strlcpy" = no; then
23205
-  for ac_lib in sm smutil; do
23206
-    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
23207
-    cat >conftest.$ac_ext <<_ACEOF
23208
-/* confdefs.h.  */
23209
-_ACEOF
23210
-cat confdefs.h >>conftest.$ac_ext
23211
-cat >>conftest.$ac_ext <<_ACEOF
23212
-/* end confdefs.h.  */
23213 23204
 
23214
-/* Override any gcc2 internal prototype to avoid an error.  */
23215
-#ifdef __cplusplus
23216
-extern "C"
23217
-#endif
23218
-/* We use char because int might match the return type of a gcc2
23219
-   builtin and then its argument prototype would still apply.  */
23220
-char strlcpy ();
23221
-int
23222
-main ()
23223
-{
23224
-strlcpy ();
23225
-  ;
23226
-  return 0;
23227
-}
23228
-_ACEOF
23229
-rm -f conftest.$ac_objext conftest$ac_exeext
23230
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23231
-  (eval $ac_link) 2>conftest.er1
23232
-  ac_status=$?
23233
-  grep -v '^ *+' conftest.er1 >conftest.err
23234
-  rm -f conftest.er1
23235
-  cat conftest.err >&5
23236
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237
-  (exit $ac_status); } &&
23238
-	 { ac_try='test -z "$ac_c_werror_flag"
23239
-			 || test ! -s conftest.err'
23240
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241
-  (eval $ac_try) 2>&5
23242
-  ac_status=$?
23243
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244
-  (exit $ac_status); }; } &&
23245
-	 { ac_try='test -s conftest$ac_exeext'
23246
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23247
-  (eval $ac_try) 2>&5
23248
-  ac_status=$?
23249
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250
-  (exit $ac_status); }; }; then
23251
-  ac_cv_search_strlcpy="-l$ac_lib"
23252
-break
23253
-else
23254
-  echo "$as_me: failed program was:" >&5
23255
-sed 's/^/| /' conftest.$ac_ext >&5
23205
+fi
23256 23206
 
23207
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23208
+      conftest$ac_exeext
23209
+  if test "${ac_cv_search_strlcpy+set}" = set; then
23210
+  break
23257 23211
 fi
23258
-rm -f conftest.err conftest.$ac_objext \
23259
-      conftest$ac_exeext conftest.$ac_ext
23260
-  done
23212
+done
23213
+if test "${ac_cv_search_strlcpy+set}" = set; then
23214
+  :
23215
+else
23216
+  ac_cv_search_strlcpy=no
23261 23217
 fi
23218
+rm conftest.$ac_ext
23262 23219
 LIBS=$ac_func_search_save_LIBS
23263 23220
 fi
23264
-echo "$as_me:$LINENO: result: $ac_cv_search_strlcpy" >&5
23265
-echo "${ECHO_T}$ac_cv_search_strlcpy" >&6
23266
-if test "$ac_cv_search_strlcpy" != no; then
23267
-  test "$ac_cv_search_strlcpy" = "none required" || LIBS="$ac_cv_search_strlcpy $LIBS"
23221
+{ echo "$as_me:$LINENO: result: $ac_cv_search_strlcpy" >&5
23222
+echo "${ECHO_T}$ac_cv_search_strlcpy" >&6; }
23223
+ac_res=$ac_cv_search_strlcpy
23224
+if test "$ac_res" != no; then
23225
+  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23268 23226
   test "$ac_cv_search_strlcpy" = "none required" || CLAMAV_MILTER_XLIB="$ac_cv_search_strlcpy"
23269 23227
 fi
23270 23228
 
23271 23229
 	LDFLAGS="$save_LDFLAGS $CLAMAV_MILTER_LIBS $CLAMAV_MILTER_XLIB"
23272 23230
 	$as_unset ac_cv_lib_milter_mi_stop
23273
-	echo "$as_me:$LINENO: checking for mi_stop in -lmilter" >&5
23274
-echo $ECHO_N "checking for mi_stop in -lmilter... $ECHO_C" >&6
23231
+	{ echo "$as_me:$LINENO: checking for mi_stop in -lmilter" >&5
23232
+echo $ECHO_N "checking for mi_stop in -lmilter... $ECHO_C" >&6; }
23275 23233
 if test "${ac_cv_lib_milter_mi_stop+set}" = set; then
23276 23234
   echo $ECHO_N "(cached) $ECHO_C" >&6
23277 23235
 else
... ...
@@ -23284,56 +23852,53 @@ cat confdefs.h >>conftest.$ac_ext
23284 23284
 cat >>conftest.$ac_ext <<_ACEOF
23285 23285
 /* end confdefs.h.  */
23286 23286
 
23287
-/* Override any gcc2 internal prototype to avoid an error.  */
23287
+/* Override any GCC internal prototype to avoid an error.
23288
+   Use char because int might match the return type of a GCC
23289
+   builtin and then its argument prototype would still apply.  */
23288 23290
 #ifdef __cplusplus
23289 23291
 extern "C"
23290 23292
 #endif
23291
-/* We use char because int might match the return type of a gcc2
23292
-   builtin and then its argument prototype would still apply.  */
23293 23293
 char mi_stop ();
23294 23294
 int
23295 23295
 main ()
23296 23296
 {
23297
-mi_stop ();
23297
+return mi_stop ();
23298 23298
   ;
23299 23299
   return 0;
23300 23300
 }
23301 23301
 _ACEOF
23302 23302
 rm -f conftest.$ac_objext conftest$ac_exeext
23303
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23304
-  (eval $ac_link) 2>conftest.er1
23303
+if { (ac_try="$ac_link"
23304
+case "(($ac_try" in
23305
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306
+  *) ac_try_echo=$ac_try;;
23307
+esac
23308
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309
+  (eval "$ac_link") 2>conftest.er1
23305 23310
   ac_status=$?
23306 23311
   grep -v '^ *+' conftest.er1 >conftest.err
23307 23312
   rm -f conftest.er1
23308 23313
   cat conftest.err >&5
23309 23314
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310
-  (exit $ac_status); } &&
23311
-	 { ac_try='test -z "$ac_c_werror_flag"
23312
-			 || test ! -s conftest.err'
23313
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314
-  (eval $ac_try) 2>&5
23315
-  ac_status=$?
23316
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317
-  (exit $ac_status); }; } &&
23318
-	 { ac_try='test -s conftest$ac_exeext'
23319
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23320
-  (eval $ac_try) 2>&5
23321
-  ac_status=$?
23322
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323
-  (exit $ac_status); }; }; then
23315
+  (exit $ac_status); } && {
23316
+	 test -z "$ac_c_werror_flag" ||
23317
+	 test ! -s conftest.err
23318
+       } && test -s conftest$ac_exeext &&
23319
+       $as_test_x conftest$ac_exeext; then
23324 23320
   ac_cv_lib_milter_mi_stop=yes
23325 23321
 else
23326 23322
   echo "$as_me: failed program was:" >&5
23327 23323
 sed 's/^/| /' conftest.$ac_ext >&5
23328 23324
 
23329
-ac_cv_lib_milter_mi_stop=no
23325
+	ac_cv_lib_milter_mi_stop=no
23330 23326
 fi
23331
-rm -f conftest.err conftest.$ac_objext \
23327
+
23328
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23332 23329
       conftest$ac_exeext conftest.$ac_ext
23333 23330
 LIBS=$ac_check_lib_save_LIBS
23334 23331
 fi
23335
-echo "$as_me:$LINENO: result: $ac_cv_lib_milter_mi_stop" >&5
23336
-echo "${ECHO_T}$ac_cv_lib_milter_mi_stop" >&6
23332
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_milter_mi_stop" >&5
23333
+echo "${ECHO_T}$ac_cv_lib_milter_mi_stop" >&6; }
23337 23334
 if test $ac_cv_lib_milter_mi_stop = yes; then
23338 23335
   CLAMAV_MILTER_LIBS="-lmilter $CLAMAV_MILTER_XLIB $CLAMAV_MILTER_LIBS"
23339 23336
 else
... ...
@@ -23352,18 +23917,19 @@ fi
23352 23352
 for ac_header in libmilter/mfapi.h
23353 23353
 do
23354 23354
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23355
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
23356
-  echo "$as_me:$LINENO: checking for $ac_header" >&5
23357
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23358
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
23355
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23356
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23357
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23358
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23359 23359
   echo $ECHO_N "(cached) $ECHO_C" >&6
23360 23360
 fi
23361
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23362
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23361
+ac_res=`eval echo '${'$as_ac_Header'}'`
23362
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23363
+echo "${ECHO_T}$ac_res" >&6; }
23363 23364
 else
23364 23365
   # Is the header compilable?
23365
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
23366
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23366
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23367
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23367 23368
 cat >conftest.$ac_ext <<_ACEOF
23368 23369
 /* confdefs.h.  */
23369 23370
 _ACEOF
... ...
@@ -23374,41 +23940,37 @@ $ac_includes_default
23374 23374
 #include <$ac_header>
23375 23375
 _ACEOF
23376 23376
 rm -f conftest.$ac_objext
23377
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23378
-  (eval $ac_compile) 2>conftest.er1
23377
+if { (ac_try="$ac_compile"
23378
+case "(($ac_try" in
23379
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23380
+  *) ac_try_echo=$ac_try;;
23381
+esac
23382
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23383
+  (eval "$ac_compile") 2>conftest.er1
23379 23384
   ac_status=$?
23380 23385
   grep -v '^ *+' conftest.er1 >conftest.err
23381 23386
   rm -f conftest.er1
23382 23387
   cat conftest.err >&5
23383 23388
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384
-  (exit $ac_status); } &&
23385
-	 { ac_try='test -z "$ac_c_werror_flag"
23386
-			 || test ! -s conftest.err'
23387
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23388
-  (eval $ac_try) 2>&5
23389
-  ac_status=$?
23390
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391
-  (exit $ac_status); }; } &&
23392
-	 { ac_try='test -s conftest.$ac_objext'
23393
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23394
-  (eval $ac_try) 2>&5
23395
-  ac_status=$?
23396
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397
-  (exit $ac_status); }; }; then
23389
+  (exit $ac_status); } && {
23390
+	 test -z "$ac_c_werror_flag" ||
23391
+	 test ! -s conftest.err
23392
+       } && test -s conftest.$ac_objext; then
23398 23393
   ac_header_compiler=yes
23399 23394
 else
23400 23395
   echo "$as_me: failed program was:" >&5
23401 23396
 sed 's/^/| /' conftest.$ac_ext >&5
23402 23397
 
23403
-ac_header_compiler=no
23398
+	ac_header_compiler=no
23404 23399
 fi
23405
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23406
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23407
-echo "${ECHO_T}$ac_header_compiler" >&6
23400
+
23401
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23403
+echo "${ECHO_T}$ac_header_compiler" >&6; }
23408 23404
 
23409 23405
 # Is the header present?
23410
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
23411
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23406
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23407
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23412 23408
 cat >conftest.$ac_ext <<_ACEOF
23413 23409
 /* confdefs.h.  */
23414 23410
 _ACEOF
... ...
@@ -23417,24 +23979,22 @@ cat >>conftest.$ac_ext <<_ACEOF
23417 23417
 /* end confdefs.h.  */
23418 23418
 #include <$ac_header>
23419 23419
 _ACEOF
23420
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23421
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23420
+if { (ac_try="$ac_cpp conftest.$ac_ext"
23421
+case "(($ac_try" in
23422
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23423
+  *) ac_try_echo=$ac_try;;
23424
+esac
23425
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23422 23427
   ac_status=$?
23423 23428
   grep -v '^ *+' conftest.er1 >conftest.err
23424 23429
   rm -f conftest.er1
23425 23430
   cat conftest.err >&5
23426 23431
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427
-  (exit $ac_status); } >/dev/null; then
23428
-  if test -s conftest.err; then
23429
-    ac_cpp_err=$ac_c_preproc_warn_flag
23430
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23431
-  else
23432
-    ac_cpp_err=
23433
-  fi
23434
-else
23435
-  ac_cpp_err=yes
23436
-fi
23437
-if test -z "$ac_cpp_err"; then
23432
+  (exit $ac_status); } >/dev/null && {
23433
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23434
+	 test ! -s conftest.err
23435
+       }; then
23438 23436
   ac_header_preproc=yes
23439 23437
 else
23440 23438
   echo "$as_me: failed program was:" >&5
... ...
@@ -23442,9 +24002,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
23442 23442
 
23443 23443
   ac_header_preproc=no
23444 23444
 fi
23445
+
23445 23446
 rm -f conftest.err conftest.$ac_ext
23446
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23447
-echo "${ECHO_T}$ac_header_preproc" >&6
23447
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23448
+echo "${ECHO_T}$ac_header_preproc" >&6; }
23448 23449
 
23449 23450
 # So?  What about this header?
23450 23451
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -23468,25 +24029,19 @@ echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\
23468 23468
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23469 23469
     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23470 23470
 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23471
-    (
23472
-      cat <<\_ASBOX
23473
-## ------------------------------------------ ##
23474
-## Report this to the AC_PACKAGE_NAME lists.  ##
23475
-## ------------------------------------------ ##
23476
-_ASBOX
23477
-    ) |
23478
-      sed "s/^/$as_me: WARNING:     /" >&2
23471
+
23479 23472
     ;;
23480 23473
 esac
23481
-echo "$as_me:$LINENO: checking for $ac_header" >&5
23482
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23483
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
23474
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23475
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23476
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23484 23477
   echo $ECHO_N "(cached) $ECHO_C" >&6
23485 23478
 else
23486 23479
   eval "$as_ac_Header=\$ac_header_preproc"
23487 23480
 fi
23488
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23489
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23481
+ac_res=`eval echo '${'$as_ac_Header'}'`
23482
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23483
+echo "${ECHO_T}$ac_res" >&6; }
23490 23484
 
23491 23485
 fi
23492 23486
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
... ...
@@ -23527,6 +24082,16 @@ else
23527 23527
 fi
23528 23528
 
23529 23529
 
23530
+
23531
+if test "$enable_unrar" = "yes"; then
23532
+  ENABLE_UNRAR_TRUE=
23533
+  ENABLE_UNRAR_FALSE='#'
23534
+else
23535
+  ENABLE_UNRAR_TRUE='#'
23536
+  ENABLE_UNRAR_FALSE=
23537
+fi
23538
+
23539
+
23530 23540
 if test "$have_pthreads" = "yes"
23531 23541
 then
23532 23542
 
... ...
@@ -23536,14 +24101,22 @@ _ACEOF
23536 23536
 
23537 23537
 fi
23538 23538
 
23539
+if test "$enable_unrar" = "yes"; then
23540
+
23541
+cat >>confdefs.h <<\_ACEOF
23542
+#define ENABLE_UNRAR 1
23543
+_ACEOF
23544
+
23545
+fi
23546
+
23539 23547
 
23540 23548
 
23541 23549
 for ac_func in recvmsg sendmsg
23542 23550
 do
23543 23551
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23544
-echo "$as_me:$LINENO: checking for $ac_func" >&5
23545
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23546
-if eval "test \"\${$as_ac_var+set}\" = set"; then
23552
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
23553
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23554
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23547 23555
   echo $ECHO_N "(cached) $ECHO_C" >&6
23548 23556
 else
23549 23557
   cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -23569,68 +24142,60 @@ cat >>conftest.$ac_ext <<_ACEOF
23569 23569
 
23570 23570
 #undef $ac_func
23571 23571
 
23572
-/* Override any gcc2 internal prototype to avoid an error.  */
23572
+/* Override any GCC internal prototype to avoid an error.
23573
+   Use char because int might match the return type of a GCC
23574
+   builtin and then its argument prototype would still apply.  */
23573 23575
 #ifdef __cplusplus
23574 23576
 extern "C"
23575
-{
23576 23577
 #endif
23577
-/* We use char because int might match the return type of a gcc2
23578
-   builtin and then its argument prototype would still apply.  */
23579 23578
 char $ac_func ();
23580 23579
 /* The GNU C library defines this for functions which it implements
23581 23580
     to always fail with ENOSYS.  Some functions are actually named
23582 23581
     something starting with __ and the normal name is an alias.  */
23583
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23582
+#if defined __stub_$ac_func || defined __stub___$ac_func
23584 23583
 choke me
23585
-#else
23586
-char (*f) () = $ac_func;
23587
-#endif
23588
-#ifdef __cplusplus
23589
-}
23590 23584
 #endif
23591 23585
 
23592 23586
 int
23593 23587
 main ()
23594 23588
 {
23595
-return f != $ac_func;
23589
+return $ac_func ();
23596 23590
   ;
23597 23591
   return 0;
23598 23592
 }
23599 23593
 _ACEOF
23600 23594
 rm -f conftest.$ac_objext conftest$ac_exeext
23601
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23602
-  (eval $ac_link) 2>conftest.er1
23595
+if { (ac_try="$ac_link"
23596
+case "(($ac_try" in
23597
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23598
+  *) ac_try_echo=$ac_try;;
23599
+esac
23600
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23601
+  (eval "$ac_link") 2>conftest.er1
23603 23602
   ac_status=$?
23604 23603
   grep -v '^ *+' conftest.er1 >conftest.err
23605 23604
   rm -f conftest.er1
23606 23605
   cat conftest.err >&5
23607 23606
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608
-  (exit $ac_status); } &&
23609
-	 { ac_try='test -z "$ac_c_werror_flag"
23610
-			 || test ! -s conftest.err'
23611
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612
-  (eval $ac_try) 2>&5
23613
-  ac_status=$?
23614
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615
-  (exit $ac_status); }; } &&
23616
-	 { ac_try='test -s conftest$ac_exeext'
23617
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618
-  (eval $ac_try) 2>&5
23619
-  ac_status=$?
23620
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621
-  (exit $ac_status); }; }; then
23607
+  (exit $ac_status); } && {
23608
+	 test -z "$ac_c_werror_flag" ||
23609
+	 test ! -s conftest.err
23610
+       } && test -s conftest$ac_exeext &&
23611
+       $as_test_x conftest$ac_exeext; then
23622 23612
   eval "$as_ac_var=yes"
23623 23613
 else
23624 23614
   echo "$as_me: failed program was:" >&5
23625 23615
 sed 's/^/| /' conftest.$ac_ext >&5
23626 23616
 
23627
-eval "$as_ac_var=no"
23617
+	eval "$as_ac_var=no"
23628 23618
 fi
23629
-rm -f conftest.err conftest.$ac_objext \
23619
+
23620
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23630 23621
       conftest$ac_exeext conftest.$ac_ext
23631 23622
 fi
23632
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23633
-echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23623
+ac_res=`eval echo '${'$as_ac_var'}'`
23624
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23625
+echo "${ECHO_T}$ac_res" >&6; }
23634 23626
 if test `eval echo '${'$as_ac_var'}'` = yes; then
23635 23627
   cat >>confdefs.h <<_ACEOF
23636 23628
 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
... ...
@@ -23639,8 +24204,8 @@ _ACEOF
23639 23639
 fi
23640 23640
 done
23641 23641
 
23642
-echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
23643
-echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
23642
+{ echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
23643
+echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6; }
23644 23644
 if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
23645 23645
   echo $ECHO_N "(cached) $ECHO_C" >&6
23646 23646
 else
... ...
@@ -23673,13 +24238,22 @@ exit(0);
23673 23673
 
23674 23674
 _ACEOF
23675 23675
 rm -f conftest$ac_exeext
23676
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23677
-  (eval $ac_link) 2>&5
23676
+if { (ac_try="$ac_link"
23677
+case "(($ac_try" in
23678
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23679
+  *) ac_try_echo=$ac_try;;
23680
+esac
23681
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682
+  (eval "$ac_link") 2>&5
23678 23683
   ac_status=$?
23679 23684
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 23685
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23681
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682
-  (eval $ac_try) 2>&5
23686
+  { (case "(($ac_try" in
23687
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23688
+  *) ac_try_echo=$ac_try;;
23689
+esac
23690
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23691
+  (eval "$ac_try") 2>&5
23683 23692
   ac_status=$?
23684 23693
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 23694
   (exit $ac_status); }; }; then
... ...
@@ -23693,12 +24267,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
23693 23693
  ac_cv_have_accrights_in_msghdr="no"
23694 23694
 
23695 23695
 fi
23696
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23696
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23697 23697
 fi
23698 23698
 
23699
+
23700
+
23699 23701
 fi
23700
-echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
23701
-echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
23702
+{ echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
23703
+echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; }
23702 23704
 if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
23703 23705
 
23704 23706
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -23707,8 +24283,8 @@ _ACEOF
23707 23707
 
23708 23708
 fi
23709 23709
 
23710
-echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
23711
-echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
23710
+{ echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
23711
+echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; }
23712 23712
 if test "${ac_cv_have_control_in_msghdr+set}" = set; then
23713 23713
   echo $ECHO_N "(cached) $ECHO_C" >&6
23714 23714
 else
... ...
@@ -23741,13 +24317,22 @@ exit(0);
23741 23741
 
23742 23742
 _ACEOF
23743 23743
 rm -f conftest$ac_exeext
23744
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23745
-  (eval $ac_link) 2>&5
23744
+if { (ac_try="$ac_link"
23745
+case "(($ac_try" in
23746
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23747
+  *) ac_try_echo=$ac_try;;
23748
+esac
23749
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23750
+  (eval "$ac_link") 2>&5
23746 23751
   ac_status=$?
23747 23752
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 23753
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23749
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23750
-  (eval $ac_try) 2>&5
23754
+  { (case "(($ac_try" in
23755
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23756
+  *) ac_try_echo=$ac_try;;
23757
+esac
23758
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23759
+  (eval "$ac_try") 2>&5
23751 23760
   ac_status=$?
23752 23761
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 23762
   (exit $ac_status); }; }; then
... ...
@@ -23761,12 +24346,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
23761 23761
  ac_cv_have_control_in_msghdr="no"
23762 23762
 
23763 23763
 fi
23764
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23764
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23765 23765
 fi
23766 23766
 
23767
+
23768
+
23767 23769
 fi
23768
-echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
23769
-echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
23770
+{ echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
23771
+echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; }
23770 23772
 if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
23771 23773
 
23772 23774
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -23776,10 +24363,9 @@ _ACEOF
23776 23776
 fi
23777 23777
 
23778 23778
 
23779
-# Check whether --with-tcpwrappers or --without-tcpwrappers was given.
23779
+# Check whether --with-tcpwrappers was given.
23780 23780
 if test "${with_tcpwrappers+set}" = set; then
23781
-  withval="$with_tcpwrappers"
23782
-   case "$withval" in
23781
+  withval=$with_tcpwrappers;  case "$withval" in
23783 23782
   yes|no) tcpw="$withval" ;;
23784 23783
   *)      { { echo "$as_me:$LINENO: error: --with-tcpwrappers does not take an argument" >&5
23785 23784
 echo "$as_me: error: --with-tcpwrappers does not take an argument" >&2;}
... ...
@@ -23787,25 +24373,27 @@ echo "$as_me: error: --with-tcpwrappers does not take an argument" >&2;}
23787 23787
   esac
23788 23788
 else
23789 23789
    tcpw=auto
23790
-fi;
23790
+fi
23791
+
23791 23792
 
23792 23793
 if test "$tcpw" != "no" && test "$have_milter" = "yes" ; then
23793 23794
 
23794 23795
 for ac_header in tcpd.h
23795 23796
 do
23796 23797
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23797
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
23798
-  echo "$as_me:$LINENO: checking for $ac_header" >&5
23799
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23800
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
23798
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23799
+  { echo "$as_me:$LINENO: checking for $ac_header" >&5
23800
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23801
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23801 23802
   echo $ECHO_N "(cached) $ECHO_C" >&6
23802 23803
 fi
23803
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23804
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23804
+ac_res=`eval echo '${'$as_ac_Header'}'`
23805
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23806
+echo "${ECHO_T}$ac_res" >&6; }
23805 23807
 else
23806 23808
   # Is the header compilable?
23807
-echo "$as_me:$LINENO: checking $ac_header usability" >&5
23808
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23809
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
23810
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23809 23811
 cat >conftest.$ac_ext <<_ACEOF
23810 23812
 /* confdefs.h.  */
23811 23813
 _ACEOF
... ...
@@ -23816,41 +24404,37 @@ $ac_includes_default
23816 23816
 #include <$ac_header>
23817 23817
 _ACEOF
23818 23818
 rm -f conftest.$ac_objext
23819
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23820
-  (eval $ac_compile) 2>conftest.er1
23819
+if { (ac_try="$ac_compile"
23820
+case "(($ac_try" in
23821
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23822
+  *) ac_try_echo=$ac_try;;
23823
+esac
23824
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23825
+  (eval "$ac_compile") 2>conftest.er1
23821 23826
   ac_status=$?
23822 23827
   grep -v '^ *+' conftest.er1 >conftest.err
23823 23828
   rm -f conftest.er1
23824 23829
   cat conftest.err >&5
23825 23830
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826
-  (exit $ac_status); } &&
23827
-	 { ac_try='test -z "$ac_c_werror_flag"
23828
-			 || test ! -s conftest.err'
23829
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830
-  (eval $ac_try) 2>&5
23831
-  ac_status=$?
23832
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833
-  (exit $ac_status); }; } &&
23834
-	 { ac_try='test -s conftest.$ac_objext'
23835
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23836
-  (eval $ac_try) 2>&5
23837
-  ac_status=$?
23838
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839
-  (exit $ac_status); }; }; then
23831
+  (exit $ac_status); } && {
23832
+	 test -z "$ac_c_werror_flag" ||
23833
+	 test ! -s conftest.err
23834
+       } && test -s conftest.$ac_objext; then
23840 23835
   ac_header_compiler=yes
23841 23836
 else
23842 23837
   echo "$as_me: failed program was:" >&5
23843 23838
 sed 's/^/| /' conftest.$ac_ext >&5
23844 23839
 
23845
-ac_header_compiler=no
23840
+	ac_header_compiler=no
23846 23841
 fi
23847
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23848
-echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23849
-echo "${ECHO_T}$ac_header_compiler" >&6
23842
+
23843
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23844
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23845
+echo "${ECHO_T}$ac_header_compiler" >&6; }
23850 23846
 
23851 23847
 # Is the header present?
23852
-echo "$as_me:$LINENO: checking $ac_header presence" >&5
23853
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23848
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
23849
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23854 23850
 cat >conftest.$ac_ext <<_ACEOF
23855 23851
 /* confdefs.h.  */
23856 23852
 _ACEOF
... ...
@@ -23859,24 +24443,22 @@ cat >>conftest.$ac_ext <<_ACEOF
23859 23859
 /* end confdefs.h.  */
23860 23860
 #include <$ac_header>
23861 23861
 _ACEOF
23862
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23863
-  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23862
+if { (ac_try="$ac_cpp conftest.$ac_ext"
23863
+case "(($ac_try" in
23864
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23865
+  *) ac_try_echo=$ac_try;;
23866
+esac
23867
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23868
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23864 23869
   ac_status=$?
23865 23870
   grep -v '^ *+' conftest.er1 >conftest.err
23866 23871
   rm -f conftest.er1
23867 23872
   cat conftest.err >&5
23868 23873
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869
-  (exit $ac_status); } >/dev/null; then
23870
-  if test -s conftest.err; then
23871
-    ac_cpp_err=$ac_c_preproc_warn_flag
23872
-    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23873
-  else
23874
-    ac_cpp_err=
23875
-  fi
23876
-else
23877
-  ac_cpp_err=yes
23878
-fi
23879
-if test -z "$ac_cpp_err"; then
23874
+  (exit $ac_status); } >/dev/null && {
23875
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23876
+	 test ! -s conftest.err
23877
+       }; then
23880 23878
   ac_header_preproc=yes
23881 23879
 else
23882 23880
   echo "$as_me: failed program was:" >&5
... ...
@@ -23884,9 +24466,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
23884 23884
 
23885 23885
   ac_header_preproc=no
23886 23886
 fi
23887
+
23887 23888
 rm -f conftest.err conftest.$ac_ext
23888
-echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23889
-echo "${ECHO_T}$ac_header_preproc" >&6
23889
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23890
+echo "${ECHO_T}$ac_header_preproc" >&6; }
23890 23891
 
23891 23892
 # So?  What about this header?
23892 23893
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
... ...
@@ -23910,25 +24493,19 @@ echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\
23910 23910
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23911 23911
     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23912 23912
 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23913
-    (
23914
-      cat <<\_ASBOX
23915
-## ------------------------------------------ ##
23916
-## Report this to the AC_PACKAGE_NAME lists.  ##
23917
-## ------------------------------------------ ##
23918
-_ASBOX
23919
-    ) |
23920
-      sed "s/^/$as_me: WARNING:     /" >&2
23913
+
23921 23914
     ;;
23922 23915
 esac
23923
-echo "$as_me:$LINENO: checking for $ac_header" >&5
23924
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23925
-if eval "test \"\${$as_ac_Header+set}\" = set"; then
23916
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
23917
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23918
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23926 23919
   echo $ECHO_N "(cached) $ECHO_C" >&6
23927 23920
 else
23928 23921
   eval "$as_ac_Header=\$ac_header_preproc"
23929 23922
 fi
23930
-echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23931
-echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23923
+ac_res=`eval echo '${'$as_ac_Header'}'`
23924
+	       { echo "$as_me:$LINENO: result: $ac_res" >&5
23925
+echo "${ECHO_T}$ac_res" >&6; }
23932 23926
 
23933 23927
 fi
23934 23928
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
... ...
@@ -23936,8 +24513,8 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
23936 23936
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23937 23937
 _ACEOF
23938 23938
 
23939
-                echo "$as_me:$LINENO: checking for TCP wrappers library" >&5
23940
-echo $ECHO_N "checking for TCP wrappers library... $ECHO_C" >&6
23939
+                { echo "$as_me:$LINENO: checking for TCP wrappers library" >&5
23940
+echo $ECHO_N "checking for TCP wrappers library... $ECHO_C" >&6; }
23941 23941
                 save_LIBS="$LIBS"
23942 23942
                 LIBS="$LIBS -lwrap $FRESHCLAM_LIBS"
23943 23943
                 cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -23964,29 +24541,25 @@ hosts_access(req)
23964 23964
 }
23965 23965
 _ACEOF
23966 23966
 rm -f conftest.$ac_objext conftest$ac_exeext
23967
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23968
-  (eval $ac_link) 2>conftest.er1
23967
+if { (ac_try="$ac_link"
23968
+case "(($ac_try" in
23969
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23970
+  *) ac_try_echo=$ac_try;;
23971
+esac
23972
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23973
+  (eval "$ac_link") 2>conftest.er1
23969 23974
   ac_status=$?
23970 23975
   grep -v '^ *+' conftest.er1 >conftest.err
23971 23976
   rm -f conftest.er1
23972 23977
   cat conftest.err >&5
23973 23978
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974
-  (exit $ac_status); } &&
23975
-	 { ac_try='test -z "$ac_c_werror_flag"
23976
-			 || test ! -s conftest.err'
23977
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978
-  (eval $ac_try) 2>&5
23979
-  ac_status=$?
23980
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981
-  (exit $ac_status); }; } &&
23982
-	 { ac_try='test -s conftest$ac_exeext'
23983
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984
-  (eval $ac_try) 2>&5
23985
-  ac_status=$?
23986
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987
-  (exit $ac_status); }; }; then
23988
-  echo "$as_me:$LINENO: result: -lwrap" >&5
23989
-echo "${ECHO_T}-lwrap" >&6
23979
+  (exit $ac_status); } && {
23980
+	 test -z "$ac_c_werror_flag" ||
23981
+	 test ! -s conftest.err
23982
+       } && test -s conftest$ac_exeext &&
23983
+       $as_test_x conftest$ac_exeext; then
23984
+  { echo "$as_me:$LINENO: result: -lwrap" >&5
23985
+echo "${ECHO_T}-lwrap" >&6; }
23990 23986
                 have_wrappers=yes
23991 23987
 		LIBS="$save_LIBS"
23992 23988
                 CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lwrap"
... ...
@@ -24020,29 +24593,25 @@ hosts_access(req)
24020 24020
 }
24021 24021
 _ACEOF
24022 24022
 rm -f conftest.$ac_objext conftest$ac_exeext
24023
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24024
-  (eval $ac_link) 2>conftest.er1
24023
+if { (ac_try="$ac_link"
24024
+case "(($ac_try" in
24025
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24026
+  *) ac_try_echo=$ac_try;;
24027
+esac
24028
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24029
+  (eval "$ac_link") 2>conftest.er1
24025 24030
   ac_status=$?
24026 24031
   grep -v '^ *+' conftest.er1 >conftest.err
24027 24032
   rm -f conftest.er1
24028 24033
   cat conftest.err >&5
24029 24034
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030
-  (exit $ac_status); } &&
24031
-	 { ac_try='test -z "$ac_c_werror_flag"
24032
-			 || test ! -s conftest.err'
24033
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034
-  (eval $ac_try) 2>&5
24035
-  ac_status=$?
24036
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037
-  (exit $ac_status); }; } &&
24038
-	 { ac_try='test -s conftest$ac_exeext'
24039
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040
-  (eval $ac_try) 2>&5
24041
-  ac_status=$?
24042
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043
-  (exit $ac_status); }; }; then
24044
-  echo "$as_me:$LINENO: result: -lwrap -lnsl" >&5
24045
-echo "${ECHO_T}-lwrap -lnsl" >&6
24035
+  (exit $ac_status); } && {
24036
+	 test -z "$ac_c_werror_flag" ||
24037
+	 test ! -s conftest.err
24038
+       } && test -s conftest$ac_exeext &&
24039
+       $as_test_x conftest$ac_exeext; then
24040
+  { echo "$as_me:$LINENO: result: -lwrap -lnsl" >&5
24041
+echo "${ECHO_T}-lwrap -lnsl" >&6; }
24046 24042
                 have_wrappers=yes
24047 24043
                 CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lwrap"
24048 24044
 else
... ...
@@ -24050,15 +24619,17 @@ else
24050 24050
 sed 's/^/| /' conftest.$ac_ext >&5
24051 24051
 
24052 24052
 
24053
-                echo "$as_me:$LINENO: result: no" >&5
24054
-echo "${ECHO_T}no" >&6
24053
+                { echo "$as_me:$LINENO: result: no" >&5
24054
+echo "${ECHO_T}no" >&6; }
24055 24055
                 have_wrappers=no
24056 24056
                 LIBS=$save_LIBS
24057 24057
 fi
24058
-rm -f conftest.err conftest.$ac_objext \
24058
+
24059
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24059 24060
       conftest$ac_exeext conftest.$ac_ext
24060 24061
 fi
24061
-rm -f conftest.err conftest.$ac_objext \
24062
+
24063
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24062 24064
       conftest$ac_exeext conftest.$ac_ext
24063 24065
 else
24064 24066
   have_wrappers=no
... ...
@@ -24083,8 +24654,8 @@ echo "$as_me: WARNING: could not find TCP wrappers, support disabled" >&2;}
24083 24083
         fi
24084 24084
 fi
24085 24085
 
24086
-echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
24087
-echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6
24086
+{ echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
24087
+echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6; }
24088 24088
 if test -z "$ac_cv_gethostbyname_args"; then
24089 24089
 cat >conftest.$ac_ext <<_ACEOF
24090 24090
 /* confdefs.h.  */
... ...
@@ -24112,34 +24683,31 @@ hp = gethostbyname_r(name, &h, buffer, 10, &h_errno);
24112 24112
 }
24113 24113
 _ACEOF
24114 24114
 rm -f conftest.$ac_objext
24115
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24116
-  (eval $ac_compile) 2>conftest.er1
24115
+if { (ac_try="$ac_compile"
24116
+case "(($ac_try" in
24117
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24118
+  *) ac_try_echo=$ac_try;;
24119
+esac
24120
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24121
+  (eval "$ac_compile") 2>conftest.er1
24117 24122
   ac_status=$?
24118 24123
   grep -v '^ *+' conftest.er1 >conftest.err
24119 24124
   rm -f conftest.er1
24120 24125
   cat conftest.err >&5
24121 24126
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122
-  (exit $ac_status); } &&
24123
-	 { ac_try='test -z "$ac_c_werror_flag"
24124
-			 || test ! -s conftest.err'
24125
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126
-  (eval $ac_try) 2>&5
24127
-  ac_status=$?
24128
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129
-  (exit $ac_status); }; } &&
24130
-	 { ac_try='test -s conftest.$ac_objext'
24131
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132
-  (eval $ac_try) 2>&5
24133
-  ac_status=$?
24134
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135
-  (exit $ac_status); }; }; then
24127
+  (exit $ac_status); } && {
24128
+	 test -z "$ac_c_werror_flag" ||
24129
+	 test ! -s conftest.err
24130
+       } && test -s conftest.$ac_objext; then
24136 24131
   ac_cv_gethostbyname_args=5
24137 24132
 else
24138 24133
   echo "$as_me: failed program was:" >&5
24139 24134
 sed 's/^/| /' conftest.$ac_ext >&5
24140 24135
 
24136
+
24141 24137
 fi
24142
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24138
+
24139
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143 24140
 fi
24144 24141
 if test -z "$ac_cv_gethostbyname_args"; then
24145 24142
 cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -24167,34 +24735,31 @@ rc = gethostbyname_r(name, &h, &hdata);
24167 24167
 }
24168 24168
 _ACEOF
24169 24169
 rm -f conftest.$ac_objext
24170
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24171
-  (eval $ac_compile) 2>conftest.er1
24170
+if { (ac_try="$ac_compile"
24171
+case "(($ac_try" in
24172
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24173
+  *) ac_try_echo=$ac_try;;
24174
+esac
24175
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24176
+  (eval "$ac_compile") 2>conftest.er1
24172 24177
   ac_status=$?
24173 24178
   grep -v '^ *+' conftest.er1 >conftest.err
24174 24179
   rm -f conftest.er1
24175 24180
   cat conftest.err >&5
24176 24181
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177
-  (exit $ac_status); } &&
24178
-	 { ac_try='test -z "$ac_c_werror_flag"
24179
-			 || test ! -s conftest.err'
24180
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24181
-  (eval $ac_try) 2>&5
24182
-  ac_status=$?
24183
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184
-  (exit $ac_status); }; } &&
24185
-	 { ac_try='test -s conftest.$ac_objext'
24186
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187
-  (eval $ac_try) 2>&5
24188
-  ac_status=$?
24189
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190
-  (exit $ac_status); }; }; then
24182
+  (exit $ac_status); } && {
24183
+	 test -z "$ac_c_werror_flag" ||
24184
+	 test ! -s conftest.err
24185
+       } && test -s conftest.$ac_objext; then
24191 24186
   ac_cv_gethostbyname_args=3
24192 24187
 else
24193 24188
   echo "$as_me: failed program was:" >&5
24194 24189
 sed 's/^/| /' conftest.$ac_ext >&5
24195 24190
 
24191
+
24196 24192
 fi
24197
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24193
+
24194
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198 24195
 fi
24199 24196
 if test -z "$ac_cv_gethostbyname_args"; then
24200 24197
 cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -24225,48 +24790,45 @@ rc = gethostbyname_r(name, &h, buf, 10, &hp, &h_errno);
24225 24225
 }
24226 24226
 _ACEOF
24227 24227
 rm -f conftest.$ac_objext
24228
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24229
-  (eval $ac_compile) 2>conftest.er1
24228
+if { (ac_try="$ac_compile"
24229
+case "(($ac_try" in
24230
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24231
+  *) ac_try_echo=$ac_try;;
24232
+esac
24233
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24234
+  (eval "$ac_compile") 2>conftest.er1
24230 24235
   ac_status=$?
24231 24236
   grep -v '^ *+' conftest.er1 >conftest.err
24232 24237
   rm -f conftest.er1
24233 24238
   cat conftest.err >&5
24234 24239
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235
-  (exit $ac_status); } &&
24236
-	 { ac_try='test -z "$ac_c_werror_flag"
24237
-			 || test ! -s conftest.err'
24238
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24239
-  (eval $ac_try) 2>&5
24240
-  ac_status=$?
24241
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242
-  (exit $ac_status); }; } &&
24243
-	 { ac_try='test -s conftest.$ac_objext'
24244
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245
-  (eval $ac_try) 2>&5
24246
-  ac_status=$?
24247
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248
-  (exit $ac_status); }; }; then
24240
+  (exit $ac_status); } && {
24241
+	 test -z "$ac_c_werror_flag" ||
24242
+	 test ! -s conftest.err
24243
+       } && test -s conftest.$ac_objext; then
24249 24244
   ac_cv_gethostbyname_args=6
24250 24245
 else
24251 24246
   echo "$as_me: failed program was:" >&5
24252 24247
 sed 's/^/| /' conftest.$ac_ext >&5
24253 24248
 
24249
+
24254 24250
 fi
24255
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24251
+
24252
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24256 24253
 fi
24257 24254
 
24258
-# Check whether --enable-gethostbyname_r or --disable-gethostbyname_r was given.
24255
+# Check whether --enable-gethostbyname_r was given.
24259 24256
 if test "${enable_gethostbyname_r+set}" = set; then
24260
-  enableval="$enable_gethostbyname_r"
24261
-  use_gethostbyname_r=$enableval
24262
-fi;
24257
+  enableval=$enable_gethostbyname_r; use_gethostbyname_r=$enableval
24258
+fi
24259
+
24263 24260
 
24264 24261
 if test "$use_gethostbyname_r" = "no"; then
24265
-    echo "$as_me:$LINENO: result: support disabled" >&5
24266
-echo "${ECHO_T}support disabled" >&6
24262
+    { echo "$as_me:$LINENO: result: support disabled" >&5
24263
+echo "${ECHO_T}support disabled" >&6; }
24267 24264
 elif test -z "$ac_cv_gethostbyname_args"; then
24268
-    echo "$as_me:$LINENO: result: no" >&5
24269
-echo "${ECHO_T}no" >&6
24265
+    { echo "$as_me:$LINENO: result: no" >&5
24266
+echo "${ECHO_T}no" >&6; }
24270 24267
 else
24271 24268
     if test "$ac_cv_gethostbyname_args" = 3; then
24272 24269
 
... ...
@@ -24287,13 +24849,13 @@ cat >>confdefs.h <<\_ACEOF
24287 24287
 _ACEOF
24288 24288
 
24289 24289
     fi
24290
-    echo "$as_me:$LINENO: result: yes, and it takes $ac_cv_gethostbyname_args arguments" >&5
24291
-echo "${ECHO_T}yes, and it takes $ac_cv_gethostbyname_args arguments" >&6
24290
+    { echo "$as_me:$LINENO: result: yes, and it takes $ac_cv_gethostbyname_args arguments" >&5
24291
+echo "${ECHO_T}yes, and it takes $ac_cv_gethostbyname_args arguments" >&6; }
24292 24292
 fi
24293 24293
 
24294 24294
 
24295
-echo "$as_me:$LINENO: checking for readdir_r" >&5
24296
-echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
24295
+{ echo "$as_me:$LINENO: checking for readdir_r" >&5
24296
+echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
24297 24297
 if test -z "$ac_cv_readdir_args"; then
24298 24298
     cat >conftest.$ac_ext <<_ACEOF
24299 24299
 /* confdefs.h.  */
... ...
@@ -24318,34 +24880,31 @@ main ()
24318 24318
 }
24319 24319
 _ACEOF
24320 24320
 rm -f conftest.$ac_objext
24321
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24322
-  (eval $ac_compile) 2>conftest.er1
24321
+if { (ac_try="$ac_compile"
24322
+case "(($ac_try" in
24323
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24324
+  *) ac_try_echo=$ac_try;;
24325
+esac
24326
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24327
+  (eval "$ac_compile") 2>conftest.er1
24323 24328
   ac_status=$?
24324 24329
   grep -v '^ *+' conftest.er1 >conftest.err
24325 24330
   rm -f conftest.er1
24326 24331
   cat conftest.err >&5
24327 24332
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328
-  (exit $ac_status); } &&
24329
-	 { ac_try='test -z "$ac_c_werror_flag"
24330
-			 || test ! -s conftest.err'
24331
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24332
-  (eval $ac_try) 2>&5
24333
-  ac_status=$?
24334
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335
-  (exit $ac_status); }; } &&
24336
-	 { ac_try='test -s conftest.$ac_objext'
24337
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338
-  (eval $ac_try) 2>&5
24339
-  ac_status=$?
24340
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341
-  (exit $ac_status); }; }; then
24333
+  (exit $ac_status); } && {
24334
+	 test -z "$ac_c_werror_flag" ||
24335
+	 test ! -s conftest.err
24336
+       } && test -s conftest.$ac_objext; then
24342 24337
   ac_cv_readdir_args=2
24343 24338
 else
24344 24339
   echo "$as_me: failed program was:" >&5
24345 24340
 sed 's/^/| /' conftest.$ac_ext >&5
24346 24341
 
24342
+
24347 24343
 fi
24348
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24344
+
24345
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24349 24346
 fi
24350 24347
 if test -z "$ac_cv_readdir_args"; then
24351 24348
     cat >conftest.$ac_ext <<_ACEOF
... ...
@@ -24372,50 +24931,47 @@ main ()
24372 24372
 }
24373 24373
 _ACEOF
24374 24374
 rm -f conftest.$ac_objext
24375
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24376
-  (eval $ac_compile) 2>conftest.er1
24375
+if { (ac_try="$ac_compile"
24376
+case "(($ac_try" in
24377
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24378
+  *) ac_try_echo=$ac_try;;
24379
+esac
24380
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24381
+  (eval "$ac_compile") 2>conftest.er1
24377 24382
   ac_status=$?
24378 24383
   grep -v '^ *+' conftest.er1 >conftest.err
24379 24384
   rm -f conftest.er1
24380 24385
   cat conftest.err >&5
24381 24386
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382
-  (exit $ac_status); } &&
24383
-	 { ac_try='test -z "$ac_c_werror_flag"
24384
-			 || test ! -s conftest.err'
24385
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386
-  (eval $ac_try) 2>&5
24387
-  ac_status=$?
24388
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389
-  (exit $ac_status); }; } &&
24390
-	 { ac_try='test -s conftest.$ac_objext'
24391
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24392
-  (eval $ac_try) 2>&5
24393
-  ac_status=$?
24394
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24395
-  (exit $ac_status); }; }; then
24387
+  (exit $ac_status); } && {
24388
+	 test -z "$ac_c_werror_flag" ||
24389
+	 test ! -s conftest.err
24390
+       } && test -s conftest.$ac_objext; then
24396 24391
   ac_cv_readdir_args=3
24397 24392
 else
24398 24393
   echo "$as_me: failed program was:" >&5
24399 24394
 sed 's/^/| /' conftest.$ac_ext >&5
24400 24395
 
24396
+
24401 24397
 fi
24402
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24398
+
24399
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403 24400
 fi
24404 24401
 
24405
-# Check whether --enable-readdir_r or --disable-readdir_r was given.
24402
+# Check whether --enable-readdir_r was given.
24406 24403
 if test "${enable_readdir_r+set}" = set; then
24407
-  enableval="$enable_readdir_r"
24408
-  enable_readdir_r=$enableval
24404
+  enableval=$enable_readdir_r; enable_readdir_r=$enableval
24409 24405
 else
24410 24406
   enable_readdir_r="no"
24411
-fi;
24407
+fi
24408
+
24412 24409
 
24413 24410
 if test "$enable_readdir_r" = "no"; then
24414
-    echo "$as_me:$LINENO: result: support disabled" >&5
24415
-echo "${ECHO_T}support disabled" >&6
24411
+    { echo "$as_me:$LINENO: result: support disabled" >&5
24412
+echo "${ECHO_T}support disabled" >&6; }
24416 24413
 elif test -z "$ac_cv_readdir_args"; then
24417
-    echo "$as_me:$LINENO: result: no" >&5
24418
-echo "${ECHO_T}no" >&6
24414
+    { echo "$as_me:$LINENO: result: no" >&5
24415
+echo "${ECHO_T}no" >&6; }
24419 24416
 else
24420 24417
     if test "$ac_cv_readdir_args" = 2; then
24421 24418
 
... ...
@@ -24430,12 +24986,12 @@ cat >>confdefs.h <<\_ACEOF
24430 24430
 _ACEOF
24431 24431
 
24432 24432
     fi
24433
-    echo "$as_me:$LINENO: result: yes, and it takes $ac_cv_readdir_args arguments" >&5
24434
-echo "${ECHO_T}yes, and it takes $ac_cv_readdir_args arguments" >&6
24433
+    { echo "$as_me:$LINENO: result: yes, and it takes $ac_cv_readdir_args arguments" >&5
24434
+echo "${ECHO_T}yes, and it takes $ac_cv_readdir_args arguments" >&6; }
24435 24435
 fi
24436 24436
 
24437
-echo "$as_me:$LINENO: checking for ctime_r" >&5
24438
-echo $ECHO_N "checking for ctime_r... $ECHO_C" >&6
24437
+{ echo "$as_me:$LINENO: checking for ctime_r" >&5
24438
+echo $ECHO_N "checking for ctime_r... $ECHO_C" >&6; }
24439 24439
 if test "$ac_cv_func_ctime_r" = "yes"; then
24440 24440
     cat >conftest.$ac_ext <<_ACEOF
24441 24441
 /* confdefs.h.  */
... ...
@@ -24459,27 +25015,22 @@ main ()
24459 24459
 }
24460 24460
 _ACEOF
24461 24461
 rm -f conftest.$ac_objext
24462
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24463
-  (eval $ac_compile) 2>conftest.er1
24462
+if { (ac_try="$ac_compile"
24463
+case "(($ac_try" in
24464
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24465
+  *) ac_try_echo=$ac_try;;
24466
+esac
24467
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24468
+  (eval "$ac_compile") 2>conftest.er1
24464 24469
   ac_status=$?
24465 24470
   grep -v '^ *+' conftest.er1 >conftest.err
24466 24471
   rm -f conftest.er1
24467 24472
   cat conftest.err >&5
24468 24473
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469
-  (exit $ac_status); } &&
24470
-	 { ac_try='test -z "$ac_c_werror_flag"
24471
-			 || test ! -s conftest.err'
24472
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473
-  (eval $ac_try) 2>&5
24474
-  ac_status=$?
24475
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476
-  (exit $ac_status); }; } &&
24477
-	 { ac_try='test -s conftest.$ac_objext'
24478
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479
-  (eval $ac_try) 2>&5
24480
-  ac_status=$?
24481
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482
-  (exit $ac_status); }; }; then
24474
+  (exit $ac_status); } && {
24475
+	 test -z "$ac_c_werror_flag" ||
24476
+	 test ! -s conftest.err
24477
+       } && test -s conftest.$ac_objext; then
24483 24478
 
24484 24479
 	ac_cv_ctime_args=3
24485 24480
 
... ...
@@ -24501,14 +25052,15 @@ _ACEOF
24501 24501
 
24502 24502
 
24503 24503
 fi
24504
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24505 24504
 
24506
-    echo "$as_me:$LINENO: result: yes, and it takes $ac_cv_ctime_args arguments" >&5
24507
-echo "${ECHO_T}yes, and it takes $ac_cv_ctime_args arguments" >&6
24505
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24506
+
24507
+    { echo "$as_me:$LINENO: result: yes, and it takes $ac_cv_ctime_args arguments" >&5
24508
+echo "${ECHO_T}yes, and it takes $ac_cv_ctime_args arguments" >&6; }
24508 24509
 fi
24509 24510
 
24510
-echo "$as_me:$LINENO: checking for socklen_t" >&5
24511
-echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
24511
+{ echo "$as_me:$LINENO: checking for socklen_t" >&5
24512
+echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
24512 24513
 if test "${ac_cv_socklen_t+set}" = set; then
24513 24514
   echo $ECHO_N "(cached) $ECHO_C" >&6
24514 24515
 else
... ...
@@ -24536,27 +25088,22 @@ main ()
24536 24536
 }
24537 24537
 _ACEOF
24538 24538
 rm -f conftest.$ac_objext
24539
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24540
-  (eval $ac_compile) 2>conftest.er1
24539
+if { (ac_try="$ac_compile"
24540
+case "(($ac_try" in
24541
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24542
+  *) ac_try_echo=$ac_try;;
24543
+esac
24544
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24545
+  (eval "$ac_compile") 2>conftest.er1
24541 24546
   ac_status=$?
24542 24547
   grep -v '^ *+' conftest.er1 >conftest.err
24543 24548
   rm -f conftest.er1
24544 24549
   cat conftest.err >&5
24545 24550
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546
-  (exit $ac_status); } &&
24547
-	 { ac_try='test -z "$ac_c_werror_flag"
24548
-			 || test ! -s conftest.err'
24549
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24550
-  (eval $ac_try) 2>&5
24551
-  ac_status=$?
24552
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24553
-  (exit $ac_status); }; } &&
24554
-	 { ac_try='test -s conftest.$ac_objext'
24555
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24556
-  (eval $ac_try) 2>&5
24557
-  ac_status=$?
24558
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559
-  (exit $ac_status); }; }; then
24551
+  (exit $ac_status); } && {
24552
+	 test -z "$ac_c_werror_flag" ||
24553
+	 test ! -s conftest.err
24554
+       } && test -s conftest.$ac_objext; then
24560 24555
 
24561 24556
 	ac_cv_socklen_t=yes
24562 24557
 
... ...
@@ -24564,16 +25111,18 @@ else
24564 24564
   echo "$as_me: failed program was:" >&5
24565 24565
 sed 's/^/| /' conftest.$ac_ext >&5
24566 24566
 
24567
+
24567 24568
 fi
24568
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24569
+
24570
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569 24571
 
24570 24572
 fi
24571 24573
 
24572
-echo "$as_me:$LINENO: result: $ac_cv_socklen_t" >&5
24573
-echo "${ECHO_T}$ac_cv_socklen_t" >&6
24574
+{ echo "$as_me:$LINENO: result: $ac_cv_socklen_t" >&5
24575
+echo "${ECHO_T}$ac_cv_socklen_t" >&6; }
24574 24576
     if test $ac_cv_socklen_t = no; then
24575
-    echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
24576
-echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
24577
+    { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
24578
+echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; }
24577 24579
     if test "${ac_cv_socklen_t_equiv+set}" = set; then
24578 24580
   echo $ECHO_N "(cached) $ECHO_C" >&6
24579 24581
 else
... ...
@@ -24602,27 +25151,22 @@ main ()
24602 24602
 }
24603 24603
 _ACEOF
24604 24604
 rm -f conftest.$ac_objext
24605
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24606
-  (eval $ac_compile) 2>conftest.er1
24605
+if { (ac_try="$ac_compile"
24606
+case "(($ac_try" in
24607
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24608
+  *) ac_try_echo=$ac_try;;
24609
+esac
24610
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24611
+  (eval "$ac_compile") 2>conftest.er1
24607 24612
   ac_status=$?
24608 24613
   grep -v '^ *+' conftest.er1 >conftest.err
24609 24614
   rm -f conftest.er1
24610 24615
   cat conftest.err >&5
24611 24616
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612
-  (exit $ac_status); } &&
24613
-	 { ac_try='test -z "$ac_c_werror_flag"
24614
-			 || test ! -s conftest.err'
24615
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616
-  (eval $ac_try) 2>&5
24617
-  ac_status=$?
24618
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619
-  (exit $ac_status); }; } &&
24620
-	 { ac_try='test -s conftest.$ac_objext'
24621
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622
-  (eval $ac_try) 2>&5
24623
-  ac_status=$?
24624
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625
-  (exit $ac_status); }; }; then
24617
+  (exit $ac_status); } && {
24618
+	 test -z "$ac_c_werror_flag" ||
24619
+	 test ! -s conftest.err
24620
+       } && test -s conftest.$ac_objext; then
24626 24621
 
24627 24622
 		ac_cv_socklen_t_equiv="$t"
24628 24623
 		break
... ...
@@ -24631,14 +25175,16 @@ else
24631 24631
   echo "$as_me: failed program was:" >&5
24632 24632
 sed 's/^/| /' conftest.$ac_ext >&5
24633 24633
 
24634
+
24634 24635
 fi
24635
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24636
+
24637
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24636 24638
 	done
24637 24639
 
24638 24640
 fi
24639 24641
 
24640
-    echo "$as_me:$LINENO: result: $ac_cv_socklen_t_equiv" >&5
24641
-echo "${ECHO_T}$ac_cv_socklen_t_equiv" >&6
24642
+    { echo "$as_me:$LINENO: result: $ac_cv_socklen_t_equiv" >&5
24643
+echo "${ECHO_T}$ac_cv_socklen_t_equiv" >&6; }
24642 24644
 
24643 24645
 cat >>confdefs.h <<_ACEOF
24644 24646
 #define socklen_t $ac_cv_socklen_t_equiv
... ...
@@ -24650,22 +25196,22 @@ if test "$test_clamav" = "yes"
24650 24650
 then
24651 24651
         if test "$use_id" = "no"
24652 24652
     then
24653
-	echo "$as_me:$LINENO: checking for $clamav_user in /etc/passwd" >&5
24654
-echo $ECHO_N "checking for $clamav_user in /etc/passwd... $ECHO_C" >&6
24653
+	{ echo "$as_me:$LINENO: checking for $clamav_user in /etc/passwd" >&5
24654
+echo $ECHO_N "checking for $clamav_user in /etc/passwd... $ECHO_C" >&6; }
24655 24655
 	if test -r /etc/passwd; then
24656 24656
 	    clamavuser=`cat /etc/passwd|grep "^$clamav_user:"`
24657 24657
 	    clamavgroup=`cat /etc/group|grep "^$clamav_group:"`
24658 24658
 	fi
24659 24659
     else
24660
-	echo "$as_me:$LINENO: checking for $clamav_user using id" >&5
24661
-echo $ECHO_N "checking for $clamav_user using id... $ECHO_C" >&6
24660
+	{ echo "$as_me:$LINENO: checking for $clamav_user using id" >&5
24661
+echo $ECHO_N "checking for $clamav_user using id... $ECHO_C" >&6; }
24662 24662
 	id $clamav_user > /dev/null 2>&1
24663 24663
 	if test "$?" = 0 ; then
24664 24664
 	    clamavuser=1
24665 24665
 	    # Extract the first word of "getent", so it can be a program name with args.
24666 24666
 set dummy getent; ac_word=$2
24667
-echo "$as_me:$LINENO: checking for $ac_word" >&5
24668
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24667
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24668
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24669 24669
 if test "${ac_cv_path_GETENT+set}" = set; then
24670 24670
   echo $ECHO_N "(cached) $ECHO_C" >&6
24671 24671
 else
... ...
@@ -24680,27 +25226,28 @@ do
24680 24680
   IFS=$as_save_IFS
24681 24681
   test -z "$as_dir" && as_dir=.
24682 24682
   for ac_exec_ext in '' $ac_executable_extensions; do
24683
-  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24683
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24684 24684
     ac_cv_path_GETENT="$as_dir/$ac_word$ac_exec_ext"
24685 24685
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24686 24686
     break 2
24687 24687
   fi
24688 24688
 done
24689 24689
 done
24690
+IFS=$as_save_IFS
24690 24691
 
24691 24692
   ;;
24692 24693
 esac
24693 24694
 fi
24694 24695
 GETENT=$ac_cv_path_GETENT
24695
-
24696 24696
 if test -n "$GETENT"; then
24697
-  echo "$as_me:$LINENO: result: $GETENT" >&5
24698
-echo "${ECHO_T}$GETENT" >&6
24697
+  { echo "$as_me:$LINENO: result: $GETENT" >&5
24698
+echo "${ECHO_T}$GETENT" >&6; }
24699 24699
 else
24700
-  echo "$as_me:$LINENO: result: no" >&5
24701
-echo "${ECHO_T}no" >&6
24700
+  { echo "$as_me:$LINENO: result: no" >&5
24701
+echo "${ECHO_T}no" >&6; }
24702 24702
 fi
24703 24703
 
24704
+
24704 24705
 	    if test -n "$GETENT" ; then
24705 24706
 		clamavgroup=`$GETENT group | grep "^${clamav_group}:"`
24706 24707
 	    else
... ...
@@ -24711,30 +25258,30 @@ fi
24711 24711
 
24712 24712
     if test "$use_netinfo" = "yes"
24713 24713
     then
24714
-	echo "$as_me:$LINENO: checking for $clamav_user using netinfo" >&5
24715
-echo $ECHO_N "checking for $clamav_user using netinfo... $ECHO_C" >&6
24714
+	{ echo "$as_me:$LINENO: checking for $clamav_user using netinfo" >&5
24715
+echo $ECHO_N "checking for $clamav_user using netinfo... $ECHO_C" >&6; }
24716 24716
         clamavuser=`/usr/bin/nidump passwd . |grep ${clamav_user}`
24717 24717
         clamavgroup=`/usr/bin/nidump group . |grep ${clamav_group}`
24718 24718
     fi
24719 24719
 
24720 24720
     if test "$use_yp" = "yes"
24721 24721
     then
24722
-	echo "$as_me:$LINENO: checking for $clamav_user using ypmatch" >&5
24723
-echo $ECHO_N "checking for $clamav_user using ypmatch... $ECHO_C" >&6
24722
+	{ echo "$as_me:$LINENO: checking for $clamav_user using ypmatch" >&5
24723
+echo $ECHO_N "checking for $clamav_user using ypmatch... $ECHO_C" >&6; }
24724 24724
         clamavuser=`ypmatch ${clamav_user} passwd`
24725 24725
         clamavgroup=`ypmatch ${clamav_group} group`
24726 24726
     fi
24727 24727
 
24728 24728
     if test -z "$clamavuser" || test -z "$clamavgroup"
24729 24729
     then
24730
-	echo "$as_me:$LINENO: result: no" >&5
24731
-echo "${ECHO_T}no" >&6
24730
+	{ echo "$as_me:$LINENO: result: no" >&5
24731
+echo "${ECHO_T}no" >&6; }
24732 24732
 	{ { echo "$as_me:$LINENO: error: User $clamav_user (and/or group $clamav_group) doesn't exist. Please read the documentation !" >&5
24733 24733
 echo "$as_me: error: User $clamav_user (and/or group $clamav_group) doesn't exist. Please read the documentation !" >&2;}
24734 24734
    { (exit 1); exit 1; }; }
24735 24735
     else
24736
-	echo "$as_me:$LINENO: result: yes, user $clamav_user and group $clamav_group" >&5
24737
-echo "${ECHO_T}yes, user $clamav_user and group $clamav_group" >&6
24736
+	{ echo "$as_me:$LINENO: result: yes, user $clamav_user and group $clamav_group" >&5
24737
+echo "${ECHO_T}yes, user $clamav_user and group $clamav_group" >&6; }
24738 24738
         CLAMAVUSER="$clamav_user"
24739 24739
         CLAMAVGROUP="$clamav_group"
24740 24740
 
... ...
@@ -24742,8 +25289,8 @@ echo "${ECHO_T}yes, user $clamav_user and group $clamav_group" >&6
24742 24742
     fi
24743 24743
 fi
24744 24744
 
24745
-echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
24746
-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
24745
+{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
24746
+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
24747 24747
 if test "${ac_cv_c_const+set}" = set; then
24748 24748
   echo $ECHO_N "(cached) $ECHO_C" >&6
24749 24749
 else
... ...
@@ -24761,10 +25308,10 @@ main ()
24761 24761
 #ifndef __cplusplus
24762 24762
   /* Ultrix mips cc rejects this.  */
24763 24763
   typedef int charset[2];
24764
-  const charset x;
24764
+  const charset cs;
24765 24765
   /* SunOS 4.1.1 cc rejects this.  */
24766
-  char const *const *ccp;
24767
-  char **p;
24766
+  char const *const *pcpcc;
24767
+  char **ppc;
24768 24768
   /* NEC SVR4.0.2 mips cc rejects this.  */
24769 24769
   struct point {int x, y;};
24770 24770
   static struct point const zero = {0,0};
... ...
@@ -24773,16 +25320,17 @@ main ()
24773 24773
      an arm of an if-expression whose if-part is not a constant
24774 24774
      expression */
24775 24775
   const char *g = "string";
24776
-  ccp = &g + (g ? g-g : 0);
24776
+  pcpcc = &g + (g ? g-g : 0);
24777 24777
   /* HPUX 7.0 cc rejects these. */
24778
-  ++ccp;
24779
-  p = (char**) ccp;
24780
-  ccp = (char const *const *) p;
24778
+  ++pcpcc;
24779
+  ppc = (char**) pcpcc;
24780
+  pcpcc = (char const *const *) ppc;
24781 24781
   { /* SCO 3.2v4 cc rejects this.  */
24782 24782
     char *t;
24783 24783
     char const *s = 0 ? (char *) 0 : (char const *) 0;
24784 24784
 
24785 24785
     *t++ = 0;
24786
+    if (s) return 0;
24786 24787
   }
24787 24788
   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
24788 24789
     int x[] = {25, 17};
... ...
@@ -24801,7 +25349,9 @@ main ()
24801 24801
   }
24802 24802
   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
24803 24803
     const int foo = 10;
24804
+    if (!foo) return 0;
24804 24805
   }
24806
+  return !cs[0] && !zero.x;
24805 24807
 #endif
24806 24808
 
24807 24809
   ;
... ...
@@ -24809,38 +25359,34 @@ main ()
24809 24809
 }
24810 24810
 _ACEOF
24811 24811
 rm -f conftest.$ac_objext
24812
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24813
-  (eval $ac_compile) 2>conftest.er1
24812
+if { (ac_try="$ac_compile"
24813
+case "(($ac_try" in
24814
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24815
+  *) ac_try_echo=$ac_try;;
24816
+esac
24817
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24818
+  (eval "$ac_compile") 2>conftest.er1
24814 24819
   ac_status=$?
24815 24820
   grep -v '^ *+' conftest.er1 >conftest.err
24816 24821
   rm -f conftest.er1
24817 24822
   cat conftest.err >&5
24818 24823
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819
-  (exit $ac_status); } &&
24820
-	 { ac_try='test -z "$ac_c_werror_flag"
24821
-			 || test ! -s conftest.err'
24822
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823
-  (eval $ac_try) 2>&5
24824
-  ac_status=$?
24825
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826
-  (exit $ac_status); }; } &&
24827
-	 { ac_try='test -s conftest.$ac_objext'
24828
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829
-  (eval $ac_try) 2>&5
24830
-  ac_status=$?
24831
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832
-  (exit $ac_status); }; }; then
24824
+  (exit $ac_status); } && {
24825
+	 test -z "$ac_c_werror_flag" ||
24826
+	 test ! -s conftest.err
24827
+       } && test -s conftest.$ac_objext; then
24833 24828
   ac_cv_c_const=yes
24834 24829
 else
24835 24830
   echo "$as_me: failed program was:" >&5
24836 24831
 sed 's/^/| /' conftest.$ac_ext >&5
24837 24832
 
24838
-ac_cv_c_const=no
24833
+	ac_cv_c_const=no
24839 24834
 fi
24840
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24835
+
24836
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24841 24837
 fi
24842
-echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
24843
-echo "${ECHO_T}$ac_cv_c_const" >&6
24838
+{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
24839
+echo "${ECHO_T}$ac_cv_c_const" >&6; }
24844 24840
 if test $ac_cv_c_const = no; then
24845 24841
 
24846 24842
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -24849,8 +25395,8 @@ _ACEOF
24849 24849
 
24850 24850
 fi
24851 24851
 
24852
-echo "$as_me:$LINENO: checking for inline" >&5
24853
-echo $ECHO_N "checking for inline... $ECHO_C" >&6
24852
+{ echo "$as_me:$LINENO: checking for inline" >&5
24853
+echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
24854 24854
 if test "${ac_cv_c_inline+set}" = set; then
24855 24855
   echo $ECHO_N "(cached) $ECHO_C" >&6
24856 24856
 else
... ...
@@ -24870,39 +25416,37 @@ $ac_kw foo_t foo () {return 0; }
24870 24870
 
24871 24871
 _ACEOF
24872 24872
 rm -f conftest.$ac_objext
24873
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24874
-  (eval $ac_compile) 2>conftest.er1
24873
+if { (ac_try="$ac_compile"
24874
+case "(($ac_try" in
24875
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24876
+  *) ac_try_echo=$ac_try;;
24877
+esac
24878
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24879
+  (eval "$ac_compile") 2>conftest.er1
24875 24880
   ac_status=$?
24876 24881
   grep -v '^ *+' conftest.er1 >conftest.err
24877 24882
   rm -f conftest.er1
24878 24883
   cat conftest.err >&5
24879 24884
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880
-  (exit $ac_status); } &&
24881
-	 { ac_try='test -z "$ac_c_werror_flag"
24882
-			 || test ! -s conftest.err'
24883
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24884
-  (eval $ac_try) 2>&5
24885
-  ac_status=$?
24886
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887
-  (exit $ac_status); }; } &&
24888
-	 { ac_try='test -s conftest.$ac_objext'
24889
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24890
-  (eval $ac_try) 2>&5
24891
-  ac_status=$?
24892
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893
-  (exit $ac_status); }; }; then
24894
-  ac_cv_c_inline=$ac_kw; break
24885
+  (exit $ac_status); } && {
24886
+	 test -z "$ac_c_werror_flag" ||
24887
+	 test ! -s conftest.err
24888
+       } && test -s conftest.$ac_objext; then
24889
+  ac_cv_c_inline=$ac_kw
24895 24890
 else
24896 24891
   echo "$as_me: failed program was:" >&5
24897 24892
 sed 's/^/| /' conftest.$ac_ext >&5
24898 24893
 
24894
+
24899 24895
 fi
24900
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24896
+
24897
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898
+  test "$ac_cv_c_inline" != no && break
24901 24899
 done
24902 24900
 
24903 24901
 fi
24904
-echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
24905
-echo "${ECHO_T}$ac_cv_c_inline" >&6
24902
+{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
24903
+echo "${ECHO_T}$ac_cv_c_inline" >&6; }
24906 24904
 
24907 24905
 
24908 24906
 case $ac_cv_c_inline in
... ...
@@ -24920,8 +25464,8 @@ _ACEOF
24920 24920
     ;;
24921 24921
 esac
24922 24922
 
24923
-echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24924
-echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
24923
+{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24924
+echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24925 24925
 if test "${ac_cv_c_bigendian+set}" = set; then
24926 24926
   echo $ECHO_N "(cached) $ECHO_C" >&6
24927 24927
 else
... ...
@@ -24938,7 +25482,8 @@ cat >>conftest.$ac_ext <<_ACEOF
24938 24938
 int
24939 24939
 main ()
24940 24940
 {
24941
-#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24941
+#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
24942
+	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
24942 24943
  bogus endian macros
24943 24944
 #endif
24944 24945
 
... ...
@@ -24947,27 +25492,22 @@ main ()
24947 24947
 }
24948 24948
 _ACEOF
24949 24949
 rm -f conftest.$ac_objext
24950
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24951
-  (eval $ac_compile) 2>conftest.er1
24950
+if { (ac_try="$ac_compile"
24951
+case "(($ac_try" in
24952
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24953
+  *) ac_try_echo=$ac_try;;
24954
+esac
24955
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24956
+  (eval "$ac_compile") 2>conftest.er1
24952 24957
   ac_status=$?
24953 24958
   grep -v '^ *+' conftest.er1 >conftest.err
24954 24959
   rm -f conftest.er1
24955 24960
   cat conftest.err >&5
24956 24961
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957
-  (exit $ac_status); } &&
24958
-	 { ac_try='test -z "$ac_c_werror_flag"
24959
-			 || test ! -s conftest.err'
24960
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961
-  (eval $ac_try) 2>&5
24962
-  ac_status=$?
24963
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964
-  (exit $ac_status); }; } &&
24965
-	 { ac_try='test -s conftest.$ac_objext'
24966
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967
-  (eval $ac_try) 2>&5
24968
-  ac_status=$?
24969
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970
-  (exit $ac_status); }; }; then
24962
+  (exit $ac_status); } && {
24963
+	 test -z "$ac_c_werror_flag" ||
24964
+	 test ! -s conftest.err
24965
+       } && test -s conftest.$ac_objext; then
24971 24966
   # It does; now see whether it defined to BIG_ENDIAN or not.
24972 24967
 cat >conftest.$ac_ext <<_ACEOF
24973 24968
 /* confdefs.h.  */
... ...
@@ -24990,40 +25530,36 @@ main ()
24990 24990
 }
24991 24991
 _ACEOF
24992 24992
 rm -f conftest.$ac_objext
24993
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24994
-  (eval $ac_compile) 2>conftest.er1
24993
+if { (ac_try="$ac_compile"
24994
+case "(($ac_try" in
24995
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24996
+  *) ac_try_echo=$ac_try;;
24997
+esac
24998
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24999
+  (eval "$ac_compile") 2>conftest.er1
24995 25000
   ac_status=$?
24996 25001
   grep -v '^ *+' conftest.er1 >conftest.err
24997 25002
   rm -f conftest.er1
24998 25003
   cat conftest.err >&5
24999 25004
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000
-  (exit $ac_status); } &&
25001
-	 { ac_try='test -z "$ac_c_werror_flag"
25002
-			 || test ! -s conftest.err'
25003
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004
-  (eval $ac_try) 2>&5
25005
-  ac_status=$?
25006
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007
-  (exit $ac_status); }; } &&
25008
-	 { ac_try='test -s conftest.$ac_objext'
25009
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25010
-  (eval $ac_try) 2>&5
25011
-  ac_status=$?
25012
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013
-  (exit $ac_status); }; }; then
25005
+  (exit $ac_status); } && {
25006
+	 test -z "$ac_c_werror_flag" ||
25007
+	 test ! -s conftest.err
25008
+       } && test -s conftest.$ac_objext; then
25014 25009
   ac_cv_c_bigendian=yes
25015 25010
 else
25016 25011
   echo "$as_me: failed program was:" >&5
25017 25012
 sed 's/^/| /' conftest.$ac_ext >&5
25018 25013
 
25019
-ac_cv_c_bigendian=no
25014
+	ac_cv_c_bigendian=no
25020 25015
 fi
25021
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25016
+
25017
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25022 25018
 else
25023 25019
   echo "$as_me: failed program was:" >&5
25024 25020
 sed 's/^/| /' conftest.$ac_ext >&5
25025 25021
 
25026
-# It does not; compile a test program.
25022
+	# It does not; compile a test program.
25027 25023
 if test "$cross_compiling" = yes; then
25028 25024
   # try to guess the endianness by grepping values into an object file
25029 25025
   ac_cv_c_bigendian=unknown
... ...
@@ -25033,11 +25569,11 @@ _ACEOF
25033 25033
 cat confdefs.h >>conftest.$ac_ext
25034 25034
 cat >>conftest.$ac_ext <<_ACEOF
25035 25035
 /* end confdefs.h.  */
25036
-short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
25037
-short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
25036
+short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
25037
+short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
25038 25038
 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
25039
-short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
25040
-short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
25039
+short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
25040
+short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
25041 25041
 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
25042 25042
 int
25043 25043
 main ()
... ...
@@ -25048,27 +25584,22 @@ main ()
25048 25048
 }
25049 25049
 _ACEOF
25050 25050
 rm -f conftest.$ac_objext
25051
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25052
-  (eval $ac_compile) 2>conftest.er1
25051
+if { (ac_try="$ac_compile"
25052
+case "(($ac_try" in
25053
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25054
+  *) ac_try_echo=$ac_try;;
25055
+esac
25056
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25057
+  (eval "$ac_compile") 2>conftest.er1
25053 25058
   ac_status=$?
25054 25059
   grep -v '^ *+' conftest.er1 >conftest.err
25055 25060
   rm -f conftest.er1
25056 25061
   cat conftest.err >&5
25057 25062
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058
-  (exit $ac_status); } &&
25059
-	 { ac_try='test -z "$ac_c_werror_flag"
25060
-			 || test ! -s conftest.err'
25061
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062
-  (eval $ac_try) 2>&5
25063
-  ac_status=$?
25064
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065
-  (exit $ac_status); }; } &&
25066
-	 { ac_try='test -s conftest.$ac_objext'
25067
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068
-  (eval $ac_try) 2>&5
25069
-  ac_status=$?
25070
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071
-  (exit $ac_status); }; }; then
25063
+  (exit $ac_status); } && {
25064
+	 test -z "$ac_c_werror_flag" ||
25065
+	 test ! -s conftest.err
25066
+       } && test -s conftest.$ac_objext; then
25072 25067
   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
25073 25068
   ac_cv_c_bigendian=yes
25074 25069
 fi
... ...
@@ -25084,8 +25615,10 @@ else
25084 25084
   echo "$as_me: failed program was:" >&5
25085 25085
 sed 's/^/| /' conftest.$ac_ext >&5
25086 25086
 
25087
+
25087 25088
 fi
25088
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25089
+
25090
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25089 25091
 else
25090 25092
   cat >conftest.$ac_ext <<_ACEOF
25091 25093
 /* confdefs.h.  */
... ...
@@ -25093,27 +25626,41 @@ _ACEOF
25093 25093
 cat confdefs.h >>conftest.$ac_ext
25094 25094
 cat >>conftest.$ac_ext <<_ACEOF
25095 25095
 /* end confdefs.h.  */
25096
+$ac_includes_default
25096 25097
 int
25097 25098
 main ()
25098 25099
 {
25100
+
25099 25101
   /* Are we little or big endian?  From Harbison&Steele.  */
25100 25102
   union
25101 25103
   {
25102
-    long l;
25103
-    char c[sizeof (long)];
25104
+    long int l;
25105
+    char c[sizeof (long int)];
25104 25106
   } u;
25105 25107
   u.l = 1;
25106
-  exit (u.c[sizeof (long) - 1] == 1);
25108
+  return u.c[sizeof (long int) - 1] == 1;
25109
+
25110
+  ;
25111
+  return 0;
25107 25112
 }
25108 25113
 _ACEOF
25109 25114
 rm -f conftest$ac_exeext
25110
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25111
-  (eval $ac_link) 2>&5
25115
+if { (ac_try="$ac_link"
25116
+case "(($ac_try" in
25117
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25118
+  *) ac_try_echo=$ac_try;;
25119
+esac
25120
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25121
+  (eval "$ac_link") 2>&5
25112 25122
   ac_status=$?
25113 25123
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 25124
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25115
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25116
-  (eval $ac_try) 2>&5
25125
+  { (case "(($ac_try" in
25126
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25127
+  *) ac_try_echo=$ac_try;;
25128
+esac
25129
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25130
+  (eval "$ac_try") 2>&5
25117 25131
   ac_status=$?
25118 25132
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 25133
   (exit $ac_status); }; }; then
... ...
@@ -25126,13 +25673,16 @@ sed 's/^/| /' conftest.$ac_ext >&5
25126 25126
 ( exit $ac_status )
25127 25127
 ac_cv_c_bigendian=yes
25128 25128
 fi
25129
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25129
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25130 25130
 fi
25131
+
25132
+
25131 25133
 fi
25132
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25134
+
25135
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25133 25136
 fi
25134
-echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25135
-echo "${ECHO_T}$ac_cv_c_bigendian" >&6
25137
+{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25138
+echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25136 25139
 case $ac_cv_c_bigendian in
25137 25140
   yes)
25138 25141
 
... ...
@@ -25164,8 +25714,8 @@ _ACEOF
25164 25164
 
25165 25165
 fi
25166 25166
 
25167
-echo "$as_me:$LINENO: checking for structure packing via __attribute__((packed))" >&5
25168
-echo $ECHO_N "checking for structure packing via __attribute__((packed))... $ECHO_C" >&6
25167
+{ echo "$as_me:$LINENO: checking for structure packing via __attribute__((packed))" >&5
25168
+echo $ECHO_N "checking for structure packing via __attribute__((packed))... $ECHO_C" >&6; }
25169 25169
 if test "${have_attrib_packed+set}" = set; then
25170 25170
   echo $ECHO_N "(cached) $ECHO_C" >&6
25171 25171
 else
... ...
@@ -25186,44 +25736,40 @@ struct { int i __attribute__((packed)); } s;
25186 25186
 }
25187 25187
 _ACEOF
25188 25188
 rm -f conftest.$ac_objext
25189
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25190
-  (eval $ac_compile) 2>conftest.er1
25189
+if { (ac_try="$ac_compile"
25190
+case "(($ac_try" in
25191
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25192
+  *) ac_try_echo=$ac_try;;
25193
+esac
25194
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25195
+  (eval "$ac_compile") 2>conftest.er1
25191 25196
   ac_status=$?
25192 25197
   grep -v '^ *+' conftest.er1 >conftest.err
25193 25198
   rm -f conftest.er1
25194 25199
   cat conftest.err >&5
25195 25200
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196
-  (exit $ac_status); } &&
25197
-	 { ac_try='test -z "$ac_c_werror_flag"
25198
-			 || test ! -s conftest.err'
25199
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200
-  (eval $ac_try) 2>&5
25201
-  ac_status=$?
25202
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203
-  (exit $ac_status); }; } &&
25204
-	 { ac_try='test -s conftest.$ac_objext'
25205
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25206
-  (eval $ac_try) 2>&5
25207
-  ac_status=$?
25208
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209
-  (exit $ac_status); }; }; then
25201
+  (exit $ac_status); } && {
25202
+	 test -z "$ac_c_werror_flag" ||
25203
+	 test ! -s conftest.err
25204
+       } && test -s conftest.$ac_objext; then
25210 25205
   have_attrib_packed=yes
25211 25206
 else
25212 25207
   echo "$as_me: failed program was:" >&5
25213 25208
 sed 's/^/| /' conftest.$ac_ext >&5
25214 25209
 
25215
-have_attrib_packed=no
25210
+	have_attrib_packed=no
25216 25211
 fi
25217
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25212
+
25213
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 25214
 
25219 25215
 fi
25220 25216
 
25221
-echo "$as_me:$LINENO: result: $have_attrib_packed" >&5
25222
-echo "${ECHO_T}$have_attrib_packed" >&6
25217
+{ echo "$as_me:$LINENO: result: $have_attrib_packed" >&5
25218
+echo "${ECHO_T}$have_attrib_packed" >&6; }
25223 25219
 
25224 25220
 if test "$have_attrib_packed" = no; then
25225
-	echo "$as_me:$LINENO: checking for structure packing via pragma" >&5
25226
-echo $ECHO_N "checking for structure packing via pragma... $ECHO_C" >&6
25221
+	{ echo "$as_me:$LINENO: checking for structure packing via pragma" >&5
25222
+echo $ECHO_N "checking for structure packing via pragma... $ECHO_C" >&6; }
25227 25223
 	if test "${have_pragma_pack+set}" = set; then
25228 25224
   echo $ECHO_N "(cached) $ECHO_C" >&6
25229 25225
 else
... ...
@@ -25247,13 +25793,22 @@ int main(int argc, char **argv) {
25247 25247
 			return sizeof(s)==sizeof(s.c)+sizeof(s.l) ? 0:1; }
25248 25248
 _ACEOF
25249 25249
 rm -f conftest$ac_exeext
25250
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25251
-  (eval $ac_link) 2>&5
25250
+if { (ac_try="$ac_link"
25251
+case "(($ac_try" in
25252
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25253
+  *) ac_try_echo=$ac_try;;
25254
+esac
25255
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256
+  (eval "$ac_link") 2>&5
25252 25257
   ac_status=$?
25253 25258
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 25259
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25255
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25256
-  (eval $ac_try) 2>&5
25260
+  { (case "(($ac_try" in
25261
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25262
+  *) ac_try_echo=$ac_try;;
25263
+esac
25264
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25265
+  (eval "$ac_try") 2>&5
25257 25266
   ac_status=$?
25258 25267
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 25268
   (exit $ac_status); }; }; then
... ...
@@ -25266,13 +25821,15 @@ sed 's/^/| /' conftest.$ac_ext >&5
25266 25266
 ( exit $ac_status )
25267 25267
 have_pragma_pack=no
25268 25268
 fi
25269
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25269
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25270 25270
 fi
25271 25271
 
25272
+
25273
+
25272 25274
 fi
25273 25275
 
25274
-	echo "$as_me:$LINENO: result: $have_pragma_pack" >&5
25275
-echo "${ECHO_T}$have_pragma_pack" >&6
25276
+	{ echo "$as_me:$LINENO: result: $have_pragma_pack" >&5
25277
+echo "${ECHO_T}$have_pragma_pack" >&6; }
25276 25278
 	if test "$have_pragma_pack" = yes; then
25277 25279
 
25278 25280
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -25280,8 +25837,8 @@ cat >>confdefs.h <<\_ACEOF
25280 25280
 _ACEOF
25281 25281
 
25282 25282
 	else
25283
-		echo "$as_me:$LINENO: checking for structure packing via hppa/hp-ux pragma" >&5
25284
-echo $ECHO_N "checking for structure packing via hppa/hp-ux pragma... $ECHO_C" >&6
25283
+		{ echo "$as_me:$LINENO: checking for structure packing via hppa/hp-ux pragma" >&5
25284
+echo $ECHO_N "checking for structure packing via hppa/hp-ux pragma... $ECHO_C" >&6; }
25285 25285
 		if test "${have_pragma_pack_hpux+set}" = set; then
25286 25286
   echo $ECHO_N "(cached) $ECHO_C" >&6
25287 25287
 else
... ...
@@ -25307,13 +25864,22 @@ cat >>conftest.$ac_ext <<_ACEOF
25307 25307
 			return sizeof(s)==sizeof(s.c)+sizeof(s.l) ? 0:1; }
25308 25308
 _ACEOF
25309 25309
 rm -f conftest$ac_exeext
25310
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25311
-  (eval $ac_link) 2>&5
25310
+if { (ac_try="$ac_link"
25311
+case "(($ac_try" in
25312
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25313
+  *) ac_try_echo=$ac_try;;
25314
+esac
25315
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25316
+  (eval "$ac_link") 2>&5
25312 25317
   ac_status=$?
25313 25318
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 25319
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25315
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316
-  (eval $ac_try) 2>&5
25320
+  { (case "(($ac_try" in
25321
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25322
+  *) ac_try_echo=$ac_try;;
25323
+esac
25324
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25325
+  (eval "$ac_try") 2>&5
25317 25326
   ac_status=$?
25318 25327
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 25328
   (exit $ac_status); }; }; then
... ...
@@ -25326,13 +25892,15 @@ sed 's/^/| /' conftest.$ac_ext >&5
25326 25326
 ( exit $ac_status )
25327 25327
 have_pragma_pack_hpux=no
25328 25328
 fi
25329
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25329
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25330 25330
 fi
25331 25331
 
25332
+
25333
+
25332 25334
 fi
25333 25335
 
25334
-		echo "$as_me:$LINENO: result: $have_pragma_pack_hpux" >&5
25335
-echo "${ECHO_T}$have_pragma_pack_hpux" >&6
25336
+		{ echo "$as_me:$LINENO: result: $have_pragma_pack_hpux" >&5
25337
+echo "${ECHO_T}$have_pragma_pack_hpux" >&6; }
25336 25338
 
25337 25339
 cat >>confdefs.h <<\_ACEOF
25338 25340
 #define HAVE_PRAGMA_PACK_HPPA 1
... ...
@@ -25341,8 +25909,8 @@ _ACEOF
25341 25341
 	fi
25342 25342
 fi
25343 25343
 
25344
-echo "$as_me:$LINENO: checking for type aligning via __attribute__((aligned))" >&5
25345
-echo $ECHO_N "checking for type aligning via __attribute__((aligned))... $ECHO_C" >&6
25344
+{ echo "$as_me:$LINENO: checking for type aligning via __attribute__((aligned))" >&5
25345
+echo $ECHO_N "checking for type aligning via __attribute__((aligned))... $ECHO_C" >&6; }
25346 25346
 if test "${have_attrib_aligned+set}" = set; then
25347 25347
   echo $ECHO_N "(cached) $ECHO_C" >&6
25348 25348
 else
... ...
@@ -25363,40 +25931,36 @@ typedef int cl_aligned_int __attribute__((aligned));
25363 25363
 }
25364 25364
 _ACEOF
25365 25365
 rm -f conftest.$ac_objext
25366
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25367
-  (eval $ac_compile) 2>conftest.er1
25366
+if { (ac_try="$ac_compile"
25367
+case "(($ac_try" in
25368
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25369
+  *) ac_try_echo=$ac_try;;
25370
+esac
25371
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25372
+  (eval "$ac_compile") 2>conftest.er1
25368 25373
   ac_status=$?
25369 25374
   grep -v '^ *+' conftest.er1 >conftest.err
25370 25375
   rm -f conftest.er1
25371 25376
   cat conftest.err >&5
25372 25377
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373
-  (exit $ac_status); } &&
25374
-	 { ac_try='test -z "$ac_c_werror_flag"
25375
-			 || test ! -s conftest.err'
25376
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377
-  (eval $ac_try) 2>&5
25378
-  ac_status=$?
25379
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380
-  (exit $ac_status); }; } &&
25381
-	 { ac_try='test -s conftest.$ac_objext'
25382
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383
-  (eval $ac_try) 2>&5
25384
-  ac_status=$?
25385
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386
-  (exit $ac_status); }; }; then
25378
+  (exit $ac_status); } && {
25379
+	 test -z "$ac_c_werror_flag" ||
25380
+	 test ! -s conftest.err
25381
+       } && test -s conftest.$ac_objext; then
25387 25382
   have_attrib_aligned=yes
25388 25383
 else
25389 25384
   echo "$as_me: failed program was:" >&5
25390 25385
 sed 's/^/| /' conftest.$ac_ext >&5
25391 25386
 
25392
-have_attrib_aligned=no
25387
+	have_attrib_aligned=no
25393 25388
 fi
25394
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25389
+
25390
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25395 25391
 
25396 25392
 fi
25397 25393
 
25398
-echo "$as_me:$LINENO: result: $have_attrib_aligned" >&5
25399
-echo "${ECHO_T}$have_attrib_aligned" >&6
25394
+{ echo "$as_me:$LINENO: result: $have_attrib_aligned" >&5
25395
+echo "${ECHO_T}$have_attrib_aligned" >&6; }
25400 25396
 
25401 25397
 if test "$have_attrib_packed" = no -a "$have_pragma_pack" = no -a "$have_pragma_pack_hpux" = no; then
25402 25398
 	{ { echo "$as_me:$LINENO: error: Need to know how to pack structures with this compiler" >&5
... ...
@@ -25420,8 +25984,8 @@ _ACEOF
25420 25420
 
25421 25421
 fi
25422 25422
 
25423
-echo "$as_me:$LINENO: checking for fd_set" >&5
25424
-echo $ECHO_N "checking for fd_set... $ECHO_C" >&6
25423
+{ echo "$as_me:$LINENO: checking for fd_set" >&5
25424
+echo $ECHO_N "checking for fd_set... $ECHO_C" >&6; }
25425 25425
 cat >conftest.$ac_ext <<_ACEOF
25426 25426
 /* confdefs.h.  */
25427 25427
 _ACEOF
... ...
@@ -25438,38 +26002,34 @@ fd_set readMask, writeMask;
25438 25438
 }
25439 25439
 _ACEOF
25440 25440
 rm -f conftest.$ac_objext
25441
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25442
-  (eval $ac_compile) 2>conftest.er1
25441
+if { (ac_try="$ac_compile"
25442
+case "(($ac_try" in
25443
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25444
+  *) ac_try_echo=$ac_try;;
25445
+esac
25446
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25447
+  (eval "$ac_compile") 2>conftest.er1
25443 25448
   ac_status=$?
25444 25449
   grep -v '^ *+' conftest.er1 >conftest.err
25445 25450
   rm -f conftest.er1
25446 25451
   cat conftest.err >&5
25447 25452
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448
-  (exit $ac_status); } &&
25449
-	 { ac_try='test -z "$ac_c_werror_flag"
25450
-			 || test ! -s conftest.err'
25451
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25452
-  (eval $ac_try) 2>&5
25453
-  ac_status=$?
25454
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455
-  (exit $ac_status); }; } &&
25456
-	 { ac_try='test -s conftest.$ac_objext'
25457
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25458
-  (eval $ac_try) 2>&5
25459
-  ac_status=$?
25460
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461
-  (exit $ac_status); }; }; then
25453
+  (exit $ac_status); } && {
25454
+	 test -z "$ac_c_werror_flag" ||
25455
+	 test ! -s conftest.err
25456
+       } && test -s conftest.$ac_objext; then
25462 25457
   have_fd_set=yes
25463 25458
 else
25464 25459
   echo "$as_me: failed program was:" >&5
25465 25460
 sed 's/^/| /' conftest.$ac_ext >&5
25466 25461
 
25467
-have_fd_set=no
25462
+	have_fd_set=no
25468 25463
 fi
25469
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25464
+
25465
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470 25466
 if test $have_fd_set = yes; then
25471
-    echo "$as_me:$LINENO: result: yes, found in sys/types.h" >&5
25472
-echo "${ECHO_T}yes, found in sys/types.h" >&6
25467
+    { echo "$as_me:$LINENO: result: yes, found in sys/types.h" >&5
25468
+echo "${ECHO_T}yes, found in sys/types.h" >&6; }
25473 25469
 else
25474 25470
     cat >conftest.$ac_ext <<_ACEOF
25475 25471
 /* confdefs.h.  */
... ...
@@ -25492,21 +26052,21 @@ cat >>confdefs.h <<\_ACEOF
25492 25492
 #define HAVE_SYS_SELECT_H 1
25493 25493
 _ACEOF
25494 25494
 
25495
-        echo "$as_me:$LINENO: result: yes, found in sys/select.h" >&5
25496
-echo "${ECHO_T}yes, found in sys/select.h" >&6
25495
+        { echo "$as_me:$LINENO: result: yes, found in sys/select.h" >&5
25496
+echo "${ECHO_T}yes, found in sys/select.h" >&6; }
25497 25497
     else
25498 25498
 
25499 25499
 cat >>confdefs.h <<\_ACEOF
25500 25500
 #define NO_FD_SET 1
25501 25501
 _ACEOF
25502 25502
 
25503
-        echo "$as_me:$LINENO: result: no" >&5
25504
-echo "${ECHO_T}no" >&6
25503
+        { echo "$as_me:$LINENO: result: no" >&5
25504
+echo "${ECHO_T}no" >&6; }
25505 25505
     fi
25506 25506
 fi
25507 25507
 
25508
-echo "$as_me:$LINENO: checking default FD_SETSIZE value" >&5
25509
-echo $ECHO_N "checking default FD_SETSIZE value... $ECHO_C" >&6
25508
+{ echo "$as_me:$LINENO: checking default FD_SETSIZE value" >&5
25509
+echo $ECHO_N "checking default FD_SETSIZE value... $ECHO_C" >&6; }
25510 25510
 if test "$cross_compiling" = yes; then
25511 25511
   DEFAULT_FD_SETSIZE=256
25512 25512
 else
... ...
@@ -25530,13 +26090,22 @@ main() {
25530 25530
 
25531 25531
 _ACEOF
25532 25532
 rm -f conftest$ac_exeext
25533
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25534
-  (eval $ac_link) 2>&5
25533
+if { (ac_try="$ac_link"
25534
+case "(($ac_try" in
25535
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25536
+  *) ac_try_echo=$ac_try;;
25537
+esac
25538
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25539
+  (eval "$ac_link") 2>&5
25535 25540
   ac_status=$?
25536 25541
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 25542
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25538
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25539
-  (eval $ac_try) 2>&5
25543
+  { (case "(($ac_try" in
25544
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25545
+  *) ac_try_echo=$ac_try;;
25546
+esac
25547
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25548
+  (eval "$ac_try") 2>&5
25540 25549
   ac_status=$?
25541 25550
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25542 25551
   (exit $ac_status); }; }; then
... ...
@@ -25549,18 +26118,20 @@ sed 's/^/| /' conftest.$ac_ext >&5
25549 25549
 ( exit $ac_status )
25550 25550
 DEFAULT_FD_SETSIZE=256
25551 25551
 fi
25552
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25552
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25553 25553
 fi
25554
-echo "$as_me:$LINENO: result: $DEFAULT_FD_SETSIZE" >&5
25555
-echo "${ECHO_T}$DEFAULT_FD_SETSIZE" >&6
25554
+
25555
+
25556
+{ echo "$as_me:$LINENO: result: $DEFAULT_FD_SETSIZE" >&5
25557
+echo "${ECHO_T}$DEFAULT_FD_SETSIZE" >&6; }
25556 25558
 
25557 25559
 cat >>confdefs.h <<_ACEOF
25558 25560
 #define DEFAULT_FD_SETSIZE $DEFAULT_FD_SETSIZE
25559 25561
 _ACEOF
25560 25562
 
25561 25563
 
25562
-echo "$as_me:$LINENO: checking if signed right shift is sign extended" >&5
25563
-echo $ECHO_N "checking if signed right shift is sign extended... $ECHO_C" >&6
25564
+{ echo "$as_me:$LINENO: checking if signed right shift is sign extended" >&5
25565
+echo $ECHO_N "checking if signed right shift is sign extended... $ECHO_C" >&6; }
25564 25566
 if test "$cross_compiling" = yes; then
25565 25567
   have_signed_rightshift_extended=no
25566 25568
 else
... ...
@@ -25573,13 +26144,22 @@ cat >>conftest.$ac_ext <<_ACEOF
25573 25573
 int main(void){int a=-1;int b=a>>1;return(a!=b);}
25574 25574
 _ACEOF
25575 25575
 rm -f conftest$ac_exeext
25576
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25577
-  (eval $ac_link) 2>&5
25576
+if { (ac_try="$ac_link"
25577
+case "(($ac_try" in
25578
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25579
+  *) ac_try_echo=$ac_try;;
25580
+esac
25581
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582
+  (eval "$ac_link") 2>&5
25578 25583
   ac_status=$?
25579 25584
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 25585
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25581
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582
-  (eval $ac_try) 2>&5
25586
+  { (case "(($ac_try" in
25587
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25588
+  *) ac_try_echo=$ac_try;;
25589
+esac
25590
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25591
+  (eval "$ac_try") 2>&5
25583 25592
   ac_status=$?
25584 25593
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 25594
   (exit $ac_status); }; }; then
... ...
@@ -25592,8 +26172,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
25592 25592
 ( exit $ac_status )
25593 25593
 have_signed_rightshift_extended=no
25594 25594
 fi
25595
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25595
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25596 25596
 fi
25597
+
25598
+
25597 25599
 if test $have_signed_rightshift_extended = yes; then
25598 25600
 
25599 25601
 cat >>confdefs.h <<\_ACEOF
... ...
@@ -25601,11 +26183,12 @@ cat >>confdefs.h <<\_ACEOF
25601 25601
 _ACEOF
25602 25602
 
25603 25603
 fi
25604
-echo "$as_me:$LINENO: result: $have_signed_rightshift_extended" >&5
25605
-echo "${ECHO_T}$have_signed_rightshift_extended" >&6;
25604
+{ echo "$as_me:$LINENO: result: $have_signed_rightshift_extended" >&5
25605
+echo "${ECHO_T}$have_signed_rightshift_extended" >&6; };
25606 25606
 
25607 25607
 
25608
-                                                                                                                                                                                                                                                ac_config_files="$ac_config_files libclamunrar/Makefile libclamav/Makefile clamscan/Makefile database/Makefile docs/Makefile clamd/Makefile clamdscan/Makefile clamav-milter/Makefile freshclam/Makefile sigtool/Makefile clamconf/Makefile etc/Makefile Makefile clamav-config libclamav.pc docs/man/clamav-milter.8 docs/man/clamconf.1 docs/man/clamd.8 docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 docs/man/freshclam.1 docs/man/freshclam.conf.5 docs/man/sigtool.1"
25608
+ac_config_files="$ac_config_files libclamunrar/Makefile libclamav/Makefile clamscan/Makefile database/Makefile docs/Makefile clamd/Makefile clamdscan/Makefile clamav-milter/Makefile freshclam/Makefile sigtool/Makefile clamconf/Makefile etc/Makefile Makefile clamav-config libclamav.pc docs/man/clamav-milter.8 docs/man/clamconf.1 docs/man/clamd.8 docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 docs/man/freshclam.1 docs/man/freshclam.conf.5 docs/man/sigtool.1"
25609
+
25609 25610
 cat >confcache <<\_ACEOF
25610 25611
 # This file is a shell script that caches the results of configure
25611 25612
 # tests run on this system so they can be shared between configure
... ...
@@ -25624,39 +26207,58 @@ _ACEOF
25624 25624
 
25625 25625
 # The following way of writing the cache mishandles newlines in values,
25626 25626
 # but we know of no workaround that is simple, portable, and efficient.
25627
-# So, don't put newlines in cache variables' values.
25627
+# So, we kill variables containing newlines.
25628 25628
 # Ultrix sh set writes to stderr and can't be redirected directly,
25629 25629
 # and sets the high bit in the cache file unless we assign to the vars.
25630
-{
25630
+(
25631
+  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25632
+    eval ac_val=\$$ac_var
25633
+    case $ac_val in #(
25634
+    *${as_nl}*)
25635
+      case $ac_var in #(
25636
+      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25637
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25638
+      esac
25639
+      case $ac_var in #(
25640
+      _ | IFS | as_nl) ;; #(
25641
+      *) $as_unset $ac_var ;;
25642
+      esac ;;
25643
+    esac
25644
+  done
25645
+
25631 25646
   (set) 2>&1 |
25632
-    case `(ac_space=' '; set | grep ac_space) 2>&1` in
25633
-    *ac_space=\ *)
25647
+    case $as_nl`(ac_space=' '; set) 2>&1` in #(
25648
+    *${as_nl}ac_space=\ *)
25634 25649
       # `set' does not quote correctly, so add quotes (double-quote
25635 25650
       # substitution turns \\\\ into \\, and sed turns \\ into \).
25636 25651
       sed -n \
25637 25652
 	"s/'/'\\\\''/g;
25638 25653
 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25639
-      ;;
25654
+      ;; #(
25640 25655
     *)
25641 25656
       # `set' quotes correctly as required by POSIX, so do not add quotes.
25642
-      sed -n \
25643
-	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
25657
+      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25644 25658
       ;;
25645
-    esac;
25646
-} |
25659
+    esac |
25660
+    sort
25661
+) |
25647 25662
   sed '
25663
+     /^ac_cv_env_/b end
25648 25664
      t clear
25649
-     : clear
25665
+     :clear
25650 25666
      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25651 25667
      t end
25652
-     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25653
-     : end' >>confcache
25654
-if diff $cache_file confcache >/dev/null 2>&1; then :; else
25655
-  if test -w $cache_file; then
25656
-    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
25668
+     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25669
+     :end' >>confcache
25670
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25671
+  if test -w "$cache_file"; then
25672
+    test "x$cache_file" != "x/dev/null" &&
25673
+      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25674
+echo "$as_me: updating cache $cache_file" >&6;}
25657 25675
     cat confcache >$cache_file
25658 25676
   else
25659
-    echo "not updating unwritable cache $cache_file"
25677
+    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25678
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25660 25679
   fi
25661 25680
 fi
25662 25681
 rm -f confcache
... ...
@@ -25665,32 +26267,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix
25665 25665
 # Let make expand exec_prefix.
25666 25666
 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25667 25667
 
25668
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
25669
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25670
-# trailing colons and then remove the whole line if VPATH becomes empty
25671
-# (actually we leave an empty line to preserve line numbers).
25672
-if test "x$srcdir" = x.; then
25673
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
25674
-s/:*\$(srcdir):*/:/;
25675
-s/:*\${srcdir}:*/:/;
25676
-s/:*@srcdir@:*/:/;
25677
-s/^\([^=]*=[	 ]*\):*/\1/;
25678
-s/:*$//;
25679
-s/^[^=]*=[	 ]*$//;
25680
-}'
25681
-fi
25682
-
25683 25668
 DEFS=-DHAVE_CONFIG_H
25684 25669
 
25685 25670
 ac_libobjs=
25686 25671
 ac_ltlibobjs=
25687 25672
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25688 25673
   # 1. Remove the extension, and $U if already installed.
25689
-  ac_i=`echo "$ac_i" |
25690
-	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
25691
-  # 2. Add them.
25692
-  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
25693
-  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
25674
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25675
+  ac_i=`echo "$ac_i" | sed "$ac_script"`
25676
+  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25677
+  #    will be set to the directory where LIBOBJS objects are built.
25678
+  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25679
+  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25694 25680
 done
25695 25681
 LIBOBJS=$ac_libobjs
25696 25682
 
... ...
@@ -25739,6 +26327,13 @@ echo "$as_me: error: conditional \"HAVE_MILTER\" was never defined.
25739 25739
 Usually this means the macro was only invoked conditionally." >&2;}
25740 25740
    { (exit 1); exit 1; }; }
25741 25741
 fi
25742
+if test -z "${ENABLE_UNRAR_TRUE}" && test -z "${ENABLE_UNRAR_FALSE}"; then
25743
+  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UNRAR\" was never defined.
25744
+Usually this means the macro was only invoked conditionally." >&5
25745
+echo "$as_me: error: conditional \"ENABLE_UNRAR\" was never defined.
25746
+Usually this means the macro was only invoked conditionally." >&2;}
25747
+   { (exit 1); exit 1; }; }
25748
+fi
25742 25749
 
25743 25750
 : ${CONFIG_STATUS=./config.status}
25744 25751
 ac_clean_files_save=$ac_clean_files
... ...
@@ -25763,17 +26358,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
25763 25763
 ## M4sh Initialization.  ##
25764 25764
 ## --------------------- ##
25765 25765
 
25766
-# Be Bourne compatible
25766
+# Be more Bourne compatible
25767
+DUALCASE=1; export DUALCASE # for MKS sh
25767 25768
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25768 25769
   emulate sh
25769 25770
   NULLCMD=:
25770 25771
   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25771 25772
   # is contrary to our usage.  Disable this feature.
25772 25773
   alias -g '${1+"$@"}'='"$@"'
25773
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25774
-  set -o posix
25774
+  setopt NO_GLOB_SUBST
25775
+else
25776
+  case `(set -o) 2>/dev/null` in
25777
+  *posix*) set -o posix ;;
25778
+esac
25779
+
25780
+fi
25781
+
25782
+
25783
+
25784
+
25785
+# PATH needs CR
25786
+# Avoid depending upon Character Ranges.
25787
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25788
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25789
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25790
+as_cr_digits='0123456789'
25791
+as_cr_alnum=$as_cr_Letters$as_cr_digits
25792
+
25793
+# The user is always right.
25794
+if test "${PATH_SEPARATOR+set}" != set; then
25795
+  echo "#! /bin/sh" >conf$$.sh
25796
+  echo  "exit 0"   >>conf$$.sh
25797
+  chmod +x conf$$.sh
25798
+  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25799
+    PATH_SEPARATOR=';'
25800
+  else
25801
+    PATH_SEPARATOR=:
25802
+  fi
25803
+  rm -f conf$$.sh
25775 25804
 fi
25776
-DUALCASE=1; export DUALCASE # for MKS sh
25777 25805
 
25778 25806
 # Support unset when possible.
25779 25807
 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
... ...
@@ -25783,8 +26406,43 @@ else
25783 25783
 fi
25784 25784
 
25785 25785
 
25786
+# IFS
25787
+# We need space, tab and new line, in precisely that order.  Quoting is
25788
+# there to prevent editors from complaining about space-tab.
25789
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
25790
+# splitting by setting IFS to empty value.)
25791
+as_nl='
25792
+'
25793
+IFS=" ""	$as_nl"
25794
+
25795
+# Find who we are.  Look in the path if we contain no directory separator.
25796
+case $0 in
25797
+  *[\\/]* ) as_myself=$0 ;;
25798
+  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25799
+for as_dir in $PATH
25800
+do
25801
+  IFS=$as_save_IFS
25802
+  test -z "$as_dir" && as_dir=.
25803
+  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25804
+done
25805
+IFS=$as_save_IFS
25806
+
25807
+     ;;
25808
+esac
25809
+# We did not find ourselves, most probably we were run as `sh COMMAND'
25810
+# in which case we are not to be found in the path.
25811
+if test "x$as_myself" = x; then
25812
+  as_myself=$0
25813
+fi
25814
+if test ! -f "$as_myself"; then
25815
+  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25816
+  { (exit 1); exit 1; }
25817
+fi
25818
+
25786 25819
 # Work around bugs in pre-3.0 UWIN ksh.
25787
-$as_unset ENV MAIL MAILPATH
25820
+for as_var in ENV MAIL MAILPATH
25821
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25822
+done
25788 25823
 PS1='$ '
25789 25824
 PS2='> '
25790 25825
 PS4='+ '
... ...
@@ -25798,18 +26456,19 @@ do
25798 25798
   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25799 25799
     eval $as_var=C; export $as_var
25800 25800
   else
25801
-    $as_unset $as_var
25801
+    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25802 25802
   fi
25803 25803
 done
25804 25804
 
25805 25805
 # Required to use basename.
25806
-if expr a : '\(a\)' >/dev/null 2>&1; then
25806
+if expr a : '\(a\)' >/dev/null 2>&1 &&
25807
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25807 25808
   as_expr=expr
25808 25809
 else
25809 25810
   as_expr=false
25810 25811
 fi
25811 25812
 
25812
-if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
25813
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25813 25814
   as_basename=basename
25814 25815
 else
25815 25816
   as_basename=false
... ...
@@ -25817,159 +26476,120 @@ fi
25817 25817
 
25818 25818
 
25819 25819
 # Name of the executable.
25820
-as_me=`$as_basename "$0" ||
25820
+as_me=`$as_basename -- "$0" ||
25821 25821
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25822 25822
 	 X"$0" : 'X\(//\)$' \| \
25823
-	 X"$0" : 'X\(/\)$' \| \
25824
-	 .     : '\(.\)' 2>/dev/null ||
25823
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25825 25824
 echo X/"$0" |
25826
-    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25827
-  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
25828
-  	  /^X\/\(\/\).*/{ s//\1/; q; }
25829
-  	  s/.*/./; q'`
25830
-
25825
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
25826
+	    s//\1/
25827
+	    q
25828
+	  }
25829
+	  /^X\/\(\/\/\)$/{
25830
+	    s//\1/
25831
+	    q
25832
+	  }
25833
+	  /^X\/\(\/\).*/{
25834
+	    s//\1/
25835
+	    q
25836
+	  }
25837
+	  s/.*/./; q'`
25831 25838
 
25832
-# PATH needs CR, and LINENO needs CR and PATH.
25833
-# Avoid depending upon Character Ranges.
25834
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25835
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25836
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25837
-as_cr_digits='0123456789'
25838
-as_cr_alnum=$as_cr_Letters$as_cr_digits
25839
-
25840
-# The user is always right.
25841
-if test "${PATH_SEPARATOR+set}" != set; then
25842
-  echo "#! /bin/sh" >conf$$.sh
25843
-  echo  "exit 0"   >>conf$$.sh
25844
-  chmod +x conf$$.sh
25845
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25846
-    PATH_SEPARATOR=';'
25847
-  else
25848
-    PATH_SEPARATOR=:
25849
-  fi
25850
-  rm -f conf$$.sh
25851
-fi
25839
+# CDPATH.
25840
+$as_unset CDPATH
25852 25841
 
25853 25842
 
25854
-  as_lineno_1=$LINENO
25855
-  as_lineno_2=$LINENO
25856
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25857
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
25858
-  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
25859
-  # Find who we are.  Look in the path if we contain no path at all
25860
-  # relative or not.
25861
-  case $0 in
25862
-    *[\\/]* ) as_myself=$0 ;;
25863
-    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25864
-for as_dir in $PATH
25865
-do
25866
-  IFS=$as_save_IFS
25867
-  test -z "$as_dir" && as_dir=.
25868
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25869
-done
25870 25843
 
25871
-       ;;
25872
-  esac
25873
-  # We did not find ourselves, most probably we were run as `sh COMMAND'
25874
-  # in which case we are not to be found in the path.
25875
-  if test "x$as_myself" = x; then
25876
-    as_myself=$0
25877
-  fi
25878
-  if test ! -f "$as_myself"; then
25879
-    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
25880
-echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
25881
-   { (exit 1); exit 1; }; }
25882
-  fi
25883
-  case $CONFIG_SHELL in
25884
-  '')
25885
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25886
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
25887
-do
25888
-  IFS=$as_save_IFS
25889
-  test -z "$as_dir" && as_dir=.
25890
-  for as_base in sh bash ksh sh5; do
25891
-	 case $as_dir in
25892
-	 /*)
25893
-	   if ("$as_dir/$as_base" -c '
25894 25844
   as_lineno_1=$LINENO
25895 25845
   as_lineno_2=$LINENO
25896
-  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25897 25846
   test "x$as_lineno_1" != "x$as_lineno_2" &&
25898
-  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
25899
-	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
25900
-	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
25901
-	     CONFIG_SHELL=$as_dir/$as_base
25902
-	     export CONFIG_SHELL
25903
-	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
25904
-	   fi;;
25905
-	 esac
25906
-       done
25907
-done
25908
-;;
25909
-  esac
25847
+  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
25910 25848
 
25911 25849
   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25912 25850
   # uniformly replaced by the line number.  The first 'sed' inserts a
25913
-  # line-number line before each line; the second 'sed' does the real
25914
-  # work.  The second script uses 'N' to pair each line-number line
25915
-  # with the numbered line, and appends trailing '-' during
25916
-  # substitution so that $LINENO is not a special case at line end.
25851
+  # line-number line after each line using $LINENO; the second 'sed'
25852
+  # does the real work.  The second script uses 'N' to pair each
25853
+  # line-number line with the line containing $LINENO, and appends
25854
+  # trailing '-' during substitution so that $LINENO is not a special
25855
+  # case at line end.
25917 25856
   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25918
-  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
25919
-  sed '=' <$as_myself |
25857
+  # scripts with optimization help from Paolo Bonzini.  Blame Lee
25858
+  # E. McMahon (1931-1989) for sed's syntax.  :-)
25859
+  sed -n '
25860
+    p
25861
+    /[$]LINENO/=
25862
+  ' <$as_myself |
25920 25863
     sed '
25864
+      s/[$]LINENO.*/&-/
25865
+      t lineno
25866
+      b
25867
+      :lineno
25921 25868
       N
25922
-      s,$,-,
25923
-      : loop
25924
-      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
25869
+      :loop
25870
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25925 25871
       t loop
25926
-      s,-$,,
25927
-      s,^['$as_cr_digits']*\n,,
25872
+      s/-\n.*//
25928 25873
     ' >$as_me.lineno &&
25929
-  chmod +x $as_me.lineno ||
25930
-    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
25931
-echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
25874
+  chmod +x "$as_me.lineno" ||
25875
+    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25932 25876
    { (exit 1); exit 1; }; }
25933 25877
 
25934 25878
   # Don't try to exec as it changes $[0], causing all sort of problems
25935 25879
   # (the dirname of $[0] is not the place where we might find the
25936
-  # original and so on.  Autoconf is especially sensible to this).
25937
-  . ./$as_me.lineno
25880
+  # original and so on.  Autoconf is especially sensitive to this).
25881
+  . "./$as_me.lineno"
25938 25882
   # Exit status is that of the last command.
25939 25883
   exit
25940 25884
 }
25941 25885
 
25942 25886
 
25943
-case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
25944
-  *c*,-n*) ECHO_N= ECHO_C='
25945
-' ECHO_T='	' ;;
25946
-  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
25947
-  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
25887
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25888
+  as_dirname=dirname
25889
+else
25890
+  as_dirname=false
25891
+fi
25892
+
25893
+ECHO_C= ECHO_N= ECHO_T=
25894
+case `echo -n x` in
25895
+-n*)
25896
+  case `echo 'x\c'` in
25897
+  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
25898
+  *)   ECHO_C='\c';;
25899
+  esac;;
25900
+*)
25901
+  ECHO_N='-n';;
25948 25902
 esac
25949 25903
 
25950
-if expr a : '\(a\)' >/dev/null 2>&1; then
25904
+if expr a : '\(a\)' >/dev/null 2>&1 &&
25905
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
25951 25906
   as_expr=expr
25952 25907
 else
25953 25908
   as_expr=false
25954 25909
 fi
25955 25910
 
25956 25911
 rm -f conf$$ conf$$.exe conf$$.file
25912
+if test -d conf$$.dir; then
25913
+  rm -f conf$$.dir/conf$$.file
25914
+else
25915
+  rm -f conf$$.dir
25916
+  mkdir conf$$.dir
25917
+fi
25957 25918
 echo >conf$$.file
25958 25919
 if ln -s conf$$.file conf$$ 2>/dev/null; then
25959
-  # We could just check for DJGPP; but this test a) works b) is more generic
25960
-  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
25961
-  if test -f conf$$.exe; then
25962
-    # Don't use ln at all; we don't have any links
25920
+  as_ln_s='ln -s'
25921
+  # ... but there are two gotchas:
25922
+  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25923
+  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25924
+  # In both cases, we have to default to `cp -p'.
25925
+  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25963 25926
     as_ln_s='cp -p'
25964
-  else
25965
-    as_ln_s='ln -s'
25966
-  fi
25967 25927
 elif ln conf$$.file conf$$ 2>/dev/null; then
25968 25928
   as_ln_s=ln
25969 25929
 else
25970 25930
   as_ln_s='cp -p'
25971 25931
 fi
25972
-rm -f conf$$ conf$$.exe conf$$.file
25932
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25933
+rmdir conf$$.dir 2>/dev/null
25973 25934
 
25974 25935
 if mkdir -p . 2>/dev/null; then
25975 25936
   as_mkdir_p=:
... ...
@@ -25978,7 +26598,28 @@ else
25978 25978
   as_mkdir_p=false
25979 25979
 fi
25980 25980
 
25981
-as_executable_p="test -f"
25981
+if test -x / >/dev/null 2>&1; then
25982
+  as_test_x='test -x'
25983
+else
25984
+  if ls -dL / >/dev/null 2>&1; then
25985
+    as_ls_L_option=L
25986
+  else
25987
+    as_ls_L_option=
25988
+  fi
25989
+  as_test_x='
25990
+    eval sh -c '\''
25991
+      if test -d "$1"; then
25992
+        test -d "$1/.";
25993
+      else
25994
+	case $1 in
25995
+        -*)set "./$1";;
25996
+	esac;
25997
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25998
+	???[sx]*):;;*)false;;esac;fi
25999
+    '\'' sh
26000
+  '
26001
+fi
26002
+as_executable_p=$as_test_x
25982 26003
 
25983 26004
 # Sed expression to map a string onto a valid CPP name.
25984 26005
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
... ...
@@ -25987,31 +26628,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25987 25987
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25988 25988
 
25989 25989
 
25990
-# IFS
25991
-# We need space, tab and new line, in precisely that order.
25992
-as_nl='
25993
-'
25994
-IFS=" 	$as_nl"
25995
-
25996
-# CDPATH.
25997
-$as_unset CDPATH
25998
-
25999 25990
 exec 6>&1
26000 25991
 
26001
-# Open the log real soon, to keep \$[0] and so on meaningful, and to
25992
+# Save the log message, to keep $[0] and so on meaningful, and to
26002 25993
 # report actual input values of CONFIG_FILES etc. instead of their
26003
-# values after options handling.  Logging --version etc. is OK.
26004
-exec 5>>config.log
26005
-{
26006
-  echo
26007
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26008
-## Running $as_me. ##
26009
-_ASBOX
26010
-} >&5
26011
-cat >&5 <<_CSEOF
26012
-
25994
+# values after options handling.
25995
+ac_log="
26013 25996
 This file was extended by $as_me, which was
26014
-generated by GNU Autoconf 2.59.  Invocation command line was
25997
+generated by GNU Autoconf 2.61.  Invocation command line was
26015 25998
 
26016 25999
   CONFIG_FILES    = $CONFIG_FILES
26017 26000
   CONFIG_HEADERS  = $CONFIG_HEADERS
... ...
@@ -26019,30 +26643,20 @@ generated by GNU Autoconf 2.59.  Invocation command line was
26019 26019
   CONFIG_COMMANDS = $CONFIG_COMMANDS
26020 26020
   $ $0 $@
26021 26021
 
26022
-_CSEOF
26023
-echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
26024
-echo >&5
26022
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
26023
+"
26024
+
26025 26025
 _ACEOF
26026 26026
 
26027
+cat >>$CONFIG_STATUS <<_ACEOF
26027 26028
 # Files that config.status was made for.
26028
-if test -n "$ac_config_files"; then
26029
-  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
26030
-fi
26031
-
26032
-if test -n "$ac_config_headers"; then
26033
-  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
26034
-fi
26035
-
26036
-if test -n "$ac_config_links"; then
26037
-  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
26038
-fi
26029
+config_files="$ac_config_files"
26030
+config_headers="$ac_config_headers"
26031
+config_commands="$ac_config_commands"
26039 26032
 
26040
-if test -n "$ac_config_commands"; then
26041
-  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
26042
-fi
26033
+_ACEOF
26043 26034
 
26044 26035
 cat >>$CONFIG_STATUS <<\_ACEOF
26045
-
26046 26036
 ac_cs_usage="\
26047 26037
 \`$as_me' instantiates files from templates according to the
26048 26038
 current configuration.
... ...
@@ -26050,7 +26664,7 @@ current configuration.
26050 26050
 Usage: $0 [OPTIONS] [FILE]...
26051 26051
 
26052 26052
   -h, --help       print this help, then exit
26053
-  -V, --version    print version number, then exit
26053
+  -V, --version    print version number and configuration settings, then exit
26054 26054
   -q, --quiet      do not print progress messages
26055 26055
   -d, --debug      don't remove temporary files
26056 26056
       --recheck    update $as_me by reconfiguring in the same conditions
... ...
@@ -26069,19 +26683,21 @@ Configuration commands:
26069 26069
 $config_commands
26070 26070
 
26071 26071
 Report bugs to <bug-autoconf@gnu.org>."
26072
-_ACEOF
26073 26072
 
26073
+_ACEOF
26074 26074
 cat >>$CONFIG_STATUS <<_ACEOF
26075 26075
 ac_cs_version="\\
26076 26076
 config.status
26077
-configured by $0, generated by GNU Autoconf 2.59,
26078
-  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
26077
+configured by $0, generated by GNU Autoconf 2.61,
26078
+  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26079 26079
 
26080
-Copyright (C) 2003 Free Software Foundation, Inc.
26080
+Copyright (C) 2006 Free Software Foundation, Inc.
26081 26081
 This config.status script is free software; the Free Software Foundation
26082 26082
 gives unlimited permission to copy, distribute and modify it."
26083
-srcdir=$srcdir
26084
-INSTALL="$INSTALL"
26083
+
26084
+ac_pwd='$ac_pwd'
26085
+srcdir='$srcdir'
26086
+INSTALL='$INSTALL'
26085 26087
 _ACEOF
26086 26088
 
26087 26089
 cat >>$CONFIG_STATUS <<\_ACEOF
... ...
@@ -26092,39 +26708,24 @@ while test $# != 0
26092 26092
 do
26093 26093
   case $1 in
26094 26094
   --*=*)
26095
-    ac_option=`expr "x$1" : 'x\([^=]*\)='`
26096
-    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
26095
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
26096
+    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26097 26097
     ac_shift=:
26098 26098
     ;;
26099
-  -*)
26099
+  *)
26100 26100
     ac_option=$1
26101 26101
     ac_optarg=$2
26102 26102
     ac_shift=shift
26103 26103
     ;;
26104
-  *) # This is not an option, so the user has probably given explicit
26105
-     # arguments.
26106
-     ac_option=$1
26107
-     ac_need_defaults=false;;
26108 26104
   esac
26109 26105
 
26110 26106
   case $ac_option in
26111 26107
   # Handling of the options.
26112
-_ACEOF
26113
-cat >>$CONFIG_STATUS <<\_ACEOF
26114 26108
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26115 26109
     ac_cs_recheck=: ;;
26116
-  --version | --vers* | -V )
26117
-    echo "$ac_cs_version"; exit 0 ;;
26118
-  --he | --h)
26119
-    # Conflict between --help and --header
26120
-    { { echo "$as_me:$LINENO: error: ambiguous option: $1
26121
-Try \`$0 --help' for more information." >&5
26122
-echo "$as_me: error: ambiguous option: $1
26123
-Try \`$0 --help' for more information." >&2;}
26124
-   { (exit 1); exit 1; }; };;
26125
-  --help | --hel | -h )
26126
-    echo "$ac_cs_usage"; exit 0 ;;
26127
-  --debug | --d* | -d )
26110
+  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26111
+    echo "$ac_cs_version"; exit ;;
26112
+  --debug | --debu | --deb | --de | --d | -d )
26128 26113
     debug=: ;;
26129 26114
   --file | --fil | --fi | --f )
26130 26115
     $ac_shift
... ...
@@ -26134,18 +26735,24 @@ Try \`$0 --help' for more information." >&2;}
26134 26134
     $ac_shift
26135 26135
     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26136 26136
     ac_need_defaults=false;;
26137
+  --he | --h)
26138
+    # Conflict between --help and --header
26139
+    { echo "$as_me: error: ambiguous option: $1
26140
+Try \`$0 --help' for more information." >&2
26141
+   { (exit 1); exit 1; }; };;
26142
+  --help | --hel | -h )
26143
+    echo "$ac_cs_usage"; exit ;;
26137 26144
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26138 26145
   | -silent | --silent | --silen | --sile | --sil | --si | --s)
26139 26146
     ac_cs_silent=: ;;
26140 26147
 
26141 26148
   # This is an error.
26142
-  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
26143
-Try \`$0 --help' for more information." >&5
26144
-echo "$as_me: error: unrecognized option: $1
26145
-Try \`$0 --help' for more information." >&2;}
26149
+  -*) { echo "$as_me: error: unrecognized option: $1
26150
+Try \`$0 --help' for more information." >&2
26146 26151
    { (exit 1); exit 1; }; } ;;
26147 26152
 
26148
-  *) ac_config_targets="$ac_config_targets $1" ;;
26153
+  *) ac_config_targets="$ac_config_targets $1"
26154
+     ac_need_defaults=false ;;
26149 26155
 
26150 26156
   esac
26151 26157
   shift
... ...
@@ -26161,60 +26768,72 @@ fi
26161 26161
 _ACEOF
26162 26162
 cat >>$CONFIG_STATUS <<_ACEOF
26163 26163
 if \$ac_cs_recheck; then
26164
-  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26165
-  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26164
+  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26165
+  CONFIG_SHELL=$SHELL
26166
+  export CONFIG_SHELL
26167
+  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26166 26168
 fi
26167 26169
 
26168 26170
 _ACEOF
26171
+cat >>$CONFIG_STATUS <<\_ACEOF
26172
+exec 5>>config.log
26173
+{
26174
+  echo
26175
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26176
+## Running $as_me. ##
26177
+_ASBOX
26178
+  echo "$ac_log"
26179
+} >&5
26169 26180
 
26181
+_ACEOF
26170 26182
 cat >>$CONFIG_STATUS <<_ACEOF
26171 26183
 #
26172
-# INIT-COMMANDS section.
26184
+# INIT-COMMANDS
26173 26185
 #
26174
-
26175 26186
 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26176 26187
 
26177 26188
 _ACEOF
26178 26189
 
26179
-
26180
-
26181 26190
 cat >>$CONFIG_STATUS <<\_ACEOF
26191
+
26192
+# Handling of arguments.
26182 26193
 for ac_config_target in $ac_config_targets
26183 26194
 do
26184
-  case "$ac_config_target" in
26185
-  # Handling of arguments.
26186
-  "libclamunrar/Makefile" ) CONFIG_FILES="$CONFIG_FILES libclamunrar/Makefile" ;;
26187
-  "libclamav/Makefile" ) CONFIG_FILES="$CONFIG_FILES libclamav/Makefile" ;;
26188
-  "clamscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES clamscan/Makefile" ;;
26189
-  "database/Makefile" ) CONFIG_FILES="$CONFIG_FILES database/Makefile" ;;
26190
-  "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
26191
-  "clamd/Makefile" ) CONFIG_FILES="$CONFIG_FILES clamd/Makefile" ;;
26192
-  "clamdscan/Makefile" ) CONFIG_FILES="$CONFIG_FILES clamdscan/Makefile" ;;
26193
-  "clamav-milter/Makefile" ) CONFIG_FILES="$CONFIG_FILES clamav-milter/Makefile" ;;
26194
-  "freshclam/Makefile" ) CONFIG_FILES="$CONFIG_FILES freshclam/Makefile" ;;
26195
-  "sigtool/Makefile" ) CONFIG_FILES="$CONFIG_FILES sigtool/Makefile" ;;
26196
-  "clamconf/Makefile" ) CONFIG_FILES="$CONFIG_FILES clamconf/Makefile" ;;
26197
-  "etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
26198
-  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26199
-  "clamav-config" ) CONFIG_FILES="$CONFIG_FILES clamav-config" ;;
26200
-  "libclamav.pc" ) CONFIG_FILES="$CONFIG_FILES libclamav.pc" ;;
26201
-  "docs/man/clamav-milter.8" ) CONFIG_FILES="$CONFIG_FILES docs/man/clamav-milter.8" ;;
26202
-  "docs/man/clamconf.1" ) CONFIG_FILES="$CONFIG_FILES docs/man/clamconf.1" ;;
26203
-  "docs/man/clamd.8" ) CONFIG_FILES="$CONFIG_FILES docs/man/clamd.8" ;;
26204
-  "docs/man/clamd.conf.5" ) CONFIG_FILES="$CONFIG_FILES docs/man/clamd.conf.5" ;;
26205
-  "docs/man/clamdscan.1" ) CONFIG_FILES="$CONFIG_FILES docs/man/clamdscan.1" ;;
26206
-  "docs/man/clamscan.1" ) CONFIG_FILES="$CONFIG_FILES docs/man/clamscan.1" ;;
26207
-  "docs/man/freshclam.1" ) CONFIG_FILES="$CONFIG_FILES docs/man/freshclam.1" ;;
26208
-  "docs/man/freshclam.conf.5" ) CONFIG_FILES="$CONFIG_FILES docs/man/freshclam.conf.5" ;;
26209
-  "docs/man/sigtool.1" ) CONFIG_FILES="$CONFIG_FILES docs/man/sigtool.1" ;;
26210
-  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26211
-  "clamav-config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS clamav-config.h" ;;
26195
+  case $ac_config_target in
26196
+    "clamav-config.h") CONFIG_HEADERS="$CONFIG_HEADERS clamav-config.h" ;;
26197
+    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26198
+    "libclamunrar/Makefile") CONFIG_FILES="$CONFIG_FILES libclamunrar/Makefile" ;;
26199
+    "libclamav/Makefile") CONFIG_FILES="$CONFIG_FILES libclamav/Makefile" ;;
26200
+    "clamscan/Makefile") CONFIG_FILES="$CONFIG_FILES clamscan/Makefile" ;;
26201
+    "database/Makefile") CONFIG_FILES="$CONFIG_FILES database/Makefile" ;;
26202
+    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
26203
+    "clamd/Makefile") CONFIG_FILES="$CONFIG_FILES clamd/Makefile" ;;
26204
+    "clamdscan/Makefile") CONFIG_FILES="$CONFIG_FILES clamdscan/Makefile" ;;
26205
+    "clamav-milter/Makefile") CONFIG_FILES="$CONFIG_FILES clamav-milter/Makefile" ;;
26206
+    "freshclam/Makefile") CONFIG_FILES="$CONFIG_FILES freshclam/Makefile" ;;
26207
+    "sigtool/Makefile") CONFIG_FILES="$CONFIG_FILES sigtool/Makefile" ;;
26208
+    "clamconf/Makefile") CONFIG_FILES="$CONFIG_FILES clamconf/Makefile" ;;
26209
+    "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
26210
+    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26211
+    "clamav-config") CONFIG_FILES="$CONFIG_FILES clamav-config" ;;
26212
+    "libclamav.pc") CONFIG_FILES="$CONFIG_FILES libclamav.pc" ;;
26213
+    "docs/man/clamav-milter.8") CONFIG_FILES="$CONFIG_FILES docs/man/clamav-milter.8" ;;
26214
+    "docs/man/clamconf.1") CONFIG_FILES="$CONFIG_FILES docs/man/clamconf.1" ;;
26215
+    "docs/man/clamd.8") CONFIG_FILES="$CONFIG_FILES docs/man/clamd.8" ;;
26216
+    "docs/man/clamd.conf.5") CONFIG_FILES="$CONFIG_FILES docs/man/clamd.conf.5" ;;
26217
+    "docs/man/clamdscan.1") CONFIG_FILES="$CONFIG_FILES docs/man/clamdscan.1" ;;
26218
+    "docs/man/clamscan.1") CONFIG_FILES="$CONFIG_FILES docs/man/clamscan.1" ;;
26219
+    "docs/man/freshclam.1") CONFIG_FILES="$CONFIG_FILES docs/man/freshclam.1" ;;
26220
+    "docs/man/freshclam.conf.5") CONFIG_FILES="$CONFIG_FILES docs/man/freshclam.conf.5" ;;
26221
+    "docs/man/sigtool.1") CONFIG_FILES="$CONFIG_FILES docs/man/sigtool.1" ;;
26222
+
26212 26223
   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26213 26224
 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26214 26225
    { (exit 1); exit 1; }; };;
26215 26226
   esac
26216 26227
 done
26217 26228
 
26229
+
26218 26230
 # If the user did not use the arguments to specify the items to instantiate,
26219 26231
 # then the envvar interface is used.  Set only those that are not.
26220 26232
 # We use the long form for the default assignment because of an extremely
... ...
@@ -26226,376 +26845,484 @@ if $ac_need_defaults; then
26226 26226
 fi
26227 26227
 
26228 26228
 # Have a temporary directory for convenience.  Make it in the build tree
26229
-# simply because there is no reason to put it here, and in addition,
26229
+# simply because there is no reason against having it here, and in addition,
26230 26230
 # creating and moving files from /tmp can sometimes cause problems.
26231
-# Create a temporary directory, and hook for its removal unless debugging.
26231
+# Hook for its removal unless debugging.
26232
+# Note that there is a small window in which the directory will not be cleaned:
26233
+# after its creation but before its name has been assigned to `$tmp'.
26232 26234
 $debug ||
26233 26235
 {
26234
-  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26236
+  tmp=
26237
+  trap 'exit_status=$?
26238
+  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26239
+' 0
26235 26240
   trap '{ (exit 1); exit 1; }' 1 2 13 15
26236 26241
 }
26237
-
26238 26242
 # Create a (secure) tmp directory for tmp files.
26239 26243
 
26240 26244
 {
26241
-  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
26245
+  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26242 26246
   test -n "$tmp" && test -d "$tmp"
26243 26247
 }  ||
26244 26248
 {
26245
-  tmp=./confstat$$-$RANDOM
26246
-  (umask 077 && mkdir $tmp)
26249
+  tmp=./conf$$-$RANDOM
26250
+  (umask 077 && mkdir "$tmp")
26247 26251
 } ||
26248 26252
 {
26249 26253
    echo "$me: cannot create a temporary directory in ." >&2
26250 26254
    { (exit 1); exit 1; }
26251 26255
 }
26252 26256
 
26253
-_ACEOF
26254
-
26255
-cat >>$CONFIG_STATUS <<_ACEOF
26256
-
26257 26257
 #
26258
-# CONFIG_FILES section.
26258
+# Set up the sed scripts for CONFIG_FILES section.
26259 26259
 #
26260 26260
 
26261 26261
 # No need to generate the scripts if there are no CONFIG_FILES.
26262 26262
 # This happens for instance when ./config.status config.h
26263
-if test -n "\$CONFIG_FILES"; then
26264
-  # Protect against being on the right side of a sed subst in config.status.
26265
-  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26266
-   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26267
-s,@SHELL@,$SHELL,;t t
26268
-s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26269
-s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26270
-s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26271
-s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26272
-s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26273
-s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26274
-s,@exec_prefix@,$exec_prefix,;t t
26275
-s,@prefix@,$prefix,;t t
26276
-s,@program_transform_name@,$program_transform_name,;t t
26277
-s,@bindir@,$bindir,;t t
26278
-s,@sbindir@,$sbindir,;t t
26279
-s,@libexecdir@,$libexecdir,;t t
26280
-s,@datadir@,$datadir,;t t
26281
-s,@sysconfdir@,$sysconfdir,;t t
26282
-s,@sharedstatedir@,$sharedstatedir,;t t
26283
-s,@localstatedir@,$localstatedir,;t t
26284
-s,@libdir@,$libdir,;t t
26285
-s,@includedir@,$includedir,;t t
26286
-s,@oldincludedir@,$oldincludedir,;t t
26287
-s,@infodir@,$infodir,;t t
26288
-s,@mandir@,$mandir,;t t
26289
-s,@build_alias@,$build_alias,;t t
26290
-s,@host_alias@,$host_alias,;t t
26291
-s,@target_alias@,$target_alias,;t t
26292
-s,@DEFS@,$DEFS,;t t
26293
-s,@ECHO_C@,$ECHO_C,;t t
26294
-s,@ECHO_N@,$ECHO_N,;t t
26295
-s,@ECHO_T@,$ECHO_T,;t t
26296
-s,@LIBS@,$LIBS,;t t
26297
-s,@build@,$build,;t t
26298
-s,@build_cpu@,$build_cpu,;t t
26299
-s,@build_vendor@,$build_vendor,;t t
26300
-s,@build_os@,$build_os,;t t
26301
-s,@host@,$host,;t t
26302
-s,@host_cpu@,$host_cpu,;t t
26303
-s,@host_vendor@,$host_vendor,;t t
26304
-s,@host_os@,$host_os,;t t
26305
-s,@target@,$target,;t t
26306
-s,@target_cpu@,$target_cpu,;t t
26307
-s,@target_vendor@,$target_vendor,;t t
26308
-s,@target_os@,$target_os,;t t
26309
-s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26310
-s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26311
-s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26312
-s,@CYGPATH_W@,$CYGPATH_W,;t t
26313
-s,@PACKAGE@,$PACKAGE,;t t
26314
-s,@VERSION@,$VERSION,;t t
26315
-s,@ACLOCAL@,$ACLOCAL,;t t
26316
-s,@AUTOCONF@,$AUTOCONF,;t t
26317
-s,@AUTOMAKE@,$AUTOMAKE,;t t
26318
-s,@AUTOHEADER@,$AUTOHEADER,;t t
26319
-s,@MAKEINFO@,$MAKEINFO,;t t
26320
-s,@install_sh@,$install_sh,;t t
26321
-s,@STRIP@,$STRIP,;t t
26322
-s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26323
-s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26324
-s,@mkdir_p@,$mkdir_p,;t t
26325
-s,@AWK@,$AWK,;t t
26326
-s,@SET_MAKE@,$SET_MAKE,;t t
26327
-s,@am__leading_dot@,$am__leading_dot,;t t
26328
-s,@AMTAR@,$AMTAR,;t t
26329
-s,@am__tar@,$am__tar,;t t
26330
-s,@am__untar@,$am__untar,;t t
26331
-s,@LIBCLAMAV_VERSION@,$LIBCLAMAV_VERSION,;t t
26332
-s,@CC@,$CC,;t t
26333
-s,@CFLAGS@,$CFLAGS,;t t
26334
-s,@LDFLAGS@,$LDFLAGS,;t t
26335
-s,@CPPFLAGS@,$CPPFLAGS,;t t
26336
-s,@ac_ct_CC@,$ac_ct_CC,;t t
26337
-s,@EXEEXT@,$EXEEXT,;t t
26338
-s,@OBJEXT@,$OBJEXT,;t t
26339
-s,@DEPDIR@,$DEPDIR,;t t
26340
-s,@am__include@,$am__include,;t t
26341
-s,@am__quote@,$am__quote,;t t
26342
-s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26343
-s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26344
-s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26345
-s,@CCDEPMODE@,$CCDEPMODE,;t t
26346
-s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26347
-s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26348
-s,@LN_S@,$LN_S,;t t
26349
-s,@SED@,$SED,;t t
26350
-s,@EGREP@,$EGREP,;t t
26351
-s,@ECHO@,$ECHO,;t t
26352
-s,@AR@,$AR,;t t
26353
-s,@ac_ct_AR@,$ac_ct_AR,;t t
26354
-s,@RANLIB@,$RANLIB,;t t
26355
-s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26356
-s,@CPP@,$CPP,;t t
26357
-s,@CXX@,$CXX,;t t
26358
-s,@CXXFLAGS@,$CXXFLAGS,;t t
26359
-s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26360
-s,@CXXDEPMODE@,$CXXDEPMODE,;t t
26361
-s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
26362
-s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
26363
-s,@CXXCPP@,$CXXCPP,;t t
26364
-s,@F77@,$F77,;t t
26365
-s,@FFLAGS@,$FFLAGS,;t t
26366
-s,@ac_ct_F77@,$ac_ct_F77,;t t
26367
-s,@LIBTOOL@,$LIBTOOL,;t t
26368
-s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
26369
-s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
26370
-s,@MAINT@,$MAINT,;t t
26371
-s,@sendmailprog@,$sendmailprog,;t t
26372
-s,@DBDIR@,$DBDIR,;t t
26373
-s,@CFGDIR@,$CFGDIR,;t t
26374
-s,@LIBCLAMAV_LIBS@,$LIBCLAMAV_LIBS,;t t
26375
-s,@CLAMD_LIBS@,$CLAMD_LIBS,;t t
26376
-s,@CLAMAV_MILTER_LIBS@,$CLAMAV_MILTER_LIBS,;t t
26377
-s,@FRESHCLAM_LIBS@,$FRESHCLAM_LIBS,;t t
26378
-s,@TH_SAFE@,$TH_SAFE,;t t
26379
-s,@THREAD_LIBS@,$THREAD_LIBS,;t t
26380
-s,@BUILD_CLAMD_TRUE@,$BUILD_CLAMD_TRUE,;t t
26381
-s,@BUILD_CLAMD_FALSE@,$BUILD_CLAMD_FALSE,;t t
26382
-s,@HAVE_MILTER_TRUE@,$HAVE_MILTER_TRUE,;t t
26383
-s,@HAVE_MILTER_FALSE@,$HAVE_MILTER_FALSE,;t t
26384
-s,@GETENT@,$GETENT,;t t
26385
-s,@CLAMAVUSER@,$CLAMAVUSER,;t t
26386
-s,@CLAMAVGROUP@,$CLAMAVGROUP,;t t
26387
-s,@LIBOBJS@,$LIBOBJS,;t t
26388
-s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26389
-CEOF
26390
-
26391
-_ACEOF
26392
-
26393
-  cat >>$CONFIG_STATUS <<\_ACEOF
26394
-  # Split the substitutions into bite-sized pieces for seds with
26395
-  # small command number limits, like on Digital OSF/1 and HP-UX.
26396
-  ac_max_sed_lines=48
26397
-  ac_sed_frag=1 # Number of current file.
26398
-  ac_beg=1 # First line for current file.
26399
-  ac_end=$ac_max_sed_lines # Line after last line for current file.
26400
-  ac_more_lines=:
26401
-  ac_sed_cmds=
26402
-  while $ac_more_lines; do
26403
-    if test $ac_beg -gt 1; then
26404
-      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
26405
-    else
26406
-      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
26407
-    fi
26408
-    if test ! -s $tmp/subs.frag; then
26409
-      ac_more_lines=false
26410
-    else
26411
-      # The purpose of the label and of the branching condition is to
26412
-      # speed up the sed processing (if there are no `@' at all, there
26413
-      # is no need to browse any of the substitutions).
26414
-      # These are the two extra sed commands mentioned above.
26415
-      (echo ':t
26416
-  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
26417
-      if test -z "$ac_sed_cmds"; then
26418
-	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
26419
-      else
26420
-	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
26421
-      fi
26422
-      ac_sed_frag=`expr $ac_sed_frag + 1`
26423
-      ac_beg=$ac_end
26424
-      ac_end=`expr $ac_end + $ac_max_sed_lines`
26425
-    fi
26426
-  done
26427
-  if test -z "$ac_sed_cmds"; then
26428
-    ac_sed_cmds=cat
26263
+if test -n "$CONFIG_FILES"; then
26264
+
26265
+_ACEOF
26266
+
26267
+
26268
+
26269
+ac_delim='%!_!# '
26270
+for ac_last_try in false false false false false :; do
26271
+  cat >conf$$subs.sed <<_ACEOF
26272
+SHELL!$SHELL$ac_delim
26273
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26274
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26275
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26276
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26277
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26278
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26279
+exec_prefix!$exec_prefix$ac_delim
26280
+prefix!$prefix$ac_delim
26281
+program_transform_name!$program_transform_name$ac_delim
26282
+bindir!$bindir$ac_delim
26283
+sbindir!$sbindir$ac_delim
26284
+libexecdir!$libexecdir$ac_delim
26285
+datarootdir!$datarootdir$ac_delim
26286
+datadir!$datadir$ac_delim
26287
+sysconfdir!$sysconfdir$ac_delim
26288
+sharedstatedir!$sharedstatedir$ac_delim
26289
+localstatedir!$localstatedir$ac_delim
26290
+includedir!$includedir$ac_delim
26291
+oldincludedir!$oldincludedir$ac_delim
26292
+docdir!$docdir$ac_delim
26293
+infodir!$infodir$ac_delim
26294
+htmldir!$htmldir$ac_delim
26295
+dvidir!$dvidir$ac_delim
26296
+pdfdir!$pdfdir$ac_delim
26297
+psdir!$psdir$ac_delim
26298
+libdir!$libdir$ac_delim
26299
+localedir!$localedir$ac_delim
26300
+mandir!$mandir$ac_delim
26301
+DEFS!$DEFS$ac_delim
26302
+ECHO_C!$ECHO_C$ac_delim
26303
+ECHO_N!$ECHO_N$ac_delim
26304
+ECHO_T!$ECHO_T$ac_delim
26305
+LIBS!$LIBS$ac_delim
26306
+build_alias!$build_alias$ac_delim
26307
+host_alias!$host_alias$ac_delim
26308
+target_alias!$target_alias$ac_delim
26309
+build!$build$ac_delim
26310
+build_cpu!$build_cpu$ac_delim
26311
+build_vendor!$build_vendor$ac_delim
26312
+build_os!$build_os$ac_delim
26313
+host!$host$ac_delim
26314
+host_cpu!$host_cpu$ac_delim
26315
+host_vendor!$host_vendor$ac_delim
26316
+host_os!$host_os$ac_delim
26317
+target!$target$ac_delim
26318
+target_cpu!$target_cpu$ac_delim
26319
+target_vendor!$target_vendor$ac_delim
26320
+target_os!$target_os$ac_delim
26321
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26322
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26323
+INSTALL_DATA!$INSTALL_DATA$ac_delim
26324
+CYGPATH_W!$CYGPATH_W$ac_delim
26325
+PACKAGE!$PACKAGE$ac_delim
26326
+VERSION!$VERSION$ac_delim
26327
+ACLOCAL!$ACLOCAL$ac_delim
26328
+AUTOCONF!$AUTOCONF$ac_delim
26329
+AUTOMAKE!$AUTOMAKE$ac_delim
26330
+AUTOHEADER!$AUTOHEADER$ac_delim
26331
+MAKEINFO!$MAKEINFO$ac_delim
26332
+install_sh!$install_sh$ac_delim
26333
+STRIP!$STRIP$ac_delim
26334
+INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26335
+mkdir_p!$mkdir_p$ac_delim
26336
+AWK!$AWK$ac_delim
26337
+SET_MAKE!$SET_MAKE$ac_delim
26338
+am__leading_dot!$am__leading_dot$ac_delim
26339
+AMTAR!$AMTAR$ac_delim
26340
+am__tar!$am__tar$ac_delim
26341
+am__untar!$am__untar$ac_delim
26342
+LIBCLAMAV_VERSION!$LIBCLAMAV_VERSION$ac_delim
26343
+CC!$CC$ac_delim
26344
+CFLAGS!$CFLAGS$ac_delim
26345
+LDFLAGS!$LDFLAGS$ac_delim
26346
+CPPFLAGS!$CPPFLAGS$ac_delim
26347
+ac_ct_CC!$ac_ct_CC$ac_delim
26348
+EXEEXT!$EXEEXT$ac_delim
26349
+OBJEXT!$OBJEXT$ac_delim
26350
+DEPDIR!$DEPDIR$ac_delim
26351
+am__include!$am__include$ac_delim
26352
+am__quote!$am__quote$ac_delim
26353
+AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26354
+AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26355
+AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26356
+CCDEPMODE!$CCDEPMODE$ac_delim
26357
+am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26358
+am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26359
+LN_S!$LN_S$ac_delim
26360
+SED!$SED$ac_delim
26361
+GREP!$GREP$ac_delim
26362
+EGREP!$EGREP$ac_delim
26363
+ECHO!$ECHO$ac_delim
26364
+AR!$AR$ac_delim
26365
+RANLIB!$RANLIB$ac_delim
26366
+CPP!$CPP$ac_delim
26367
+CXX!$CXX$ac_delim
26368
+CXXFLAGS!$CXXFLAGS$ac_delim
26369
+_ACEOF
26370
+
26371
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26372
+    break
26373
+  elif $ac_last_try; then
26374
+    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26375
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26376
+   { (exit 1); exit 1; }; }
26377
+  else
26378
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26429 26379
   fi
26430
-fi # test -n "$CONFIG_FILES"
26380
+done
26381
+
26382
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26383
+if test -n "$ac_eof"; then
26384
+  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26385
+  ac_eof=`expr $ac_eof + 1`
26386
+fi
26431 26387
 
26388
+cat >>$CONFIG_STATUS <<_ACEOF
26389
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26390
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26432 26391
 _ACEOF
26392
+sed '
26393
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26394
+s/^/s,@/; s/!/@,|#_!!_#|/
26395
+:n
26396
+t n
26397
+s/'"$ac_delim"'$/,g/; t
26398
+s/$/\\/; p
26399
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26400
+' >>$CONFIG_STATUS <conf$$subs.sed
26401
+rm -f conf$$subs.sed
26402
+cat >>$CONFIG_STATUS <<_ACEOF
26403
+CEOF$ac_eof
26404
+_ACEOF
26405
+
26406
+
26407
+ac_delim='%!_!# '
26408
+for ac_last_try in false false false false false :; do
26409
+  cat >conf$$subs.sed <<_ACEOF
26410
+ac_ct_CXX!$ac_ct_CXX$ac_delim
26411
+CXXDEPMODE!$CXXDEPMODE$ac_delim
26412
+am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26413
+am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26414
+CXXCPP!$CXXCPP$ac_delim
26415
+F77!$F77$ac_delim
26416
+FFLAGS!$FFLAGS$ac_delim
26417
+ac_ct_F77!$ac_ct_F77$ac_delim
26418
+LIBTOOL!$LIBTOOL$ac_delim
26419
+MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
26420
+MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
26421
+MAINT!$MAINT$ac_delim
26422
+sendmailprog!$sendmailprog$ac_delim
26423
+DBDIR!$DBDIR$ac_delim
26424
+CFGDIR!$CFGDIR$ac_delim
26425
+LIBCLAMAV_LIBS!$LIBCLAMAV_LIBS$ac_delim
26426
+CLAMD_LIBS!$CLAMD_LIBS$ac_delim
26427
+CLAMAV_MILTER_LIBS!$CLAMAV_MILTER_LIBS$ac_delim
26428
+FRESHCLAM_LIBS!$FRESHCLAM_LIBS$ac_delim
26429
+TH_SAFE!$TH_SAFE$ac_delim
26430
+THREAD_LIBS!$THREAD_LIBS$ac_delim
26431
+BUILD_CLAMD_TRUE!$BUILD_CLAMD_TRUE$ac_delim
26432
+BUILD_CLAMD_FALSE!$BUILD_CLAMD_FALSE$ac_delim
26433
+HAVE_MILTER_TRUE!$HAVE_MILTER_TRUE$ac_delim
26434
+HAVE_MILTER_FALSE!$HAVE_MILTER_FALSE$ac_delim
26435
+ENABLE_UNRAR_TRUE!$ENABLE_UNRAR_TRUE$ac_delim
26436
+ENABLE_UNRAR_FALSE!$ENABLE_UNRAR_FALSE$ac_delim
26437
+GETENT!$GETENT$ac_delim
26438
+CLAMAVUSER!$CLAMAVUSER$ac_delim
26439
+CLAMAVGROUP!$CLAMAVGROUP$ac_delim
26440
+LIBOBJS!$LIBOBJS$ac_delim
26441
+LTLIBOBJS!$LTLIBOBJS$ac_delim
26442
+_ACEOF
26443
+
26444
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
26445
+    break
26446
+  elif $ac_last_try; then
26447
+    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26448
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26449
+   { (exit 1); exit 1; }; }
26450
+  else
26451
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26452
+  fi
26453
+done
26454
+
26455
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26456
+if test -n "$ac_eof"; then
26457
+  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26458
+  ac_eof=`expr $ac_eof + 1`
26459
+fi
26460
+
26461
+cat >>$CONFIG_STATUS <<_ACEOF
26462
+cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26463
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26464
+_ACEOF
26465
+sed '
26466
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26467
+s/^/s,@/; s/!/@,|#_!!_#|/
26468
+:n
26469
+t n
26470
+s/'"$ac_delim"'$/,g/; t
26471
+s/$/\\/; p
26472
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26473
+' >>$CONFIG_STATUS <conf$$subs.sed
26474
+rm -f conf$$subs.sed
26475
+cat >>$CONFIG_STATUS <<_ACEOF
26476
+:end
26477
+s/|#_!!_#|//g
26478
+CEOF$ac_eof
26479
+_ACEOF
26480
+
26481
+
26482
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
26483
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26484
+# trailing colons and then remove the whole line if VPATH becomes empty
26485
+# (actually we leave an empty line to preserve line numbers).
26486
+if test "x$srcdir" = x.; then
26487
+  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
26488
+s/:*\$(srcdir):*/:/
26489
+s/:*\${srcdir}:*/:/
26490
+s/:*@srcdir@:*/:/
26491
+s/^\([^=]*=[	 ]*\):*/\1/
26492
+s/:*$//
26493
+s/^[^=]*=[	 ]*$//
26494
+}'
26495
+fi
26496
+
26433 26497
 cat >>$CONFIG_STATUS <<\_ACEOF
26434
-for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
26435
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26436
-  case $ac_file in
26437
-  - | *:- | *:-:* ) # input from stdin
26438
-	cat >$tmp/stdin
26439
-	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26440
-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26441
-  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26442
-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26443
-  * )   ac_file_in=$ac_file.in ;;
26498
+fi # test -n "$CONFIG_FILES"
26499
+
26500
+
26501
+for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
26502
+do
26503
+  case $ac_tag in
26504
+  :[FHLC]) ac_mode=$ac_tag; continue;;
26505
+  esac
26506
+  case $ac_mode$ac_tag in
26507
+  :[FHL]*:*);;
26508
+  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26509
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26510
+   { (exit 1); exit 1; }; };;
26511
+  :[FH]-) ac_tag=-:-;;
26512
+  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26513
+  esac
26514
+  ac_save_IFS=$IFS
26515
+  IFS=:
26516
+  set x $ac_tag
26517
+  IFS=$ac_save_IFS
26518
+  shift
26519
+  ac_file=$1
26520
+  shift
26521
+
26522
+  case $ac_mode in
26523
+  :L) ac_source=$1;;
26524
+  :[FH])
26525
+    ac_file_inputs=
26526
+    for ac_f
26527
+    do
26528
+      case $ac_f in
26529
+      -) ac_f="$tmp/stdin";;
26530
+      *) # Look for the file first in the build tree, then in the source tree
26531
+	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
26532
+	 # because $ac_f cannot contain `:'.
26533
+	 test -f "$ac_f" ||
26534
+	   case $ac_f in
26535
+	   [\\/$]*) false;;
26536
+	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26537
+	   esac ||
26538
+	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26539
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26540
+   { (exit 1); exit 1; }; };;
26541
+      esac
26542
+      ac_file_inputs="$ac_file_inputs $ac_f"
26543
+    done
26544
+
26545
+    # Let's still pretend it is `configure' which instantiates (i.e., don't
26546
+    # use $as_me), people would be surprised to read:
26547
+    #    /* config.h.  Generated by config.status.  */
26548
+    configure_input="Generated from "`IFS=:
26549
+	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26550
+    if test x"$ac_file" != x-; then
26551
+      configure_input="$ac_file.  $configure_input"
26552
+      { echo "$as_me:$LINENO: creating $ac_file" >&5
26553
+echo "$as_me: creating $ac_file" >&6;}
26554
+    fi
26555
+
26556
+    case $ac_tag in
26557
+    *:-:* | *:-) cat >"$tmp/stdin";;
26558
+    esac
26559
+    ;;
26444 26560
   esac
26445 26561
 
26446
-  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
26447
-  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26562
+  ac_dir=`$as_dirname -- "$ac_file" ||
26448 26563
 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26449 26564
 	 X"$ac_file" : 'X\(//\)[^/]' \| \
26450 26565
 	 X"$ac_file" : 'X\(//\)$' \| \
26451
-	 X"$ac_file" : 'X\(/\)' \| \
26452
-	 .     : '\(.\)' 2>/dev/null ||
26566
+	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26453 26567
 echo X"$ac_file" |
26454
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26455
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26456
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
26457
-  	  /^X\(\/\).*/{ s//\1/; q; }
26458
-  	  s/.*/./; q'`
26459
-  { if $as_mkdir_p; then
26460
-    mkdir -p "$ac_dir"
26461
-  else
26462
-    as_dir="$ac_dir"
26568
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26569
+	    s//\1/
26570
+	    q
26571
+	  }
26572
+	  /^X\(\/\/\)[^/].*/{
26573
+	    s//\1/
26574
+	    q
26575
+	  }
26576
+	  /^X\(\/\/\)$/{
26577
+	    s//\1/
26578
+	    q
26579
+	  }
26580
+	  /^X\(\/\).*/{
26581
+	    s//\1/
26582
+	    q
26583
+	  }
26584
+	  s/.*/./; q'`
26585
+  { as_dir="$ac_dir"
26586
+  case $as_dir in #(
26587
+  -*) as_dir=./$as_dir;;
26588
+  esac
26589
+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26463 26590
     as_dirs=
26464
-    while test ! -d "$as_dir"; do
26465
-      as_dirs="$as_dir $as_dirs"
26466
-      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26591
+    while :; do
26592
+      case $as_dir in #(
26593
+      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26594
+      *) as_qdir=$as_dir;;
26595
+      esac
26596
+      as_dirs="'$as_qdir' $as_dirs"
26597
+      as_dir=`$as_dirname -- "$as_dir" ||
26467 26598
 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26468 26599
 	 X"$as_dir" : 'X\(//\)[^/]' \| \
26469 26600
 	 X"$as_dir" : 'X\(//\)$' \| \
26470
-	 X"$as_dir" : 'X\(/\)' \| \
26471
-	 .     : '\(.\)' 2>/dev/null ||
26601
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26472 26602
 echo X"$as_dir" |
26473
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26474
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26475
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
26476
-  	  /^X\(\/\).*/{ s//\1/; q; }
26477
-  	  s/.*/./; q'`
26603
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26604
+	    s//\1/
26605
+	    q
26606
+	  }
26607
+	  /^X\(\/\/\)[^/].*/{
26608
+	    s//\1/
26609
+	    q
26610
+	  }
26611
+	  /^X\(\/\/\)$/{
26612
+	    s//\1/
26613
+	    q
26614
+	  }
26615
+	  /^X\(\/\).*/{
26616
+	    s//\1/
26617
+	    q
26618
+	  }
26619
+	  s/.*/./; q'`
26620
+      test -d "$as_dir" && break
26478 26621
     done
26479
-    test ! -n "$as_dirs" || mkdir $as_dirs
26480
-  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26481
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26622
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
26623
+  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26624
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
26482 26625
    { (exit 1); exit 1; }; }; }
26483
-
26484 26626
   ac_builddir=.
26485 26627
 
26486
-if test "$ac_dir" != .; then
26628
+case "$ac_dir" in
26629
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26630
+*)
26487 26631
   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26488
-  # A "../" for each directory in $ac_dir_suffix.
26489
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26490
-else
26491
-  ac_dir_suffix= ac_top_builddir=
26492
-fi
26632
+  # A ".." for each directory in $ac_dir_suffix.
26633
+  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
26634
+  case $ac_top_builddir_sub in
26635
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26636
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26637
+  esac ;;
26638
+esac
26639
+ac_abs_top_builddir=$ac_pwd
26640
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
26641
+# for backward compatibility:
26642
+ac_top_builddir=$ac_top_build_prefix
26493 26643
 
26494 26644
 case $srcdir in
26495
-  .)  # No --srcdir option.  We are building in place.
26645
+  .)  # We are building in place.
26496 26646
     ac_srcdir=.
26497
-    if test -z "$ac_top_builddir"; then
26498
-       ac_top_srcdir=.
26499
-    else
26500
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26501
-    fi ;;
26502
-  [\\/]* | ?:[\\/]* )  # Absolute path.
26647
+    ac_top_srcdir=$ac_top_builddir_sub
26648
+    ac_abs_top_srcdir=$ac_pwd ;;
26649
+  [\\/]* | ?:[\\/]* )  # Absolute name.
26503 26650
     ac_srcdir=$srcdir$ac_dir_suffix;
26504
-    ac_top_srcdir=$srcdir ;;
26505
-  *) # Relative path.
26506
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26507
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
26651
+    ac_top_srcdir=$srcdir
26652
+    ac_abs_top_srcdir=$srcdir ;;
26653
+  *) # Relative name.
26654
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26655
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
26656
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26508 26657
 esac
26658
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26509 26659
 
26510
-# Do not use `cd foo && pwd` to compute absolute paths, because
26511
-# the directories may not exist.
26512
-case `pwd` in
26513
-.) ac_abs_builddir="$ac_dir";;
26514
-*)
26515
-  case "$ac_dir" in
26516
-  .) ac_abs_builddir=`pwd`;;
26517
-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26518
-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
26519
-  esac;;
26520
-esac
26521
-case $ac_abs_builddir in
26522
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
26523
-*)
26524
-  case ${ac_top_builddir}. in
26525
-  .) ac_abs_top_builddir=$ac_abs_builddir;;
26526
-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26527
-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26528
-  esac;;
26529
-esac
26530
-case $ac_abs_builddir in
26531
-.) ac_abs_srcdir=$ac_srcdir;;
26532
-*)
26533
-  case $ac_srcdir in
26534
-  .) ac_abs_srcdir=$ac_abs_builddir;;
26535
-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26536
-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26537
-  esac;;
26538
-esac
26539
-case $ac_abs_builddir in
26540
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
26541
-*)
26542
-  case $ac_top_srcdir in
26543
-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
26544
-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26545
-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26546
-  esac;;
26547
-esac
26548 26660
 
26661
+  case $ac_mode in
26662
+  :F)
26663
+  #
26664
+  # CONFIG_FILE
26665
+  #
26549 26666
 
26550 26667
   case $INSTALL in
26551 26668
   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26552
-  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
26669
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26553 26670
   esac
26671
+_ACEOF
26554 26672
 
26555
-  if test x"$ac_file" != x-; then
26556
-    { echo "$as_me:$LINENO: creating $ac_file" >&5
26557
-echo "$as_me: creating $ac_file" >&6;}
26558
-    rm -f "$ac_file"
26559
-  fi
26560
-  # Let's still pretend it is `configure' which instantiates (i.e., don't
26561
-  # use $as_me), people would be surprised to read:
26562
-  #    /* config.h.  Generated by config.status.  */
26563
-  if test x"$ac_file" = x-; then
26564
-    configure_input=
26565
-  else
26566
-    configure_input="$ac_file.  "
26567
-  fi
26568
-  configure_input=$configure_input"Generated from `echo $ac_file_in |
26569
-				     sed 's,.*/,,'` by configure."
26570
-
26571
-  # First look for the input files in the build tree, otherwise in the
26572
-  # src tree.
26573
-  ac_file_inputs=`IFS=:
26574
-    for f in $ac_file_in; do
26575
-      case $f in
26576
-      -) echo $tmp/stdin ;;
26577
-      [\\/$]*)
26578
-	 # Absolute (can't be DOS-style, as IFS=:)
26579
-	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26580
-echo "$as_me: error: cannot find input file: $f" >&2;}
26581
-   { (exit 1); exit 1; }; }
26582
-	 echo "$f";;
26583
-      *) # Relative
26584
-	 if test -f "$f"; then
26585
-	   # Build tree
26586
-	   echo "$f"
26587
-	 elif test -f "$srcdir/$f"; then
26588
-	   # Source tree
26589
-	   echo "$srcdir/$f"
26590
-	 else
26591
-	   # /dev/null tree
26592
-	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26593
-echo "$as_me: error: cannot find input file: $f" >&2;}
26594
-   { (exit 1); exit 1; }; }
26595
-	 fi;;
26596
-      esac
26597
-    done` || { (exit 1); exit 1; }
26673
+cat >>$CONFIG_STATUS <<\_ACEOF
26674
+# If the template does not know about datarootdir, expand it.
26675
+# FIXME: This hack should be removed a few years after 2.60.
26676
+ac_datarootdir_hack=; ac_datarootdir_seen=
26677
+
26678
+case `sed -n '/datarootdir/ {
26679
+  p
26680
+  q
26681
+}
26682
+/@datadir@/p
26683
+/@docdir@/p
26684
+/@infodir@/p
26685
+/@localedir@/p
26686
+/@mandir@/p
26687
+' $ac_file_inputs` in
26688
+*datarootdir*) ac_datarootdir_seen=yes;;
26689
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26690
+  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26691
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26692
+_ACEOF
26693
+cat >>$CONFIG_STATUS <<_ACEOF
26694
+  ac_datarootdir_hack='
26695
+  s&@datadir@&$datadir&g
26696
+  s&@docdir@&$docdir&g
26697
+  s&@infodir@&$infodir&g
26698
+  s&@localedir@&$localedir&g
26699
+  s&@mandir@&$mandir&g
26700
+    s&\\\${datarootdir}&$datarootdir&g' ;;
26701
+esac
26598 26702
 _ACEOF
26703
+
26704
+# Neutralize VPATH when `$srcdir' = `.'.
26705
+# Shell code in configure.ac might set extrasub.
26706
+# FIXME: do we really want to maintain this feature?
26599 26707
 cat >>$CONFIG_STATUS <<_ACEOF
26600 26708
   sed "$ac_vpsub
26601 26709
 $extrasub
... ...
@@ -26603,248 +27330,130 @@ _ACEOF
26603 26603
 cat >>$CONFIG_STATUS <<\_ACEOF
26604 26604
 :t
26605 26605
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26606
-s,@configure_input@,$configure_input,;t t
26607
-s,@srcdir@,$ac_srcdir,;t t
26608
-s,@abs_srcdir@,$ac_abs_srcdir,;t t
26609
-s,@top_srcdir@,$ac_top_srcdir,;t t
26610
-s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
26611
-s,@builddir@,$ac_builddir,;t t
26612
-s,@abs_builddir@,$ac_abs_builddir,;t t
26613
-s,@top_builddir@,$ac_top_builddir,;t t
26614
-s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
26615
-s,@INSTALL@,$ac_INSTALL,;t t
26616
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
26617
-  rm -f $tmp/stdin
26618
-  if test x"$ac_file" != x-; then
26619
-    mv $tmp/out $ac_file
26620
-  else
26621
-    cat $tmp/out
26622
-    rm -f $tmp/out
26623
-  fi
26624
-
26625
-done
26626
-_ACEOF
26627
-cat >>$CONFIG_STATUS <<\_ACEOF
26628
-
26629
-#
26630
-# CONFIG_HEADER section.
26631
-#
26632
-
26633
-# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
26634
-# NAME is the cpp macro being defined and VALUE is the value it is being given.
26635
-#
26636
-# ac_d sets the value in "#define NAME VALUE" lines.
26637
-ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
26638
-ac_dB='[	 ].*$,\1#\2'
26639
-ac_dC=' '
26640
-ac_dD=',;t'
26641
-# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
26642
-ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
26643
-ac_uB='$,\1#\2define\3'
26644
-ac_uC=' '
26645
-ac_uD=',;t'
26646
-
26647
-for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
26648
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
26606
+s&@configure_input@&$configure_input&;t t
26607
+s&@top_builddir@&$ac_top_builddir_sub&;t t
26608
+s&@srcdir@&$ac_srcdir&;t t
26609
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
26610
+s&@top_srcdir@&$ac_top_srcdir&;t t
26611
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26612
+s&@builddir@&$ac_builddir&;t t
26613
+s&@abs_builddir@&$ac_abs_builddir&;t t
26614
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26615
+s&@INSTALL@&$ac_INSTALL&;t t
26616
+$ac_datarootdir_hack
26617
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
26618
+
26619
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26620
+  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26621
+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26622
+  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26623
+which seems to be undefined.  Please make sure it is defined." >&5
26624
+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26625
+which seems to be undefined.  Please make sure it is defined." >&2;}
26626
+
26627
+  rm -f "$tmp/stdin"
26649 26628
   case $ac_file in
26650
-  - | *:- | *:-:* ) # input from stdin
26651
-	cat >$tmp/stdin
26652
-	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26653
-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26654
-  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
26655
-	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
26656
-  * )   ac_file_in=$ac_file.in ;;
26629
+  -) cat "$tmp/out"; rm -f "$tmp/out";;
26630
+  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
26657 26631
   esac
26632
+ ;;
26633
+  :H)
26634
+  #
26635
+  # CONFIG_HEADER
26636
+  #
26637
+_ACEOF
26658 26638
 
26659
-  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
26660
-echo "$as_me: creating $ac_file" >&6;}
26661
-
26662
-  # First look for the input files in the build tree, otherwise in the
26663
-  # src tree.
26664
-  ac_file_inputs=`IFS=:
26665
-    for f in $ac_file_in; do
26666
-      case $f in
26667
-      -) echo $tmp/stdin ;;
26668
-      [\\/$]*)
26669
-	 # Absolute (can't be DOS-style, as IFS=:)
26670
-	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26671
-echo "$as_me: error: cannot find input file: $f" >&2;}
26672
-   { (exit 1); exit 1; }; }
26673
-	 # Do quote $f, to prevent DOS paths from being IFS'd.
26674
-	 echo "$f";;
26675
-      *) # Relative
26676
-	 if test -f "$f"; then
26677
-	   # Build tree
26678
-	   echo "$f"
26679
-	 elif test -f "$srcdir/$f"; then
26680
-	   # Source tree
26681
-	   echo "$srcdir/$f"
26682
-	 else
26683
-	   # /dev/null tree
26684
-	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
26685
-echo "$as_me: error: cannot find input file: $f" >&2;}
26686
-   { (exit 1); exit 1; }; }
26687
-	 fi;;
26688
-      esac
26689
-    done` || { (exit 1); exit 1; }
26690
-  # Remove the trailing spaces.
26691
-  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
26692
-
26693
-_ACEOF
26694
-
26695
-# Transform confdefs.h into two sed scripts, `conftest.defines' and
26696
-# `conftest.undefs', that substitutes the proper values into
26697
-# config.h.in to produce config.h.  The first handles `#define'
26698
-# templates, and the second `#undef' templates.
26699
-# And first: Protect against being on the right side of a sed subst in
26700
-# config.status.  Protect against being in an unquoted here document
26701
-# in config.status.
26702
-rm -f conftest.defines conftest.undefs
26703
-# Using a here document instead of a string reduces the quoting nightmare.
26704
-# Putting comments in sed scripts is not portable.
26705
-#
26706
-# `end' is used to avoid that the second main sed command (meant for
26707
-# 0-ary CPP macros) applies to n-ary macro definitions.
26708
-# See the Autoconf documentation for `clear'.
26709
-cat >confdef2sed.sed <<\_ACEOF
26710
-s/[\\&,]/\\&/g
26711
-s,[\\$`],\\&,g
26712
-t clear
26713
-: clear
26714
-s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
26715
-t end
26716
-s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
26717
-: end
26718
-_ACEOF
26719
-# If some macros were called several times there might be several times
26720
-# the same #defines, which is useless.  Nevertheless, we may not want to
26721
-# sort them, since we want the *last* AC-DEFINE to be honored.
26722
-uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
26723
-sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
26724
-rm -f confdef2sed.sed
26725
-
26726
-# This sed command replaces #undef with comments.  This is necessary, for
26639
+# Transform confdefs.h into a sed script `conftest.defines', that
26640
+# substitutes the proper values into config.h.in to produce config.h.
26641
+rm -f conftest.defines conftest.tail
26642
+# First, append a space to every undef/define line, to ease matching.
26643
+echo 's/$/ /' >conftest.defines
26644
+# Then, protect against being on the right side of a sed subst, or in
26645
+# an unquoted here document, in config.status.  If some macros were
26646
+# called several times there might be several #defines for the same
26647
+# symbol, which is useless.  But do not sort them, since the last
26648
+# AC_DEFINE must be honored.
26649
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26650
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
26651
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
26652
+# PARAMS is the parameter list in the macro definition--in most cases, it's
26653
+# just an empty string.
26654
+ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
26655
+ac_dB='\\)[	 (].*,\\1define\\2'
26656
+ac_dC=' '
26657
+ac_dD=' ,'
26658
+
26659
+uniq confdefs.h |
26660
+  sed -n '
26661
+	t rset
26662
+	:rset
26663
+	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
26664
+	t ok
26665
+	d
26666
+	:ok
26667
+	s/[\\&,]/\\&/g
26668
+	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
26669
+	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
26670
+  ' >>conftest.defines
26671
+
26672
+# Remove the space that was appended to ease matching.
26673
+# Then replace #undef with comments.  This is necessary, for
26727 26674
 # example, in the case of _POSIX_SOURCE, which is predefined and required
26728 26675
 # on some systems where configure will not decide to define it.
26729
-cat >>conftest.undefs <<\_ACEOF
26730
-s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
26731
-_ACEOF
26732
-
26733
-# Break up conftest.defines because some shells have a limit on the size
26734
-# of here documents, and old seds have small limits too (100 cmds).
26735
-echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
26736
-echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
26737
-echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
26738
-echo '  :' >>$CONFIG_STATUS
26739
-rm -f conftest.tail
26740
-while grep . conftest.defines >/dev/null
26676
+# (The regexp can be short, since the line contains either #define or #undef.)
26677
+echo 's/ $//
26678
+s,^[	 #]*u.*,/* & */,' >>conftest.defines
26679
+
26680
+# Break up conftest.defines:
26681
+ac_max_sed_lines=50
26682
+
26683
+# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
26684
+# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
26685
+# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
26686
+# et cetera.
26687
+ac_in='$ac_file_inputs'
26688
+ac_out='"$tmp/out1"'
26689
+ac_nxt='"$tmp/out2"'
26690
+
26691
+while :
26741 26692
 do
26742
-  # Write a limited-size here document to $tmp/defines.sed.
26743
-  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
26744
-  # Speed up: don't consider the non `#define' lines.
26745
-  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
26746
-  # Work around the forget-to-reset-the-flag bug.
26747
-  echo 't clr' >>$CONFIG_STATUS
26748
-  echo ': clr' >>$CONFIG_STATUS
26749
-  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
26693
+  # Write a here document:
26694
+    cat >>$CONFIG_STATUS <<_ACEOF
26695
+    # First, check the format of the line:
26696
+    cat >"\$tmp/defines.sed" <<\\CEOF
26697
+/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
26698
+/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
26699
+b
26700
+:def
26701
+_ACEOF
26702
+  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
26750 26703
   echo 'CEOF
26751
-  sed -f $tmp/defines.sed $tmp/in >$tmp/out
26752
-  rm -f $tmp/in
26753
-  mv $tmp/out $tmp/in
26754
-' >>$CONFIG_STATUS
26755
-  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
26704
+    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
26705
+  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
26706
+  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
26707
+  grep . conftest.tail >/dev/null || break
26756 26708
   rm -f conftest.defines
26757 26709
   mv conftest.tail conftest.defines
26758 26710
 done
26759
-rm -f conftest.defines
26760
-echo '  fi # grep' >>$CONFIG_STATUS
26761
-echo >>$CONFIG_STATUS
26762
-
26763
-# Break up conftest.undefs because some shells have a limit on the size
26764
-# of here documents, and old seds have small limits too (100 cmds).
26765
-echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
26766
-rm -f conftest.tail
26767
-while grep . conftest.undefs >/dev/null
26768
-do
26769
-  # Write a limited-size here document to $tmp/undefs.sed.
26770
-  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
26771
-  # Speed up: don't consider the non `#undef'
26772
-  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
26773
-  # Work around the forget-to-reset-the-flag bug.
26774
-  echo 't clr' >>$CONFIG_STATUS
26775
-  echo ': clr' >>$CONFIG_STATUS
26776
-  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
26777
-  echo 'CEOF
26778
-  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
26779
-  rm -f $tmp/in
26780
-  mv $tmp/out $tmp/in
26781
-' >>$CONFIG_STATUS
26782
-  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
26783
-  rm -f conftest.undefs
26784
-  mv conftest.tail conftest.undefs
26785
-done
26786
-rm -f conftest.undefs
26711
+rm -f conftest.defines conftest.tail
26787 26712
 
26713
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
26788 26714
 cat >>$CONFIG_STATUS <<\_ACEOF
26789
-  # Let's still pretend it is `configure' which instantiates (i.e., don't
26790
-  # use $as_me), people would be surprised to read:
26791
-  #    /* config.h.  Generated by config.status.  */
26792
-  if test x"$ac_file" = x-; then
26793
-    echo "/* Generated by configure.  */" >$tmp/config.h
26794
-  else
26795
-    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
26796
-  fi
26797
-  cat $tmp/in >>$tmp/config.h
26798
-  rm -f $tmp/in
26799 26715
   if test x"$ac_file" != x-; then
26800
-    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
26716
+    echo "/* $configure_input  */" >"$tmp/config.h"
26717
+    cat "$ac_result" >>"$tmp/config.h"
26718
+    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
26801 26719
       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
26802 26720
 echo "$as_me: $ac_file is unchanged" >&6;}
26803 26721
     else
26804
-      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26805
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26806
-	 X"$ac_file" : 'X\(//\)[^/]' \| \
26807
-	 X"$ac_file" : 'X\(//\)$' \| \
26808
-	 X"$ac_file" : 'X\(/\)' \| \
26809
-	 .     : '\(.\)' 2>/dev/null ||
26810
-echo X"$ac_file" |
26811
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26812
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26813
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
26814
-  	  /^X\(\/\).*/{ s//\1/; q; }
26815
-  	  s/.*/./; q'`
26816
-      { if $as_mkdir_p; then
26817
-    mkdir -p "$ac_dir"
26818
-  else
26819
-    as_dir="$ac_dir"
26820
-    as_dirs=
26821
-    while test ! -d "$as_dir"; do
26822
-      as_dirs="$as_dir $as_dirs"
26823
-      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26824
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26825
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
26826
-	 X"$as_dir" : 'X\(//\)$' \| \
26827
-	 X"$as_dir" : 'X\(/\)' \| \
26828
-	 .     : '\(.\)' 2>/dev/null ||
26829
-echo X"$as_dir" |
26830
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26831
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26832
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
26833
-  	  /^X\(\/\).*/{ s//\1/; q; }
26834
-  	  s/.*/./; q'`
26835
-    done
26836
-    test ! -n "$as_dirs" || mkdir $as_dirs
26837
-  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26838
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26839
-   { (exit 1); exit 1; }; }; }
26840
-
26841 26722
       rm -f $ac_file
26842
-      mv $tmp/config.h $ac_file
26723
+      mv "$tmp/config.h" $ac_file
26843 26724
     fi
26844 26725
   else
26845
-    cat $tmp/config.h
26846
-    rm -f $tmp/config.h
26726
+    echo "/* $configure_input  */"
26727
+    cat "$ac_result"
26847 26728
   fi
26729
+  rm -f "$tmp/out12"
26848 26730
 # Compute $ac_file's index in $config_headers.
26849 26731
 _am_stamp_count=1
26850 26732
 for _am_header in $config_headers :; do
... ...
@@ -26855,135 +27464,39 @@ for _am_header in $config_headers :; do
26855 26855
       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26856 26856
   esac
26857 26857
 done
26858
-echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
26858
+echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
26859 26859
 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26860 26860
 	 X$ac_file : 'X\(//\)[^/]' \| \
26861 26861
 	 X$ac_file : 'X\(//\)$' \| \
26862
-	 X$ac_file : 'X\(/\)' \| \
26863
-	 .     : '\(.\)' 2>/dev/null ||
26862
+	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
26864 26863
 echo X$ac_file |
26865
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26866
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26867
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
26868
-  	  /^X\(\/\).*/{ s//\1/; q; }
26869
-  	  s/.*/./; q'`/stamp-h$_am_stamp_count
26870
-done
26871
-_ACEOF
26872
-cat >>$CONFIG_STATUS <<\_ACEOF
26873
-
26874
-#
26875
-# CONFIG_COMMANDS section.
26876
-#
26877
-for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
26878
-  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
26879
-  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
26880
-  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
26881
-$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26882
-	 X"$ac_dest" : 'X\(//\)[^/]' \| \
26883
-	 X"$ac_dest" : 'X\(//\)$' \| \
26884
-	 X"$ac_dest" : 'X\(/\)' \| \
26885
-	 .     : '\(.\)' 2>/dev/null ||
26886
-echo X"$ac_dest" |
26887
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26888
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26889
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
26890
-  	  /^X\(\/\).*/{ s//\1/; q; }
26891
-  	  s/.*/./; q'`
26892
-  { if $as_mkdir_p; then
26893
-    mkdir -p "$ac_dir"
26894
-  else
26895
-    as_dir="$ac_dir"
26896
-    as_dirs=
26897
-    while test ! -d "$as_dir"; do
26898
-      as_dirs="$as_dir $as_dirs"
26899
-      as_dir=`(dirname "$as_dir") 2>/dev/null ||
26900
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26901
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
26902
-	 X"$as_dir" : 'X\(//\)$' \| \
26903
-	 X"$as_dir" : 'X\(/\)' \| \
26904
-	 .     : '\(.\)' 2>/dev/null ||
26905
-echo X"$as_dir" |
26906
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26907
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26908
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
26909
-  	  /^X\(\/\).*/{ s//\1/; q; }
26910
-  	  s/.*/./; q'`
26911
-    done
26912
-    test ! -n "$as_dirs" || mkdir $as_dirs
26913
-  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
26914
-echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
26915
-   { (exit 1); exit 1; }; }; }
26916
-
26917
-  ac_builddir=.
26918
-
26919
-if test "$ac_dir" != .; then
26920
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
26921
-  # A "../" for each directory in $ac_dir_suffix.
26922
-  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
26923
-else
26924
-  ac_dir_suffix= ac_top_builddir=
26925
-fi
26926
-
26927
-case $srcdir in
26928
-  .)  # No --srcdir option.  We are building in place.
26929
-    ac_srcdir=.
26930
-    if test -z "$ac_top_builddir"; then
26931
-       ac_top_srcdir=.
26932
-    else
26933
-       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
26934
-    fi ;;
26935
-  [\\/]* | ?:[\\/]* )  # Absolute path.
26936
-    ac_srcdir=$srcdir$ac_dir_suffix;
26937
-    ac_top_srcdir=$srcdir ;;
26938
-  *) # Relative path.
26939
-    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
26940
-    ac_top_srcdir=$ac_top_builddir$srcdir ;;
26941
-esac
26864
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26865
+	    s//\1/
26866
+	    q
26867
+	  }
26868
+	  /^X\(\/\/\)[^/].*/{
26869
+	    s//\1/
26870
+	    q
26871
+	  }
26872
+	  /^X\(\/\/\)$/{
26873
+	    s//\1/
26874
+	    q
26875
+	  }
26876
+	  /^X\(\/\).*/{
26877
+	    s//\1/
26878
+	    q
26879
+	  }
26880
+	  s/.*/./; q'`/stamp-h$_am_stamp_count
26881
+ ;;
26942 26882
 
26943
-# Do not use `cd foo && pwd` to compute absolute paths, because
26944
-# the directories may not exist.
26945
-case `pwd` in
26946
-.) ac_abs_builddir="$ac_dir";;
26947
-*)
26948
-  case "$ac_dir" in
26949
-  .) ac_abs_builddir=`pwd`;;
26950
-  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
26951
-  *) ac_abs_builddir=`pwd`/"$ac_dir";;
26952
-  esac;;
26953
-esac
26954
-case $ac_abs_builddir in
26955
-.) ac_abs_top_builddir=${ac_top_builddir}.;;
26956
-*)
26957
-  case ${ac_top_builddir}. in
26958
-  .) ac_abs_top_builddir=$ac_abs_builddir;;
26959
-  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
26960
-  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
26961
-  esac;;
26962
-esac
26963
-case $ac_abs_builddir in
26964
-.) ac_abs_srcdir=$ac_srcdir;;
26965
-*)
26966
-  case $ac_srcdir in
26967
-  .) ac_abs_srcdir=$ac_abs_builddir;;
26968
-  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
26969
-  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
26970
-  esac;;
26971
-esac
26972
-case $ac_abs_builddir in
26973
-.) ac_abs_top_srcdir=$ac_top_srcdir;;
26974
-*)
26975
-  case $ac_top_srcdir in
26976
-  .) ac_abs_top_srcdir=$ac_abs_builddir;;
26977
-  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
26978
-  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
26979
-  esac;;
26980
-esac
26883
+  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26884
+echo "$as_me: executing $ac_file commands" >&6;}
26885
+ ;;
26886
+  esac
26981 26887
 
26982 26888
 
26983
-  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
26984
-echo "$as_me: executing $ac_dest commands" >&6;}
26985
-  case $ac_dest in
26986
-    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26889
+  case $ac_file$ac_mode in
26890
+    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26987 26891
   # Strip MF so we end up with the name of the file.
26988 26892
   mf=`echo "$mf" | sed -e 's/:.*$//'`
26989 26893
   # Check whether this is an Automake generated Makefile or not.
... ...
@@ -26993,18 +27506,29 @@ echo "$as_me: executing $ac_dest commands" >&6;}
26993 26993
   # each Makefile.in and add a new line on top of each file to say so.
26994 26994
   # So let's grep whole file.
26995 26995
   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
26996
-    dirpart=`(dirname "$mf") 2>/dev/null ||
26996
+    dirpart=`$as_dirname -- "$mf" ||
26997 26997
 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26998 26998
 	 X"$mf" : 'X\(//\)[^/]' \| \
26999 26999
 	 X"$mf" : 'X\(//\)$' \| \
27000
-	 X"$mf" : 'X\(/\)' \| \
27001
-	 .     : '\(.\)' 2>/dev/null ||
27000
+	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27002 27001
 echo X"$mf" |
27003
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27004
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27005
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
27006
-  	  /^X\(\/\).*/{ s//\1/; q; }
27007
-  	  s/.*/./; q'`
27002
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27003
+	    s//\1/
27004
+	    q
27005
+	  }
27006
+	  /^X\(\/\/\)[^/].*/{
27007
+	    s//\1/
27008
+	    q
27009
+	  }
27010
+	  /^X\(\/\/\)$/{
27011
+	    s//\1/
27012
+	    q
27013
+	  }
27014
+	  /^X\(\/\).*/{
27015
+	    s//\1/
27016
+	    q
27017
+	  }
27018
+	  s/.*/./; q'`
27008 27019
   else
27009 27020
     continue
27010 27021
   fi
... ...
@@ -27026,53 +27550,79 @@ echo X"$mf" |
27026 27026
        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27027 27027
     # Make sure the directory exists.
27028 27028
     test -f "$dirpart/$file" && continue
27029
-    fdir=`(dirname "$file") 2>/dev/null ||
27029
+    fdir=`$as_dirname -- "$file" ||
27030 27030
 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27031 27031
 	 X"$file" : 'X\(//\)[^/]' \| \
27032 27032
 	 X"$file" : 'X\(//\)$' \| \
27033
-	 X"$file" : 'X\(/\)' \| \
27034
-	 .     : '\(.\)' 2>/dev/null ||
27033
+	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27035 27034
 echo X"$file" |
27036
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27037
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27038
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
27039
-  	  /^X\(\/\).*/{ s//\1/; q; }
27040
-  	  s/.*/./; q'`
27041
-    { if $as_mkdir_p; then
27042
-    mkdir -p $dirpart/$fdir
27043
-  else
27044
-    as_dir=$dirpart/$fdir
27035
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27036
+	    s//\1/
27037
+	    q
27038
+	  }
27039
+	  /^X\(\/\/\)[^/].*/{
27040
+	    s//\1/
27041
+	    q
27042
+	  }
27043
+	  /^X\(\/\/\)$/{
27044
+	    s//\1/
27045
+	    q
27046
+	  }
27047
+	  /^X\(\/\).*/{
27048
+	    s//\1/
27049
+	    q
27050
+	  }
27051
+	  s/.*/./; q'`
27052
+    { as_dir=$dirpart/$fdir
27053
+  case $as_dir in #(
27054
+  -*) as_dir=./$as_dir;;
27055
+  esac
27056
+  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27045 27057
     as_dirs=
27046
-    while test ! -d "$as_dir"; do
27047
-      as_dirs="$as_dir $as_dirs"
27048
-      as_dir=`(dirname "$as_dir") 2>/dev/null ||
27058
+    while :; do
27059
+      case $as_dir in #(
27060
+      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27061
+      *) as_qdir=$as_dir;;
27062
+      esac
27063
+      as_dirs="'$as_qdir' $as_dirs"
27064
+      as_dir=`$as_dirname -- "$as_dir" ||
27049 27065
 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27050 27066
 	 X"$as_dir" : 'X\(//\)[^/]' \| \
27051 27067
 	 X"$as_dir" : 'X\(//\)$' \| \
27052
-	 X"$as_dir" : 'X\(/\)' \| \
27053
-	 .     : '\(.\)' 2>/dev/null ||
27068
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27054 27069
 echo X"$as_dir" |
27055
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27056
-  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
27057
-  	  /^X\(\/\/\)$/{ s//\1/; q; }
27058
-  	  /^X\(\/\).*/{ s//\1/; q; }
27059
-  	  s/.*/./; q'`
27070
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27071
+	    s//\1/
27072
+	    q
27073
+	  }
27074
+	  /^X\(\/\/\)[^/].*/{
27075
+	    s//\1/
27076
+	    q
27077
+	  }
27078
+	  /^X\(\/\/\)$/{
27079
+	    s//\1/
27080
+	    q
27081
+	  }
27082
+	  /^X\(\/\).*/{
27083
+	    s//\1/
27084
+	    q
27085
+	  }
27086
+	  s/.*/./; q'`
27087
+      test -d "$as_dir" && break
27060 27088
     done
27061
-    test ! -n "$as_dirs" || mkdir $as_dirs
27062
-  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
27063
-echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
27089
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
27090
+  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27091
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
27064 27092
    { (exit 1); exit 1; }; }; }
27065
-
27066 27093
     # echo "creating $dirpart/$file"
27067 27094
     echo '# dummy' > "$dirpart/$file"
27068 27095
   done
27069 27096
 done
27070 27097
  ;;
27098
+
27071 27099
   esac
27072
-done
27073
-_ACEOF
27100
+done # for ac_tag
27074 27101
 
27075
-cat >>$CONFIG_STATUS <<\_ACEOF
27076 27102
 
27077 27103
 { (exit 0); exit 0; }
27078 27104
 _ACEOF
... ...
@@ -205,6 +205,10 @@ if test "$enable_experimental" = "yes"; then
205 205
   AC_DEFINE(CL_EXPERIMENTAL,1,[enable experimental code])
206 206
 fi
207 207
 
208
+AC_ARG_ENABLE(unrar,
209
+[  --enable-unrar	build and link with libclamunrar (check the licence!)],
210
+enable_unrar=$enableval, enable_unrar="no")
211
+
208 212
 AC_CHECK_LIB(socket, bind, [LIBS="$LIBS -lsocket"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lsocket"; FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lsocket"; CLAMD_LIBS="$CLAMD_LIBS -lsocket"])
209 213
 AC_CHECK_LIB(nsl, gethostent, [LIBS="$LIBS -lnsl"; CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lnsl"; FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lnsl"; CLAMD_LIBS="$CLAMD_LIBS -lnsl"])
210 214
 
... ...
@@ -746,12 +750,17 @@ fi
746 746
 
747 747
 AM_CONDITIONAL(BUILD_CLAMD, test "$have_pthreads" = "yes")
748 748
 AM_CONDITIONAL(HAVE_MILTER, test "$have_milter" = "yes")
749
+AM_CONDITIONAL(ENABLE_UNRAR, test "$enable_unrar" = "yes")
749 750
 
750 751
 if test "$have_pthreads" = "yes"
751 752
 then
752 753
     AC_DEFINE(BUILD_CLAMD, 1, "build clamd")
753 754
 fi
754 755
 
756
+if test "$enable_unrar" = "yes"; then
757
+    AC_DEFINE(ENABLE_UNRAR, 1, [link with libclamunrar (non-GPL, see COPYING.unrar)])
758
+fi
759
+
755 760
 dnl Check if we can do fd passing
756 761
 dnl Submitted by Richard Lyons <frob-clamav@webcentral.com.au>
757 762
 AC_CHECK_FUNCS(recvmsg sendmsg)
... ...
@@ -103,11 +103,14 @@ ECHO_C = @ECHO_C@
103 103
 ECHO_N = @ECHO_N@
104 104
 ECHO_T = @ECHO_T@
105 105
 EGREP = @EGREP@
106
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
107
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
106 108
 EXEEXT = @EXEEXT@
107 109
 F77 = @F77@
108 110
 FFLAGS = @FFLAGS@
109 111
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
110 112
 GETENT = @GETENT@
113
+GREP = @GREP@
111 114
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
112 115
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
113 116
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -142,12 +145,9 @@ STRIP = @STRIP@
142 142
 THREAD_LIBS = @THREAD_LIBS@
143 143
 TH_SAFE = @TH_SAFE@
144 144
 VERSION = @VERSION@
145
-ac_ct_AR = @ac_ct_AR@
146 145
 ac_ct_CC = @ac_ct_CC@
147 146
 ac_ct_CXX = @ac_ct_CXX@
148 147
 ac_ct_F77 = @ac_ct_F77@
149
-ac_ct_RANLIB = @ac_ct_RANLIB@
150
-ac_ct_STRIP = @ac_ct_STRIP@
151 148
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
152 149
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
153 150
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -164,23 +164,30 @@ build_cpu = @build_cpu@
164 164
 build_os = @build_os@
165 165
 build_vendor = @build_vendor@
166 166
 datadir = @datadir@
167
+datarootdir = @datarootdir@
168
+docdir = @docdir@
169
+dvidir = @dvidir@
167 170
 exec_prefix = @exec_prefix@
168 171
 host = @host@
169 172
 host_alias = @host_alias@
170 173
 host_cpu = @host_cpu@
171 174
 host_os = @host_os@
172 175
 host_vendor = @host_vendor@
176
+htmldir = @htmldir@
173 177
 includedir = @includedir@
174 178
 infodir = @infodir@
175 179
 install_sh = @install_sh@
176 180
 libdir = @libdir@
177 181
 libexecdir = @libexecdir@
182
+localedir = @localedir@
178 183
 localstatedir = @localstatedir@
179 184
 mandir = @mandir@
180 185
 mkdir_p = @mkdir_p@
181 186
 oldincludedir = @oldincludedir@
187
+pdfdir = @pdfdir@
182 188
 prefix = @prefix@
183 189
 program_transform_name = @program_transform_name@
190
+psdir = @psdir@
184 191
 sbindir = @sbindir@
185 192
 sendmailprog = @sendmailprog@
186 193
 sharedstatedir = @sharedstatedir@
... ...
@@ -108,11 +108,14 @@ ECHO_C = @ECHO_C@
108 108
 ECHO_N = @ECHO_N@
109 109
 ECHO_T = @ECHO_T@
110 110
 EGREP = @EGREP@
111
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
112
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
111 113
 EXEEXT = @EXEEXT@
112 114
 F77 = @F77@
113 115
 FFLAGS = @FFLAGS@
114 116
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
115 117
 GETENT = @GETENT@
118
+GREP = @GREP@
116 119
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
117 120
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
118 121
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -147,12 +150,9 @@ STRIP = @STRIP@
147 147
 THREAD_LIBS = @THREAD_LIBS@
148 148
 TH_SAFE = @TH_SAFE@
149 149
 VERSION = @VERSION@
150
-ac_ct_AR = @ac_ct_AR@
151 150
 ac_ct_CC = @ac_ct_CC@
152 151
 ac_ct_CXX = @ac_ct_CXX@
153 152
 ac_ct_F77 = @ac_ct_F77@
154
-ac_ct_RANLIB = @ac_ct_RANLIB@
155
-ac_ct_STRIP = @ac_ct_STRIP@
156 153
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
157 154
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
158 155
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -169,23 +169,30 @@ build_cpu = @build_cpu@
169 169
 build_os = @build_os@
170 170
 build_vendor = @build_vendor@
171 171
 datadir = @datadir@
172
+datarootdir = @datarootdir@
173
+docdir = @docdir@
174
+dvidir = @dvidir@
172 175
 exec_prefix = @exec_prefix@
173 176
 host = @host@
174 177
 host_alias = @host_alias@
175 178
 host_cpu = @host_cpu@
176 179
 host_os = @host_os@
177 180
 host_vendor = @host_vendor@
181
+htmldir = @htmldir@
178 182
 includedir = @includedir@
179 183
 infodir = @infodir@
180 184
 install_sh = @install_sh@
181 185
 libdir = @libdir@
182 186
 libexecdir = @libexecdir@
187
+localedir = @localedir@
183 188
 localstatedir = @localstatedir@
184 189
 mandir = @mandir@
185 190
 mkdir_p = @mkdir_p@
186 191
 oldincludedir = @oldincludedir@
192
+pdfdir = @pdfdir@
187 193
 prefix = @prefix@
188 194
 program_transform_name = @program_transform_name@
195
+psdir = @psdir@
189 196
 sbindir = @sbindir@
190 197
 sendmailprog = @sendmailprog@
191 198
 sharedstatedir = @sharedstatedir@
... ...
@@ -101,11 +101,14 @@ ECHO_C = @ECHO_C@
101 101
 ECHO_N = @ECHO_N@
102 102
 ECHO_T = @ECHO_T@
103 103
 EGREP = @EGREP@
104
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
105
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
104 106
 EXEEXT = @EXEEXT@
105 107
 F77 = @F77@
106 108
 FFLAGS = @FFLAGS@
107 109
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
108 110
 GETENT = @GETENT@
111
+GREP = @GREP@
109 112
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
110 113
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
111 114
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -140,12 +143,9 @@ STRIP = @STRIP@
140 140
 THREAD_LIBS = @THREAD_LIBS@
141 141
 TH_SAFE = @TH_SAFE@
142 142
 VERSION = @VERSION@
143
-ac_ct_AR = @ac_ct_AR@
144 143
 ac_ct_CC = @ac_ct_CC@
145 144
 ac_ct_CXX = @ac_ct_CXX@
146 145
 ac_ct_F77 = @ac_ct_F77@
147
-ac_ct_RANLIB = @ac_ct_RANLIB@
148
-ac_ct_STRIP = @ac_ct_STRIP@
149 146
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
150 147
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
151 148
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -162,23 +162,30 @@ build_cpu = @build_cpu@
162 162
 build_os = @build_os@
163 163
 build_vendor = @build_vendor@
164 164
 datadir = @datadir@
165
+datarootdir = @datarootdir@
166
+docdir = @docdir@
167
+dvidir = @dvidir@
165 168
 exec_prefix = @exec_prefix@
166 169
 host = @host@
167 170
 host_alias = @host_alias@
168 171
 host_cpu = @host_cpu@
169 172
 host_os = @host_os@
170 173
 host_vendor = @host_vendor@
174
+htmldir = @htmldir@
171 175
 includedir = @includedir@
172 176
 infodir = @infodir@
173 177
 install_sh = @install_sh@
174 178
 libdir = @libdir@
175 179
 libexecdir = @libexecdir@
180
+localedir = @localedir@
176 181
 localstatedir = @localstatedir@
177 182
 mandir = @mandir@
178 183
 mkdir_p = @mkdir_p@
179 184
 oldincludedir = @oldincludedir@
185
+pdfdir = @pdfdir@
180 186
 prefix = @prefix@
181 187
 program_transform_name = @program_transform_name@
188
+psdir = @psdir@
182 189
 sbindir = @sbindir@
183 190
 sendmailprog = @sendmailprog@
184 191
 sharedstatedir = @sharedstatedir@
... ...
@@ -127,11 +127,14 @@ ECHO_C = @ECHO_C@
127 127
 ECHO_N = @ECHO_N@
128 128
 ECHO_T = @ECHO_T@
129 129
 EGREP = @EGREP@
130
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
131
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
130 132
 EXEEXT = @EXEEXT@
131 133
 F77 = @F77@
132 134
 FFLAGS = @FFLAGS@
133 135
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
134 136
 GETENT = @GETENT@
137
+GREP = @GREP@
135 138
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
136 139
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
137 140
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -166,12 +169,9 @@ STRIP = @STRIP@
166 166
 THREAD_LIBS = @THREAD_LIBS@
167 167
 TH_SAFE = @TH_SAFE@
168 168
 VERSION = @VERSION@
169
-ac_ct_AR = @ac_ct_AR@
170 169
 ac_ct_CC = @ac_ct_CC@
171 170
 ac_ct_CXX = @ac_ct_CXX@
172 171
 ac_ct_F77 = @ac_ct_F77@
173
-ac_ct_RANLIB = @ac_ct_RANLIB@
174
-ac_ct_STRIP = @ac_ct_STRIP@
175 172
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
176 173
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
177 174
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -188,23 +188,30 @@ build_cpu = @build_cpu@
188 188
 build_os = @build_os@
189 189
 build_vendor = @build_vendor@
190 190
 datadir = @datadir@
191
+datarootdir = @datarootdir@
192
+docdir = @docdir@
193
+dvidir = @dvidir@
191 194
 exec_prefix = @exec_prefix@
192 195
 host = @host@
193 196
 host_alias = @host_alias@
194 197
 host_cpu = @host_cpu@
195 198
 host_os = @host_os@
196 199
 host_vendor = @host_vendor@
200
+htmldir = @htmldir@
197 201
 includedir = @includedir@
198 202
 infodir = @infodir@
199 203
 install_sh = @install_sh@
200 204
 libdir = @libdir@
201 205
 libexecdir = @libexecdir@
206
+localedir = @localedir@
202 207
 localstatedir = @localstatedir@
203 208
 mandir = @mandir@
204 209
 mkdir_p = @mkdir_p@
205 210
 oldincludedir = @oldincludedir@
211
+pdfdir = @pdfdir@
206 212
 prefix = @prefix@
207 213
 program_transform_name = @program_transform_name@
214
+psdir = @psdir@
208 215
 sbindir = @sbindir@
209 216
 sendmailprog = @sendmailprog@
210 217
 sharedstatedir = @sharedstatedir@
... ...
@@ -19,7 +19,11 @@
19 19
 
20 20
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libclamunrar -I@srcdir@/nsis
21 21
 
22
+if ENABLE_UNRAR
22 23
 libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ $(top_builddir)/libclamunrar/libclamunrar.la
24
+else
25
+libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@
26
+endif
23 27
 
24 28
 libclamav_la_LDFLAGS = @TH_SAFE@ -version-info @LIBCLAMAV_VERSION@ -no-undefined
25 29
 
... ...
@@ -76,8 +76,7 @@ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
76 76
 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
77 77
 libLTLIBRARIES_INSTALL = $(INSTALL)
78 78
 LTLIBRARIES = $(lib_LTLIBRARIES)
79
-libclamav_la_DEPENDENCIES =  \
80
-	$(top_builddir)/libclamunrar/libclamunrar.la
79
+@ENABLE_UNRAR_TRUE@libclamav_la_DEPENDENCIES = $(top_builddir)/libclamunrar/libclamunrar.la
81 80
 am_libclamav_la_OBJECTS = matcher-ac.lo matcher-bm.lo matcher.lo \
82 81
 	md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo \
83 82
 	filetypes.lo rtf.lo blob.lo mbox.lo message.lo snprintf.lo \
... ...
@@ -144,11 +143,14 @@ ECHO_C = @ECHO_C@
144 144
 ECHO_N = @ECHO_N@
145 145
 ECHO_T = @ECHO_T@
146 146
 EGREP = @EGREP@
147
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
148
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
147 149
 EXEEXT = @EXEEXT@
148 150
 F77 = @F77@
149 151
 FFLAGS = @FFLAGS@
150 152
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
151 153
 GETENT = @GETENT@
154
+GREP = @GREP@
152 155
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
153 156
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
154 157
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -183,12 +185,9 @@ STRIP = @STRIP@
183 183
 THREAD_LIBS = @THREAD_LIBS@
184 184
 TH_SAFE = @TH_SAFE@
185 185
 VERSION = @VERSION@
186
-ac_ct_AR = @ac_ct_AR@
187 186
 ac_ct_CC = @ac_ct_CC@
188 187
 ac_ct_CXX = @ac_ct_CXX@
189 188
 ac_ct_F77 = @ac_ct_F77@
190
-ac_ct_RANLIB = @ac_ct_RANLIB@
191
-ac_ct_STRIP = @ac_ct_STRIP@
192 189
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
193 190
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
194 191
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -205,23 +204,30 @@ build_cpu = @build_cpu@
205 205
 build_os = @build_os@
206 206
 build_vendor = @build_vendor@
207 207
 datadir = @datadir@
208
+datarootdir = @datarootdir@
209
+docdir = @docdir@
210
+dvidir = @dvidir@
208 211
 exec_prefix = @exec_prefix@
209 212
 host = @host@
210 213
 host_alias = @host_alias@
211 214
 host_cpu = @host_cpu@
212 215
 host_os = @host_os@
213 216
 host_vendor = @host_vendor@
217
+htmldir = @htmldir@
214 218
 includedir = @includedir@
215 219
 infodir = @infodir@
216 220
 install_sh = @install_sh@
217 221
 libdir = @libdir@
218 222
 libexecdir = @libexecdir@
223
+localedir = @localedir@
219 224
 localstatedir = @localstatedir@
220 225
 mandir = @mandir@
221 226
 mkdir_p = @mkdir_p@
222 227
 oldincludedir = @oldincludedir@
228
+pdfdir = @pdfdir@
223 229
 prefix = @prefix@
224 230
 program_transform_name = @program_transform_name@
231
+psdir = @psdir@
225 232
 sbindir = @sbindir@
226 233
 sendmailprog = @sendmailprog@
227 234
 sharedstatedir = @sharedstatedir@
... ...
@@ -232,7 +238,8 @@ target_cpu = @target_cpu@
232 232
 target_os = @target_os@
233 233
 target_vendor = @target_vendor@
234 234
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libclamunrar -I@srcdir@/nsis
235
-libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ $(top_builddir)/libclamunrar/libclamunrar.la
235
+@ENABLE_UNRAR_FALSE@libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@
236
+@ENABLE_UNRAR_TRUE@libclamav_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@ $(top_builddir)/libclamunrar/libclamunrar.la
236 237
 libclamav_la_LDFLAGS = @TH_SAFE@ -version-info @LIBCLAMAV_VERSION@ -no-undefined
237 238
 include_HEADERS = clamav.h
238 239
 libclamav_la_SOURCES = \
... ...
@@ -62,7 +62,6 @@
62 62
 #include "matcher-ac.h"
63 63
 #include "matcher-bm.h"
64 64
 #include "matcher.h"
65
-#include "unrar.h"
66 65
 #include "ole2_extract.h"
67 66
 #include "vba_extract.h"
68 67
 #include "msexpand.h"
... ...
@@ -96,6 +95,10 @@
96 96
 #include <bzlib.h>
97 97
 #endif
98 98
 
99
+#ifdef ENABLE_UNRAR
100
+#include "unrar.h"
101
+#endif
102
+
99 103
 #if defined(HAVE_READDIR_R_3) || defined(HAVE_READDIR_R_2)
100 104
 #include <limits.h>
101 105
 #include <stddef.h>
... ...
@@ -106,6 +109,7 @@
106 106
 
107 107
 static int cli_scanfile(const char *filename, cli_ctx *ctx);
108 108
 
109
+#ifdef ENABLE_UNRAR
109 110
 static int cli_unrar_scanmetadata(int desc, rar_metadata_t *metadata, cli_ctx *ctx, unsigned int files, uint32_t* sfx_check)
110 111
 {
111 112
 	int ret = CL_SUCCESS;
... ...
@@ -311,6 +315,7 @@ static int cli_scanrar(int desc, cli_ctx *ctx, off_t sfx_offset, uint32_t *sfx_c
311 311
 
312 312
     return ret;
313 313
 }
314
+#endif /* ENABLE_UNRAR */
314 315
 
315 316
 static int cli_unarj_checklimits(const cli_ctx *ctx, const arj_metadata_t *metadata, unsigned int files)
316 317
 {
... ...
@@ -1887,10 +1892,12 @@ static int cli_scanraw(int desc, cli_ctx *ctx, cli_file_t type, uint8_t typercg)
1887 1887
 	    while(fpt) {
1888 1888
 		switch(fpt->type) {
1889 1889
 		    case CL_TYPE_RARSFX:
1890
+#ifdef ENABLE_UNRAR
1890 1891
 			if(SCAN_ARCHIVE && type == CL_TYPE_MSEXE && (DCONF_ARCH & ARCH_CONF_RAR)) {
1891 1892
 			    cli_dbgmsg("RAR-SFX signature found at %u\n", (unsigned int) fpt->offset);
1892 1893
 			    nret = cli_scanrar(desc, ctx, fpt->offset, &lastrar);
1893 1894
 			}
1895
+#endif
1894 1896
 			break;
1895 1897
 
1896 1898
 		    case CL_TYPE_ZIPSFX:
... ...
@@ -2046,8 +2053,12 @@ int cli_magic_scandesc(int desc, cli_ctx *ctx)
2046 2046
 
2047 2047
     switch(type) {
2048 2048
 	case CL_TYPE_RAR:
2049
+#ifdef ENABLE_UNRAR
2049 2050
 	    if(SCAN_ARCHIVE && (DCONF_ARCH & ARCH_CONF_RAR))
2050 2051
 		ret = cli_scanrar(desc, ctx, 0, NULL);
2052
+#else
2053
+	    cli_warnmsg("RAR support not compiled in\n");
2054
+#endif
2051 2055
 	    break;
2052 2056
 
2053 2057
 	case CL_TYPE_ZIP:
... ...
@@ -2,6 +2,8 @@
2 2
 #  Copyright (C) 2007 Trog <trog@clamav.net>
3 3
 #
4 4
 
5
+if ENABLE_UNRAR
6
+
5 7
 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libclamav
6 8
 
7 9
 libclamunrar_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@
... ...
@@ -26,3 +28,5 @@ libclamunrar_la_SOURCES = \
26 26
 	unrarvm.h
27 27
 
28 28
 lib_LTLIBRARIES = libclamunrar.la
29
+
30
+endif
... ...
@@ -61,9 +61,15 @@ am__installdirs = "$(DESTDIR)$(libdir)"
61 61
 libLTLIBRARIES_INSTALL = $(INSTALL)
62 62
 LTLIBRARIES = $(lib_LTLIBRARIES)
63 63
 libclamunrar_la_DEPENDENCIES =
64
-am_libclamunrar_la_OBJECTS = unrar15.lo unrar.lo unrar20.lo \
65
-	unrarppm.lo unrarvm.lo unrarcmd.lo unrarfilter.lo
64
+am__libclamunrar_la_SOURCES_DIST = unrar15.c unrar20.h unrar.h \
65
+	unrar15.h unrar.c unrar20.c unrarcmd.h unrarfilter.h \
66
+	unrarppm.c unrarvm.c unrarcmd.c unrarfilter.c unrarppm.h \
67
+	unrarvm.h
68
+@ENABLE_UNRAR_TRUE@am_libclamunrar_la_OBJECTS = unrar15.lo unrar.lo \
69
+@ENABLE_UNRAR_TRUE@	unrar20.lo unrarppm.lo unrarvm.lo \
70
+@ENABLE_UNRAR_TRUE@	unrarcmd.lo unrarfilter.lo
66 71
 libclamunrar_la_OBJECTS = $(am_libclamunrar_la_OBJECTS)
72
+@ENABLE_UNRAR_TRUE@am_libclamunrar_la_rpath = -rpath $(libdir)
67 73
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
68 74
 depcomp = $(SHELL) $(top_srcdir)/depcomp
69 75
 am__depfiles_maybe = depfiles
... ...
@@ -76,7 +82,7 @@ CCLD = $(CC)
76 76
 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
77 77
 	$(AM_LDFLAGS) $(LDFLAGS) -o $@
78 78
 SOURCES = $(libclamunrar_la_SOURCES)
79
-DIST_SOURCES = $(libclamunrar_la_SOURCES)
79
+DIST_SOURCES = $(am__libclamunrar_la_SOURCES_DIST)
80 80
 ETAGS = etags
81 81
 CTAGS = ctags
82 82
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
... ...
@@ -114,11 +120,14 @@ ECHO_C = @ECHO_C@
114 114
 ECHO_N = @ECHO_N@
115 115
 ECHO_T = @ECHO_T@
116 116
 EGREP = @EGREP@
117
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
118
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
117 119
 EXEEXT = @EXEEXT@
118 120
 F77 = @F77@
119 121
 FFLAGS = @FFLAGS@
120 122
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
121 123
 GETENT = @GETENT@
124
+GREP = @GREP@
122 125
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
123 126
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
124 127
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -153,12 +162,9 @@ STRIP = @STRIP@
153 153
 THREAD_LIBS = @THREAD_LIBS@
154 154
 TH_SAFE = @TH_SAFE@
155 155
 VERSION = @VERSION@
156
-ac_ct_AR = @ac_ct_AR@
157 156
 ac_ct_CC = @ac_ct_CC@
158 157
 ac_ct_CXX = @ac_ct_CXX@
159 158
 ac_ct_F77 = @ac_ct_F77@
160
-ac_ct_RANLIB = @ac_ct_RANLIB@
161
-ac_ct_STRIP = @ac_ct_STRIP@
162 159
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
163 160
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
164 161
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -175,23 +181,30 @@ build_cpu = @build_cpu@
175 175
 build_os = @build_os@
176 176
 build_vendor = @build_vendor@
177 177
 datadir = @datadir@
178
+datarootdir = @datarootdir@
179
+docdir = @docdir@
180
+dvidir = @dvidir@
178 181
 exec_prefix = @exec_prefix@
179 182
 host = @host@
180 183
 host_alias = @host_alias@
181 184
 host_cpu = @host_cpu@
182 185
 host_os = @host_os@
183 186
 host_vendor = @host_vendor@
187
+htmldir = @htmldir@
184 188
 includedir = @includedir@
185 189
 infodir = @infodir@
186 190
 install_sh = @install_sh@
187 191
 libdir = @libdir@
188 192
 libexecdir = @libexecdir@
193
+localedir = @localedir@
189 194
 localstatedir = @localstatedir@
190 195
 mandir = @mandir@
191 196
 mkdir_p = @mkdir_p@
192 197
 oldincludedir = @oldincludedir@
198
+pdfdir = @pdfdir@
193 199
 prefix = @prefix@
194 200
 program_transform_name = @program_transform_name@
201
+psdir = @psdir@
195 202
 sbindir = @sbindir@
196 203
 sendmailprog = @sendmailprog@
197 204
 sharedstatedir = @sharedstatedir@
... ...
@@ -201,27 +214,27 @@ target_alias = @target_alias@
201 201
 target_cpu = @target_cpu@
202 202
 target_os = @target_os@
203 203
 target_vendor = @target_vendor@
204
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libclamav
205
-libclamunrar_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@
206
-libclamunrar_la_LDFLAGS = @TH_SAFE@ -version-info @LIBCLAMAV_VERSION@ -no-undefined
207
-libclamunrar_la_SOURCES = \
208
-	unrar15.c \
209
-	unrar20.h \
210
-	unrar.h \
211
-	unrar15.h \
212
-	unrar.c \
213
-	unrar20.c \
214
-	unrarcmd.h \
215
-	unrarfilter.h \
216
-	unrarppm.c \
217
-	unrarvm.c \
218
-	unrarcmd.c \
219
-	unrarfilter.c \
220
-	unrar.h \
221
-	unrarppm.h \
222
-	unrarvm.h
223
-
224
-lib_LTLIBRARIES = libclamunrar.la
204
+@ENABLE_UNRAR_TRUE@INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libclamav
205
+@ENABLE_UNRAR_TRUE@libclamunrar_la_LIBADD = @LIBCLAMAV_LIBS@ @THREAD_LIBS@
206
+@ENABLE_UNRAR_TRUE@libclamunrar_la_LDFLAGS = @TH_SAFE@ -version-info @LIBCLAMAV_VERSION@ -no-undefined
207
+@ENABLE_UNRAR_TRUE@libclamunrar_la_SOURCES = \
208
+@ENABLE_UNRAR_TRUE@	unrar15.c \
209
+@ENABLE_UNRAR_TRUE@	unrar20.h \
210
+@ENABLE_UNRAR_TRUE@	unrar.h \
211
+@ENABLE_UNRAR_TRUE@	unrar15.h \
212
+@ENABLE_UNRAR_TRUE@	unrar.c \
213
+@ENABLE_UNRAR_TRUE@	unrar20.c \
214
+@ENABLE_UNRAR_TRUE@	unrarcmd.h \
215
+@ENABLE_UNRAR_TRUE@	unrarfilter.h \
216
+@ENABLE_UNRAR_TRUE@	unrarppm.c \
217
+@ENABLE_UNRAR_TRUE@	unrarvm.c \
218
+@ENABLE_UNRAR_TRUE@	unrarcmd.c \
219
+@ENABLE_UNRAR_TRUE@	unrarfilter.c \
220
+@ENABLE_UNRAR_TRUE@	unrar.h \
221
+@ENABLE_UNRAR_TRUE@	unrarppm.h \
222
+@ENABLE_UNRAR_TRUE@	unrarvm.h
223
+
224
+@ENABLE_UNRAR_TRUE@lib_LTLIBRARIES = libclamunrar.la
225 225
 all: all-am
226 226
 
227 227
 .SUFFIXES:
... ...
@@ -283,7 +296,7 @@ clean-libLTLIBRARIES:
283 283
 	  rm -f "$${dir}/so_locations"; \
284 284
 	done
285 285
 libclamunrar.la: $(libclamunrar_la_OBJECTS) $(libclamunrar_la_DEPENDENCIES) 
286
-	$(LINK) -rpath $(libdir) $(libclamunrar_la_LDFLAGS) $(libclamunrar_la_OBJECTS) $(libclamunrar_la_LIBADD) $(LIBS)
286
+	$(LINK) $(am_libclamunrar_la_rpath) $(libclamunrar_la_LDFLAGS) $(libclamunrar_la_OBJECTS) $(libclamunrar_la_LIBADD) $(LIBS)
287 287
 
288 288
 mostlyclean-compile:
289 289
 	-rm -f *.$(OBJEXT)
... ...
@@ -127,11 +127,14 @@ ECHO_C = @ECHO_C@
127 127
 ECHO_N = @ECHO_N@
128 128
 ECHO_T = @ECHO_T@
129 129
 EGREP = @EGREP@
130
+ENABLE_UNRAR_FALSE = @ENABLE_UNRAR_FALSE@
131
+ENABLE_UNRAR_TRUE = @ENABLE_UNRAR_TRUE@
130 132
 EXEEXT = @EXEEXT@
131 133
 F77 = @F77@
132 134
 FFLAGS = @FFLAGS@
133 135
 FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
134 136
 GETENT = @GETENT@
137
+GREP = @GREP@
135 138
 HAVE_MILTER_FALSE = @HAVE_MILTER_FALSE@
136 139
 HAVE_MILTER_TRUE = @HAVE_MILTER_TRUE@
137 140
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -166,12 +169,9 @@ STRIP = @STRIP@
166 166
 THREAD_LIBS = @THREAD_LIBS@
167 167
 TH_SAFE = @TH_SAFE@
168 168
 VERSION = @VERSION@
169
-ac_ct_AR = @ac_ct_AR@
170 169
 ac_ct_CC = @ac_ct_CC@
171 170
 ac_ct_CXX = @ac_ct_CXX@
172 171
 ac_ct_F77 = @ac_ct_F77@
173
-ac_ct_RANLIB = @ac_ct_RANLIB@
174
-ac_ct_STRIP = @ac_ct_STRIP@
175 172
 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
176 173
 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
177 174
 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
... ...
@@ -188,23 +188,30 @@ build_cpu = @build_cpu@
188 188
 build_os = @build_os@
189 189
 build_vendor = @build_vendor@
190 190
 datadir = @datadir@
191
+datarootdir = @datarootdir@
192
+docdir = @docdir@
193
+dvidir = @dvidir@
191 194
 exec_prefix = @exec_prefix@
192 195
 host = @host@
193 196
 host_alias = @host_alias@
194 197
 host_cpu = @host_cpu@
195 198
 host_os = @host_os@
196 199
 host_vendor = @host_vendor@
200
+htmldir = @htmldir@
197 201
 includedir = @includedir@
198 202
 infodir = @infodir@
199 203
 install_sh = @install_sh@
200 204
 libdir = @libdir@
201 205
 libexecdir = @libexecdir@
206
+localedir = @localedir@
202 207
 localstatedir = @localstatedir@
203 208
 mandir = @mandir@
204 209
 mkdir_p = @mkdir_p@
205 210
 oldincludedir = @oldincludedir@
211
+pdfdir = @pdfdir@
206 212
 prefix = @prefix@
207 213
 program_transform_name = @program_transform_name@
214
+psdir = @psdir@
208 215
 sbindir = @sbindir@
209 216
 sendmailprog = @sendmailprog@
210 217
 sharedstatedir = @sharedstatedir@