Package list squidview / c2ba666
Imported Upstream version 0.70 Willi Mann 9 years ago
10 changed file(s) with 5940 addition(s) and 1127 deletion(s). Raw diff Collapse all Expand all
00 >> Squidview history:
1
2 v0.70: 14 March 2006:
3 - applied patch from Debian people to permit compilation in gcc 4.1.
14
25 v0.69: 24 October 2004:
36 - removed an emun for clean compiles on gcc 3.4 - the same patch made by a
5656 NORMAL_UNINSTALL = :
5757 PRE_UNINSTALL = :
5858 POST_UNINSTALL = :
59 host_alias = @host_alias@
60 host_triplet = @host@
61 CC = @CC@
5962 CXX = @CXX@
63 HAVE_LIB = @HAVE_LIB@
64 LIB = @LIB@
65 LTLIB = @LTLIB@
6066 MAKEINFO = @MAKEINFO@
6167 PACKAGE = @PACKAGE@
6268 VERSION = @VERSION@
96102 DATA = $(pkgdata_DATA)
97103
98104 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
99 Makefile.am Makefile.in NEWS acconfig.h aclocal.m4 config.h.in \
100 configure configure.in install-sh missing mkinstalldirs
105 Makefile.am Makefile.in NEWS aclocal.m4 config.guess config.h.in \
106 config.sub configure configure.in install-sh missing mkinstalldirs
101107
102108
103109 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
140146 rm -f $(srcdir)/stamp-h.in; \
141147 $(MAKE) $(srcdir)/stamp-h.in; \
142148 else :; fi
143 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
149 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
144150 cd $(top_srcdir) && $(AUTOHEADER)
145151 @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
146152
+0
-7
acconfig.h less more
0 /* Name of package. */
1 #undef PACKAGE
2
3 /* Version of package. */
4 #undef VERSION
5
6 #undef SHAREDIR
88 dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
99 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1010 dnl PARTICULAR PURPOSE.
11
12 # lib-prefix.m4 serial 4 (gettext-0.14.2)
13 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
14 dnl This file is free software; the Free Software Foundation
15 dnl gives unlimited permission to copy and/or distribute it,
16 dnl with or without modifications, as long as this notice is preserved.
17
18 dnl From Bruno Haible.
19
20 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
21 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
22 dnl require excessive bracketing.
23 ifdef([AC_HELP_STRING],
24 [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])],
25 [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])])
26
27 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
28 dnl to access previously installed libraries. The basic assumption is that
29 dnl a user will want packages to use other packages he previously installed
30 dnl with the same --prefix option.
31 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
32 dnl libraries, but is otherwise very convenient.
33 AC_DEFUN([AC_LIB_PREFIX],
34 [
35 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
36 AC_REQUIRE([AC_PROG_CC])
37 AC_REQUIRE([AC_CANONICAL_HOST])
38 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
39 dnl By default, look in $includedir and $libdir.
40 use_additional=yes
41 AC_LIB_WITH_FINAL_PREFIX([
42 eval additional_includedir=\"$includedir\"
43 eval additional_libdir=\"$libdir\"
44 ])
45 AC_LIB_ARG_WITH([lib-prefix],
46 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
47 --without-lib-prefix don't search for libraries in includedir and libdir],
48 [
49 if test "X$withval" = "Xno"; then
50 use_additional=no
51 else
52 if test "X$withval" = "X"; then
53 AC_LIB_WITH_FINAL_PREFIX([
54 eval additional_includedir=\"$includedir\"
55 eval additional_libdir=\"$libdir\"
56 ])
57 else
58 additional_includedir="$withval/include"
59 additional_libdir="$withval/lib"
60 fi
61 fi
62 ])
63 if test $use_additional = yes; then
64 dnl Potentially add $additional_includedir to $CPPFLAGS.
65 dnl But don't add it
66 dnl 1. if it's the standard /usr/include,
67 dnl 2. if it's already present in $CPPFLAGS,
68 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
69 dnl 4. if it doesn't exist as a directory.
70 if test "X$additional_includedir" != "X/usr/include"; then
71 haveit=
72 for x in $CPPFLAGS; do
73 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
74 if test "X$x" = "X-I$additional_includedir"; then
75 haveit=yes
76 break
77 fi
78 done
79 if test -z "$haveit"; then
80 if test "X$additional_includedir" = "X/usr/local/include"; then
81 if test -n "$GCC"; then
82 case $host_os in
83 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
84 esac
85 fi
86 fi
87 if test -z "$haveit"; then
88 if test -d "$additional_includedir"; then
89 dnl Really add $additional_includedir to $CPPFLAGS.
90 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
91 fi
92 fi
93 fi
94 fi
95 dnl Potentially add $additional_libdir to $LDFLAGS.
96 dnl But don't add it
97 dnl 1. if it's the standard /usr/lib,
98 dnl 2. if it's already present in $LDFLAGS,
99 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
100 dnl 4. if it doesn't exist as a directory.
101 if test "X$additional_libdir" != "X/usr/lib"; then
102 haveit=
103 for x in $LDFLAGS; do
104 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
105 if test "X$x" = "X-L$additional_libdir"; then
106 haveit=yes
107 break
108 fi
109 done
110 if test -z "$haveit"; then
111 if test "X$additional_libdir" = "X/usr/local/lib"; then
112 if test -n "$GCC"; then
113 case $host_os in
114 linux*) haveit=yes;;
115 esac
116 fi
117 fi
118 if test -z "$haveit"; then
119 if test -d "$additional_libdir"; then
120 dnl Really add $additional_libdir to $LDFLAGS.
121 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
122 fi
123 fi
124 fi
125 fi
126 fi
127 ])
128
129 dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
130 dnl acl_final_exec_prefix, containing the values to which $prefix and
131 dnl $exec_prefix will expand at the end of the configure script.
132 AC_DEFUN([AC_LIB_PREPARE_PREFIX],
133 [
134 dnl Unfortunately, prefix and exec_prefix get only finally determined
135 dnl at the end of configure.
136 if test "X$prefix" = "XNONE"; then
137 acl_final_prefix="$ac_default_prefix"
138 else
139 acl_final_prefix="$prefix"
140 fi
141 if test "X$exec_prefix" = "XNONE"; then
142 acl_final_exec_prefix='${prefix}'
143 else
144 acl_final_exec_prefix="$exec_prefix"
145 fi
146 acl_save_prefix="$prefix"
147 prefix="$acl_final_prefix"
148 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
149 prefix="$acl_save_prefix"
150 ])
151
152 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
153 dnl variables prefix and exec_prefix bound to the values they will have
154 dnl at the end of the configure script.
155 AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
156 [
157 acl_save_prefix="$prefix"
158 prefix="$acl_final_prefix"
159 acl_save_exec_prefix="$exec_prefix"
160 exec_prefix="$acl_final_exec_prefix"
161 $1
162 exec_prefix="$acl_save_exec_prefix"
163 prefix="$acl_save_prefix"
164 ])
165
166 # lib-link.m4 serial 6 (gettext-0.14.3)
167 dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
168 dnl This file is free software; the Free Software Foundation
169 dnl gives unlimited permission to copy and/or distribute it,
170 dnl with or without modifications, as long as this notice is preserved.
171
172 dnl From Bruno Haible.
173
174 AC_PREREQ(2.50)
175
176 dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
177 dnl the libraries corresponding to explicit and implicit dependencies.
178 dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
179 dnl augments the CPPFLAGS variable.
180 AC_DEFUN([AC_LIB_LINKFLAGS],
181 [
182 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
183 AC_REQUIRE([AC_LIB_RPATH])
184 define([Name],[translit([$1],[./-], [___])])
185 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
186 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
187 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
188 AC_LIB_LINKFLAGS_BODY([$1], [$2])
189 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
190 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
191 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
192 ])
193 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
194 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
195 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
196 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
197 AC_SUBST([LIB]NAME)
198 AC_SUBST([LTLIB]NAME)
199 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
200 dnl results of this search when this library appears as a dependency.
201 HAVE_LIB[]NAME=yes
202 undefine([Name])
203 undefine([NAME])
204 ])
205
206 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
207 dnl searches for libname and the libraries corresponding to explicit and
208 dnl implicit dependencies, together with the specified include files and
209 dnl the ability to compile and link the specified testcode. If found, it
210 dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
211 dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
212 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
213 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
214 AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
215 [
216 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
217 AC_REQUIRE([AC_LIB_RPATH])
218 define([Name],[translit([$1],[./-], [___])])
219 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
220 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
221
222 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
223 dnl accordingly.
224 AC_LIB_LINKFLAGS_BODY([$1], [$2])
225
226 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
227 dnl because if the user has installed lib[]Name and not disabled its use
228 dnl via --without-lib[]Name-prefix, he wants to use it.
229 ac_save_CPPFLAGS="$CPPFLAGS"
230 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
231
232 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
233 ac_save_LIBS="$LIBS"
234 LIBS="$LIBS $LIB[]NAME"
235 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
236 LIBS="$ac_save_LIBS"
237 ])
238 if test "$ac_cv_lib[]Name" = yes; then
239 HAVE_LIB[]NAME=yes
240 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
241 AC_MSG_CHECKING([how to link with lib[]$1])
242 AC_MSG_RESULT([$LIB[]NAME])
243 else
244 HAVE_LIB[]NAME=no
245 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
246 dnl $INC[]NAME either.
247 CPPFLAGS="$ac_save_CPPFLAGS"
248 LIB[]NAME=
249 LTLIB[]NAME=
250 fi
251 AC_SUBST([HAVE_LIB]NAME)
252 AC_SUBST([LIB]NAME)
253 AC_SUBST([LTLIB]NAME)
254 undefine([Name])
255 undefine([NAME])
256 ])
257
258 dnl Determine the platform dependent parameters needed to use rpath:
259 dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
260 dnl hardcode_direct, hardcode_minus_L.
261 AC_DEFUN([AC_LIB_RPATH],
262 [
263 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
264 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
265 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
266 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
267 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
268 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
269 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
270 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
271 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
272 . ./conftest.sh
273 rm -f ./conftest.sh
274 acl_cv_rpath=done
275 ])
276 wl="$acl_cv_wl"
277 libext="$acl_cv_libext"
278 shlibext="$acl_cv_shlibext"
279 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
280 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
281 hardcode_direct="$acl_cv_hardcode_direct"
282 hardcode_minus_L="$acl_cv_hardcode_minus_L"
283 dnl Determine whether the user wants rpath handling at all.
284 AC_ARG_ENABLE(rpath,
285 [ --disable-rpath do not hardcode runtime library paths],
286 :, enable_rpath=yes)
287 ])
288
289 dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
290 dnl the libraries corresponding to explicit and implicit dependencies.
291 dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
292 AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
293 [
294 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
295 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
296 dnl By default, look in $includedir and $libdir.
297 use_additional=yes
298 AC_LIB_WITH_FINAL_PREFIX([
299 eval additional_includedir=\"$includedir\"
300 eval additional_libdir=\"$libdir\"
301 ])
302 AC_LIB_ARG_WITH([lib$1-prefix],
303 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
304 --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
305 [
306 if test "X$withval" = "Xno"; then
307 use_additional=no
308 else
309 if test "X$withval" = "X"; then
310 AC_LIB_WITH_FINAL_PREFIX([
311 eval additional_includedir=\"$includedir\"
312 eval additional_libdir=\"$libdir\"
313 ])
314 else
315 additional_includedir="$withval/include"
316 additional_libdir="$withval/lib"
317 fi
318 fi
319 ])
320 dnl Search the library and its dependencies in $additional_libdir and
321 dnl $LDFLAGS. Using breadth-first-seach.
322 LIB[]NAME=
323 LTLIB[]NAME=
324 INC[]NAME=
325 rpathdirs=
326 ltrpathdirs=
327 names_already_handled=
328 names_next_round='$1 $2'
329 while test -n "$names_next_round"; do
330 names_this_round="$names_next_round"
331 names_next_round=
332 for name in $names_this_round; do
333 already_handled=
334 for n in $names_already_handled; do
335 if test "$n" = "$name"; then
336 already_handled=yes
337 break
338 fi
339 done
340 if test -z "$already_handled"; then
341 names_already_handled="$names_already_handled $name"
342 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
343 dnl or AC_LIB_HAVE_LINKFLAGS call.
344 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
345 eval value=\"\$HAVE_LIB$uppername\"
346 if test -n "$value"; then
347 if test "$value" = yes; then
348 eval value=\"\$LIB$uppername\"
349 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
350 eval value=\"\$LTLIB$uppername\"
351 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
352 else
353 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
354 dnl that this library doesn't exist. So just drop it.
355 :
356 fi
357 else
358 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
359 dnl and the already constructed $LIBNAME/$LTLIBNAME.
360 found_dir=
361 found_la=
362 found_so=
363 found_a=
364 if test $use_additional = yes; then
365 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
366 found_dir="$additional_libdir"
367 found_so="$additional_libdir/lib$name.$shlibext"
368 if test -f "$additional_libdir/lib$name.la"; then
369 found_la="$additional_libdir/lib$name.la"
370 fi
371 else
372 if test -f "$additional_libdir/lib$name.$libext"; then
373 found_dir="$additional_libdir"
374 found_a="$additional_libdir/lib$name.$libext"
375 if test -f "$additional_libdir/lib$name.la"; then
376 found_la="$additional_libdir/lib$name.la"
377 fi
378 fi
379 fi
380 fi
381 if test "X$found_dir" = "X"; then
382 for x in $LDFLAGS $LTLIB[]NAME; do
383 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
384 case "$x" in
385 -L*)
386 dir=`echo "X$x" | sed -e 's/^X-L//'`
387 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
388 found_dir="$dir"
389 found_so="$dir/lib$name.$shlibext"
390 if test -f "$dir/lib$name.la"; then
391 found_la="$dir/lib$name.la"
392 fi
393 else
394 if test -f "$dir/lib$name.$libext"; then
395 found_dir="$dir"
396 found_a="$dir/lib$name.$libext"
397 if test -f "$dir/lib$name.la"; then
398 found_la="$dir/lib$name.la"
399 fi
400 fi
401 fi
402 ;;
403 esac
404 if test "X$found_dir" != "X"; then
405 break
406 fi
407 done
408 fi
409 if test "X$found_dir" != "X"; then
410 dnl Found the library.
411 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
412 if test "X$found_so" != "X"; then
413 dnl Linking with a shared library. We attempt to hardcode its
414 dnl directory into the executable's runpath, unless it's the
415 dnl standard /usr/lib.
416 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
417 dnl No hardcoding is needed.
418 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
419 else
420 dnl Use an explicit option to hardcode DIR into the resulting
421 dnl binary.
422 dnl Potentially add DIR to ltrpathdirs.
423 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
424 haveit=
425 for x in $ltrpathdirs; do
426 if test "X$x" = "X$found_dir"; then
427 haveit=yes
428 break
429 fi
430 done
431 if test -z "$haveit"; then
432 ltrpathdirs="$ltrpathdirs $found_dir"
433 fi
434 dnl The hardcoding into $LIBNAME is system dependent.
435 if test "$hardcode_direct" = yes; then
436 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
437 dnl resulting binary.
438 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
439 else
440 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
441 dnl Use an explicit option to hardcode DIR into the resulting
442 dnl binary.
443 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
444 dnl Potentially add DIR to rpathdirs.
445 dnl The rpathdirs will be appended to $LIBNAME at the end.
446 haveit=
447 for x in $rpathdirs; do
448 if test "X$x" = "X$found_dir"; then
449 haveit=yes
450 break
451 fi
452 done
453 if test -z "$haveit"; then
454 rpathdirs="$rpathdirs $found_dir"
455 fi
456 else
457 dnl Rely on "-L$found_dir".
458 dnl But don't add it if it's already contained in the LDFLAGS
459 dnl or the already constructed $LIBNAME
460 haveit=
461 for x in $LDFLAGS $LIB[]NAME; do
462 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
463 if test "X$x" = "X-L$found_dir"; then
464 haveit=yes
465 break
466 fi
467 done
468 if test -z "$haveit"; then
469 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
470 fi
471 if test "$hardcode_minus_L" != no; then
472 dnl FIXME: Not sure whether we should use
473 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
474 dnl here.
475 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
476 else
477 dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
478 dnl here, because this doesn't fit in flags passed to the
479 dnl compiler. So give up. No hardcoding. This affects only
480 dnl very old systems.
481 dnl FIXME: Not sure whether we should use
482 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
483 dnl here.
484 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
485 fi
486 fi
487 fi
488 fi
489 else
490 if test "X$found_a" != "X"; then
491 dnl Linking with a static library.
492 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
493 else
494 dnl We shouldn't come here, but anyway it's good to have a
495 dnl fallback.
496 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
497 fi
498 fi
499 dnl Assume the include files are nearby.
500 additional_includedir=
501 case "$found_dir" in
502 */lib | */lib/)
503 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
504 additional_includedir="$basedir/include"
505 ;;
506 esac
507 if test "X$additional_includedir" != "X"; then
508 dnl Potentially add $additional_includedir to $INCNAME.
509 dnl But don't add it
510 dnl 1. if it's the standard /usr/include,
511 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
512 dnl 3. if it's already present in $CPPFLAGS or the already
513 dnl constructed $INCNAME,
514 dnl 4. if it doesn't exist as a directory.
515 if test "X$additional_includedir" != "X/usr/include"; then
516 haveit=
517 if test "X$additional_includedir" = "X/usr/local/include"; then
518 if test -n "$GCC"; then
519 case $host_os in
520 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
521 esac
522 fi
523 fi
524 if test -z "$haveit"; then
525 for x in $CPPFLAGS $INC[]NAME; do
526 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
527 if test "X$x" = "X-I$additional_includedir"; then
528 haveit=yes
529 break
530 fi
531 done
532 if test -z "$haveit"; then
533 if test -d "$additional_includedir"; then
534 dnl Really add $additional_includedir to $INCNAME.
535 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
536 fi
537 fi
538 fi
539 fi
540 fi
541 dnl Look for dependencies.
542 if test -n "$found_la"; then
543 dnl Read the .la file. It defines the variables
544 dnl dlname, library_names, old_library, dependency_libs, current,
545 dnl age, revision, installed, dlopen, dlpreopen, libdir.
546 save_libdir="$libdir"
547 case "$found_la" in
548 */* | *\\*) . "$found_la" ;;
549 *) . "./$found_la" ;;
550 esac
551 libdir="$save_libdir"
552 dnl We use only dependency_libs.
553 for dep in $dependency_libs; do
554 case "$dep" in
555 -L*)
556 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
557 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
558 dnl But don't add it
559 dnl 1. if it's the standard /usr/lib,
560 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
561 dnl 3. if it's already present in $LDFLAGS or the already
562 dnl constructed $LIBNAME,
563 dnl 4. if it doesn't exist as a directory.
564 if test "X$additional_libdir" != "X/usr/lib"; then
565 haveit=
566 if test "X$additional_libdir" = "X/usr/local/lib"; then
567 if test -n "$GCC"; then
568 case $host_os in
569 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
570 esac
571 fi
572 fi
573 if test -z "$haveit"; then
574 haveit=
575 for x in $LDFLAGS $LIB[]NAME; do
576 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
577 if test "X$x" = "X-L$additional_libdir"; then
578 haveit=yes
579 break
580 fi
581 done
582 if test -z "$haveit"; then
583 if test -d "$additional_libdir"; then
584 dnl Really add $additional_libdir to $LIBNAME.
585 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
586 fi
587 fi
588 haveit=
589 for x in $LDFLAGS $LTLIB[]NAME; do
590 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
591 if test "X$x" = "X-L$additional_libdir"; then
592 haveit=yes
593 break
594 fi
595 done
596 if test -z "$haveit"; then
597 if test -d "$additional_libdir"; then
598 dnl Really add $additional_libdir to $LTLIBNAME.
599 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
600 fi
601 fi
602 fi
603 fi
604 ;;
605 -R*)
606 dir=`echo "X$dep" | sed -e 's/^X-R//'`
607 if test "$enable_rpath" != no; then
608 dnl Potentially add DIR to rpathdirs.
609 dnl The rpathdirs will be appended to $LIBNAME at the end.
610 haveit=
611 for x in $rpathdirs; do
612 if test "X$x" = "X$dir"; then
613 haveit=yes
614 break
615 fi
616 done
617 if test -z "$haveit"; then
618 rpathdirs="$rpathdirs $dir"
619 fi
620 dnl Potentially add DIR to ltrpathdirs.
621 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
622 haveit=
623 for x in $ltrpathdirs; do
624 if test "X$x" = "X$dir"; then
625 haveit=yes
626 break
627 fi
628 done
629 if test -z "$haveit"; then
630 ltrpathdirs="$ltrpathdirs $dir"
631 fi
632 fi
633 ;;
634 -l*)
635 dnl Handle this in the next round.
636 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
637 ;;
638 *.la)
639 dnl Handle this in the next round. Throw away the .la's
640 dnl directory; it is already contained in a preceding -L
641 dnl option.
642 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
643 ;;
644 *)
645 dnl Most likely an immediate library name.
646 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
647 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
648 ;;
649 esac
650 done
651 fi
652 else
653 dnl Didn't find the library; assume it is in the system directories
654 dnl known to the linker and runtime loader. (All the system
655 dnl directories known to the linker should also be known to the
656 dnl runtime loader, otherwise the system is severely misconfigured.)
657 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
658 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
659 fi
660 fi
661 fi
662 done
663 done
664 if test "X$rpathdirs" != "X"; then
665 if test -n "$hardcode_libdir_separator"; then
666 dnl Weird platform: only the last -rpath option counts, the user must
667 dnl pass all path elements in one option. We can arrange that for a
668 dnl single library, but not when more than one $LIBNAMEs are used.
669 alldirs=
670 for found_dir in $rpathdirs; do
671 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
672 done
673 dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
674 acl_save_libdir="$libdir"
675 libdir="$alldirs"
676 eval flag=\"$hardcode_libdir_flag_spec\"
677 libdir="$acl_save_libdir"
678 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
679 else
680 dnl The -rpath options are cumulative.
681 for found_dir in $rpathdirs; do
682 acl_save_libdir="$libdir"
683 libdir="$found_dir"
684 eval flag=\"$hardcode_libdir_flag_spec\"
685 libdir="$acl_save_libdir"
686 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
687 done
688 fi
689 fi
690 if test "X$ltrpathdirs" != "X"; then
691 dnl When using libtool, the option that works for both libraries and
692 dnl executables is -R. The -R options are cumulative.
693 for found_dir in $ltrpathdirs; do
694 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
695 done
696 fi
697 ])
698
699 dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
700 dnl unless already present in VAR.
701 dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
702 dnl contains two or three consecutive elements that belong together.
703 AC_DEFUN([AC_LIB_APPENDTOVAR],
704 [
705 for element in [$2]; do
706 haveit=
707 for x in $[$1]; do
708 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
709 if test "X$x" = "X$element"; then
710 haveit=yes
711 break
712 fi
713 done
714 if test -z "$haveit"; then
715 [$1]="${[$1]}${[$1]:+ }$element"
716 fi
717 done
718 ])
719
720 # lib-ld.m4 serial 3 (gettext-0.13)
721 dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
722 dnl This file is free software; the Free Software Foundation
723 dnl gives unlimited permission to copy and/or distribute it,
724 dnl with or without modifications, as long as this notice is preserved.
725
726 dnl Subroutines of libtool.m4,
727 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
728 dnl with libtool.m4.
729
730 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
731 AC_DEFUN([AC_LIB_PROG_LD_GNU],
732 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
733 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
734 case `$LD -v 2>&1 </dev/null` in
735 *GNU* | *'with BFD'*)
736 acl_cv_prog_gnu_ld=yes ;;
737 *)
738 acl_cv_prog_gnu_ld=no ;;
739 esac])
740 with_gnu_ld=$acl_cv_prog_gnu_ld
741 ])
742
743 dnl From libtool-1.4. Sets the variable LD.
744 AC_DEFUN([AC_LIB_PROG_LD],
745 [AC_ARG_WITH(gnu-ld,
746 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
747 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
748 AC_REQUIRE([AC_PROG_CC])dnl
749 AC_REQUIRE([AC_CANONICAL_HOST])dnl
750 # Prepare PATH_SEPARATOR.
751 # The user is always right.
752 if test "${PATH_SEPARATOR+set}" != set; then
753 echo "#! /bin/sh" >conf$$.sh
754 echo "exit 0" >>conf$$.sh
755 chmod +x conf$$.sh
756 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
757 PATH_SEPARATOR=';'
758 else
759 PATH_SEPARATOR=:
760 fi
761 rm -f conf$$.sh
762 fi
763 ac_prog=ld
764 if test "$GCC" = yes; then
765 # Check if gcc -print-prog-name=ld gives a path.
766 AC_MSG_CHECKING([for ld used by GCC])
767 case $host in
768 *-*-mingw*)
769 # gcc leaves a trailing carriage return which upsets mingw
770 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
771 *)
772 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
773 esac
774 case $ac_prog in
775 # Accept absolute paths.
776 [[\\/]* | [A-Za-z]:[\\/]*)]
777 [re_direlt='/[^/][^/]*/\.\./']
778 # Canonicalize the path of ld
779 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
780 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
781 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
782 done
783 test -z "$LD" && LD="$ac_prog"
784 ;;
785 "")
786 # If it fails, then pretend we aren't using GCC.
787 ac_prog=ld
788 ;;
789 *)
790 # If it is relative, then search for the first ld in PATH.
791 with_gnu_ld=unknown
792 ;;
793 esac
794 elif test "$with_gnu_ld" = yes; then
795 AC_MSG_CHECKING([for GNU ld])
796 else
797 AC_MSG_CHECKING([for non-GNU ld])
798 fi
799 AC_CACHE_VAL(acl_cv_path_LD,
800 [if test -z "$LD"; then
801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
802 for ac_dir in $PATH; do
803 test -z "$ac_dir" && ac_dir=.
804 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
805 acl_cv_path_LD="$ac_dir/$ac_prog"
806 # Check to see if the program is GNU ld. I'd rather use --version,
807 # but apparently some GNU ld's only accept -v.
808 # Break only if it was the GNU/non-GNU ld that we prefer.
809 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
810 *GNU* | *'with BFD'*)
811 test "$with_gnu_ld" != no && break ;;
812 *)
813 test "$with_gnu_ld" != yes && break ;;
814 esac
815 fi
816 done
817 IFS="$ac_save_ifs"
818 else
819 acl_cv_path_LD="$LD" # Let the user override the test with a path.
820 fi])
821 LD="$acl_cv_path_LD"
822 if test -n "$LD"; then
823 AC_MSG_RESULT($LD)
824 else
825 AC_MSG_RESULT(no)
826 fi
827 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
828 AC_LIB_PROG_LD_GNU
829 ])
11830
12831 # Like AC_CONFIG_HEADER, but automatically create stamp file.
13832
(New empty file)
0 /* config.h.in. Generated automatically from configure.in by autoheader. */
0 /* config.h.in. Generated from configure.in by autoheader. */
11
2 #undef SHAREDIR
3
4 /* Define if you have the <curses.h> header file. */
2 /* Define to 1 if you have the <curses.h> header file. */
53 #undef HAVE_CURSES_H
64
7 /* Define if you have the <fcntl.h> header file. */
5 /* Define to 1 if you have the <fcntl.h> header file. */
86 #undef HAVE_FCNTL_H
97
10 /* Define if you have the <math.h> header file. */
8 /* Define to 1 if you have the <inttypes.h> header file. */
9 #undef HAVE_INTTYPES_H
10
11 /* Define to 1 if you have the `ncurses' library (-lncurses). */
12 #undef HAVE_LIBNCURSES
13
14 /* Define to 1 if you have the <math.h> header file. */
1115 #undef HAVE_MATH_H
1216
13 /* Define if you have the <signal.h> header file. */
17 /* Define to 1 if you have the <memory.h> header file. */
18 #undef HAVE_MEMORY_H
19
20 /* Define to 1 if you have the <signal.h> header file. */
1421 #undef HAVE_SIGNAL_H
1522
16 /* Define if you have the <stdlib.h> header file. */
23 /* Define to 1 if you have the <stdint.h> header file. */
24 #undef HAVE_STDINT_H
25
26 /* Define to 1 if you have the <stdlib.h> header file. */
1727 #undef HAVE_STDLIB_H
1828
19 /* Define if you have the <sys/stat.h> header file. */
29 /* Define to 1 if you have the <strings.h> header file. */
30 #undef HAVE_STRINGS_H
31
32 /* Define to 1 if you have the <string.h> header file. */
33 #undef HAVE_STRING_H
34
35 /* Define to 1 if you have the <sys/stat.h> header file. */
2036 #undef HAVE_SYS_STAT_H
2137
22 /* Define if you have the <sys/time.h> header file. */
38 /* Define to 1 if you have the <sys/time.h> header file. */
2339 #undef HAVE_SYS_TIME_H
2440
25 /* Define if you have the <sys/types.h> header file. */
41 /* Define to 1 if you have the <sys/types.h> header file. */
2642 #undef HAVE_SYS_TYPES_H
2743
28 /* Define if you have the <time.h> header file. */
44 /* Define to 1 if you have the <time.h> header file. */
2945 #undef HAVE_TIME_H
3046
31 /* Define if you have the <unistd.h> header file. */
47 /* Define to 1 if you have the <unistd.h> header file. */
3248 #undef HAVE_UNISTD_H
33
34 /* Define if you have the ncurses library (-lncurses). */
35 #undef HAVE_LIBNCURSES
3649
3750 /* Name of package */
3851 #undef PACKAGE
3952
53 /* Define to the address where bug reports for this package should be sent. */
54 #undef PACKAGE_BUGREPORT
55
56 /* Define to the full name of this package. */
57 #undef PACKAGE_NAME
58
59 /* Define to the full name and version of this package. */
60 #undef PACKAGE_STRING
61
62 /* Define to the one symbol short name of this package. */
63 #undef PACKAGE_TARNAME
64
65 /* Define to the version of this package. */
66 #undef PACKAGE_VERSION
67
68 /* install_path */
69 #undef SHAREDIR
70
71 /* Define to 1 if you have the ANSI C header files. */
72 #undef STDC_HEADERS
73
4074 /* Version number of package */
4175 #undef VERSION
42
(New empty file)
+5054
-1096
configure less more
00 #! /bin/sh
1
21 # Guess values for system-dependent variables and create Makefiles.
3 # Generated automatically using autoconf version 2.13
4 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
2 # Generated by GNU Autoconf 2.59.
53 #
4 # Copyright (C) 2003 Free Software Foundation, Inc.
65 # This configure script is free software; the Free Software Foundation
76 # gives unlimited permission to copy, distribute and modify it.
8
9 # Defaults:
10 ac_help=
7 ## --------------------- ##
8 ## M4sh Initialization. ##
9 ## --------------------- ##
10
11 # Be Bourne compatible
12 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13 emulate sh
14 NULLCMD=:
15 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16 # is contrary to our usage. Disable this feature.
17 alias -g '${1+"$@"}'='"$@"'
18 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19 set -o posix
20 fi
21 DUALCASE=1; export DUALCASE # for MKS sh
22
23 # Support unset when possible.
24 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25 as_unset=unset
26 else
27 as_unset=false
28 fi
29
30
31 # Work around bugs in pre-3.0 UWIN ksh.
32 $as_unset ENV MAIL MAILPATH
33 PS1='$ '
34 PS2='> '
35 PS4='+ '
36
37 # NLS nuisances.
38 for as_var in \
39 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41 LC_TELEPHONE LC_TIME
42 do
43 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44 eval $as_var=C; export $as_var
45 else
46 $as_unset $as_var
47 fi
48 done
49
50 # Required to use basename.
51 if expr a : '\(a\)' >/dev/null 2>&1; then
52 as_expr=expr
53 else
54 as_expr=false
55 fi
56
57 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
58 as_basename=basename
59 else
60 as_basename=false
61 fi
62
63
64 # Name of the executable.
65 as_me=`$as_basename "$0" ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
70 echo X/"$0" |
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
74 s/.*/./; q'`
75
76
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
84
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conf$$.sh
88 echo "exit 0" >>conf$$.sh
89 chmod +x conf$$.sh
90 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
94 fi
95 rm -f conf$$.sh
96 fi
97
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
122 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
136 /*)
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145 CONFIG_SHELL=$as_dir/$as_base
146 export CONFIG_SHELL
147 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
148 fi;;
149 esac
150 done
151 done
152 ;;
153 esac
154
155 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156 # uniformly replaced by the line number. The first 'sed' inserts a
157 # line-number line before each line; the second 'sed' does the real
158 # work. The second script uses 'N' to pair each line-number line
159 # with the numbered line, and appends trailing '-' during
160 # substitution so that $LINENO is not a special case at line end.
161 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163 sed '=' <$as_myself |
164 sed '
165 N
166 s,$,-,
167 : loop
168 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169 t loop
170 s,-$,,
171 s,^['$as_cr_digits']*\n,,
172 ' >$as_me.lineno &&
173 chmod +x $as_me.lineno ||
174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175 { (exit 1); exit 1; }; }
176
177 # Don't try to exec as it changes $[0], causing all sort of problems
178 # (the dirname of $[0] is not the place where we might find the
179 # original and so on. Autoconf is especially sensible to this).
180 . ./$as_me.lineno
181 # Exit status is that of the last command.
182 exit
183 }
184
185
186 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187 *c*,-n*) ECHO_N= ECHO_C='
188 ' ECHO_T=' ' ;;
189 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191 esac
192
193 if expr a : '\(a\)' >/dev/null 2>&1; then
194 as_expr=expr
195 else
196 as_expr=false
197 fi
198
199 rm -f conf$$ conf$$.exe conf$$.file
200 echo >conf$$.file
201 if ln -s conf$$.file conf$$ 2>/dev/null; then
202 # We could just check for DJGPP; but this test a) works b) is more generic
203 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204 if test -f conf$$.exe; then
205 # Don't use ln at all; we don't have any links
206 as_ln_s='cp -p'
207 else
208 as_ln_s='ln -s'
209 fi
210 elif ln conf$$.file conf$$ 2>/dev/null; then
211 as_ln_s=ln
212 else
213 as_ln_s='cp -p'
214 fi
215 rm -f conf$$ conf$$.exe conf$$.file
216
217 if mkdir -p . 2>/dev/null; then
218 as_mkdir_p=:
219 else
220 test -d ./-p && rmdir ./-p
221 as_mkdir_p=false
222 fi
223
224 as_executable_p="test -f"
225
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
228
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS=" $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
242
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248 exec 6>&1
249
250 #
251 # Initializations.
252 #
11253 ac_default_prefix=/usr/local
12 # Any additions from configure.in:
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265
266 # Identity of this package.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
272
273 ac_unique_file="squidview.cpp"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 # include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 # include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 # include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP EGREP CXXCPP LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
13313
14314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
15317 # The variables have the same names as the options, with
16318 # dashes changed to underlines.
17 build=NONE
18 cache_file=./config.cache
319 cache_file=/dev/null
19320 exec_prefix=NONE
20 host=NONE
21321 no_create=
22 nonopt=NONE
23322 no_recursion=
24323 prefix=NONE
25324 program_prefix=NONE
28327 silent=
29328 site=
30329 srcdir=
31 target=NONE
32330 verbose=
33331 x_includes=NONE
34332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
35339 bindir='${exec_prefix}/bin'
36340 sbindir='${exec_prefix}/sbin'
37341 libexecdir='${exec_prefix}/libexec'
45349 infodir='${prefix}/info'
46350 mandir='${prefix}/man'
47351
48 # Initialize some other variables.
49 subdirs=
50 MFLAGS= MAKEFLAGS=
51 SHELL=${CONFIG_SHELL-/bin/sh}
52 # Maximum number of lines to put in a shell here document.
53 ac_max_here_lines=12
54
55352 ac_prev=
56353 for ac_option
57354 do
58
59355 # If the previous option needs an argument, assign it.
60356 if test -n "$ac_prev"; then
61357 eval "$ac_prev=\$ac_option"
63359 continue
64360 fi
65361
66 case "$ac_option" in
67 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
68 *) ac_optarg= ;;
69 esac
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
70363
71364 # Accept the important Cygnus configure options, so we can diagnose typos.
72365
73 case "$ac_option" in
366 case $ac_option in
74367
75368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
76369 ac_prev=bindir ;;
77370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
78 bindir="$ac_optarg" ;;
371 bindir=$ac_optarg ;;
79372
80373 -build | --build | --buil | --bui | --bu)
81 ac_prev=build ;;
374 ac_prev=build_alias ;;
82375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
83 build="$ac_optarg" ;;
376 build_alias=$ac_optarg ;;
84377
85378 -cache-file | --cache-file | --cache-fil | --cache-fi \
86379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
87380 ac_prev=cache_file ;;
88381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
89382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
90 cache_file="$ac_optarg" ;;
383 cache_file=$ac_optarg ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
91387
92388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
93389 ac_prev=datadir ;;
94390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
95391 | --da=*)
96 datadir="$ac_optarg" ;;
392 datadir=$ac_optarg ;;
97393
98394 -disable-* | --disable-*)
99 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
100396 # Reject names that are not valid shell variable names.
101 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
102 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
103 fi
104 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
105 eval "enable_${ac_feature}=no" ;;
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
106402
107403 -enable-* | --enable-*)
108 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
109405 # Reject names that are not valid shell variable names.
110 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
111 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
112 fi
113 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
114 case "$ac_option" in
115 *=*) ;;
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
116412 *) ac_optarg=yes ;;
117413 esac
118 eval "enable_${ac_feature}='$ac_optarg'" ;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
119415
120416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
121417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
124420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
125421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
126422 | --exec=* | --exe=* | --ex=*)
127 exec_prefix="$ac_optarg" ;;
423 exec_prefix=$ac_optarg ;;
128424
129425 -gas | --gas | --ga | --g)
130426 # Obsolete; use --with-gas.
131427 with_gas=yes ;;
132428
133 -help | --help | --hel | --he)
134 # Omit some internal or obsolete options to make the list less imposing.
135 # This message is too long to be a string in the A/UX 3.1 sh.
136 cat << EOF
137 Usage: configure [options] [host]
138 Options: [defaults in brackets after descriptions]
139 Configuration:
140 --cache-file=FILE cache test results in FILE
141 --help print this message
142 --no-create do not create output files
143 --quiet, --silent do not print \`checking...' messages
144 --version print the version of autoconf that created configure
145 Directory and file names:
146 --prefix=PREFIX install architecture-independent files in PREFIX
147 [$ac_default_prefix]
148 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
149 [same as prefix]
150 --bindir=DIR user executables in DIR [EPREFIX/bin]
151 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
152 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
153 --datadir=DIR read-only architecture-independent data in DIR
154 [PREFIX/share]
155 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
156 --sharedstatedir=DIR modifiable architecture-independent data in DIR
157 [PREFIX/com]
158 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
159 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
160 --includedir=DIR C header files in DIR [PREFIX/include]
161 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
162 --infodir=DIR info documentation in DIR [PREFIX/info]
163 --mandir=DIR man documentation in DIR [PREFIX/man]
164 --srcdir=DIR find the sources in DIR [configure dir or ..]
165 --program-prefix=PREFIX prepend PREFIX to installed program names
166 --program-suffix=SUFFIX append SUFFIX to installed program names
167 --program-transform-name=PROGRAM
168 run sed PROGRAM on installed program names
169 EOF
170 cat << EOF
171 Host type:
172 --build=BUILD configure for building on BUILD [BUILD=HOST]
173 --host=HOST configure for HOST [guessed]
174 --target=TARGET configure for TARGET [TARGET=HOST]
175 Features and packages:
176 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
177 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
178 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
179 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
180 --x-includes=DIR X include files are in DIR
181 --x-libraries=DIR X library files are in DIR
182 EOF
183 if test -n "$ac_help"; then
184 echo "--enable and --with options recognized:$ac_help"
185 fi
186 exit 0 ;;
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
187435
188436 -host | --host | --hos | --ho)
189 ac_prev=host ;;
437 ac_prev=host_alias ;;
190438 -host=* | --host=* | --hos=* | --ho=*)
191 host="$ac_optarg" ;;
439 host_alias=$ac_optarg ;;
192440
193441 -includedir | --includedir | --includedi | --included | --include \
194442 | --includ | --inclu | --incl | --inc)
195443 ac_prev=includedir ;;
196444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
197445 | --includ=* | --inclu=* | --incl=* | --inc=*)
198 includedir="$ac_optarg" ;;
446 includedir=$ac_optarg ;;
199447
200448 -infodir | --infodir | --infodi | --infod | --info | --inf)
201449 ac_prev=infodir ;;
202450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
203 infodir="$ac_optarg" ;;
451 infodir=$ac_optarg ;;
204452
205453 -libdir | --libdir | --libdi | --libd)
206454 ac_prev=libdir ;;
207455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
208 libdir="$ac_optarg" ;;
456 libdir=$ac_optarg ;;
209457
210458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
211459 | --libexe | --libex | --libe)
212460 ac_prev=libexecdir ;;
213461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
214462 | --libexe=* | --libex=* | --libe=*)
215 libexecdir="$ac_optarg" ;;
463 libexecdir=$ac_optarg ;;
216464
217465 -localstatedir | --localstatedir | --localstatedi | --localstated \
218466 | --localstate | --localstat | --localsta | --localst \
221469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
222470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
223471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
224 localstatedir="$ac_optarg" ;;
472 localstatedir=$ac_optarg ;;
225473
226474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
227475 ac_prev=mandir ;;
228476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
229 mandir="$ac_optarg" ;;
477 mandir=$ac_optarg ;;
230478
231479 -nfp | --nfp | --nf)
232480 # Obsolete; use --without-fp.
233481 with_fp=no ;;
234482
235483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
236 | --no-cr | --no-c)
484 | --no-cr | --no-c | -n)
237485 no_create=yes ;;
238486
239487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
247495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
248496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
249497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
250 oldincludedir="$ac_optarg" ;;
498 oldincludedir=$ac_optarg ;;
251499
252500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
253501 ac_prev=prefix ;;
254502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
255 prefix="$ac_optarg" ;;
503 prefix=$ac_optarg ;;
256504
257505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
258506 | --program-pre | --program-pr | --program-p)
259507 ac_prev=program_prefix ;;
260508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
261509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
262 program_prefix="$ac_optarg" ;;
510 program_prefix=$ac_optarg ;;
263511
264512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
265513 | --program-suf | --program-su | --program-s)
266514 ac_prev=program_suffix ;;
267515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
268516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
269 program_suffix="$ac_optarg" ;;
517 program_suffix=$ac_optarg ;;
270518
271519 -program-transform-name | --program-transform-name \
272520 | --program-transform-nam | --program-transform-na \
283531 | --program-transfo=* | --program-transf=* \
284532 | --program-trans=* | --program-tran=* \
285533 | --progr-tra=* | --program-tr=* | --program-t=*)
286 program_transform_name="$ac_optarg" ;;
534 program_transform_name=$ac_optarg ;;
287535
288536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
289537 | -silent | --silent | --silen | --sile | --sil)
293541 ac_prev=sbindir ;;
294542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
295543 | --sbi=* | --sb=*)
296 sbindir="$ac_optarg" ;;
544 sbindir=$ac_optarg ;;
297545
298546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
299547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
304552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
305553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
306554 | --sha=* | --sh=*)
307 sharedstatedir="$ac_optarg" ;;
555 sharedstatedir=$ac_optarg ;;
308556
309557 -site | --site | --sit)
310558 ac_prev=site ;;
311559 -site=* | --site=* | --sit=*)
312 site="$ac_optarg" ;;
560 site=$ac_optarg ;;
313561
314562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
315563 ac_prev=srcdir ;;
316564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
317 srcdir="$ac_optarg" ;;
565 srcdir=$ac_optarg ;;
318566
319567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
320568 | --syscon | --sysco | --sysc | --sys | --sy)
321569 ac_prev=sysconfdir ;;
322570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
323571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
324 sysconfdir="$ac_optarg" ;;
572 sysconfdir=$ac_optarg ;;
325573
326574 -target | --target | --targe | --targ | --tar | --ta | --t)
327 ac_prev=target ;;
575 ac_prev=target_alias ;;
328576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
329 target="$ac_optarg" ;;
577 target_alias=$ac_optarg ;;
330578
331579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
332580 verbose=yes ;;
333581
334 -version | --version | --versio | --versi | --vers)
335 echo "configure generated by autoconf version 2.13"
336 exit 0 ;;
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
337584
338585 -with-* | --with-*)
339 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
340587 # Reject names that are not valid shell variable names.
341 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
342 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
343 fi
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
344591 ac_package=`echo $ac_package| sed 's/-/_/g'`
345 case "$ac_option" in
346 *=*) ;;
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
347594 *) ac_optarg=yes ;;
348595 esac
349 eval "with_${ac_package}='$ac_optarg'" ;;
596 eval "with_$ac_package='$ac_optarg'" ;;
350597
351598 -without-* | --without-*)
352 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
353600 # Reject names that are not valid shell variable names.
354 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
355 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
356 fi
357 ac_package=`echo $ac_package| sed 's/-/_/g'`
358 eval "with_${ac_package}=no" ;;
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
359606
360607 --x)
361608 # Obsolete; use --with-x.
366613 ac_prev=x_includes ;;
367614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
368615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
369 x_includes="$ac_optarg" ;;
616 x_includes=$ac_optarg ;;
370617
371618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
372619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
373620 ac_prev=x_libraries ;;
374621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
375622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
376 x_libraries="$ac_optarg" ;;
377
378 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
623 x_libraries=$ac_optarg ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
379628 ;;
380629
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
639
381640 *)
382 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
383 echo "configure: warning: $ac_option: invalid host type" 1>&2
384 fi
385 if test "x$nonopt" != xNONE; then
386 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
387 fi
388 nonopt="$ac_option"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
389646 ;;
390647
391648 esac
392649 done
393650
394651 if test -n "$ac_prev"; then
395 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
396 fi
397
398 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
399
400 # File descriptor usage:
401 # 0 standard input
402 # 1 file creation
403 # 2 errors and warnings
404 # 3 some systems may open it to /dev/tty
405 # 4 used on the Kubota Titan
406 # 6 checking for... messages and results
407 # 5 compiler messages saved in config.log
408 if test "$silent" = yes; then
409 exec 6>/dev/null
410 else
411 exec 6>&1
412 fi
413 exec 5>./config.log
414
415 echo "\
416 This file contains any messages produced by compilers while
417 running configure, to aid debugging if configure makes a mistake.
418 " 1>&5
419
420 # Strip out --no-create and --no-recursion so they do not pile up.
421 # Also quote any args containing shell metacharacters.
422 ac_configure_args=
423 for ac_arg
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
424659 do
425 case "$ac_arg" in
426 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
427 | --no-cr | --no-c) ;;
428 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
429 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
430 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
431 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
432 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
433665 esac
434666 done
435667
436 # NLS nuisances.
437 # Only set these to C if already set. These must not be set unconditionally
438 # because not all systems understand e.g. LANG=C (notably SCO).
439 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
440 # Non-C LC_CTYPE values break the ctype check.
441 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
442 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
443 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
444 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
445
446 # confdefs.h avoids OS command line length limits that DEFS can exceed.
447 rm -rf conftest* confdefs.h
448 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
449 echo > confdefs.h
450
451 # A filename unique to this package, relative to the directory that
452 # configure is in, which we can look for to find out if srcdir is correct.
453 ac_unique_file=squidview.cpp
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671 do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
695 fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
454703
455704 # Find the source files, if location was not specified.
456705 if test -z "$srcdir"; then
457706 ac_srcdir_defaulted=yes
458707 # Try the directory containing this script, then its parent.
459 ac_prog=$0
460 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
461 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
462720 srcdir=$ac_confdir
463 if test ! -r $srcdir/$ac_unique_file; then
721 if test ! -r "$srcdir/$ac_unique_file"; then
464722 srcdir=..
465723 fi
466724 else
467725 ac_srcdir_defaulted=no
468726 fi
469 if test ! -r $srcdir/$ac_unique_file; then
727 if test ! -r "$srcdir/$ac_unique_file"; then
470728 if test "$ac_srcdir_defaulted" = yes; then
471 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
472731 else
473 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
474734 fi
475735 fi
476 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
477
736 (cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CXX_set=${CXX+set}
753 ac_env_CXX_value=$CXX
754 ac_cv_env_CXX_set=${CXX+set}
755 ac_cv_env_CXX_value=$CXX
756 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
757 ac_env_CXXFLAGS_value=$CXXFLAGS
758 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
759 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CC_set=${CC+set}
769 ac_env_CC_value=$CC
770 ac_cv_env_CC_set=${CC+set}
771 ac_cv_env_CC_value=$CC
772 ac_env_CFLAGS_set=${CFLAGS+set}
773 ac_env_CFLAGS_value=$CFLAGS
774 ac_cv_env_CFLAGS_set=${CFLAGS+set}
775 ac_cv_env_CFLAGS_value=$CFLAGS
776 ac_env_CPP_set=${CPP+set}
777 ac_env_CPP_value=$CPP
778 ac_cv_env_CPP_set=${CPP+set}
779 ac_cv_env_CPP_value=$CPP
780 ac_env_CXXCPP_set=${CXXCPP+set}
781 ac_env_CXXCPP_value=$CXXCPP
782 ac_cv_env_CXXCPP_set=${CXXCPP+set}
783 ac_cv_env_CXXCPP_value=$CXXCPP
784
785 #
786 # Report the --help message.
787 #
788 if test "$ac_init_help" = "long"; then
789 # Omit some internal or obsolete options to make the list less imposing.
790 # This message is too long to be a string in the A/UX 3.1 sh.
791 cat <<_ACEOF
792 \`configure' configures this package to adapt to many kinds of systems.
793
794 Usage: $0 [OPTION]... [VAR=VALUE]...
795
796 To assign environment variables (e.g., CC, CFLAGS...), specify them as
797 VAR=VALUE. See below for descriptions of some of the useful variables.
798
799 Defaults for the options are specified in brackets.
800
801 Configuration:
802 -h, --help display this help and exit
803 --help=short display options specific to this package
804 --help=recursive display the short help of all the included packages
805 -V, --version display version information and exit
806 -q, --quiet, --silent do not print \`checking...' messages
807 --cache-file=FILE cache test results in FILE [disabled]
808 -C, --config-cache alias for \`--cache-file=config.cache'
809 -n, --no-create do not create output files
810 --srcdir=DIR find the sources in DIR [configure dir or \`..']
811
812 _ACEOF
813
814 cat <<_ACEOF
815 Installation directories:
816 --prefix=PREFIX install architecture-independent files in PREFIX
817 [$ac_default_prefix]
818 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
819 [PREFIX]
820
821 By default, \`make install' will install all the files in
822 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
823 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
824 for instance \`--prefix=\$HOME'.
825
826 For better control, use the options below.
827
828 Fine tuning of the installation directories:
829 --bindir=DIR user executables [EPREFIX/bin]
830 --sbindir=DIR system admin executables [EPREFIX/sbin]
831 --libexecdir=DIR program executables [EPREFIX/libexec]
832 --datadir=DIR read-only architecture-independent data [PREFIX/share]
833 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
834 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
835 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
836 --libdir=DIR object code libraries [EPREFIX/lib]
837 --includedir=DIR C header files [PREFIX/include]
838 --oldincludedir=DIR C header files for non-gcc [/usr/include]
839 --infodir=DIR info documentation [PREFIX/info]
840 --mandir=DIR man documentation [PREFIX/man]
841 _ACEOF
842
843 cat <<\_ACEOF
844
845 Program names:
846 --program-prefix=PREFIX prepend PREFIX to installed program names
847 --program-suffix=SUFFIX append SUFFIX to installed program names
848 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
849 _ACEOF
850 fi
851
852 if test -n "$ac_init_help"; then
853
854 cat <<\_ACEOF
855
856 Some influential environment variables:
857 CXX C++ compiler command
858 CXXFLAGS C++ compiler flags
859 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
860 nonstandard directory <lib dir>
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
862 headers in a nonstandard directory <include dir>
863 CC C compiler command
864 CFLAGS C compiler flags
865 CPP C preprocessor
866 CXXCPP C++ preprocessor
867
868 Use these variables to override the choices made by `configure' or to help
869 it to find libraries and programs with nonstandard names/locations.
870
871 _ACEOF
872 fi
873
874 if test "$ac_init_help" = "recursive"; then
875 # If there are subdirs, report their specific --help.
876 ac_popdir=`pwd`
877 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
878 test -d $ac_dir || continue
879 ac_builddir=.
880
881 if test "$ac_dir" != .; then
882 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
883 # A "../" for each directory in $ac_dir_suffix.
884 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
885 else
886 ac_dir_suffix= ac_top_builddir=
887 fi
888
889 case $srcdir in
890 .) # No --srcdir option. We are building in place.
891 ac_srcdir=.
892 if test -z "$ac_top_builddir"; then
893 ac_top_srcdir=.
894 else
895 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
896 fi ;;
897 [\\/]* | ?:[\\/]* ) # Absolute path.
898 ac_srcdir=$srcdir$ac_dir_suffix;
899 ac_top_srcdir=$srcdir ;;
900 *) # Relative path.
901 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
902 ac_top_srcdir=$ac_top_builddir$srcdir ;;
903 esac
904
905 # Do not use `cd foo && pwd` to compute absolute paths, because
906 # the directories may not exist.
907 case `pwd` in
908 .) ac_abs_builddir="$ac_dir";;
909 *)
910 case "$ac_dir" in
911 .) ac_abs_builddir=`pwd`;;
912 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
913 *) ac_abs_builddir=`pwd`/"$ac_dir";;
914 esac;;
915 esac
916 case $ac_abs_builddir in
917 .) ac_abs_top_builddir=${ac_top_builddir}.;;
918 *)
919 case ${ac_top_builddir}. in
920 .) ac_abs_top_builddir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
922 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923 esac;;
924 esac
925 case $ac_abs_builddir in
926 .) ac_abs_srcdir=$ac_srcdir;;
927 *)
928 case $ac_srcdir in
929 .) ac_abs_srcdir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
931 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932 esac;;
933 esac
934 case $ac_abs_builddir in
935 .) ac_abs_top_srcdir=$ac_top_srcdir;;
936 *)
937 case $ac_top_srcdir in
938 .) ac_abs_top_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
940 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
941 esac;;
942 esac
943
944 cd $ac_dir
945 # Check for guested configure; otherwise get Cygnus style configure.
946 if test -f $ac_srcdir/configure.gnu; then
947 echo
948 $SHELL $ac_srcdir/configure.gnu --help=recursive
949 elif test -f $ac_srcdir/configure; then
950 echo
951 $SHELL $ac_srcdir/configure --help=recursive
952 elif test -f $ac_srcdir/configure.ac ||
953 test -f $ac_srcdir/configure.in; then
954 echo
955 $ac_configure --help
956 else
957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
958 fi
959 cd $ac_popdir
960 done
961 fi
962
963 test -n "$ac_init_help" && exit 0
964 if $ac_init_version; then
965 cat <<\_ACEOF
966
967 Copyright (C) 2003 Free Software Foundation, Inc.
968 This configure script is free software; the Free Software Foundation
969 gives unlimited permission to copy, distribute and modify it.
970 _ACEOF
971 exit 0
972 fi
973 exec 5>config.log
974 cat >&5 <<_ACEOF
975 This file contains any messages produced by compilers while
976 running configure, to aid debugging if configure makes a mistake.
977
978 It was created by $as_me, which was
979 generated by GNU Autoconf 2.59. Invocation command line was
980
981 $ $0 $@
982
983 _ACEOF
984 {
985 cat <<_ASUNAME
986 ## --------- ##
987 ## Platform. ##
988 ## --------- ##
989
990 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
991 uname -m = `(uname -m) 2>/dev/null || echo unknown`
992 uname -r = `(uname -r) 2>/dev/null || echo unknown`
993 uname -s = `(uname -s) 2>/dev/null || echo unknown`
994 uname -v = `(uname -v) 2>/dev/null || echo unknown`
995
996 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
997 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
998
999 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1000 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1001 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1002 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1003 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1004 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1005 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1006
1007 _ASUNAME
1008
1009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1010 for as_dir in $PATH
1011 do
1012 IFS=$as_save_IFS
1013 test -z "$as_dir" && as_dir=.
1014 echo "PATH: $as_dir"
1015 done
1016
1017 } >&5
1018
1019 cat >&5 <<_ACEOF
1020
1021
1022 ## ----------- ##
1023 ## Core tests. ##
1024 ## ----------- ##
1025
1026 _ACEOF
1027
1028
1029 # Keep a trace of the command line.
1030 # Strip out --no-create and --no-recursion so they do not pile up.
1031 # Strip out --silent because we don't want to record it for future runs.
1032 # Also quote any args containing shell meta-characters.
1033 # Make two passes to allow for proper duplicate-argument suppression.
1034 ac_configure_args=
1035 ac_configure_args0=
1036 ac_configure_args1=
1037 ac_sep=
1038 ac_must_keep_next=false
1039 for ac_pass in 1 2
1040 do
1041 for ac_arg
1042 do
1043 case $ac_arg in
1044 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046 | -silent | --silent | --silen | --sile | --sil)
1047 continue ;;
1048 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1049 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1050 esac
1051 case $ac_pass in
1052 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1053 2)
1054 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1055 if test $ac_must_keep_next = true; then
1056 ac_must_keep_next=false # Got value, back to normal.
1057 else
1058 case $ac_arg in
1059 *=* | --config-cache | -C | -disable-* | --disable-* \
1060 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1061 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1062 | -with-* | --with-* | -without-* | --without-* | --x)
1063 case "$ac_configure_args0 " in
1064 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1065 esac
1066 ;;
1067 -* ) ac_must_keep_next=true ;;
1068 esac
1069 fi
1070 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1071 # Get rid of the leading space.
1072 ac_sep=" "
1073 ;;
1074 esac
1075 done
1076 done
1077 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1078 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1079
1080 # When interrupted or exit'd, cleanup temporary files, and complete
1081 # config.log. We remove comments because anyway the quotes in there
1082 # would cause problems or look ugly.
1083 # WARNING: Be sure not to use single quotes in there, as some shells,
1084 # such as our DU 5.0 friend, will then `close' the trap.
1085 trap 'exit_status=$?
1086 # Save into config.log some information that might help in debugging.
1087 {
1088 echo
1089
1090 cat <<\_ASBOX
1091 ## ---------------- ##
1092 ## Cache variables. ##
1093 ## ---------------- ##
1094 _ASBOX
1095 echo
1096 # The following way of writing the cache mishandles newlines in values,
1097 {
1098 (set) 2>&1 |
1099 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1100 *ac_space=\ *)
1101 sed -n \
1102 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1104 ;;
1105 *)
1106 sed -n \
1107 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 ;;
1109 esac;
1110 }
1111 echo
1112
1113 cat <<\_ASBOX
1114 ## ----------------- ##
1115 ## Output variables. ##
1116 ## ----------------- ##
1117 _ASBOX
1118 echo
1119 for ac_var in $ac_subst_vars
1120 do
1121 eval ac_val=$`echo $ac_var`
1122 echo "$ac_var='"'"'$ac_val'"'"'"
1123 done | sort
1124 echo
1125
1126 if test -n "$ac_subst_files"; then
1127 cat <<\_ASBOX
1128 ## ------------- ##
1129 ## Output files. ##
1130 ## ------------- ##
1131 _ASBOX
1132 echo
1133 for ac_var in $ac_subst_files
1134 do
1135 eval ac_val=$`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1137 done | sort
1138 echo
1139 fi
1140
1141 if test -s confdefs.h; then
1142 cat <<\_ASBOX
1143 ## ----------- ##
1144 ## confdefs.h. ##
1145 ## ----------- ##
1146 _ASBOX
1147 echo
1148 sed "/^$/d" confdefs.h | sort
1149 echo
1150 fi
1151 test "$ac_signal" != 0 &&
1152 echo "$as_me: caught signal $ac_signal"
1153 echo "$as_me: exit $exit_status"
1154 } >&5
1155 rm -f core *.core &&
1156 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1157 exit $exit_status
1158 ' 0
1159 for ac_signal in 1 2 13 15; do
1160 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1161 done
1162 ac_signal=0
1163
1164 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1165 rm -rf conftest* confdefs.h
1166 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1167 echo >confdefs.h
1168
1169 # Predefined preprocessor variables.
1170
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_NAME "$PACKAGE_NAME"
1173 _ACEOF
1174
1175
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1178 _ACEOF
1179
1180
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1183 _ACEOF
1184
1185
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_STRING "$PACKAGE_STRING"
1188 _ACEOF
1189
1190
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1193 _ACEOF
1194
1195
1196 # Let the site file select an alternate cache file if it wants to.
4781197 # Prefer explicitly selected file to automatically selected ones.
4791198 if test -z "$CONFIG_SITE"; then
4801199 if test "x$prefix" != xNONE; then
4851204 fi
4861205 for ac_site_file in $CONFIG_SITE; do
4871206 if test -r "$ac_site_file"; then
488 echo "loading site script $ac_site_file"
1207 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1208 echo "$as_me: loading site script $ac_site_file" >&6;}
1209 sed 's/^/| /' "$ac_site_file" >&5
4891210 . "$ac_site_file"
4901211 fi
4911212 done
4921213
4931214 if test -r "$cache_file"; then
494 echo "loading cache $cache_file"
495 . $cache_file
496 else
497 echo "creating cache $cache_file"
498 > $cache_file
1215 # Some versions of bash will fail to source /dev/null (special
1216 # files actually), so we avoid doing that.
1217 if test -f "$cache_file"; then
1218 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1219 echo "$as_me: loading cache $cache_file" >&6;}
1220 case $cache_file in
1221 [\\/]* | ?:[\\/]* ) . $cache_file;;
1222 *) . ./$cache_file;;
1223 esac
1224 fi
1225 else
1226 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1227 echo "$as_me: creating cache $cache_file" >&6;}
1228 >$cache_file
1229 fi
1230
1231 # Check that the precious variables saved in the cache have kept the same
1232 # value.
1233 ac_cache_corrupted=false
1234 for ac_var in `(set) 2>&1 |
1235 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1236 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1237 eval ac_new_set=\$ac_env_${ac_var}_set
1238 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1239 eval ac_new_val="\$ac_env_${ac_var}_value"
1240 case $ac_old_set,$ac_new_set in
1241 set,)
1242 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1243 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1244 ac_cache_corrupted=: ;;
1245 ,set)
1246 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1247 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1248 ac_cache_corrupted=: ;;
1249 ,);;
1250 *)
1251 if test "x$ac_old_val" != "x$ac_new_val"; then
1252 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1253 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1254 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1255 echo "$as_me: former value: $ac_old_val" >&2;}
1256 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1257 echo "$as_me: current value: $ac_new_val" >&2;}
1258 ac_cache_corrupted=:
1259 fi;;
1260 esac
1261 # Pass precious variables to config.status.
1262 if test "$ac_new_set" = set; then
1263 case $ac_new_val in
1264 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1265 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1266 *) ac_arg=$ac_var=$ac_new_val ;;
1267 esac
1268 case " $ac_configure_args " in
1269 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1270 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1271 esac
1272 fi
1273 done
1274 if $ac_cache_corrupted; then
1275 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1276 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1277 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1278 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1279 { (exit 1); exit 1; }; }
4991280 fi
5001281
5011282 ac_ext=c
502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5031283 ac_cpp='$CPP $CPPFLAGS'
504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
506 cross_compiling=$ac_cv_prog_cc_cross
507
508 ac_exeext=
509 ac_objext=o
510 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
511 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
512 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
513 ac_n= ac_c='
514 ' ac_t=' '
515 else
516 ac_n=-n ac_c= ac_t=
517 fi
518 else
519 ac_n= ac_c='\c' ac_t=
520 fi
521
522
523
524
525
1284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307 ac_config_headers="$ac_config_headers config.h"
1308
1309 ac_config_commands="$ac_config_commands default-1"
1310
1311 am__api_version="1.4"
5261312 ac_aux_dir=
5271313 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
5281314 if test -f $ac_dir/install-sh; then
5331319 ac_aux_dir=$ac_dir
5341320 ac_install_sh="$ac_aux_dir/install.sh -c"
5351321 break
1322 elif test -f $ac_dir/shtool; then
1323 ac_aux_dir=$ac_dir
1324 ac_install_sh="$ac_aux_dir/shtool install -c"
1325 break
5361326 fi
5371327 done
5381328 if test -z "$ac_aux_dir"; then
539 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
540 fi
541 ac_config_guess=$ac_aux_dir/config.guess
542 ac_config_sub=$ac_aux_dir/config.sub
543 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
544
545 am__api_version="1.4"
1329 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1330 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1331 { (exit 1); exit 1; }; }
1332 fi
1333 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1334 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1335 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1336
5461337 # Find a good install program. We prefer a C program (faster),
5471338 # so one script is as good as another. But avoid the broken or
5481339 # incompatible versions:
5501341 # SunOS /usr/etc/install
5511342 # IRIX /sbin/install
5521343 # AIX /bin/install
1344 # AmigaOS /C/install, which installs bootblocks on floppy discs
5531345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5541346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5551347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1348 # OS/2's system install, which has a completely different semantic
5561349 # ./install, which can be erroneously created by make from ./install.sh.
557 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
558 echo "configure:560: checking for a BSD compatible install" >&5
1350 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1351 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5591352 if test -z "$INSTALL"; then
560 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
561 echo $ac_n "(cached) $ac_c" 1>&6
562 else
563 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
564 for ac_dir in $PATH; do
565 # Account for people who put trailing slashes in PATH elements.
566 case "$ac_dir/" in
567 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
568 *)
569 # OSF1 and SCO ODT 3.0 have their own names for install.
570 # Don't use installbsd from OSF since it installs stuff as root
571 # by default.
572 for ac_prog in ginstall scoinst install; do
573 if test -f $ac_dir/$ac_prog; then
1353 if test "${ac_cv_path_install+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 else
1356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1357 for as_dir in $PATH
1358 do
1359 IFS=$as_save_IFS
1360 test -z "$as_dir" && as_dir=.
1361 # Account for people who put trailing slashes in PATH elements.
1362 case $as_dir/ in
1363 ./ | .// | /cC/* | \
1364 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1365 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1366 /usr/ucb/* ) ;;
1367 *)
1368 # OSF1 and SCO ODT 3.0 have their own names for install.
1369 # Don't use installbsd from OSF since it installs stuff as root
1370 # by default.
1371 for ac_prog in ginstall scoinst install; do
1372 for ac_exec_ext in '' $ac_executable_extensions; do
1373 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5741374 if test $ac_prog = install &&
575 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1375 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5761376 # AIX install. It has an incompatible calling convention.
5771377 :
1378 elif test $ac_prog = install &&
1379 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1380 # program-specific install script used by HP pwplus--don't use.
1381 :
5781382 else
579 ac_cv_path_install="$ac_dir/$ac_prog -c"
580 break 2
1383 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1384 break 3
5811385 fi
5821386 fi
5831387 done
584 ;;
585 esac
586 done
587 IFS="$ac_save_IFS"
1388 done
1389 ;;
1390 esac
1391 done
1392
5881393
5891394 fi
5901395 if test "${ac_cv_path_install+set}" = set; then
591 INSTALL="$ac_cv_path_install"
1396 INSTALL=$ac_cv_path_install
5921397 else
5931398 # As a last resort, use the slow shell script. We don't cache a
5941399 # path for INSTALL within a source directory, because that will
5951400 # break other packages using the cache if that directory is
5961401 # removed, or if the path is relative.
597 INSTALL="$ac_install_sh"
1402 INSTALL=$ac_install_sh
5981403 fi
5991404 fi
600 echo "$ac_t""$INSTALL" 1>&6
1405 echo "$as_me:$LINENO: result: $INSTALL" >&5
1406 echo "${ECHO_T}$INSTALL" >&6
6011407
6021408 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6031409 # It thinks the first close brace ends the variable substitution.
6041410 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6051411
606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1412 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6071413
6081414 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6091415
610 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
611 echo "configure:613: checking whether build environment is sane" >&5
1416 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1417 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
6121418 # Just in case
6131419 sleep 1
6141420 echo timestamp > conftestfile
6301436 # if, for instance, CONFIG_SHELL is bash and it inherits a
6311437 # broken ls alias from the environment. This has actually
6321438 # happened. Such a system could not be considered "sane".
633 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
634 alias in your environment" 1>&2; exit 1; }
1439 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1440 alias in your environment" >&5
1441 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1442 alias in your environment" >&2;}
1443 { (exit 1); exit 1; }; }
6351444 fi
6361445
6371446 test "$2" = conftestfile
6401449 # Ok.
6411450 :
6421451 else
643 { echo "configure: error: newly created file is older than distributed files!
644 Check your system clock" 1>&2; exit 1; }
1452 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1453 Check your system clock" >&5
1454 echo "$as_me: error: newly created file is older than distributed files!
1455 Check your system clock" >&2;}
1456 { (exit 1); exit 1; }; }
6451457 fi
6461458 rm -f conftest*
647 echo "$ac_t""yes" 1>&6
648 if test "$program_transform_name" = s,x,x,; then
649 program_transform_name=
650 else
651 # Double any \ or $. echo might interpret backslashes.
652 cat <<\EOF_SED > conftestsed
653 s,\\,\\\\,g; s,\$,$$,g
654 EOF_SED
655 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
656 rm -f conftestsed
657 fi
1459 echo "$as_me:$LINENO: result: yes" >&5
1460 echo "${ECHO_T}yes" >&6
6581461 test "$program_prefix" != NONE &&
659 program_transform_name="s,^,${program_prefix},; $program_transform_name"
1462 program_transform_name="s,^,$program_prefix,;$program_transform_name"
6601463 # Use a double $ so make ignores it.
6611464 test "$program_suffix" != NONE &&
662 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
663
664 # sed with no file args requires a program.
665 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
666
667 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
668 echo "configure:670: checking whether ${MAKE-make} sets \${MAKE}" >&5
669 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
670 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
671 echo $ac_n "(cached) $ac_c" 1>&6
672 else
673 cat > conftestmake <<\EOF
1465 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1466 # Double any \ or $. echo might interpret backslashes.
1467 # By default was `s,x,x', remove it if useless.
1468 cat <<\_ACEOF >conftest.sed
1469 s/[\\$]/&&/g;s/;s,x,x,$//
1470 _ACEOF
1471 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1472 rm conftest.sed
1473
1474 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1475 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1476 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1477 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 else
1480 cat >conftest.make <<\_ACEOF
6741481 all:
675 @echo 'ac_maketemp="${MAKE}"'
676 EOF
1482 @echo 'ac_maketemp="$(MAKE)"'
1483 _ACEOF
6771484 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
678 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1485 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6791486 if test -n "$ac_maketemp"; then
6801487 eval ac_cv_prog_make_${ac_make}_set=yes
6811488 else
6821489 eval ac_cv_prog_make_${ac_make}_set=no
6831490 fi
684 rm -f conftestmake
1491 rm -f conftest.make
6851492 fi
6861493 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
687 echo "$ac_t""yes" 1>&6
1494 echo "$as_me:$LINENO: result: yes" >&5
1495 echo "${ECHO_T}yes" >&6
6881496 SET_MAKE=
6891497 else
690 echo "$ac_t""no" 1>&6
1498 echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
6911500 SET_MAKE="MAKE=${MAKE-make}"
6921501 fi
6931502
6941503
6951504 PACKAGE=squidview
6961505
697 VERSION=0.69
1506 VERSION=0.70
6981507
6991508 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
700 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
701 fi
702 cat >> confdefs.h <<EOF
1509 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1510 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1511 { (exit 1); exit 1; }; }
1512 fi
1513
1514 cat >>confdefs.h <<_ACEOF
7031515 #define PACKAGE "$PACKAGE"
704 EOF
705
706 cat >> confdefs.h <<EOF
1516 _ACEOF
1517
1518
1519 cat >>confdefs.h <<_ACEOF
7071520 #define VERSION "$VERSION"
708 EOF
1521 _ACEOF
7091522
7101523
7111524
7121525 missing_dir=`cd $ac_aux_dir && pwd`
713 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
714 echo "configure:716: checking for working aclocal-${am__api_version}" >&5
1526 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1527 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
7151528 # Run test in a subshell; some versions of sh will print an error if
7161529 # an executable is not found, even if stderr is redirected.
7171530 # Redirect stdin to placate older versions of autoconf. Sigh.
7181531 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7191532 ACLOCAL=aclocal-${am__api_version}
720 echo "$ac_t""found" 1>&6
1533 echo "$as_me:$LINENO: result: found" >&5
1534 echo "${ECHO_T}found" >&6
7211535 else
7221536 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
723 echo "$ac_t""missing" 1>&6
724 fi
725
726 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
727 echo "configure:729: checking for working autoconf" >&5
1537 echo "$as_me:$LINENO: result: missing" >&5
1538 echo "${ECHO_T}missing" >&6
1539 fi
1540
1541 echo "$as_me:$LINENO: checking for working autoconf" >&5
1542 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
7281543 # Run test in a subshell; some versions of sh will print an error if
7291544 # an executable is not found, even if stderr is redirected.
7301545 # Redirect stdin to placate older versions of autoconf. Sigh.
7311546 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
7321547 AUTOCONF=autoconf
733 echo "$ac_t""found" 1>&6
1548 echo "$as_me:$LINENO: result: found" >&5
1549 echo "${ECHO_T}found" >&6
7341550 else
7351551 AUTOCONF="$missing_dir/missing autoconf"
736 echo "$ac_t""missing" 1>&6
737 fi
738
739 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
740 echo "configure:742: checking for working automake-${am__api_version}" >&5
1552 echo "$as_me:$LINENO: result: missing" >&5
1553 echo "${ECHO_T}missing" >&6
1554 fi
1555
1556 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1557 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
7411558 # Run test in a subshell; some versions of sh will print an error if
7421559 # an executable is not found, even if stderr is redirected.
7431560 # Redirect stdin to placate older versions of autoconf. Sigh.
7441561 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
7451562 AUTOMAKE=automake-${am__api_version}
746 echo "$ac_t""found" 1>&6
1563 echo "$as_me:$LINENO: result: found" >&5
1564 echo "${ECHO_T}found" >&6
7471565 else
7481566 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
749 echo "$ac_t""missing" 1>&6
750 fi
751
752 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
753 echo "configure:755: checking for working autoheader" >&5
1567 echo "$as_me:$LINENO: result: missing" >&5
1568 echo "${ECHO_T}missing" >&6
1569 fi
1570
1571 echo "$as_me:$LINENO: checking for working autoheader" >&5
1572 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
7541573 # Run test in a subshell; some versions of sh will print an error if
7551574 # an executable is not found, even if stderr is redirected.
7561575 # Redirect stdin to placate older versions of autoconf. Sigh.
7571576 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
7581577 AUTOHEADER=autoheader
759 echo "$ac_t""found" 1>&6
1578 echo "$as_me:$LINENO: result: found" >&5
1579 echo "${ECHO_T}found" >&6
7601580 else
7611581 AUTOHEADER="$missing_dir/missing autoheader"
762 echo "$ac_t""missing" 1>&6
763 fi
764
765 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
766 echo "configure:768: checking for working makeinfo" >&5
1582 echo "$as_me:$LINENO: result: missing" >&5
1583 echo "${ECHO_T}missing" >&6
1584 fi
1585
1586 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1587 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
7671588 # Run test in a subshell; some versions of sh will print an error if
7681589 # an executable is not found, even if stderr is redirected.
7691590 # Redirect stdin to placate older versions of autoconf. Sigh.
7701591 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
7711592 MAKEINFO=makeinfo
772 echo "$ac_t""found" 1>&6
1593 echo "$as_me:$LINENO: result: found" >&5
1594 echo "${ECHO_T}found" >&6
7731595 else
7741596 MAKEINFO="$missing_dir/missing makeinfo"
775 echo "$ac_t""missing" 1>&6
776 fi
777
778
779 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
780 do
781 # Extract the first word of "$ac_prog", so it can be a program name with args.
782 set dummy $ac_prog; ac_word=$2
783 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
784 echo "configure:786: checking for $ac_word" >&5
785 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
786 echo $ac_n "(cached) $ac_c" 1>&6
1597 echo "$as_me:$LINENO: result: missing" >&5
1598 echo "${ECHO_T}missing" >&6
1599 fi
1600
1601
1602 ac_ext=cc
1603 ac_cpp='$CXXCPP $CPPFLAGS'
1604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1607 if test -n "$ac_tool_prefix"; then
1608 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1609 do
1610 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1611 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1612 echo "$as_me:$LINENO: checking for $ac_word" >&5
1613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1614 if test "${ac_cv_prog_CXX+set}" = set; then
1615 echo $ECHO_N "(cached) $ECHO_C" >&6
7871616 else
7881617 if test -n "$CXX"; then
7891618 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7901619 else
791 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
792 ac_dummy="$PATH"
793 for ac_dir in $ac_dummy; do
794 test -z "$ac_dir" && ac_dir=.
795 if test -f $ac_dir/$ac_word; then
796 ac_cv_prog_CXX="$ac_prog"
797 break
1620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1621 for as_dir in $PATH
1622 do
1623 IFS=$as_save_IFS
1624 test -z "$as_dir" && as_dir=.
1625 for ac_exec_ext in '' $ac_executable_extensions; do
1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1627 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 break 2
1630 fi
1631 done
1632 done
1633
1634 fi
1635 fi
1636 CXX=$ac_cv_prog_CXX
1637 if test -n "$CXX"; then
1638 echo "$as_me:$LINENO: result: $CXX" >&5
1639 echo "${ECHO_T}$CXX" >&6
1640 else
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1643 fi
1644
1645 test -n "$CXX" && break
1646 done
1647 fi
1648 if test -z "$CXX"; then
1649 ac_ct_CXX=$CXX
1650 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1651 do
1652 # Extract the first word of "$ac_prog", so it can be a program name with args.
1653 set dummy $ac_prog; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 else
1659 if test -n "$ac_ct_CXX"; then
1660 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1661 else
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1663 for as_dir in $PATH
1664 do
1665 IFS=$as_save_IFS
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_ac_ct_CXX="$ac_prog"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 break 2
1672 fi
1673 done
1674 done
1675
1676 fi
1677 fi
1678 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1679 if test -n "$ac_ct_CXX"; then
1680 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1681 echo "${ECHO_T}$ac_ct_CXX" >&6
1682 else
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1685 fi
1686
1687 test -n "$ac_ct_CXX" && break
1688 done
1689 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1690
1691 CXX=$ac_ct_CXX
1692 fi
1693
1694
1695 # Provide some information about the compiler.
1696 echo "$as_me:$LINENO:" \
1697 "checking for C++ compiler version" >&5
1698 ac_compiler=`set X $ac_compile; echo $2`
1699 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1700 (eval $ac_compiler --version </dev/null >&5) 2>&5
1701 ac_status=$?
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); }
1704 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1705 (eval $ac_compiler -v </dev/null >&5) 2>&5
1706 ac_status=$?
1707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1708 (exit $ac_status); }
1709 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1710 (eval $ac_compiler -V </dev/null >&5) 2>&5
1711 ac_status=$?
1712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713 (exit $ac_status); }
1714
1715 cat >conftest.$ac_ext <<_ACEOF
1716 /* confdefs.h. */
1717 _ACEOF
1718 cat confdefs.h >>conftest.$ac_ext
1719 cat >>conftest.$ac_ext <<_ACEOF
1720 /* end confdefs.h. */
1721
1722 int
1723 main ()
1724 {
1725
1726 ;
1727 return 0;
1728 }
1729 _ACEOF
1730 ac_clean_files_save=$ac_clean_files
1731 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1732 # Try to create an executable without -o first, disregard a.out.
1733 # It will help us diagnose broken compilers, and finding out an intuition
1734 # of exeext.
1735 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1736 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1737 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1738 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1739 (eval $ac_link_default) 2>&5
1740 ac_status=$?
1741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1742 (exit $ac_status); }; then
1743 # Find the output, starting from the most likely. This scheme is
1744 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1745 # resort.
1746
1747 # Be careful to initialize this variable, since it used to be cached.
1748 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1749 ac_cv_exeext=
1750 # b.out is created by i960 compilers.
1751 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1752 do
1753 test -f "$ac_file" || continue
1754 case $ac_file in
1755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1756 ;;
1757 conftest.$ac_ext )
1758 # This is the source file.
1759 ;;
1760 [ab].out )
1761 # We found the default executable, but exeext='' is most
1762 # certainly right.
1763 break;;
1764 *.* )
1765 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1766 # FIXME: I believe we export ac_cv_exeext for Libtool,
1767 # but it would be cool to find out if it's true. Does anybody
1768 # maintain Libtool? --akim.
1769 export ac_cv_exeext
1770 break;;
1771 * )
1772 break;;
1773 esac
1774 done
1775 else
1776 echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1778
1779 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1780 See \`config.log' for more details." >&5
1781 echo "$as_me: error: C++ compiler cannot create executables
1782 See \`config.log' for more details." >&2;}
1783 { (exit 77); exit 77; }; }
1784 fi
1785
1786 ac_exeext=$ac_cv_exeext
1787 echo "$as_me:$LINENO: result: $ac_file" >&5
1788 echo "${ECHO_T}$ac_file" >&6
1789
1790 # Check the compiler produces executables we can run. If not, either
1791 # the compiler is broken, or we cross compile.
1792 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1793 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1794 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1795 # If not cross compiling, check that we can run a simple program.
1796 if test "$cross_compiling" != yes; then
1797 if { ac_try='./$ac_file'
1798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1799 (eval $ac_try) 2>&5
1800 ac_status=$?
1801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1802 (exit $ac_status); }; }; then
1803 cross_compiling=no
1804 else
1805 if test "$cross_compiling" = maybe; then
1806 cross_compiling=yes
1807 else
1808 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1809 If you meant to cross compile, use \`--host'.
1810 See \`config.log' for more details." >&5
1811 echo "$as_me: error: cannot run C++ compiled programs.
1812 If you meant to cross compile, use \`--host'.
1813 See \`config.log' for more details." >&2;}
1814 { (exit 1); exit 1; }; }
7981815 fi
799 done
800 IFS="$ac_save_ifs"
801 fi
802 fi
803 CXX="$ac_cv_prog_CXX"
804 if test -n "$CXX"; then
805 echo "$ac_t""$CXX" 1>&6
806 else
807 echo "$ac_t""no" 1>&6
808 fi
809
810 test -n "$CXX" && break
1816 fi
1817 fi
1818 echo "$as_me:$LINENO: result: yes" >&5
1819 echo "${ECHO_T}yes" >&6
1820
1821 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1822 ac_clean_files=$ac_clean_files_save
1823 # Check the compiler produces executables we can run. If not, either
1824 # the compiler is broken, or we cross compile.
1825 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1826 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1827 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1828 echo "${ECHO_T}$cross_compiling" >&6
1829
1830 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1831 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1833 (eval $ac_link) 2>&5
1834 ac_status=$?
1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1836 (exit $ac_status); }; then
1837 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1838 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1839 # work properly (i.e., refer to `conftest.exe'), while it won't with
1840 # `rm'.
1841 for ac_file in conftest.exe conftest conftest.*; do
1842 test -f "$ac_file" || continue
1843 case $ac_file in
1844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1845 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1846 export ac_cv_exeext
1847 break;;
1848 * ) break;;
1849 esac
8111850 done
812 test -n "$CXX" || CXX="gcc"
813
814
815 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
816 echo "configure:818: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
817
818 ac_ext=C
819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
820 ac_cpp='$CXXCPP $CPPFLAGS'
821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
823 cross_compiling=$ac_cv_prog_cxx_cross
824
825 cat > conftest.$ac_ext << EOF
826
827 #line 829 "configure"
828 #include "confdefs.h"
829
830 int main(){return(0);}
831 EOF
832 if { (eval echo configure:834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
833 ac_cv_prog_cxx_works=yes
834 # If we can't run a trivial program, we are probably using a cross compiler.
835 if (./conftest; exit) 2>/dev/null; then
836 ac_cv_prog_cxx_cross=no
837 else
838 ac_cv_prog_cxx_cross=yes
839 fi
840 else
841 echo "configure: failed program was:" >&5
842 cat conftest.$ac_ext >&5
843 ac_cv_prog_cxx_works=no
844 fi
845 rm -fr conftest*
846 ac_ext=c
847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
848 ac_cpp='$CPP $CPPFLAGS'
849 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
850 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
851 cross_compiling=$ac_cv_prog_cc_cross
852
853 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
854 if test $ac_cv_prog_cxx_works = no; then
855 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
856 fi
857 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
858 echo "configure:860: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
859 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
860 cross_compiling=$ac_cv_prog_cxx_cross
861
862 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
863 echo "configure:865: checking whether we