ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/vendor/pxys2-2.1.0/pxyscand/configure
Revision: 3253
Committed: Wed Apr 2 20:46:18 2014 UTC (11 years, 4 months ago) by michael
File size: 203679 byte(s)
Log Message:
- Imported pxys2-2.1.0

File Contents

# Content
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Proxy scanner daemon 2.1.
4 #
5 # Report bugs to <mbuna@bugged.org>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='Proxy scanner daemon'
271 PACKAGE_TARNAME='pxscand'
272 PACKAGE_VERSION='2.1'
273 PACKAGE_STRING='Proxy scanner daemon 2.1'
274 PACKAGE_BUGREPORT='mbuna@bugged.org'
275
276 ac_unique_file="src/pxyscand.cc"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE PEAK_CONFIG PEAK_CFLAGS PEAK_LIBS FGREP XML2_CONFIG XML2_CFLAGS XML2_LIBS CPP EGREP LIBOBJS LTLIBOBJS'
315 ac_subst_files=''
316
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
336
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
354
355 ac_prev=
356 for ac_option
357 do
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
363 fi
364
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367 # Accept the important Cygnus configure options, so we can diagnose typos.
368
369 case $ac_option in
370
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
375
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
380
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
387
388 --config-cache | -C)
389 cache_file=config.cache ;;
390
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
396
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
405
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
418
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
427
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
431
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
438
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
443
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
450
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
455
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
460
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
467
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
476
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
481
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
485
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
489
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
493
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
502
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
507
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
514
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
521
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
538
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
542
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
548
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
559
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
564
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
569
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
576
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
581
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
584
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
587
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
600
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
609
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
613
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
620
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
627
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
631 ;;
632
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
642
643 *)
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 ;;
650
651 esac
652 done
653
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
658 fi
659
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
662 do
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669 done
670
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674 do
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681 done
682
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
689
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
698 fi
699 fi
700
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704 test "$silent" = yes && exec 6>/dev/null
705
706
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717 echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
726 fi
727 else
728 ac_srcdir_defaulted=no
729 fi
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
737 fi
738 fi
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CXX_set=${CXX+set}
772 ac_env_CXX_value=$CXX
773 ac_cv_env_CXX_set=${CXX+set}
774 ac_cv_env_CXX_value=$CXX
775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
783
784 #
785 # Report the --help message.
786 #
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
790 cat <<_ACEOF
791 \`configure' configures Proxy scanner daemon 2.1 to adapt to many kinds of systems.
792
793 Usage: $0 [OPTION]... [VAR=VALUE]...
794
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
797
798 Defaults for the options are specified in brackets.
799
800 Configuration:
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
810
811 _ACEOF
812
813 cat <<_ACEOF
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
816 [$ac_default_prefix]
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 [PREFIX]
819
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
824
825 For better control, use the options below.
826
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
840 _ACEOF
841
842 cat <<\_ACEOF
843
844 Program names:
845 --program-prefix=PREFIX prepend PREFIX to installed program names
846 --program-suffix=SUFFIX append SUFFIX to installed program names
847 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
848 _ACEOF
849 fi
850
851 if test -n "$ac_init_help"; then
852 case $ac_init_help in
853 short | recursive ) echo "Configuration of Proxy scanner daemon 2.1:";;
854 esac
855 cat <<\_ACEOF
856
857 Optional Features:
858 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
859 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing) to the casual installer
862 --disable-dependency-tracking speeds up one-time build
863 --enable-dependency-tracking do not reject slow dependency extractors
864
865 Optional Packages:
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-peak-prefix=PFX Prefix where peak is installed (optional)
869 --with-peak-exec-prefix=PFX Exec prefix where peak is installed (optional)
870 --with-xml2-prefix=PFX Prefix where xml2 is installed (optional)
871 --with-xml2-exec-prefix=PFX Exec prefix where xml2 is installed (optional)
872
873 Some influential environment variables:
874 CC C compiler command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
877 nonstandard directory <lib dir>
878 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
879 headers in a nonstandard directory <include dir>
880 CXX C++ compiler command
881 CXXFLAGS C++ compiler flags
882 CPP C preprocessor
883
884 Use these variables to override the choices made by `configure' or to help
885 it to find libraries and programs with nonstandard names/locations.
886
887 Report bugs to <mbuna@bugged.org>.
888 _ACEOF
889 fi
890
891 if test "$ac_init_help" = "recursive"; then
892 # If there are subdirs, report their specific --help.
893 ac_popdir=`pwd`
894 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
895 test -d $ac_dir || continue
896 ac_builddir=.
897
898 if test "$ac_dir" != .; then
899 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
900 # A "../" for each directory in $ac_dir_suffix.
901 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
902 else
903 ac_dir_suffix= ac_top_builddir=
904 fi
905
906 case $srcdir in
907 .) # No --srcdir option. We are building in place.
908 ac_srcdir=.
909 if test -z "$ac_top_builddir"; then
910 ac_top_srcdir=.
911 else
912 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
913 fi ;;
914 [\\/]* | ?:[\\/]* ) # Absolute path.
915 ac_srcdir=$srcdir$ac_dir_suffix;
916 ac_top_srcdir=$srcdir ;;
917 *) # Relative path.
918 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
919 ac_top_srcdir=$ac_top_builddir$srcdir ;;
920 esac
921
922 # Do not use `cd foo && pwd` to compute absolute paths, because
923 # the directories may not exist.
924 case `pwd` in
925 .) ac_abs_builddir="$ac_dir";;
926 *)
927 case "$ac_dir" in
928 .) ac_abs_builddir=`pwd`;;
929 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
930 *) ac_abs_builddir=`pwd`/"$ac_dir";;
931 esac;;
932 esac
933 case $ac_abs_builddir in
934 .) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *)
936 case ${ac_top_builddir}. in
937 .) ac_abs_top_builddir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
939 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
940 esac;;
941 esac
942 case $ac_abs_builddir in
943 .) ac_abs_srcdir=$ac_srcdir;;
944 *)
945 case $ac_srcdir in
946 .) ac_abs_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
948 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
949 esac;;
950 esac
951 case $ac_abs_builddir in
952 .) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *)
954 case $ac_top_srcdir in
955 .) ac_abs_top_srcdir=$ac_abs_builddir;;
956 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
957 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 esac;;
959 esac
960
961 cd $ac_dir
962 # Check for guested configure; otherwise get Cygnus style configure.
963 if test -f $ac_srcdir/configure.gnu; then
964 echo
965 $SHELL $ac_srcdir/configure.gnu --help=recursive
966 elif test -f $ac_srcdir/configure; then
967 echo
968 $SHELL $ac_srcdir/configure --help=recursive
969 elif test -f $ac_srcdir/configure.ac ||
970 test -f $ac_srcdir/configure.in; then
971 echo
972 $ac_configure --help
973 else
974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 fi
976 cd $ac_popdir
977 done
978 fi
979
980 test -n "$ac_init_help" && exit 0
981 if $ac_init_version; then
982 cat <<\_ACEOF
983 Proxy scanner daemon configure 2.1
984 generated by GNU Autoconf 2.59
985
986 Copyright (C) 2003 Free Software Foundation, Inc.
987 This configure script is free software; the Free Software Foundation
988 gives unlimited permission to copy, distribute and modify it.
989 _ACEOF
990 exit 0
991 fi
992 exec 5>config.log
993 cat >&5 <<_ACEOF
994 This file contains any messages produced by compilers while
995 running configure, to aid debugging if configure makes a mistake.
996
997 It was created by Proxy scanner daemon $as_me 2.1, which was
998 generated by GNU Autoconf 2.59. Invocation command line was
999
1000 $ $0 $@
1001
1002 _ACEOF
1003 {
1004 cat <<_ASUNAME
1005 ## --------- ##
1006 ## Platform. ##
1007 ## --------- ##
1008
1009 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1010 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1011 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1012 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1013 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1014
1015 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1016 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1017
1018 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1019 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1020 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1021 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1022 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1023 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1024 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1025
1026 _ASUNAME
1027
1028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 for as_dir in $PATH
1030 do
1031 IFS=$as_save_IFS
1032 test -z "$as_dir" && as_dir=.
1033 echo "PATH: $as_dir"
1034 done
1035
1036 } >&5
1037
1038 cat >&5 <<_ACEOF
1039
1040
1041 ## ----------- ##
1042 ## Core tests. ##
1043 ## ----------- ##
1044
1045 _ACEOF
1046
1047
1048 # Keep a trace of the command line.
1049 # Strip out --no-create and --no-recursion so they do not pile up.
1050 # Strip out --silent because we don't want to record it for future runs.
1051 # Also quote any args containing shell meta-characters.
1052 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_configure_args=
1054 ac_configure_args0=
1055 ac_configure_args1=
1056 ac_sep=
1057 ac_must_keep_next=false
1058 for ac_pass in 1 2
1059 do
1060 for ac_arg
1061 do
1062 case $ac_arg in
1063 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1064 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1065 | -silent | --silent | --silen | --sile | --sil)
1066 continue ;;
1067 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1068 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1069 esac
1070 case $ac_pass in
1071 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 2)
1073 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1074 if test $ac_must_keep_next = true; then
1075 ac_must_keep_next=false # Got value, back to normal.
1076 else
1077 case $ac_arg in
1078 *=* | --config-cache | -C | -disable-* | --disable-* \
1079 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1080 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1081 | -with-* | --with-* | -without-* | --without-* | --x)
1082 case "$ac_configure_args0 " in
1083 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1084 esac
1085 ;;
1086 -* ) ac_must_keep_next=true ;;
1087 esac
1088 fi
1089 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1090 # Get rid of the leading space.
1091 ac_sep=" "
1092 ;;
1093 esac
1094 done
1095 done
1096 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1097 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098
1099 # When interrupted or exit'd, cleanup temporary files, and complete
1100 # config.log. We remove comments because anyway the quotes in there
1101 # would cause problems or look ugly.
1102 # WARNING: Be sure not to use single quotes in there, as some shells,
1103 # such as our DU 5.0 friend, will then `close' the trap.
1104 trap 'exit_status=$?
1105 # Save into config.log some information that might help in debugging.
1106 {
1107 echo
1108
1109 cat <<\_ASBOX
1110 ## ---------------- ##
1111 ## Cache variables. ##
1112 ## ---------------- ##
1113 _ASBOX
1114 echo
1115 # The following way of writing the cache mishandles newlines in values,
1116 {
1117 (set) 2>&1 |
1118 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1119 *ac_space=\ *)
1120 sed -n \
1121 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 ;;
1124 *)
1125 sed -n \
1126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ;;
1128 esac;
1129 }
1130 echo
1131
1132 cat <<\_ASBOX
1133 ## ----------------- ##
1134 ## Output variables. ##
1135 ## ----------------- ##
1136 _ASBOX
1137 echo
1138 for ac_var in $ac_subst_vars
1139 do
1140 eval ac_val=$`echo $ac_var`
1141 echo "$ac_var='"'"'$ac_val'"'"'"
1142 done | sort
1143 echo
1144
1145 if test -n "$ac_subst_files"; then
1146 cat <<\_ASBOX
1147 ## ------------- ##
1148 ## Output files. ##
1149 ## ------------- ##
1150 _ASBOX
1151 echo
1152 for ac_var in $ac_subst_files
1153 do
1154 eval ac_val=$`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1156 done | sort
1157 echo
1158 fi
1159
1160 if test -s confdefs.h; then
1161 cat <<\_ASBOX
1162 ## ----------- ##
1163 ## confdefs.h. ##
1164 ## ----------- ##
1165 _ASBOX
1166 echo
1167 sed "/^$/d" confdefs.h | sort
1168 echo
1169 fi
1170 test "$ac_signal" != 0 &&
1171 echo "$as_me: caught signal $ac_signal"
1172 echo "$as_me: exit $exit_status"
1173 } >&5
1174 rm -f core *.core &&
1175 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1176 exit $exit_status
1177 ' 0
1178 for ac_signal in 1 2 13 15; do
1179 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 done
1181 ac_signal=0
1182
1183 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1184 rm -rf conftest* confdefs.h
1185 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1186 echo >confdefs.h
1187
1188 # Predefined preprocessor variables.
1189
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 _ACEOF
1193
1194
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 _ACEOF
1198
1199
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 _ACEOF
1203
1204
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 _ACEOF
1208
1209
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 _ACEOF
1213
1214
1215 # Let the site file select an alternate cache file if it wants to.
1216 # Prefer explicitly selected file to automatically selected ones.
1217 if test -z "$CONFIG_SITE"; then
1218 if test "x$prefix" != xNONE; then
1219 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 else
1221 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1222 fi
1223 fi
1224 for ac_site_file in $CONFIG_SITE; do
1225 if test -r "$ac_site_file"; then
1226 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1227 echo "$as_me: loading site script $ac_site_file" >&6;}
1228 sed 's/^/| /' "$ac_site_file" >&5
1229 . "$ac_site_file"
1230 fi
1231 done
1232
1233 if test -r "$cache_file"; then
1234 # Some versions of bash will fail to source /dev/null (special
1235 # files actually), so we avoid doing that.
1236 if test -f "$cache_file"; then
1237 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1238 echo "$as_me: loading cache $cache_file" >&6;}
1239 case $cache_file in
1240 [\\/]* | ?:[\\/]* ) . $cache_file;;
1241 *) . ./$cache_file;;
1242 esac
1243 fi
1244 else
1245 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1246 echo "$as_me: creating cache $cache_file" >&6;}
1247 >$cache_file
1248 fi
1249
1250 # Check that the precious variables saved in the cache have kept the same
1251 # value.
1252 ac_cache_corrupted=false
1253 for ac_var in `(set) 2>&1 |
1254 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1255 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1256 eval ac_new_set=\$ac_env_${ac_var}_set
1257 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1258 eval ac_new_val="\$ac_env_${ac_var}_value"
1259 case $ac_old_set,$ac_new_set in
1260 set,)
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1264 ,set)
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1268 ,);;
1269 *)
1270 if test "x$ac_old_val" != "x$ac_new_val"; then
1271 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1272 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1273 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1274 echo "$as_me: former value: $ac_old_val" >&2;}
1275 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1276 echo "$as_me: current value: $ac_new_val" >&2;}
1277 ac_cache_corrupted=:
1278 fi;;
1279 esac
1280 # Pass precious variables to config.status.
1281 if test "$ac_new_set" = set; then
1282 case $ac_new_val in
1283 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1284 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1285 *) ac_arg=$ac_var=$ac_new_val ;;
1286 esac
1287 case " $ac_configure_args " in
1288 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1289 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 esac
1291 fi
1292 done
1293 if $ac_cache_corrupted; then
1294 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1295 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1296 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1297 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1298 { (exit 1); exit 1; }; }
1299 fi
1300
1301 ac_ext=c
1302 ac_cpp='$CPP $CPPFLAGS'
1303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333 am__api_version="1.9"
1334 ac_aux_dir=
1335 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1336 if test -f $ac_dir/install-sh; then
1337 ac_aux_dir=$ac_dir
1338 ac_install_sh="$ac_aux_dir/install-sh -c"
1339 break
1340 elif test -f $ac_dir/install.sh; then
1341 ac_aux_dir=$ac_dir
1342 ac_install_sh="$ac_aux_dir/install.sh -c"
1343 break
1344 elif test -f $ac_dir/shtool; then
1345 ac_aux_dir=$ac_dir
1346 ac_install_sh="$ac_aux_dir/shtool install -c"
1347 break
1348 fi
1349 done
1350 if test -z "$ac_aux_dir"; then
1351 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1352 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1353 { (exit 1); exit 1; }; }
1354 fi
1355 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1356 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1357 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1358
1359 # Find a good install program. We prefer a C program (faster),
1360 # so one script is as good as another. But avoid the broken or
1361 # incompatible versions:
1362 # SysV /etc/install, /usr/sbin/install
1363 # SunOS /usr/etc/install
1364 # IRIX /sbin/install
1365 # AIX /bin/install
1366 # AmigaOS /C/install, which installs bootblocks on floppy discs
1367 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1368 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1369 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1370 # OS/2's system install, which has a completely different semantic
1371 # ./install, which can be erroneously created by make from ./install.sh.
1372 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1373 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1374 if test -z "$INSTALL"; then
1375 if test "${ac_cv_path_install+set}" = set; then
1376 echo $ECHO_N "(cached) $ECHO_C" >&6
1377 else
1378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379 for as_dir in $PATH
1380 do
1381 IFS=$as_save_IFS
1382 test -z "$as_dir" && as_dir=.
1383 # Account for people who put trailing slashes in PATH elements.
1384 case $as_dir/ in
1385 ./ | .// | /cC/* | \
1386 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1387 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1388 /usr/ucb/* ) ;;
1389 *)
1390 # OSF1 and SCO ODT 3.0 have their own names for install.
1391 # Don't use installbsd from OSF since it installs stuff as root
1392 # by default.
1393 for ac_prog in ginstall scoinst install; do
1394 for ac_exec_ext in '' $ac_executable_extensions; do
1395 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1396 if test $ac_prog = install &&
1397 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1398 # AIX install. It has an incompatible calling convention.
1399 :
1400 elif test $ac_prog = install &&
1401 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1402 # program-specific install script used by HP pwplus--don't use.
1403 :
1404 else
1405 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1406 break 3
1407 fi
1408 fi
1409 done
1410 done
1411 ;;
1412 esac
1413 done
1414
1415
1416 fi
1417 if test "${ac_cv_path_install+set}" = set; then
1418 INSTALL=$ac_cv_path_install
1419 else
1420 # As a last resort, use the slow shell script. We don't cache a
1421 # path for INSTALL within a source directory, because that will
1422 # break other packages using the cache if that directory is
1423 # removed, or if the path is relative.
1424 INSTALL=$ac_install_sh
1425 fi
1426 fi
1427 echo "$as_me:$LINENO: result: $INSTALL" >&5
1428 echo "${ECHO_T}$INSTALL" >&6
1429
1430 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1431 # It thinks the first close brace ends the variable substitution.
1432 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1433
1434 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1435
1436 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1437
1438 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1439 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1440 # Just in case
1441 sleep 1
1442 echo timestamp > conftest.file
1443 # Do `set' in a subshell so we don't clobber the current shell's
1444 # arguments. Must try -L first in case configure is actually a
1445 # symlink; some systems play weird games with the mod time of symlinks
1446 # (eg FreeBSD returns the mod time of the symlink's containing
1447 # directory).
1448 if (
1449 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1450 if test "$*" = "X"; then
1451 # -L didn't work.
1452 set X `ls -t $srcdir/configure conftest.file`
1453 fi
1454 rm -f conftest.file
1455 if test "$*" != "X $srcdir/configure conftest.file" \
1456 && test "$*" != "X conftest.file $srcdir/configure"; then
1457
1458 # If neither matched, then we have a broken ls. This can happen
1459 # if, for instance, CONFIG_SHELL is bash and it inherits a
1460 # broken ls alias from the environment. This has actually
1461 # happened. Such a system could not be considered "sane".
1462 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1463 alias in your environment" >&5
1464 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1465 alias in your environment" >&2;}
1466 { (exit 1); exit 1; }; }
1467 fi
1468
1469 test "$2" = conftest.file
1470 )
1471 then
1472 # Ok.
1473 :
1474 else
1475 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1476 Check your system clock" >&5
1477 echo "$as_me: error: newly created file is older than distributed files!
1478 Check your system clock" >&2;}
1479 { (exit 1); exit 1; }; }
1480 fi
1481 echo "$as_me:$LINENO: result: yes" >&5
1482 echo "${ECHO_T}yes" >&6
1483 test "$program_prefix" != NONE &&
1484 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1485 # Use a double $ so make ignores it.
1486 test "$program_suffix" != NONE &&
1487 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1488 # Double any \ or $. echo might interpret backslashes.
1489 # By default was `s,x,x', remove it if useless.
1490 cat <<\_ACEOF >conftest.sed
1491 s/[\\$]/&&/g;s/;s,x,x,$//
1492 _ACEOF
1493 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1494 rm conftest.sed
1495
1496 # expand $ac_aux_dir to an absolute path
1497 am_aux_dir=`cd $ac_aux_dir && pwd`
1498
1499 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1500 # Use eval to expand $SHELL
1501 if eval "$MISSING --run true"; then
1502 am_missing_run="$MISSING --run "
1503 else
1504 am_missing_run=
1505 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1506 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1507 fi
1508
1509 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1510 # We used to keeping the `.' as first argument, in order to
1511 # allow $(mkdir_p) to be used without argument. As in
1512 # $(mkdir_p) $(somedir)
1513 # where $(somedir) is conditionally defined. However this is wrong
1514 # for two reasons:
1515 # 1. if the package is installed by a user who cannot write `.'
1516 # make install will fail,
1517 # 2. the above comment should most certainly read
1518 # $(mkdir_p) $(DESTDIR)$(somedir)
1519 # so it does not work when $(somedir) is undefined and
1520 # $(DESTDIR) is not.
1521 # To support the latter case, we have to write
1522 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1523 # so the `.' trick is pointless.
1524 mkdir_p='mkdir -p --'
1525 else
1526 # On NextStep and OpenStep, the `mkdir' command does not
1527 # recognize any option. It will interpret all options as
1528 # directories to create, and then abort because `.' already
1529 # exists.
1530 for d in ./-p ./--version;
1531 do
1532 test -d $d && rmdir $d
1533 done
1534 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1535 if test -f "$ac_aux_dir/mkinstalldirs"; then
1536 mkdir_p='$(mkinstalldirs)'
1537 else
1538 mkdir_p='$(install_sh) -d'
1539 fi
1540 fi
1541
1542 for ac_prog in gawk mawk nawk awk
1543 do
1544 # Extract the first word of "$ac_prog", so it can be a program name with args.
1545 set dummy $ac_prog; ac_word=$2
1546 echo "$as_me:$LINENO: checking for $ac_word" >&5
1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1548 if test "${ac_cv_prog_AWK+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 else
1551 if test -n "$AWK"; then
1552 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1553 else
1554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1555 for as_dir in $PATH
1556 do
1557 IFS=$as_save_IFS
1558 test -z "$as_dir" && as_dir=.
1559 for ac_exec_ext in '' $ac_executable_extensions; do
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1561 ac_cv_prog_AWK="$ac_prog"
1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1563 break 2
1564 fi
1565 done
1566 done
1567
1568 fi
1569 fi
1570 AWK=$ac_cv_prog_AWK
1571 if test -n "$AWK"; then
1572 echo "$as_me:$LINENO: result: $AWK" >&5
1573 echo "${ECHO_T}$AWK" >&6
1574 else
1575 echo "$as_me:$LINENO: result: no" >&5
1576 echo "${ECHO_T}no" >&6
1577 fi
1578
1579 test -n "$AWK" && break
1580 done
1581
1582 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1583 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1584 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1585 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 else
1588 cat >conftest.make <<\_ACEOF
1589 all:
1590 @echo 'ac_maketemp="$(MAKE)"'
1591 _ACEOF
1592 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1593 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1594 if test -n "$ac_maketemp"; then
1595 eval ac_cv_prog_make_${ac_make}_set=yes
1596 else
1597 eval ac_cv_prog_make_${ac_make}_set=no
1598 fi
1599 rm -f conftest.make
1600 fi
1601 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1602 echo "$as_me:$LINENO: result: yes" >&5
1603 echo "${ECHO_T}yes" >&6
1604 SET_MAKE=
1605 else
1606 echo "$as_me:$LINENO: result: no" >&5
1607 echo "${ECHO_T}no" >&6
1608 SET_MAKE="MAKE=${MAKE-make}"
1609 fi
1610
1611 rm -rf .tst 2>/dev/null
1612 mkdir .tst 2>/dev/null
1613 if test -d .tst; then
1614 am__leading_dot=.
1615 else
1616 am__leading_dot=_
1617 fi
1618 rmdir .tst 2>/dev/null
1619
1620 # test to see if srcdir already configured
1621 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1622 test -f $srcdir/config.status; then
1623 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1624 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1625 { (exit 1); exit 1; }; }
1626 fi
1627
1628 # test whether we have cygpath
1629 if test -z "$CYGPATH_W"; then
1630 if (cygpath --version) >/dev/null 2>/dev/null; then
1631 CYGPATH_W='cygpath -w'
1632 else
1633 CYGPATH_W=echo
1634 fi
1635 fi
1636
1637
1638 # Define the identity of the package.
1639 PACKAGE='pxscand'
1640 VERSION='2.1'
1641
1642
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE "$PACKAGE"
1645 _ACEOF
1646
1647
1648 cat >>confdefs.h <<_ACEOF
1649 #define VERSION "$VERSION"
1650 _ACEOF
1651
1652 # Some tools Automake needs.
1653
1654 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1655
1656
1657 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1658
1659
1660 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1661
1662
1663 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1664
1665
1666 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1667
1668 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1669
1670 # Installed binaries are usually stripped using `strip' when the user
1671 # run `make install-strip'. However `strip' might not be the right
1672 # tool to use in cross-compilation environments, therefore Automake
1673 # will honor the `STRIP' environment variable to overrule this program.
1674 if test "$cross_compiling" != no; then
1675 if test -n "$ac_tool_prefix"; then
1676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1677 set dummy ${ac_tool_prefix}strip; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_STRIP+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 else
1683 if test -n "$STRIP"; then
1684 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1685 else
1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687 for as_dir in $PATH
1688 do
1689 IFS=$as_save_IFS
1690 test -z "$as_dir" && as_dir=.
1691 for ac_exec_ext in '' $ac_executable_extensions; do
1692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1693 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 break 2
1696 fi
1697 done
1698 done
1699
1700 fi
1701 fi
1702 STRIP=$ac_cv_prog_STRIP
1703 if test -n "$STRIP"; then
1704 echo "$as_me:$LINENO: result: $STRIP" >&5
1705 echo "${ECHO_T}$STRIP" >&6
1706 else
1707 echo "$as_me:$LINENO: result: no" >&5
1708 echo "${ECHO_T}no" >&6
1709 fi
1710
1711 fi
1712 if test -z "$ac_cv_prog_STRIP"; then
1713 ac_ct_STRIP=$STRIP
1714 # Extract the first word of "strip", so it can be a program name with args.
1715 set dummy strip; ac_word=$2
1716 echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1719 echo $ECHO_N "(cached) $ECHO_C" >&6
1720 else
1721 if test -n "$ac_ct_STRIP"; then
1722 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1723 else
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1725 for as_dir in $PATH
1726 do
1727 IFS=$as_save_IFS
1728 test -z "$as_dir" && as_dir=.
1729 for ac_exec_ext in '' $ac_executable_extensions; do
1730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731 ac_cv_prog_ac_ct_STRIP="strip"
1732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733 break 2
1734 fi
1735 done
1736 done
1737
1738 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1739 fi
1740 fi
1741 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1742 if test -n "$ac_ct_STRIP"; then
1743 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1744 echo "${ECHO_T}$ac_ct_STRIP" >&6
1745 else
1746 echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1748 fi
1749
1750 STRIP=$ac_ct_STRIP
1751 else
1752 STRIP="$ac_cv_prog_STRIP"
1753 fi
1754
1755 fi
1756 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1757
1758 # We need awk for the "check" target. The system "awk" is bad on
1759 # some platforms.
1760 # Always define AMTAR for backward compatibility.
1761
1762 AMTAR=${AMTAR-"${am_missing_run}tar"}
1763
1764 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1765
1766
1767
1768
1769
1770
1771 ac_config_headers="$ac_config_headers config.h"
1772
1773 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1774 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1775 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1776 if test "${enable_maintainer_mode+set}" = set; then
1777 enableval="$enable_maintainer_mode"
1778 USE_MAINTAINER_MODE=$enableval
1779 else
1780 USE_MAINTAINER_MODE=no
1781 fi;
1782 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1783 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1784
1785
1786 if test $USE_MAINTAINER_MODE = yes; then
1787 MAINTAINER_MODE_TRUE=
1788 MAINTAINER_MODE_FALSE='#'
1789 else
1790 MAINTAINER_MODE_TRUE='#'
1791 MAINTAINER_MODE_FALSE=
1792 fi
1793
1794 MAINT=$MAINTAINER_MODE_TRUE
1795
1796
1797
1798 ac_ext=c
1799 ac_cpp='$CPP $CPPFLAGS'
1800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1803 if test -n "$ac_tool_prefix"; then
1804 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1805 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 else
1811 if test -n "$CC"; then
1812 ac_cv_prog_CC="$CC" # Let the user override the test.
1813 else
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1815 for as_dir in $PATH
1816 do
1817 IFS=$as_save_IFS
1818 test -z "$as_dir" && as_dir=.
1819 for ac_exec_ext in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 break 2
1824 fi
1825 done
1826 done
1827
1828 fi
1829 fi
1830 CC=$ac_cv_prog_CC
1831 if test -n "$CC"; then
1832 echo "$as_me:$LINENO: result: $CC" >&5
1833 echo "${ECHO_T}$CC" >&6
1834 else
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1837 fi
1838
1839 fi
1840 if test -z "$ac_cv_prog_CC"; then
1841 ac_ct_CC=$CC
1842 # Extract the first word of "gcc", so it can be a program name with args.
1843 set dummy gcc; ac_word=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 else
1849 if test -n "$ac_ct_CC"; then
1850 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1851 else
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853 for as_dir in $PATH
1854 do
1855 IFS=$as_save_IFS
1856 test -z "$as_dir" && as_dir=.
1857 for ac_exec_ext in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_ac_ct_CC="gcc"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 break 2
1862 fi
1863 done
1864 done
1865
1866 fi
1867 fi
1868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1869 if test -n "$ac_ct_CC"; then
1870 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1871 echo "${ECHO_T}$ac_ct_CC" >&6
1872 else
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1875 fi
1876
1877 CC=$ac_ct_CC
1878 else
1879 CC="$ac_cv_prog_CC"
1880 fi
1881
1882 if test -z "$CC"; then
1883 if test -n "$ac_tool_prefix"; then
1884 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1885 set dummy ${ac_tool_prefix}cc; ac_word=$2
1886 echo "$as_me:$LINENO: checking for $ac_word" >&5
1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888 if test "${ac_cv_prog_CC+set}" = set; then
1889 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 else
1891 if test -n "$CC"; then
1892 ac_cv_prog_CC="$CC" # Let the user override the test.
1893 else
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH
1896 do
1897 IFS=$as_save_IFS
1898 test -z "$as_dir" && as_dir=.
1899 for ac_exec_ext in '' $ac_executable_extensions; do
1900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901 ac_cv_prog_CC="${ac_tool_prefix}cc"
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 break 2
1904 fi
1905 done
1906 done
1907
1908 fi
1909 fi
1910 CC=$ac_cv_prog_CC
1911 if test -n "$CC"; then
1912 echo "$as_me:$LINENO: result: $CC" >&5
1913 echo "${ECHO_T}$CC" >&6
1914 else
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1917 fi
1918
1919 fi
1920 if test -z "$ac_cv_prog_CC"; then
1921 ac_ct_CC=$CC
1922 # Extract the first word of "cc", so it can be a program name with args.
1923 set dummy cc; ac_word=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 else
1929 if test -n "$ac_ct_CC"; then
1930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1931 else
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 for as_dir in $PATH
1934 do
1935 IFS=$as_save_IFS
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939 ac_cv_prog_ac_ct_CC="cc"
1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 break 2
1942 fi
1943 done
1944 done
1945
1946 fi
1947 fi
1948 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1949 if test -n "$ac_ct_CC"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1951 echo "${ECHO_T}$ac_ct_CC" >&6
1952 else
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1955 fi
1956
1957 CC=$ac_ct_CC
1958 else
1959 CC="$ac_cv_prog_CC"
1960 fi
1961
1962 fi
1963 if test -z "$CC"; then
1964 # Extract the first word of "cc", so it can be a program name with args.
1965 set dummy cc; ac_word=$2
1966 echo "$as_me:$LINENO: checking for $ac_word" >&5
1967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1968 if test "${ac_cv_prog_CC+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 else
1971 if test -n "$CC"; then
1972 ac_cv_prog_CC="$CC" # Let the user override the test.
1973 else
1974 ac_prog_rejected=no
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1977 do
1978 IFS=$as_save_IFS
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1983 ac_prog_rejected=yes
1984 continue
1985 fi
1986 ac_cv_prog_CC="cc"
1987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 break 2
1989 fi
1990 done
1991 done
1992
1993 if test $ac_prog_rejected = yes; then
1994 # We found a bogon in the path, so make sure we never use it.
1995 set dummy $ac_cv_prog_CC
1996 shift
1997 if test $# != 0; then
1998 # We chose a different compiler from the bogus one.
1999 # However, it has the same basename, so the bogon will be chosen
2000 # first if we set CC to just the basename; use the full file name.
2001 shift
2002 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2003 fi
2004 fi
2005 fi
2006 fi
2007 CC=$ac_cv_prog_CC
2008 if test -n "$CC"; then
2009 echo "$as_me:$LINENO: result: $CC" >&5
2010 echo "${ECHO_T}$CC" >&6
2011 else
2012 echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6
2014 fi
2015
2016 fi
2017 if test -z "$CC"; then
2018 if test -n "$ac_tool_prefix"; then
2019 for ac_prog in cl
2020 do
2021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2033 do
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2041 fi
2042 done
2043 done
2044
2045 fi
2046 fi
2047 CC=$ac_cv_prog_CC
2048 if test -n "$CC"; then
2049 echo "$as_me:$LINENO: result: $CC" >&5
2050 echo "${ECHO_T}$CC" >&6
2051 else
2052 echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2054 fi
2055
2056 test -n "$CC" && break
2057 done
2058 fi
2059 if test -z "$CC"; then
2060 ac_ct_CC=$CC
2061 for ac_prog in cl
2062 do
2063 # Extract the first word of "$ac_prog", so it can be a program name with args.
2064 set dummy $ac_prog; ac_word=$2
2065 echo "$as_me:$LINENO: checking for $ac_word" >&5
2066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2067 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2068 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 else
2070 if test -n "$ac_ct_CC"; then
2071 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2072 else
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2075 do
2076 IFS=$as_save_IFS
2077 test -z "$as_dir" && as_dir=.
2078 for ac_exec_ext in '' $ac_executable_extensions; do
2079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080 ac_cv_prog_ac_ct_CC="$ac_prog"
2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2082 break 2
2083 fi
2084 done
2085 done
2086
2087 fi
2088 fi
2089 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2090 if test -n "$ac_ct_CC"; then
2091 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2092 echo "${ECHO_T}$ac_ct_CC" >&6
2093 else
2094 echo "$as_me:$LINENO: result: no" >&5
2095 echo "${ECHO_T}no" >&6
2096 fi
2097
2098 test -n "$ac_ct_CC" && break
2099 done
2100
2101 CC=$ac_ct_CC
2102 fi
2103
2104 fi
2105
2106
2107 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2108 See \`config.log' for more details." >&5
2109 echo "$as_me: error: no acceptable C compiler found in \$PATH
2110 See \`config.log' for more details." >&2;}
2111 { (exit 1); exit 1; }; }
2112
2113 # Provide some information about the compiler.
2114 echo "$as_me:$LINENO:" \
2115 "checking for C compiler version" >&5
2116 ac_compiler=`set X $ac_compile; echo $2`
2117 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2118 (eval $ac_compiler --version </dev/null >&5) 2>&5
2119 ac_status=$?
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }
2122 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2123 (eval $ac_compiler -v </dev/null >&5) 2>&5
2124 ac_status=$?
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }
2127 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2128 (eval $ac_compiler -V </dev/null >&5) 2>&5
2129 ac_status=$?
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }
2132
2133 cat >conftest.$ac_ext <<_ACEOF
2134 /* confdefs.h. */
2135 _ACEOF
2136 cat confdefs.h >>conftest.$ac_ext
2137 cat >>conftest.$ac_ext <<_ACEOF
2138 /* end confdefs.h. */
2139
2140 int
2141 main ()
2142 {
2143
2144 ;
2145 return 0;
2146 }
2147 _ACEOF
2148 ac_clean_files_save=$ac_clean_files
2149 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2150 # Try to create an executable without -o first, disregard a.out.
2151 # It will help us diagnose broken compilers, and finding out an intuition
2152 # of exeext.
2153 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2154 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2155 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2156 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2157 (eval $ac_link_default) 2>&5
2158 ac_status=$?
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; then
2161 # Find the output, starting from the most likely. This scheme is
2162 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2163 # resort.
2164
2165 # Be careful to initialize this variable, since it used to be cached.
2166 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2167 ac_cv_exeext=
2168 # b.out is created by i960 compilers.
2169 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2170 do
2171 test -f "$ac_file" || continue
2172 case $ac_file in
2173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2174 ;;
2175 conftest.$ac_ext )
2176 # This is the source file.
2177 ;;
2178 [ab].out )
2179 # We found the default executable, but exeext='' is most
2180 # certainly right.
2181 break;;
2182 *.* )
2183 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2184 # FIXME: I believe we export ac_cv_exeext for Libtool,
2185 # but it would be cool to find out if it's true. Does anybody
2186 # maintain Libtool? --akim.
2187 export ac_cv_exeext
2188 break;;
2189 * )
2190 break;;
2191 esac
2192 done
2193 else
2194 echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.$ac_ext >&5
2196
2197 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2198 See \`config.log' for more details." >&5
2199 echo "$as_me: error: C compiler cannot create executables
2200 See \`config.log' for more details." >&2;}
2201 { (exit 77); exit 77; }; }
2202 fi
2203
2204 ac_exeext=$ac_cv_exeext
2205 echo "$as_me:$LINENO: result: $ac_file" >&5
2206 echo "${ECHO_T}$ac_file" >&6
2207
2208 # Check the compiler produces executables we can run. If not, either
2209 # the compiler is broken, or we cross compile.
2210 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2211 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2212 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2213 # If not cross compiling, check that we can run a simple program.
2214 if test "$cross_compiling" != yes; then
2215 if { ac_try='./$ac_file'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 (eval $ac_try) 2>&5
2218 ac_status=$?
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; }; then
2221 cross_compiling=no
2222 else
2223 if test "$cross_compiling" = maybe; then
2224 cross_compiling=yes
2225 else
2226 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2227 If you meant to cross compile, use \`--host'.
2228 See \`config.log' for more details." >&5
2229 echo "$as_me: error: cannot run C compiled programs.
2230 If you meant to cross compile, use \`--host'.
2231 See \`config.log' for more details." >&2;}
2232 { (exit 1); exit 1; }; }
2233 fi
2234 fi
2235 fi
2236 echo "$as_me:$LINENO: result: yes" >&5
2237 echo "${ECHO_T}yes" >&6
2238
2239 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2240 ac_clean_files=$ac_clean_files_save
2241 # Check the compiler produces executables we can run. If not, either
2242 # the compiler is broken, or we cross compile.
2243 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2244 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2245 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2246 echo "${ECHO_T}$cross_compiling" >&6
2247
2248 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2249 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2251 (eval $ac_link) 2>&5
2252 ac_status=$?
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); }; then
2255 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2256 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2257 # work properly (i.e., refer to `conftest.exe'), while it won't with
2258 # `rm'.
2259 for ac_file in conftest.exe conftest conftest.*; do
2260 test -f "$ac_file" || continue
2261 case $ac_file in
2262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2263 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2264 export ac_cv_exeext
2265 break;;
2266 * ) break;;
2267 esac
2268 done
2269 else
2270 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2271 See \`config.log' for more details." >&5
2272 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2273 See \`config.log' for more details." >&2;}
2274 { (exit 1); exit 1; }; }
2275 fi
2276
2277 rm -f conftest$ac_cv_exeext
2278 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2279 echo "${ECHO_T}$ac_cv_exeext" >&6
2280
2281 rm -f conftest.$ac_ext
2282 EXEEXT=$ac_cv_exeext
2283 ac_exeext=$EXEEXT
2284 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2285 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2286 if test "${ac_cv_objext+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289 cat >conftest.$ac_ext <<_ACEOF
2290 /* confdefs.h. */
2291 _ACEOF
2292 cat confdefs.h >>conftest.$ac_ext
2293 cat >>conftest.$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2295
2296 int
2297 main ()
2298 {
2299
2300 ;
2301 return 0;
2302 }
2303 _ACEOF
2304 rm -f conftest.o conftest.obj
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306 (eval $ac_compile) 2>&5
2307 ac_status=$?
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; then
2310 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2311 case $ac_file in
2312 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2313 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2314 break;;
2315 esac
2316 done
2317 else
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2320
2321 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2322 See \`config.log' for more details." >&5
2323 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2324 See \`config.log' for more details." >&2;}
2325 { (exit 1); exit 1; }; }
2326 fi
2327
2328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2329 fi
2330 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2331 echo "${ECHO_T}$ac_cv_objext" >&6
2332 OBJEXT=$ac_cv_objext
2333 ac_objext=$OBJEXT
2334 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2335 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2336 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 else
2339 cat >conftest.$ac_ext <<_ACEOF
2340 /* confdefs.h. */
2341 _ACEOF
2342 cat confdefs.h >>conftest.$ac_ext
2343 cat >>conftest.$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2345
2346 int
2347 main ()
2348 {
2349 #ifndef __GNUC__
2350 choke me
2351 #endif
2352
2353 ;
2354 return 0;
2355 }
2356 _ACEOF
2357 rm -f conftest.$ac_objext
2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359 (eval $ac_compile) 2>conftest.er1
2360 ac_status=$?
2361 grep -v '^ *+' conftest.er1 >conftest.err
2362 rm -f conftest.er1
2363 cat conftest.err >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); } &&
2366 { ac_try='test -z "$ac_c_werror_flag"
2367 || test ! -s conftest.err'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 (eval $ac_try) 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; } &&
2373 { ac_try='test -s conftest.$ac_objext'
2374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 (eval $ac_try) 2>&5
2376 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; }; then
2379 ac_compiler_gnu=yes
2380 else
2381 echo "$as_me: failed program was:" >&5
2382 sed 's/^/| /' conftest.$ac_ext >&5
2383
2384 ac_compiler_gnu=no
2385 fi
2386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2387 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2388
2389 fi
2390 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2391 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2392 GCC=`test $ac_compiler_gnu = yes && echo yes`
2393 ac_test_CFLAGS=${CFLAGS+set}
2394 ac_save_CFLAGS=$CFLAGS
2395 CFLAGS="-g"
2396 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2397 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2398 if test "${ac_cv_prog_cc_g+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else
2401 cat >conftest.$ac_ext <<_ACEOF
2402 /* confdefs.h. */
2403 _ACEOF
2404 cat confdefs.h >>conftest.$ac_ext
2405 cat >>conftest.$ac_ext <<_ACEOF
2406 /* end confdefs.h. */
2407
2408 int
2409 main ()
2410 {
2411
2412 ;
2413 return 0;
2414 }
2415 _ACEOF
2416 rm -f conftest.$ac_objext
2417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2418 (eval $ac_compile) 2>conftest.er1
2419 ac_status=$?
2420 grep -v '^ *+' conftest.er1 >conftest.err
2421 rm -f conftest.er1
2422 cat conftest.err >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); } &&
2425 { ac_try='test -z "$ac_c_werror_flag"
2426 || test ! -s conftest.err'
2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 (eval $ac_try) 2>&5
2429 ac_status=$?
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; } &&
2432 { ac_try='test -s conftest.$ac_objext'
2433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 (eval $ac_try) 2>&5
2435 ac_status=$?
2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }; }; then
2438 ac_cv_prog_cc_g=yes
2439 else
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.$ac_ext >&5
2442
2443 ac_cv_prog_cc_g=no
2444 fi
2445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2446 fi
2447 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2448 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2449 if test "$ac_test_CFLAGS" = set; then
2450 CFLAGS=$ac_save_CFLAGS
2451 elif test $ac_cv_prog_cc_g = yes; then
2452 if test "$GCC" = yes; then
2453 CFLAGS="-g -O2"
2454 else
2455 CFLAGS="-g"
2456 fi
2457 else
2458 if test "$GCC" = yes; then
2459 CFLAGS="-O2"
2460 else
2461 CFLAGS=
2462 fi
2463 fi
2464 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2465 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2466 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 else
2469 ac_cv_prog_cc_stdc=no
2470 ac_save_CC=$CC
2471 cat >conftest.$ac_ext <<_ACEOF
2472 /* confdefs.h. */
2473 _ACEOF
2474 cat confdefs.h >>conftest.$ac_ext
2475 cat >>conftest.$ac_ext <<_ACEOF
2476 /* end confdefs.h. */
2477 #include <stdarg.h>
2478 #include <stdio.h>
2479 #include <sys/types.h>
2480 #include <sys/stat.h>
2481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2482 struct buf { int x; };
2483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2484 static char *e (p, i)
2485 char **p;
2486 int i;
2487 {
2488 return p[i];
2489 }
2490 static char *f (char * (*g) (char **, int), char **p, ...)
2491 {
2492 char *s;
2493 va_list v;
2494 va_start (v,p);
2495 s = g (p, va_arg (v,int));
2496 va_end (v);
2497 return s;
2498 }
2499
2500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2501 function prototypes and stuff, but not '\xHH' hex character constants.
2502 These don't provoke an error unfortunately, instead are silently treated
2503 as 'x'. The following induces an error, until -std1 is added to get
2504 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2505 array size at least. It's necessary to write '\x00'==0 to get something
2506 that's true only with -std1. */
2507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2508
2509 int test (int i, double x);
2510 struct s1 {int (*f) (int a);};
2511 struct s2 {int (*f) (double a);};
2512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2513 int argc;
2514 char **argv;
2515 int
2516 main ()
2517 {
2518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2519 ;
2520 return 0;
2521 }
2522 _ACEOF
2523 # Don't try gcc -ansi; that turns off useful extensions and
2524 # breaks some systems' header files.
2525 # AIX -qlanglvl=ansi
2526 # Ultrix and OSF/1 -std1
2527 # HP-UX 10.20 and later -Ae
2528 # HP-UX older versions -Aa -D_HPUX_SOURCE
2529 # SVR4 -Xc -D__EXTENSIONS__
2530 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2531 do
2532 CC="$ac_save_CC $ac_arg"
2533 rm -f conftest.$ac_objext
2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535 (eval $ac_compile) 2>conftest.er1
2536 ac_status=$?
2537 grep -v '^ *+' conftest.er1 >conftest.err
2538 rm -f conftest.er1
2539 cat conftest.err >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); } &&
2542 { ac_try='test -z "$ac_c_werror_flag"
2543 || test ! -s conftest.err'
2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 (eval $ac_try) 2>&5
2546 ac_status=$?
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; } &&
2549 { ac_try='test -s conftest.$ac_objext'
2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 (eval $ac_try) 2>&5
2552 ac_status=$?
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; }; then
2555 ac_cv_prog_cc_stdc=$ac_arg
2556 break
2557 else
2558 echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2560
2561 fi
2562 rm -f conftest.err conftest.$ac_objext
2563 done
2564 rm -f conftest.$ac_ext conftest.$ac_objext
2565 CC=$ac_save_CC
2566
2567 fi
2568
2569 case "x$ac_cv_prog_cc_stdc" in
2570 x|xno)
2571 echo "$as_me:$LINENO: result: none needed" >&5
2572 echo "${ECHO_T}none needed" >&6 ;;
2573 *)
2574 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2575 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2576 CC="$CC $ac_cv_prog_cc_stdc" ;;
2577 esac
2578
2579 # Some people use a C++ compiler to compile C. Since we use `exit',
2580 # in C++ we need to declare it. In case someone uses the same compiler
2581 # for both compiling C and C++ we need to have the C++ compiler decide
2582 # the declaration of exit, since it's the most demanding environment.
2583 cat >conftest.$ac_ext <<_ACEOF
2584 #ifndef __cplusplus
2585 choke me
2586 #endif
2587 _ACEOF
2588 rm -f conftest.$ac_objext
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>conftest.er1
2591 ac_status=$?
2592 grep -v '^ *+' conftest.er1 >conftest.err
2593 rm -f conftest.er1
2594 cat conftest.err >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); } &&
2597 { ac_try='test -z "$ac_c_werror_flag"
2598 || test ! -s conftest.err'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2600 (eval $ac_try) 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; } &&
2604 { ac_try='test -s conftest.$ac_objext'
2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 (eval $ac_try) 2>&5
2607 ac_status=$?
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; }; then
2610 for ac_declaration in \
2611 '' \
2612 'extern "C" void std::exit (int) throw (); using std::exit;' \
2613 'extern "C" void std::exit (int); using std::exit;' \
2614 'extern "C" void exit (int) throw ();' \
2615 'extern "C" void exit (int);' \
2616 'void exit (int);'
2617 do
2618 cat >conftest.$ac_ext <<_ACEOF
2619 /* confdefs.h. */
2620 _ACEOF
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2624 $ac_declaration
2625 #include <stdlib.h>
2626 int
2627 main ()
2628 {
2629 exit (42);
2630 ;
2631 return 0;
2632 }
2633 _ACEOF
2634 rm -f conftest.$ac_objext
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>conftest.er1
2637 ac_status=$?
2638 grep -v '^ *+' conftest.er1 >conftest.err
2639 rm -f conftest.er1
2640 cat conftest.err >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try='test -z "$ac_c_werror_flag"
2644 || test ! -s conftest.err'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 (eval $ac_try) 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; } &&
2650 { ac_try='test -s conftest.$ac_objext'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 (eval $ac_try) 2>&5
2653 ac_status=$?
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then
2656 :
2657 else
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2660
2661 continue
2662 fi
2663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2664 cat >conftest.$ac_ext <<_ACEOF
2665 /* confdefs.h. */
2666 _ACEOF
2667 cat confdefs.h >>conftest.$ac_ext
2668 cat >>conftest.$ac_ext <<_ACEOF
2669 /* end confdefs.h. */
2670 $ac_declaration
2671 int
2672 main ()
2673 {
2674 exit (42);
2675 ;
2676 return 0;
2677 }
2678 _ACEOF
2679 rm -f conftest.$ac_objext
2680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2681 (eval $ac_compile) 2>conftest.er1
2682 ac_status=$?
2683 grep -v '^ *+' conftest.er1 >conftest.err
2684 rm -f conftest.er1
2685 cat conftest.err >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); } &&
2688 { ac_try='test -z "$ac_c_werror_flag"
2689 || test ! -s conftest.err'
2690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 (eval $ac_try) 2>&5
2692 ac_status=$?
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); }; } &&
2695 { ac_try='test -s conftest.$ac_objext'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 (eval $ac_try) 2>&5
2698 ac_status=$?
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; }; then
2701 break
2702 else
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.$ac_ext >&5
2705
2706 fi
2707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2708 done
2709 rm -f conftest*
2710 if test -n "$ac_declaration"; then
2711 echo '#ifdef __cplusplus' >>confdefs.h
2712 echo $ac_declaration >>confdefs.h
2713 echo '#endif' >>confdefs.h
2714 fi
2715
2716 else
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2719
2720 fi
2721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2722 ac_ext=c
2723 ac_cpp='$CPP $CPPFLAGS'
2724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2727 DEPDIR="${am__leading_dot}deps"
2728
2729 ac_config_commands="$ac_config_commands depfiles"
2730
2731
2732 am_make=${MAKE-make}
2733 cat > confinc << 'END'
2734 am__doit:
2735 @echo done
2736 .PHONY: am__doit
2737 END
2738 # If we don't find an include directive, just comment out the code.
2739 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2740 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2741 am__include="#"
2742 am__quote=
2743 _am_result=none
2744 # First try GNU make style include.
2745 echo "include confinc" > confmf
2746 # We grep out `Entering directory' and `Leaving directory'
2747 # messages which can occur if `w' ends up in MAKEFLAGS.
2748 # In particular we don't look at `^make:' because GNU make might
2749 # be invoked under some other name (usually "gmake"), in which
2750 # case it prints its new name instead of `make'.
2751 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2752 am__include=include
2753 am__quote=
2754 _am_result=GNU
2755 fi
2756 # Now try BSD make style include.
2757 if test "$am__include" = "#"; then
2758 echo '.include "confinc"' > confmf
2759 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2760 am__include=.include
2761 am__quote="\""
2762 _am_result=BSD
2763 fi
2764 fi
2765
2766
2767 echo "$as_me:$LINENO: result: $_am_result" >&5
2768 echo "${ECHO_T}$_am_result" >&6
2769 rm -f confinc confmf
2770
2771 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2772 if test "${enable_dependency_tracking+set}" = set; then
2773 enableval="$enable_dependency_tracking"
2774
2775 fi;
2776 if test "x$enable_dependency_tracking" != xno; then
2777 am_depcomp="$ac_aux_dir/depcomp"
2778 AMDEPBACKSLASH='\'
2779 fi
2780
2781
2782 if test "x$enable_dependency_tracking" != xno; then
2783 AMDEP_TRUE=
2784 AMDEP_FALSE='#'
2785 else
2786 AMDEP_TRUE='#'
2787 AMDEP_FALSE=
2788 fi
2789
2790
2791
2792
2793 depcc="$CC" am_compiler_list=
2794
2795 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2796 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2797 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 else
2800 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2801 # We make a subdir and do the tests there. Otherwise we can end up
2802 # making bogus files that we don't know about and never remove. For
2803 # instance it was reported that on HP-UX the gcc test will end up
2804 # making a dummy file named `D' -- because `-MD' means `put the output
2805 # in D'.
2806 mkdir conftest.dir
2807 # Copy depcomp to subdir because otherwise we won't find it if we're
2808 # using a relative directory.
2809 cp "$am_depcomp" conftest.dir
2810 cd conftest.dir
2811 # We will build objects and dependencies in a subdirectory because
2812 # it helps to detect inapplicable dependency modes. For instance
2813 # both Tru64's cc and ICC support -MD to output dependencies as a
2814 # side effect of compilation, but ICC will put the dependencies in
2815 # the current directory while Tru64 will put them in the object
2816 # directory.
2817 mkdir sub
2818
2819 am_cv_CC_dependencies_compiler_type=none
2820 if test "$am_compiler_list" = ""; then
2821 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2822 fi
2823 for depmode in $am_compiler_list; do
2824 # Setup a source with many dependencies, because some compilers
2825 # like to wrap large dependency lists on column 80 (with \), and
2826 # we should not choose a depcomp mode which is confused by this.
2827 #
2828 # We need to recreate these files for each test, as the compiler may
2829 # overwrite some of them when testing with obscure command lines.
2830 # This happens at least with the AIX C compiler.
2831 : > sub/conftest.c
2832 for i in 1 2 3 4 5 6; do
2833 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2834 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2835 # Solaris 8's {/usr,}/bin/sh.
2836 touch sub/conftst$i.h
2837 done
2838 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2839
2840 case $depmode in
2841 nosideeffect)
2842 # after this tag, mechanisms are not by side-effect, so they'll
2843 # only be used when explicitly requested
2844 if test "x$enable_dependency_tracking" = xyes; then
2845 continue
2846 else
2847 break
2848 fi
2849 ;;
2850 none) break ;;
2851 esac
2852 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2853 # mode. It turns out that the SunPro C++ compiler does not properly
2854 # handle `-M -o', and we need to detect this.
2855 if depmode=$depmode \
2856 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2857 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2858 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2859 >/dev/null 2>conftest.err &&
2860 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2861 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2862 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2863 # icc doesn't choke on unknown options, it will just issue warnings
2864 # or remarks (even with -Werror). So we grep stderr for any message
2865 # that says an option was ignored or not supported.
2866 # When given -MP, icc 7.0 and 7.1 complain thusly:
2867 # icc: Command line warning: ignoring option '-M'; no argument required
2868 # The diagnosis changed in icc 8.0:
2869 # icc: Command line remark: option '-MP' not supported
2870 if (grep 'ignoring option' conftest.err ||
2871 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2872 am_cv_CC_dependencies_compiler_type=$depmode
2873 break
2874 fi
2875 fi
2876 done
2877
2878 cd ..
2879 rm -rf conftest.dir
2880 else
2881 am_cv_CC_dependencies_compiler_type=none
2882 fi
2883
2884 fi
2885 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2886 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2887 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2888
2889
2890
2891 if
2892 test "x$enable_dependency_tracking" != xno \
2893 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2894 am__fastdepCC_TRUE=
2895 am__fastdepCC_FALSE='#'
2896 else
2897 am__fastdepCC_TRUE='#'
2898 am__fastdepCC_FALSE=
2899 fi
2900
2901
2902 ac_ext=cc
2903 ac_cpp='$CXXCPP $CPPFLAGS'
2904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2907 if test -n "$ac_tool_prefix"; then
2908 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2909 do
2910 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2911 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2912 echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2914 if test "${ac_cv_prog_CXX+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 else
2917 if test -n "$CXX"; then
2918 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2919 else
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 for as_dir in $PATH
2922 do
2923 IFS=$as_save_IFS
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 break 2
2930 fi
2931 done
2932 done
2933
2934 fi
2935 fi
2936 CXX=$ac_cv_prog_CXX
2937 if test -n "$CXX"; then
2938 echo "$as_me:$LINENO: result: $CXX" >&5
2939 echo "${ECHO_T}$CXX" >&6
2940 else
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2943 fi
2944
2945 test -n "$CXX" && break
2946 done
2947 fi
2948 if test -z "$CXX"; then
2949 ac_ct_CXX=$CXX
2950 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2951 do
2952 # Extract the first word of "$ac_prog", so it can be a program name with args.
2953 set dummy $ac_prog; ac_word=$2
2954 echo "$as_me:$LINENO: checking for $ac_word" >&5
2955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2956 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 else
2959 if test -n "$ac_ct_CXX"; then
2960 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2961 else
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 for as_dir in $PATH
2964 do
2965 IFS=$as_save_IFS
2966 test -z "$as_dir" && as_dir=.
2967 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2969 ac_cv_prog_ac_ct_CXX="$ac_prog"
2970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 break 2
2972 fi
2973 done
2974 done
2975
2976 fi
2977 fi
2978 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2979 if test -n "$ac_ct_CXX"; then
2980 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2981 echo "${ECHO_T}$ac_ct_CXX" >&6
2982 else
2983 echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6
2985 fi
2986
2987 test -n "$ac_ct_CXX" && break
2988 done
2989 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2990
2991 CXX=$ac_ct_CXX
2992 fi
2993
2994
2995 # Provide some information about the compiler.
2996 echo "$as_me:$LINENO:" \
2997 "checking for C++ compiler version" >&5
2998 ac_compiler=`set X $ac_compile; echo $2`
2999 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3000 (eval $ac_compiler --version </dev/null >&5) 2>&5
3001 ac_status=$?
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }
3004 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3005 (eval $ac_compiler -v </dev/null >&5) 2>&5
3006 ac_status=$?
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }
3009 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3010 (eval $ac_compiler -V </dev/null >&5) 2>&5
3011 ac_status=$?
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }
3014
3015 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3016 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3017 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 cat >conftest.$ac_ext <<_ACEOF
3021 /* confdefs.h. */
3022 _ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3026
3027 int
3028 main ()
3029 {
3030 #ifndef __GNUC__
3031 choke me
3032 #endif
3033
3034 ;
3035 return 0;
3036 }
3037 _ACEOF
3038 rm -f conftest.$ac_objext
3039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3040 (eval $ac_compile) 2>conftest.er1
3041 ac_status=$?
3042 grep -v '^ *+' conftest.er1 >conftest.err
3043 rm -f conftest.er1
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } &&
3047 { ac_try='test -z "$ac_cxx_werror_flag"
3048 || test ! -s conftest.err'
3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050 (eval $ac_try) 2>&5
3051 ac_status=$?
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; } &&
3054 { ac_try='test -s conftest.$ac_objext'
3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 (eval $ac_try) 2>&5
3057 ac_status=$?
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; }; then
3060 ac_compiler_gnu=yes
3061 else
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3064
3065 ac_compiler_gnu=no
3066 fi
3067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3068 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3069
3070 fi
3071 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3072 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3073 GXX=`test $ac_compiler_gnu = yes && echo yes`
3074 ac_test_CXXFLAGS=${CXXFLAGS+set}
3075 ac_save_CXXFLAGS=$CXXFLAGS
3076 CXXFLAGS="-g"
3077 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3078 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3079 if test "${ac_cv_prog_cxx_g+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 else
3082 cat >conftest.$ac_ext <<_ACEOF
3083 /* confdefs.h. */
3084 _ACEOF
3085 cat confdefs.h >>conftest.$ac_ext
3086 cat >>conftest.$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3088
3089 int
3090 main ()
3091 {
3092
3093 ;
3094 return 0;
3095 }
3096 _ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>conftest.er1
3100 ac_status=$?
3101 grep -v '^ *+' conftest.er1 >conftest.err
3102 rm -f conftest.er1
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } &&
3106 { ac_try='test -z "$ac_cxx_werror_flag"
3107 || test ! -s conftest.err'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 (eval $ac_try) 2>&5
3110 ac_status=$?
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; } &&
3113 { ac_try='test -s conftest.$ac_objext'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 (eval $ac_try) 2>&5
3116 ac_status=$?
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3119 ac_cv_prog_cxx_g=yes
3120 else
3121 echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.$ac_ext >&5
3123
3124 ac_cv_prog_cxx_g=no
3125 fi
3126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3127 fi
3128 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3129 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3130 if test "$ac_test_CXXFLAGS" = set; then
3131 CXXFLAGS=$ac_save_CXXFLAGS
3132 elif test $ac_cv_prog_cxx_g = yes; then
3133 if test "$GXX" = yes; then
3134 CXXFLAGS="-g -O2"
3135 else
3136 CXXFLAGS="-g"
3137 fi
3138 else
3139 if test "$GXX" = yes; then
3140 CXXFLAGS="-O2"
3141 else
3142 CXXFLAGS=
3143 fi
3144 fi
3145 for ac_declaration in \
3146 '' \
3147 'extern "C" void std::exit (int) throw (); using std::exit;' \
3148 'extern "C" void std::exit (int); using std::exit;' \
3149 'extern "C" void exit (int) throw ();' \
3150 'extern "C" void exit (int);' \
3151 'void exit (int);'
3152 do
3153 cat >conftest.$ac_ext <<_ACEOF
3154 /* confdefs.h. */
3155 _ACEOF
3156 cat confdefs.h >>conftest.$ac_ext
3157 cat >>conftest.$ac_ext <<_ACEOF
3158 /* end confdefs.h. */
3159 $ac_declaration
3160 #include <stdlib.h>
3161 int
3162 main ()
3163 {
3164 exit (42);
3165 ;
3166 return 0;
3167 }
3168 _ACEOF
3169 rm -f conftest.$ac_objext
3170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3171 (eval $ac_compile) 2>conftest.er1
3172 ac_status=$?
3173 grep -v '^ *+' conftest.er1 >conftest.err
3174 rm -f conftest.er1
3175 cat conftest.err >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); } &&
3178 { ac_try='test -z "$ac_cxx_werror_flag"
3179 || test ! -s conftest.err'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 (eval $ac_try) 2>&5
3182 ac_status=$?
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; } &&
3185 { ac_try='test -s conftest.$ac_objext'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 (eval $ac_try) 2>&5
3188 ac_status=$?
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3191 :
3192 else
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3195
3196 continue
3197 fi
3198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3199 cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h. */
3201 _ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3205 $ac_declaration
3206 int
3207 main ()
3208 {
3209 exit (42);
3210 ;
3211 return 0;
3212 }
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216 (eval $ac_compile) 2>conftest.er1
3217 ac_status=$?
3218 grep -v '^ *+' conftest.er1 >conftest.err
3219 rm -f conftest.er1
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } &&
3223 { ac_try='test -z "$ac_cxx_werror_flag"
3224 || test ! -s conftest.err'
3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 (eval $ac_try) 2>&5
3227 ac_status=$?
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; } &&
3230 { ac_try='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 (eval $ac_try) 2>&5
3233 ac_status=$?
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 break
3237 else
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3240
3241 fi
3242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3243 done
3244 rm -f conftest*
3245 if test -n "$ac_declaration"; then
3246 echo '#ifdef __cplusplus' >>confdefs.h
3247 echo $ac_declaration >>confdefs.h
3248 echo '#endif' >>confdefs.h
3249 fi
3250
3251 ac_ext=c
3252 ac_cpp='$CPP $CPPFLAGS'
3253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3256
3257 depcc="$CXX" am_compiler_list=
3258
3259 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3260 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3261 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 else
3264 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3265 # We make a subdir and do the tests there. Otherwise we can end up
3266 # making bogus files that we don't know about and never remove. For
3267 # instance it was reported that on HP-UX the gcc test will end up
3268 # making a dummy file named `D' -- because `-MD' means `put the output
3269 # in D'.
3270 mkdir conftest.dir
3271 # Copy depcomp to subdir because otherwise we won't find it if we're
3272 # using a relative directory.
3273 cp "$am_depcomp" conftest.dir
3274 cd conftest.dir
3275 # We will build objects and dependencies in a subdirectory because
3276 # it helps to detect inapplicable dependency modes. For instance
3277 # both Tru64's cc and ICC support -MD to output dependencies as a
3278 # side effect of compilation, but ICC will put the dependencies in
3279 # the current directory while Tru64 will put them in the object
3280 # directory.
3281 mkdir sub
3282
3283 am_cv_CXX_dependencies_compiler_type=none
3284 if test "$am_compiler_list" = ""; then
3285 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3286 fi
3287 for depmode in $am_compiler_list; do
3288 # Setup a source with many dependencies, because some compilers
3289 # like to wrap large dependency lists on column 80 (with \), and
3290 # we should not choose a depcomp mode which is confused by this.
3291 #
3292 # We need to recreate these files for each test, as the compiler may
3293 # overwrite some of them when testing with obscure command lines.
3294 # This happens at least with the AIX C compiler.
3295 : > sub/conftest.c
3296 for i in 1 2 3 4 5 6; do
3297 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3298 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3299 # Solaris 8's {/usr,}/bin/sh.
3300 touch sub/conftst$i.h
3301 done
3302 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3303
3304 case $depmode in
3305 nosideeffect)
3306 # after this tag, mechanisms are not by side-effect, so they'll
3307 # only be used when explicitly requested
3308 if test "x$enable_dependency_tracking" = xyes; then
3309 continue
3310 else
3311 break
3312 fi
3313 ;;
3314 none) break ;;
3315 esac
3316 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3317 # mode. It turns out that the SunPro C++ compiler does not properly
3318 # handle `-M -o', and we need to detect this.
3319 if depmode=$depmode \
3320 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3321 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3322 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3323 >/dev/null 2>conftest.err &&
3324 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3325 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3326 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3327 # icc doesn't choke on unknown options, it will just issue warnings
3328 # or remarks (even with -Werror). So we grep stderr for any message
3329 # that says an option was ignored or not supported.
3330 # When given -MP, icc 7.0 and 7.1 complain thusly:
3331 # icc: Command line warning: ignoring option '-M'; no argument required
3332 # The diagnosis changed in icc 8.0:
3333 # icc: Command line remark: option '-MP' not supported
3334 if (grep 'ignoring option' conftest.err ||
3335 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3336 am_cv_CXX_dependencies_compiler_type=$depmode
3337 break
3338 fi
3339 fi
3340 done
3341
3342 cd ..
3343 rm -rf conftest.dir
3344 else
3345 am_cv_CXX_dependencies_compiler_type=none
3346 fi
3347
3348 fi
3349 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3350 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3351 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3352
3353
3354
3355 if
3356 test "x$enable_dependency_tracking" != xno \
3357 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3358 am__fastdepCXX_TRUE=
3359 am__fastdepCXX_FALSE='#'
3360 else
3361 am__fastdepCXX_TRUE='#'
3362 am__fastdepCXX_FALSE=
3363 fi
3364
3365
3366 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3367 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3368 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3369 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 else
3372 cat >conftest.make <<\_ACEOF
3373 all:
3374 @echo 'ac_maketemp="$(MAKE)"'
3375 _ACEOF
3376 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3377 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3378 if test -n "$ac_maketemp"; then
3379 eval ac_cv_prog_make_${ac_make}_set=yes
3380 else
3381 eval ac_cv_prog_make_${ac_make}_set=no
3382 fi
3383 rm -f conftest.make
3384 fi
3385 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3386 echo "$as_me:$LINENO: result: yes" >&5
3387 echo "${ECHO_T}yes" >&6
3388 SET_MAKE=
3389 else
3390 echo "$as_me:$LINENO: result: no" >&5
3391 echo "${ECHO_T}no" >&6
3392 SET_MAKE="MAKE=${MAKE-make}"
3393 fi
3394
3395
3396 cat >>confdefs.h <<_ACEOF
3397 #define DEBUG 1
3398 _ACEOF
3399
3400
3401
3402
3403 # Check whether --with-peak-prefix or --without-peak-prefix was given.
3404 if test "${with_peak_prefix+set}" = set; then
3405 withval="$with_peak_prefix"
3406 peak_config_prefix="$withval"
3407 else
3408 peak_config_prefix=""
3409 fi;
3410
3411 # Check whether --with-peak-exec-prefix or --without-peak-exec-prefix was given.
3412 if test "${with_peak_exec_prefix+set}" = set; then
3413 withval="$with_peak_exec_prefix"
3414 peak_config_exec_prefix="$withval"
3415 else
3416 peak_config_exec_prefix=""
3417 fi;
3418
3419 if test x$peak_config_exec_prefix != x ; then
3420 peak_config_args="$peak_config_args --exec-prefix=$peak_config_exec_prefix"
3421 if test x${PEAK_CONFIG+set} != xset ; then
3422 PEAK_CONFIG=$peak_config_exec_prefix/bin/peak-config
3423 fi
3424 fi
3425 if test x$peak_config_prefix != x ; then
3426 peak_config_args="$peak_config_args --prefix=$peak_config_prefix"
3427 if test x${PEAK_CONFIG+set} != xset ; then
3428 PEAK_CONFIG=$peak_config_prefix/bin/peak-config
3429 fi
3430 fi
3431
3432 # Extract the first word of "peak-config", so it can be a program name with args.
3433 set dummy peak-config; ac_word=$2
3434 echo "$as_me:$LINENO: checking for $ac_word" >&5
3435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3436 if test "${ac_cv_path_PEAK_CONFIG+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 else
3439 case $PEAK_CONFIG in
3440 [\\/]* | ?:[\\/]*)
3441 ac_cv_path_PEAK_CONFIG="$PEAK_CONFIG" # Let the user override the test with a path.
3442 ;;
3443 *)
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH
3446 do
3447 IFS=$as_save_IFS
3448 test -z "$as_dir" && as_dir=.
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3451 ac_cv_path_PEAK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3453 break 2
3454 fi
3455 done
3456 done
3457
3458 test -z "$ac_cv_path_PEAK_CONFIG" && ac_cv_path_PEAK_CONFIG="no"
3459 ;;
3460 esac
3461 fi
3462 PEAK_CONFIG=$ac_cv_path_PEAK_CONFIG
3463
3464 if test -n "$PEAK_CONFIG"; then
3465 echo "$as_me:$LINENO: result: $PEAK_CONFIG" >&5
3466 echo "${ECHO_T}$PEAK_CONFIG" >&6
3467 else
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3470 fi
3471
3472 echo "$as_me:$LINENO: checking for peak - version >= 0.1.0" >&5
3473 echo $ECHO_N "checking for peak - version >= 0.1.0... $ECHO_C" >&6
3474
3475 no_peak=""
3476 if test "$PEAK_CONFIG" = "no" ; then
3477 no_peak=yes
3478 else
3479 PEAK_CFLAGS="`$PEAK_CONFIG $peak_config_args --cflags`"
3480 PEAK_LIBS="`$PEAK_CONFIG $peak_config_args --libs`"
3481
3482 peak_config_major_version=`$PEAK_CONFIG $peak_config_args \
3483 --version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3484 peak_config_minor_version=`$PEAK_CONFIG $peak_config_args \
3485 --version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3486 peak_config_micro_version=`$PEAK_CONFIG $peak_config_args \
3487 --version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3488 peak_wanted_major_version="0"
3489 peak_wanted_minor_version="1"
3490 peak_wanted_micro_version="0"
3491
3492 # Compare wanted version to what config script returned.
3493 # If I knew what library was being run, i'd probably also compile
3494 # a test program at this point (which also extracted and tested
3495 # the version in some library-specific way)
3496 if test "$peak_config_major_version" -lt \
3497 "$peak_wanted_major_version" \
3498 -o \( "$peak_config_major_version" -eq \
3499 "$peak_wanted_major_version" \
3500 -a "$peak_config_minor_version" -lt \
3501 "$peak_wanted_minor_version" \) \
3502 -o \( "$peak_config_major_version" -eq \
3503 "$peak_wanted_major_version" \
3504 -a "$peak_config_minor_version" -eq \
3505 "$peak_wanted_minor_version" \
3506 -a "$peak_config_micro_version" -lt \
3507 "$peak_wanted_micro_version" \) ; then
3508 # older version found
3509 no_peak=yes
3510 echo -n "*** An old version of peak "
3511 echo -n "($peak_config_major_version"
3512 echo -n ".$peak_config_minor_version"
3513 echo ".$peak_config_micro_version) was found."
3514 echo -n "*** You need a version of peak newer than "
3515 echo -n "$peak_wanted_major_version"
3516 echo -n ".$peak_wanted_minor_version"
3517 echo ".$peak_wanted_micro_version."
3518 echo "***"
3519 echo "*** If you have already installed a sufficiently new version, this error"
3520 echo "*** probably means that the wrong copy of the peak-config shell script is"
3521 echo "*** being found. The easiest way to fix this is to remove the old version"
3522 echo "*** of peak, but you can also set the PEAK_CONFIG environment to point to the"
3523 echo "*** correct copy of peak-config. (In this case, you will have to"
3524 echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf"
3525 echo "*** so that the correct libraries are found at run-time)"
3526 fi
3527
3528 fi
3529 if test "x$no_peak" = x ; then
3530 echo "$as_me:$LINENO: result: yes" >&5
3531 echo "${ECHO_T}yes" >&6
3532 :
3533 else
3534 echo "$as_me:$LINENO: result: no" >&5
3535 echo "${ECHO_T}no" >&6
3536 if test "$PEAK_CONFIG" = "no" ; then
3537 echo "*** The peak-config script installed by peak could not be found"
3538 echo "*** If peak was installed in PREFIX, make sure PREFIX/bin is in"
3539 echo "*** your path, or set the PEAK_CONFIG environment variable to the"
3540 echo "*** full path to peak-config."
3541 fi
3542 PEAK_CFLAGS=""
3543 PEAK_LIBS=""
3544 { { echo "$as_me:$LINENO: error: required PEAK Library (libpeak) not found" >&5
3545 echo "$as_me: error: required PEAK Library (libpeak) not found" >&2;}
3546 { (exit 1); exit 1; }; }
3547 fi
3548
3549
3550
3551
3552
3553
3554 echo "$as_me:$LINENO: checking for fgrep" >&5
3555 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3556 if test "${ac_cv_prog_fgrep+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 else
3559 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
3560 then ac_cv_prog_fgrep='grep -F'
3561 else ac_cv_prog_fgrep='fgrep'
3562 fi
3563 fi
3564 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3565 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3566 FGREP=$ac_cv_prog_fgrep
3567
3568
3569
3570 for arg in $PEAK_CFLAGS
3571 do
3572 if { cat <<EOF
3573 $CXXFLAGS x
3574 EOF
3575 } | $FGREP -v -e " $arg " > /dev/null
3576 then
3577 CXXFLAGS="$CXXFLAGS $arg"
3578 fi
3579 done
3580
3581
3582 for arg in $PEAK_CFLAGS
3583 do
3584 if { cat <<EOF
3585 $CFLAGS x
3586 EOF
3587 } | $FGREP -v -e " $arg " > /dev/null
3588 then
3589 CFLAGS="$CFLAGS $arg"
3590 fi
3591 done
3592
3593
3594 xt_compare="$LIBS"
3595 xt_filtered=""
3596 for arg in $PEAK_LIBS
3597 do
3598 if { cat <<EOF
3599 $xt_compare x
3600 EOF
3601 } | $FGREP -v -e " $arg " > /dev/null
3602 then
3603 xt_compare="$arg $xt_compare"
3604 xt_filtered="$xt_filtered $arg"
3605 fi
3606 done
3607 LIBS="$xt_filtered $LIBS"
3608
3609
3610
3611
3612 # Check whether --with-xml2-prefix or --without-xml2-prefix was given.
3613 if test "${with_xml2_prefix+set}" = set; then
3614 withval="$with_xml2_prefix"
3615 xml2_config_prefix="$withval"
3616 else
3617 xml2_config_prefix=""
3618 fi;
3619
3620 # Check whether --with-xml2-exec-prefix or --without-xml2-exec-prefix was given.
3621 if test "${with_xml2_exec_prefix+set}" = set; then
3622 withval="$with_xml2_exec_prefix"
3623 xml2_config_exec_prefix="$withval"
3624 else
3625 xml2_config_exec_prefix=""
3626 fi;
3627
3628 if test x$xml2_config_exec_prefix != x ; then
3629 xml2_config_args="$xml2_config_args --exec-prefix=$xml2_config_exec_prefix"
3630 if test x${XML2_CONFIG+set} != xset ; then
3631 XML2_CONFIG=$xml2_config_exec_prefix/bin/xml2-config
3632 fi
3633 fi
3634 if test x$xml2_config_prefix != x ; then
3635 xml2_config_args="$xml2_config_args --prefix=$xml2_config_prefix"
3636 if test x${XML2_CONFIG+set} != xset ; then
3637 XML2_CONFIG=$xml2_config_prefix/bin/xml2-config
3638 fi
3639 fi
3640
3641 # Extract the first word of "xml2-config", so it can be a program name with args.
3642 set dummy xml2-config; ac_word=$2
3643 echo "$as_me:$LINENO: checking for $ac_word" >&5
3644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3645 if test "${ac_cv_path_XML2_CONFIG+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 else
3648 case $XML2_CONFIG in
3649 [\\/]* | ?:[\\/]*)
3650 ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
3651 ;;
3652 *)
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3663 fi
3664 done
3665 done
3666
3667 test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
3668 ;;
3669 esac
3670 fi
3671 XML2_CONFIG=$ac_cv_path_XML2_CONFIG
3672
3673 if test -n "$XML2_CONFIG"; then
3674 echo "$as_me:$LINENO: result: $XML2_CONFIG" >&5
3675 echo "${ECHO_T}$XML2_CONFIG" >&6
3676 else
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3679 fi
3680
3681 echo "$as_me:$LINENO: checking for xml2 - version >= 2.0.0" >&5
3682 echo $ECHO_N "checking for xml2 - version >= 2.0.0... $ECHO_C" >&6
3683
3684 no_xml2=""
3685 if test "$XML2_CONFIG" = "no" ; then
3686 no_xml2=yes
3687 else
3688 XML2_CFLAGS="`$XML2_CONFIG $xml2_config_args --cflags`"
3689 XML2_LIBS="`$XML2_CONFIG $xml2_config_args --libs`"
3690
3691 xml2_config_major_version=`$XML2_CONFIG $xml2_config_args \
3692 --version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3693 xml2_config_minor_version=`$XML2_CONFIG $xml2_config_args \
3694 --version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3695 xml2_config_micro_version=`$XML2_CONFIG $xml2_config_args \
3696 --version | sed 's/[^0-9]*\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3697 xml2_wanted_major_version="2"
3698 xml2_wanted_minor_version="0"
3699 xml2_wanted_micro_version="0"
3700
3701 # Compare wanted version to what config script returned.
3702 # If I knew what library was being run, i'd probably also compile
3703 # a test program at this point (which also extracted and tested
3704 # the version in some library-specific way)
3705 if test "$xml2_config_major_version" -lt \
3706 "$xml2_wanted_major_version" \
3707 -o \( "$xml2_config_major_version" -eq \
3708 "$xml2_wanted_major_version" \
3709 -a "$xml2_config_minor_version" -lt \
3710 "$xml2_wanted_minor_version" \) \
3711 -o \( "$xml2_config_major_version" -eq \
3712 "$xml2_wanted_major_version" \
3713 -a "$xml2_config_minor_version" -eq \
3714 "$xml2_wanted_minor_version" \
3715 -a "$xml2_config_micro_version" -lt \
3716 "$xml2_wanted_micro_version" \) ; then
3717 # older version found
3718 no_xml2=yes
3719 echo -n "*** An old version of xml2 "
3720 echo -n "($xml2_config_major_version"
3721 echo -n ".$xml2_config_minor_version"
3722 echo ".$xml2_config_micro_version) was found."
3723 echo -n "*** You need a version of xml2 newer than "
3724 echo -n "$xml2_wanted_major_version"
3725 echo -n ".$xml2_wanted_minor_version"
3726 echo ".$xml2_wanted_micro_version."
3727 echo "***"
3728 echo "*** If you have already installed a sufficiently new version, this error"
3729 echo "*** probably means that the wrong copy of the xml2-config shell script is"
3730 echo "*** being found. The easiest way to fix this is to remove the old version"
3731 echo "*** of xml2, but you can also set the XML2_CONFIG environment to point to the"
3732 echo "*** correct copy of xml2-config. (In this case, you will have to"
3733 echo "*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf"
3734 echo "*** so that the correct libraries are found at run-time)"
3735 fi
3736
3737 fi
3738 if test "x$no_xml2" = x ; then
3739 echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6
3741 :
3742 else
3743 echo "$as_me:$LINENO: result: no" >&5
3744 echo "${ECHO_T}no" >&6
3745 if test "$XML2_CONFIG" = "no" ; then
3746 echo "*** The xml2-config script installed by xml2 could not be found"
3747 echo "*** If xml2 was installed in PREFIX, make sure PREFIX/bin is in"
3748 echo "*** your path, or set the XML2_CONFIG environment variable to the"
3749 echo "*** full path to xml2-config."
3750 fi
3751 XML2_CFLAGS=""
3752 XML2_LIBS=""
3753 { { echo "$as_me:$LINENO: error: required XML Library (libxml2) not found - See http://xmlsoft.org" >&5
3754 echo "$as_me: error: required XML Library (libxml2) not found - See http://xmlsoft.org" >&2;}
3755 { (exit 1); exit 1; }; }
3756 fi
3757
3758
3759
3760
3761
3762
3763
3764 for arg in $XML2_CFLAGS
3765 do
3766 if { cat <<EOF
3767 $CXXFLAGS x
3768 EOF
3769 } | $FGREP -v -e " $arg " > /dev/null
3770 then
3771 CXXFLAGS="$CXXFLAGS $arg"
3772 fi
3773 done
3774
3775
3776 xt_compare="$LIBS"
3777 xt_filtered=""
3778 for arg in $XML2_LIBS
3779 do
3780 if { cat <<EOF
3781 $xt_compare x
3782 EOF
3783 } | $FGREP -v -e " $arg " > /dev/null
3784 then
3785 xt_compare="$arg $xt_compare"
3786 xt_filtered="$xt_filtered $arg"
3787 fi
3788 done
3789 LIBS="$xt_filtered $LIBS"
3790
3791
3792
3793 for arg in -I../../libopas
3794 do
3795 if { cat <<EOF
3796 $CXXFLAGS x
3797 EOF
3798 } | $FGREP -v -e " $arg " > /dev/null
3799 then
3800 CXXFLAGS="$CXXFLAGS $arg"
3801 fi
3802 done
3803
3804
3805 for arg in -I../../libopas
3806 do
3807 if { cat <<EOF
3808 $CFLAGS x
3809 EOF
3810 } | $FGREP -v -e " $arg " > /dev/null
3811 then
3812 CFLAGS="$CFLAGS $arg"
3813 fi
3814 done
3815
3816
3817
3818 for arg in -I../../ipcache
3819 do
3820 if { cat <<EOF
3821 $CXXFLAGS x
3822 EOF
3823 } | $FGREP -v -e " $arg " > /dev/null
3824 then
3825 CXXFLAGS="$CXXFLAGS $arg"
3826 fi
3827 done
3828
3829
3830 for arg in -I../../ipcache
3831 do
3832 if { cat <<EOF
3833 $CFLAGS x
3834 EOF
3835 } | $FGREP -v -e " $arg " > /dev/null
3836 then
3837 CFLAGS="$CFLAGS $arg"
3838 fi
3839 done
3840
3841
3842
3843 ac_ext=c
3844 ac_cpp='$CPP $CPPFLAGS'
3845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3848 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3849 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3850 # On Suns, sometimes $CPP names a directory.
3851 if test -n "$CPP" && test -d "$CPP"; then
3852 CPP=
3853 fi
3854 if test -z "$CPP"; then
3855 if test "${ac_cv_prog_CPP+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 else
3858 # Double quotes because CPP needs to be expanded
3859 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3860 do
3861 ac_preproc_ok=false
3862 for ac_c_preproc_warn_flag in '' yes
3863 do
3864 # Use a header file that comes with gcc, so configuring glibc
3865 # with a fresh cross-compiler works.
3866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3867 # <limits.h> exists even on freestanding compilers.
3868 # On the NeXT, cc -E runs the code through the compiler's parser,
3869 # not just through cpp. "Syntax error" is here to catch this case.
3870 cat >conftest.$ac_ext <<_ACEOF
3871 /* confdefs.h. */
3872 _ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 #ifdef __STDC__
3877 # include <limits.h>
3878 #else
3879 # include <assert.h>
3880 #endif
3881 Syntax error
3882 _ACEOF
3883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3885 ac_status=$?
3886 grep -v '^ *+' conftest.er1 >conftest.err
3887 rm -f conftest.er1
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } >/dev/null; then
3891 if test -s conftest.err; then
3892 ac_cpp_err=$ac_c_preproc_warn_flag
3893 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3894 else
3895 ac_cpp_err=
3896 fi
3897 else
3898 ac_cpp_err=yes
3899 fi
3900 if test -z "$ac_cpp_err"; then
3901 :
3902 else
3903 echo "$as_me: failed program was:" >&5
3904 sed 's/^/| /' conftest.$ac_ext >&5
3905
3906 # Broken: fails on valid input.
3907 continue
3908 fi
3909 rm -f conftest.err conftest.$ac_ext
3910
3911 # OK, works on sane cases. Now check whether non-existent headers
3912 # can be detected and how.
3913 cat >conftest.$ac_ext <<_ACEOF
3914 /* confdefs.h. */
3915 _ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3919 #include <ac_nonexistent.h>
3920 _ACEOF
3921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3923 ac_status=$?
3924 grep -v '^ *+' conftest.er1 >conftest.err
3925 rm -f conftest.er1
3926 cat conftest.err >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } >/dev/null; then
3929 if test -s conftest.err; then
3930 ac_cpp_err=$ac_c_preproc_warn_flag
3931 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3932 else
3933 ac_cpp_err=
3934 fi
3935 else
3936 ac_cpp_err=yes
3937 fi
3938 if test -z "$ac_cpp_err"; then
3939 # Broken: success on invalid input.
3940 continue
3941 else
3942 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.$ac_ext >&5
3944
3945 # Passes both tests.
3946 ac_preproc_ok=:
3947 break
3948 fi
3949 rm -f conftest.err conftest.$ac_ext
3950
3951 done
3952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3953 rm -f conftest.err conftest.$ac_ext
3954 if $ac_preproc_ok; then
3955 break
3956 fi
3957
3958 done
3959 ac_cv_prog_CPP=$CPP
3960
3961 fi
3962 CPP=$ac_cv_prog_CPP
3963 else
3964 ac_cv_prog_CPP=$CPP
3965 fi
3966 echo "$as_me:$LINENO: result: $CPP" >&5
3967 echo "${ECHO_T}$CPP" >&6
3968 ac_preproc_ok=false
3969 for ac_c_preproc_warn_flag in '' yes
3970 do
3971 # Use a header file that comes with gcc, so configuring glibc
3972 # with a fresh cross-compiler works.
3973 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3974 # <limits.h> exists even on freestanding compilers.
3975 # On the NeXT, cc -E runs the code through the compiler's parser,
3976 # not just through cpp. "Syntax error" is here to catch this case.
3977 cat >conftest.$ac_ext <<_ACEOF
3978 /* confdefs.h. */
3979 _ACEOF
3980 cat confdefs.h >>conftest.$ac_ext
3981 cat >>conftest.$ac_ext <<_ACEOF
3982 /* end confdefs.h. */
3983 #ifdef __STDC__
3984 # include <limits.h>
3985 #else
3986 # include <assert.h>
3987 #endif
3988 Syntax error
3989 _ACEOF
3990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3992 ac_status=$?
3993 grep -v '^ *+' conftest.er1 >conftest.err
3994 rm -f conftest.er1
3995 cat conftest.err >&5
3996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997 (exit $ac_status); } >/dev/null; then
3998 if test -s conftest.err; then
3999 ac_cpp_err=$ac_c_preproc_warn_flag
4000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4001 else
4002 ac_cpp_err=
4003 fi
4004 else
4005 ac_cpp_err=yes
4006 fi
4007 if test -z "$ac_cpp_err"; then
4008 :
4009 else
4010 echo "$as_me: failed program was:" >&5
4011 sed 's/^/| /' conftest.$ac_ext >&5
4012
4013 # Broken: fails on valid input.
4014 continue
4015 fi
4016 rm -f conftest.err conftest.$ac_ext
4017
4018 # OK, works on sane cases. Now check whether non-existent headers
4019 # can be detected and how.
4020 cat >conftest.$ac_ext <<_ACEOF
4021 /* confdefs.h. */
4022 _ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4026 #include <ac_nonexistent.h>
4027 _ACEOF
4028 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4029 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4030 ac_status=$?
4031 grep -v '^ *+' conftest.er1 >conftest.err
4032 rm -f conftest.er1
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } >/dev/null; then
4036 if test -s conftest.err; then
4037 ac_cpp_err=$ac_c_preproc_warn_flag
4038 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4039 else
4040 ac_cpp_err=
4041 fi
4042 else
4043 ac_cpp_err=yes
4044 fi
4045 if test -z "$ac_cpp_err"; then
4046 # Broken: success on invalid input.
4047 continue
4048 else
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4051
4052 # Passes both tests.
4053 ac_preproc_ok=:
4054 break
4055 fi
4056 rm -f conftest.err conftest.$ac_ext
4057
4058 done
4059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4060 rm -f conftest.err conftest.$ac_ext
4061 if $ac_preproc_ok; then
4062 :
4063 else
4064 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4065 See \`config.log' for more details." >&5
4066 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4067 See \`config.log' for more details." >&2;}
4068 { (exit 1); exit 1; }; }
4069 fi
4070
4071 ac_ext=c
4072 ac_cpp='$CPP $CPPFLAGS'
4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4076
4077
4078 echo "$as_me:$LINENO: checking for egrep" >&5
4079 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4080 if test "${ac_cv_prog_egrep+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 else
4083 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4084 then ac_cv_prog_egrep='grep -E'
4085 else ac_cv_prog_egrep='egrep'
4086 fi
4087 fi
4088 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4089 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4090 EGREP=$ac_cv_prog_egrep
4091
4092
4093 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4094 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4095 if test "${ac_cv_header_stdc+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098 cat >conftest.$ac_ext <<_ACEOF
4099 /* confdefs.h. */
4100 _ACEOF
4101 cat confdefs.h >>conftest.$ac_ext
4102 cat >>conftest.$ac_ext <<_ACEOF
4103 /* end confdefs.h. */
4104 #include <stdlib.h>
4105 #include <stdarg.h>
4106 #include <string.h>
4107 #include <float.h>
4108
4109 int
4110 main ()
4111 {
4112
4113 ;
4114 return 0;
4115 }
4116 _ACEOF
4117 rm -f conftest.$ac_objext
4118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4119 (eval $ac_compile) 2>conftest.er1
4120 ac_status=$?
4121 grep -v '^ *+' conftest.er1 >conftest.err
4122 rm -f conftest.er1
4123 cat conftest.err >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } &&
4126 { ac_try='test -z "$ac_c_werror_flag"
4127 || test ! -s conftest.err'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4129 (eval $ac_try) 2>&5
4130 ac_status=$?
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; } &&
4133 { ac_try='test -s conftest.$ac_objext'
4134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4135 (eval $ac_try) 2>&5
4136 ac_status=$?
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); }; }; then
4139 ac_cv_header_stdc=yes
4140 else
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4143
4144 ac_cv_header_stdc=no
4145 fi
4146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4147
4148 if test $ac_cv_header_stdc = yes; then
4149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4150 cat >conftest.$ac_ext <<_ACEOF
4151 /* confdefs.h. */
4152 _ACEOF
4153 cat confdefs.h >>conftest.$ac_ext
4154 cat >>conftest.$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4156 #include <string.h>
4157
4158 _ACEOF
4159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4160 $EGREP "memchr" >/dev/null 2>&1; then
4161 :
4162 else
4163 ac_cv_header_stdc=no
4164 fi
4165 rm -f conftest*
4166
4167 fi
4168
4169 if test $ac_cv_header_stdc = yes; then
4170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4171 cat >conftest.$ac_ext <<_ACEOF
4172 /* confdefs.h. */
4173 _ACEOF
4174 cat confdefs.h >>conftest.$ac_ext
4175 cat >>conftest.$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4177 #include <stdlib.h>
4178
4179 _ACEOF
4180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4181 $EGREP "free" >/dev/null 2>&1; then
4182 :
4183 else
4184 ac_cv_header_stdc=no
4185 fi
4186 rm -f conftest*
4187
4188 fi
4189
4190 if test $ac_cv_header_stdc = yes; then
4191 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4192 if test "$cross_compiling" = yes; then
4193 :
4194 else
4195 cat >conftest.$ac_ext <<_ACEOF
4196 /* confdefs.h. */
4197 _ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
4201 #include <ctype.h>
4202 #if ((' ' & 0x0FF) == 0x020)
4203 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4204 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4205 #else
4206 # define ISLOWER(c) \
4207 (('a' <= (c) && (c) <= 'i') \
4208 || ('j' <= (c) && (c) <= 'r') \
4209 || ('s' <= (c) && (c) <= 'z'))
4210 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4211 #endif
4212
4213 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4214 int
4215 main ()
4216 {
4217 int i;
4218 for (i = 0; i < 256; i++)
4219 if (XOR (islower (i), ISLOWER (i))
4220 || toupper (i) != TOUPPER (i))
4221 exit(2);
4222 exit (0);
4223 }
4224 _ACEOF
4225 rm -f conftest$ac_exeext
4226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4227 (eval $ac_link) 2>&5
4228 ac_status=$?
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 (eval $ac_try) 2>&5
4233 ac_status=$?
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; }; then
4236 :
4237 else
4238 echo "$as_me: program exited with status $ac_status" >&5
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4241
4242 ( exit $ac_status )
4243 ac_cv_header_stdc=no
4244 fi
4245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4246 fi
4247 fi
4248 fi
4249 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4250 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4251 if test $ac_cv_header_stdc = yes; then
4252
4253 cat >>confdefs.h <<\_ACEOF
4254 #define STDC_HEADERS 1
4255 _ACEOF
4256
4257 fi
4258
4259 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4270 inttypes.h stdint.h unistd.h
4271 do
4272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4273 echo "$as_me:$LINENO: checking for $ac_header" >&5
4274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 else
4278 cat >conftest.$ac_ext <<_ACEOF
4279 /* confdefs.h. */
4280 _ACEOF
4281 cat confdefs.h >>conftest.$ac_ext
4282 cat >>conftest.$ac_ext <<_ACEOF
4283 /* end confdefs.h. */
4284 $ac_includes_default
4285
4286 #include <$ac_header>
4287 _ACEOF
4288 rm -f conftest.$ac_objext
4289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4290 (eval $ac_compile) 2>conftest.er1
4291 ac_status=$?
4292 grep -v '^ *+' conftest.er1 >conftest.err
4293 rm -f conftest.er1
4294 cat conftest.err >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); } &&
4297 { ac_try='test -z "$ac_c_werror_flag"
4298 || test ! -s conftest.err'
4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4300 (eval $ac_try) 2>&5
4301 ac_status=$?
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }; } &&
4304 { ac_try='test -s conftest.$ac_objext'
4305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4306 (eval $ac_try) 2>&5
4307 ac_status=$?
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); }; }; then
4310 eval "$as_ac_Header=yes"
4311 else
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4314
4315 eval "$as_ac_Header=no"
4316 fi
4317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4318 fi
4319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4322 cat >>confdefs.h <<_ACEOF
4323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4324 _ACEOF
4325
4326 fi
4327
4328 done
4329
4330
4331
4332 for ac_header in signal.h
4333 do
4334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4336 echo "$as_me:$LINENO: checking for $ac_header" >&5
4337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 fi
4341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4343 else
4344 # Is the header compilable?
4345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4347 cat >conftest.$ac_ext <<_ACEOF
4348 /* confdefs.h. */
4349 _ACEOF
4350 cat confdefs.h >>conftest.$ac_ext
4351 cat >>conftest.$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4353 $ac_includes_default
4354 #include <$ac_header>
4355 _ACEOF
4356 rm -f conftest.$ac_objext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } &&
4365 { ac_try='test -z "$ac_c_werror_flag"
4366 || test ! -s conftest.err'
4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368 (eval $ac_try) 2>&5
4369 ac_status=$?
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); }; } &&
4372 { ac_try='test -s conftest.$ac_objext'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 (eval $ac_try) 2>&5
4375 ac_status=$?
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; }; then
4378 ac_header_compiler=yes
4379 else
4380 echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.$ac_ext >&5
4382
4383 ac_header_compiler=no
4384 fi
4385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4387 echo "${ECHO_T}$ac_header_compiler" >&6
4388
4389 # Is the header present?
4390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4392 cat >conftest.$ac_ext <<_ACEOF
4393 /* confdefs.h. */
4394 _ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4398 #include <$ac_header>
4399 _ACEOF
4400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4402 ac_status=$?
4403 grep -v '^ *+' conftest.er1 >conftest.err
4404 rm -f conftest.er1
4405 cat conftest.err >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); } >/dev/null; then
4408 if test -s conftest.err; then
4409 ac_cpp_err=$ac_c_preproc_warn_flag
4410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4411 else
4412 ac_cpp_err=
4413 fi
4414 else
4415 ac_cpp_err=yes
4416 fi
4417 if test -z "$ac_cpp_err"; then
4418 ac_header_preproc=yes
4419 else
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.$ac_ext >&5
4422
4423 ac_header_preproc=no
4424 fi
4425 rm -f conftest.err conftest.$ac_ext
4426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4427 echo "${ECHO_T}$ac_header_preproc" >&6
4428
4429 # So? What about this header?
4430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4431 yes:no: )
4432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4436 ac_header_preproc=yes
4437 ;;
4438 no:yes:* )
4439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4451 (
4452 cat <<\_ASBOX
4453 ## ------------------------------- ##
4454 ## Report this to mbuna@bugged.org ##
4455 ## ------------------------------- ##
4456 _ASBOX
4457 ) |
4458 sed "s/^/$as_me: WARNING: /" >&2
4459 ;;
4460 esac
4461 echo "$as_me:$LINENO: checking for $ac_header" >&5
4462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4465 else
4466 eval "$as_ac_Header=\$ac_header_preproc"
4467 fi
4468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4470
4471 fi
4472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4473 cat >>confdefs.h <<_ACEOF
4474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4475 _ACEOF
4476
4477 fi
4478
4479 done
4480
4481
4482 echo "$as_me:$LINENO: checking for inline" >&5
4483 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4484 if test "${ac_cv_c_inline+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4487 ac_cv_c_inline=no
4488 for ac_kw in inline __inline__ __inline; do
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 #ifndef __cplusplus
4496 typedef int foo_t;
4497 static $ac_kw foo_t static_foo () {return 0; }
4498 $ac_kw foo_t foo () {return 0; }
4499 #endif
4500
4501 _ACEOF
4502 rm -f conftest.$ac_objext
4503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4504 (eval $ac_compile) 2>conftest.er1
4505 ac_status=$?
4506 grep -v '^ *+' conftest.er1 >conftest.err
4507 rm -f conftest.er1
4508 cat conftest.err >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } &&
4511 { ac_try='test -z "$ac_c_werror_flag"
4512 || test ! -s conftest.err'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 (eval $ac_try) 2>&5
4515 ac_status=$?
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; } &&
4518 { ac_try='test -s conftest.$ac_objext'
4519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 (eval $ac_try) 2>&5
4521 ac_status=$?
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; }; then
4524 ac_cv_c_inline=$ac_kw; break
4525 else
4526 echo "$as_me: failed program was:" >&5
4527 sed 's/^/| /' conftest.$ac_ext >&5
4528
4529 fi
4530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4531 done
4532
4533 fi
4534 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4535 echo "${ECHO_T}$ac_cv_c_inline" >&6
4536
4537
4538 case $ac_cv_c_inline in
4539 inline | yes) ;;
4540 *)
4541 case $ac_cv_c_inline in
4542 no) ac_val=;;
4543 *) ac_val=$ac_cv_c_inline;;
4544 esac
4545 cat >>confdefs.h <<_ACEOF
4546 #ifndef __cplusplus
4547 #define inline $ac_val
4548 #endif
4549 _ACEOF
4550 ;;
4551 esac
4552
4553
4554 echo "$as_me:$LINENO: checking for pid_t" >&5
4555 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4556 if test "${ac_cv_type_pid_t+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559 cat >conftest.$ac_ext <<_ACEOF
4560 /* confdefs.h. */
4561 _ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4565 $ac_includes_default
4566 int
4567 main ()
4568 {
4569 if ((pid_t *) 0)
4570 return 0;
4571 if (sizeof (pid_t))
4572 return 0;
4573 ;
4574 return 0;
4575 }
4576 _ACEOF
4577 rm -f conftest.$ac_objext
4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4579 (eval $ac_compile) 2>conftest.er1
4580 ac_status=$?
4581 grep -v '^ *+' conftest.er1 >conftest.err
4582 rm -f conftest.er1
4583 cat conftest.err >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } &&
4586 { ac_try='test -z "$ac_c_werror_flag"
4587 || test ! -s conftest.err'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 (eval $ac_try) 2>&5
4590 ac_status=$?
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; } &&
4593 { ac_try='test -s conftest.$ac_objext'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595 (eval $ac_try) 2>&5
4596 ac_status=$?
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; }; then
4599 ac_cv_type_pid_t=yes
4600 else
4601 echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4603
4604 ac_cv_type_pid_t=no
4605 fi
4606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4607 fi
4608 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4609 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4610 if test $ac_cv_type_pid_t = yes; then
4611 :
4612 else
4613
4614 cat >>confdefs.h <<_ACEOF
4615 #define pid_t int
4616 _ACEOF
4617
4618 fi
4619
4620
4621
4622 for ac_header in unistd.h vfork.h
4623 do
4624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4626 echo "$as_me:$LINENO: checking for $ac_header" >&5
4627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4629 echo $ECHO_N "(cached) $ECHO_C" >&6
4630 fi
4631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4633 else
4634 # Is the header compilable?
4635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4637 cat >conftest.$ac_ext <<_ACEOF
4638 /* confdefs.h. */
4639 _ACEOF
4640 cat confdefs.h >>conftest.$ac_ext
4641 cat >>conftest.$ac_ext <<_ACEOF
4642 /* end confdefs.h. */
4643 $ac_includes_default
4644 #include <$ac_header>
4645 _ACEOF
4646 rm -f conftest.$ac_objext
4647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4648 (eval $ac_compile) 2>conftest.er1
4649 ac_status=$?
4650 grep -v '^ *+' conftest.er1 >conftest.err
4651 rm -f conftest.er1
4652 cat conftest.err >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } &&
4655 { ac_try='test -z "$ac_c_werror_flag"
4656 || test ! -s conftest.err'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 (eval $ac_try) 2>&5
4659 ac_status=$?
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; } &&
4662 { ac_try='test -s conftest.$ac_objext'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664 (eval $ac_try) 2>&5
4665 ac_status=$?
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; }; then
4668 ac_header_compiler=yes
4669 else
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.$ac_ext >&5
4672
4673 ac_header_compiler=no
4674 fi
4675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4677 echo "${ECHO_T}$ac_header_compiler" >&6
4678
4679 # Is the header present?
4680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4682 cat >conftest.$ac_ext <<_ACEOF
4683 /* confdefs.h. */
4684 _ACEOF
4685 cat confdefs.h >>conftest.$ac_ext
4686 cat >>conftest.$ac_ext <<_ACEOF
4687 /* end confdefs.h. */
4688 #include <$ac_header>
4689 _ACEOF
4690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4692 ac_status=$?
4693 grep -v '^ *+' conftest.er1 >conftest.err
4694 rm -f conftest.er1
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } >/dev/null; then
4698 if test -s conftest.err; then
4699 ac_cpp_err=$ac_c_preproc_warn_flag
4700 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4701 else
4702 ac_cpp_err=
4703 fi
4704 else
4705 ac_cpp_err=yes
4706 fi
4707 if test -z "$ac_cpp_err"; then
4708 ac_header_preproc=yes
4709 else
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4712
4713 ac_header_preproc=no
4714 fi
4715 rm -f conftest.err conftest.$ac_ext
4716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4717 echo "${ECHO_T}$ac_header_preproc" >&6
4718
4719 # So? What about this header?
4720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4721 yes:no: )
4722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4726 ac_header_preproc=yes
4727 ;;
4728 no:yes:* )
4729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4741 (
4742 cat <<\_ASBOX
4743 ## ------------------------------- ##
4744 ## Report this to mbuna@bugged.org ##
4745 ## ------------------------------- ##
4746 _ASBOX
4747 ) |
4748 sed "s/^/$as_me: WARNING: /" >&2
4749 ;;
4750 esac
4751 echo "$as_me:$LINENO: checking for $ac_header" >&5
4752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 else
4756 eval "$as_ac_Header=\$ac_header_preproc"
4757 fi
4758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4760
4761 fi
4762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4763 cat >>confdefs.h <<_ACEOF
4764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4765 _ACEOF
4766
4767 fi
4768
4769 done
4770
4771
4772
4773 for ac_func in fork vfork
4774 do
4775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4776 echo "$as_me:$LINENO: checking for $ac_func" >&5
4777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4778 if eval "test \"\${$as_ac_var+set}\" = set"; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 else
4781 cat >conftest.$ac_ext <<_ACEOF
4782 /* confdefs.h. */
4783 _ACEOF
4784 cat confdefs.h >>conftest.$ac_ext
4785 cat >>conftest.$ac_ext <<_ACEOF
4786 /* end confdefs.h. */
4787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4789 #define $ac_func innocuous_$ac_func
4790
4791 /* System header to define __stub macros and hopefully few prototypes,
4792 which can conflict with char $ac_func (); below.
4793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4794 <limits.h> exists even on freestanding compilers. */
4795
4796 #ifdef __STDC__
4797 # include <limits.h>
4798 #else
4799 # include <assert.h>
4800 #endif
4801
4802 #undef $ac_func
4803
4804 /* Override any gcc2 internal prototype to avoid an error. */
4805 #ifdef __cplusplus
4806 extern "C"
4807 {
4808 #endif
4809 /* We use char because int might match the return type of a gcc2
4810 builtin and then its argument prototype would still apply. */
4811 char $ac_func ();
4812 /* The GNU C library defines this for functions which it implements
4813 to always fail with ENOSYS. Some functions are actually named
4814 something starting with __ and the normal name is an alias. */
4815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4816 choke me
4817 #else
4818 char (*f) () = $ac_func;
4819 #endif
4820 #ifdef __cplusplus
4821 }
4822 #endif
4823
4824 int
4825 main ()
4826 {
4827 return f != $ac_func;
4828 ;
4829 return 0;
4830 }
4831 _ACEOF
4832 rm -f conftest.$ac_objext conftest$ac_exeext
4833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4834 (eval $ac_link) 2>conftest.er1
4835 ac_status=$?
4836 grep -v '^ *+' conftest.er1 >conftest.err
4837 rm -f conftest.er1
4838 cat conftest.err >&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); } &&
4841 { ac_try='test -z "$ac_c_werror_flag"
4842 || test ! -s conftest.err'
4843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4844 (eval $ac_try) 2>&5
4845 ac_status=$?
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; } &&
4848 { ac_try='test -s conftest$ac_exeext'
4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 (eval $ac_try) 2>&5
4851 ac_status=$?
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; }; then
4854 eval "$as_ac_var=yes"
4855 else
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4858
4859 eval "$as_ac_var=no"
4860 fi
4861 rm -f conftest.err conftest.$ac_objext \
4862 conftest$ac_exeext conftest.$ac_ext
4863 fi
4864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4866 if test `eval echo '${'$as_ac_var'}'` = yes; then
4867 cat >>confdefs.h <<_ACEOF
4868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4869 _ACEOF
4870
4871 fi
4872 done
4873
4874 if test "x$ac_cv_func_fork" = xyes; then
4875 echo "$as_me:$LINENO: checking for working fork" >&5
4876 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
4877 if test "${ac_cv_func_fork_works+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 else
4880 if test "$cross_compiling" = yes; then
4881 ac_cv_func_fork_works=cross
4882 else
4883 cat >conftest.$ac_ext <<_ACEOF
4884 /* By Ruediger Kuhlmann. */
4885 #include <sys/types.h>
4886 #if HAVE_UNISTD_H
4887 # include <unistd.h>
4888 #endif
4889 /* Some systems only have a dummy stub for fork() */
4890 int main ()
4891 {
4892 if (fork() < 0)
4893 exit (1);
4894 exit (0);
4895 }
4896 _ACEOF
4897 rm -f conftest$ac_exeext
4898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4899 (eval $ac_link) 2>&5
4900 ac_status=$?
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 (eval $ac_try) 2>&5
4905 ac_status=$?
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); }; }; then
4908 ac_cv_func_fork_works=yes
4909 else
4910 echo "$as_me: program exited with status $ac_status" >&5
4911 echo "$as_me: failed program was:" >&5
4912 sed 's/^/| /' conftest.$ac_ext >&5
4913
4914 ( exit $ac_status )
4915 ac_cv_func_fork_works=no
4916 fi
4917 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4918 fi
4919 fi
4920 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
4921 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
4922
4923 else
4924 ac_cv_func_fork_works=$ac_cv_func_fork
4925 fi
4926 if test "x$ac_cv_func_fork_works" = xcross; then
4927 case $host in
4928 *-*-amigaos* | *-*-msdosdjgpp*)
4929 # Override, as these systems have only a dummy fork() stub
4930 ac_cv_func_fork_works=no
4931 ;;
4932 *)
4933 ac_cv_func_fork_works=yes
4934 ;;
4935 esac
4936 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4937 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4938 fi
4939 ac_cv_func_vfork_works=$ac_cv_func_vfork
4940 if test "x$ac_cv_func_vfork" = xyes; then
4941 echo "$as_me:$LINENO: checking for working vfork" >&5
4942 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
4943 if test "${ac_cv_func_vfork_works+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4945 else
4946 if test "$cross_compiling" = yes; then
4947 ac_cv_func_vfork_works=cross
4948 else
4949 cat >conftest.$ac_ext <<_ACEOF
4950 /* confdefs.h. */
4951 _ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4955 /* Thanks to Paul Eggert for this test. */
4956 #include <stdio.h>
4957 #include <stdlib.h>
4958 #include <sys/types.h>
4959 #include <sys/stat.h>
4960 #include <sys/wait.h>
4961 #if HAVE_UNISTD_H
4962 # include <unistd.h>
4963 #endif
4964 #if HAVE_VFORK_H
4965 # include <vfork.h>
4966 #endif
4967 /* On some sparc systems, changes by the child to local and incoming
4968 argument registers are propagated back to the parent. The compiler
4969 is told about this with #include <vfork.h>, but some compilers
4970 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4971 static variable whose address is put into a register that is
4972 clobbered by the vfork. */
4973 static void
4974 #ifdef __cplusplus
4975 sparc_address_test (int arg)
4976 # else
4977 sparc_address_test (arg) int arg;
4978 #endif
4979 {
4980 static pid_t child;
4981 if (!child) {
4982 child = vfork ();
4983 if (child < 0) {
4984 perror ("vfork");
4985 _exit(2);
4986 }
4987 if (!child) {
4988 arg = getpid();
4989 write(-1, "", 0);
4990 _exit (arg);
4991 }
4992 }
4993 }
4994
4995 int
4996 main ()
4997 {
4998 pid_t parent = getpid ();
4999 pid_t child;
5000
5001 sparc_address_test (0);
5002
5003 child = vfork ();
5004
5005 if (child == 0) {
5006 /* Here is another test for sparc vfork register problems. This
5007 test uses lots of local variables, at least as many local
5008 variables as main has allocated so far including compiler
5009 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5010 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5011 reuse the register of parent for one of the local variables,
5012 since it will think that parent can't possibly be used any more
5013 in this routine. Assigning to the local variable will thus
5014 munge parent in the parent process. */
5015 pid_t
5016 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5017 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5018 /* Convince the compiler that p..p7 are live; otherwise, it might
5019 use the same hardware register for all 8 local variables. */
5020 if (p != p1 || p != p2 || p != p3 || p != p4
5021 || p != p5 || p != p6 || p != p7)
5022 _exit(1);
5023
5024 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5025 from child file descriptors. If the child closes a descriptor
5026 before it execs or exits, this munges the parent's descriptor
5027 as well. Test for this by closing stdout in the child. */
5028 _exit(close(fileno(stdout)) != 0);
5029 } else {
5030 int status;
5031 struct stat st;
5032
5033 while (wait(&status) != child)
5034 ;
5035 exit(
5036 /* Was there some problem with vforking? */
5037 child < 0
5038
5039 /* Did the child fail? (This shouldn't happen.) */
5040 || status
5041
5042 /* Did the vfork/compiler bug occur? */
5043 || parent != getpid()
5044
5045 /* Did the file descriptor bug occur? */
5046 || fstat(fileno(stdout), &st) != 0
5047 );
5048 }
5049 }
5050 _ACEOF
5051 rm -f conftest$ac_exeext
5052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5053 (eval $ac_link) 2>&5
5054 ac_status=$?
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 (eval $ac_try) 2>&5
5059 ac_status=$?
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; }; then
5062 ac_cv_func_vfork_works=yes
5063 else
5064 echo "$as_me: program exited with status $ac_status" >&5
5065 echo "$as_me: failed program was:" >&5
5066 sed 's/^/| /' conftest.$ac_ext >&5
5067
5068 ( exit $ac_status )
5069 ac_cv_func_vfork_works=no
5070 fi
5071 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5072 fi
5073 fi
5074 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
5075 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
5076
5077 fi;
5078 if test "x$ac_cv_func_fork_works" = xcross; then
5079 ac_cv_func_vfork_works=$ac_cv_func_vfork
5080 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5081 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5082 fi
5083
5084 if test "x$ac_cv_func_vfork_works" = xyes; then
5085
5086 cat >>confdefs.h <<\_ACEOF
5087 #define HAVE_WORKING_VFORK 1
5088 _ACEOF
5089
5090 else
5091
5092 cat >>confdefs.h <<\_ACEOF
5093 #define vfork fork
5094 _ACEOF
5095
5096 fi
5097 if test "x$ac_cv_func_fork_works" = xyes; then
5098
5099 cat >>confdefs.h <<\_ACEOF
5100 #define HAVE_WORKING_FORK 1
5101 _ACEOF
5102
5103 fi
5104
5105
5106
5107
5108
5109
5110
5111 for ac_func in gethostbyname gettimeofday memset select socket strerror
5112 do
5113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5114 echo "$as_me:$LINENO: checking for $ac_func" >&5
5115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5116 if eval "test \"\${$as_ac_var+set}\" = set"; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 else
5119 cat >conftest.$ac_ext <<_ACEOF
5120 /* confdefs.h. */
5121 _ACEOF
5122 cat confdefs.h >>conftest.$ac_ext
5123 cat >>conftest.$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5127 #define $ac_func innocuous_$ac_func
5128
5129 /* System header to define __stub macros and hopefully few prototypes,
5130 which can conflict with char $ac_func (); below.
5131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5132 <limits.h> exists even on freestanding compilers. */
5133
5134 #ifdef __STDC__
5135 # include <limits.h>
5136 #else
5137 # include <assert.h>
5138 #endif
5139
5140 #undef $ac_func
5141
5142 /* Override any gcc2 internal prototype to avoid an error. */
5143 #ifdef __cplusplus
5144 extern "C"
5145 {
5146 #endif
5147 /* We use char because int might match the return type of a gcc2
5148 builtin and then its argument prototype would still apply. */
5149 char $ac_func ();
5150 /* The GNU C library defines this for functions which it implements
5151 to always fail with ENOSYS. Some functions are actually named
5152 something starting with __ and the normal name is an alias. */
5153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5154 choke me
5155 #else
5156 char (*f) () = $ac_func;
5157 #endif
5158 #ifdef __cplusplus
5159 }
5160 #endif
5161
5162 int
5163 main ()
5164 {
5165 return f != $ac_func;
5166 ;
5167 return 0;
5168 }
5169 _ACEOF
5170 rm -f conftest.$ac_objext conftest$ac_exeext
5171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5172 (eval $ac_link) 2>conftest.er1
5173 ac_status=$?
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } &&
5179 { ac_try='test -z "$ac_c_werror_flag"
5180 || test ! -s conftest.err'
5181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 (eval $ac_try) 2>&5
5183 ac_status=$?
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); }; } &&
5186 { ac_try='test -s conftest$ac_exeext'
5187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 (eval $ac_try) 2>&5
5189 ac_status=$?
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); }; }; then
5192 eval "$as_ac_var=yes"
5193 else
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5196
5197 eval "$as_ac_var=no"
5198 fi
5199 rm -f conftest.err conftest.$ac_objext \
5200 conftest$ac_exeext conftest.$ac_ext
5201 fi
5202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5204 if test `eval echo '${'$as_ac_var'}'` = yes; then
5205 cat >>confdefs.h <<_ACEOF
5206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5207 _ACEOF
5208
5209 fi
5210 done
5211
5212
5213 for ac_func in strerror_r
5214 do
5215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5216 echo "$as_me:$LINENO: checking for $ac_func" >&5
5217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5218 if eval "test \"\${$as_ac_var+set}\" = set"; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 else
5221 cat >conftest.$ac_ext <<_ACEOF
5222 /* confdefs.h. */
5223 _ACEOF
5224 cat confdefs.h >>conftest.$ac_ext
5225 cat >>conftest.$ac_ext <<_ACEOF
5226 /* end confdefs.h. */
5227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5229 #define $ac_func innocuous_$ac_func
5230
5231 /* System header to define __stub macros and hopefully few prototypes,
5232 which can conflict with char $ac_func (); below.
5233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5234 <limits.h> exists even on freestanding compilers. */
5235
5236 #ifdef __STDC__
5237 # include <limits.h>
5238 #else
5239 # include <assert.h>
5240 #endif
5241
5242 #undef $ac_func
5243
5244 /* Override any gcc2 internal prototype to avoid an error. */
5245 #ifdef __cplusplus
5246 extern "C"
5247 {
5248 #endif
5249 /* We use char because int might match the return type of a gcc2
5250 builtin and then its argument prototype would still apply. */
5251 char $ac_func ();
5252 /* The GNU C library defines this for functions which it implements
5253 to always fail with ENOSYS. Some functions are actually named
5254 something starting with __ and the normal name is an alias. */
5255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5256 choke me
5257 #else
5258 char (*f) () = $ac_func;
5259 #endif
5260 #ifdef __cplusplus
5261 }
5262 #endif
5263
5264 int
5265 main ()
5266 {
5267 return f != $ac_func;
5268 ;
5269 return 0;
5270 }
5271 _ACEOF
5272 rm -f conftest.$ac_objext conftest$ac_exeext
5273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5274 (eval $ac_link) 2>conftest.er1
5275 ac_status=$?
5276 grep -v '^ *+' conftest.er1 >conftest.err
5277 rm -f conftest.er1
5278 cat conftest.err >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); } &&
5281 { ac_try='test -z "$ac_c_werror_flag"
5282 || test ! -s conftest.err'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 (eval $ac_try) 2>&5
5285 ac_status=$?
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; } &&
5288 { ac_try='test -s conftest$ac_exeext'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290 (eval $ac_try) 2>&5
5291 ac_status=$?
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; }; then
5294 eval "$as_ac_var=yes"
5295 else
5296 echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.$ac_ext >&5
5298
5299 eval "$as_ac_var=no"
5300 fi
5301 rm -f conftest.err conftest.$ac_objext \
5302 conftest$ac_exeext conftest.$ac_ext
5303 fi
5304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5306 if test `eval echo '${'$as_ac_var'}'` = yes; then
5307 cat >>confdefs.h <<_ACEOF
5308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5309 _ACEOF
5310
5311 fi
5312 done
5313
5314
5315 ac_config_files="$ac_config_files Makefile src/Makefile px/Makefile"
5316
5317 cat >confcache <<\_ACEOF
5318 # This file is a shell script that caches the results of configure
5319 # tests run on this system so they can be shared between configure
5320 # scripts and configure runs, see configure's option --config-cache.
5321 # It is not useful on other systems. If it contains results you don't
5322 # want to keep, you may remove or edit it.
5323 #
5324 # config.status only pays attention to the cache file if you give it
5325 # the --recheck option to rerun configure.
5326 #
5327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5329 # following values.
5330
5331 _ACEOF
5332
5333 # The following way of writing the cache mishandles newlines in values,
5334 # but we know of no workaround that is simple, portable, and efficient.
5335 # So, don't put newlines in cache variables' values.
5336 # Ultrix sh set writes to stderr and can't be redirected directly,
5337 # and sets the high bit in the cache file unless we assign to the vars.
5338 {
5339 (set) 2>&1 |
5340 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5341 *ac_space=\ *)
5342 # `set' does not quote correctly, so add quotes (double-quote
5343 # substitution turns \\\\ into \\, and sed turns \\ into \).
5344 sed -n \
5345 "s/'/'\\\\''/g;
5346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5347 ;;
5348 *)
5349 # `set' quotes correctly as required by POSIX, so do not add quotes.
5350 sed -n \
5351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5352 ;;
5353 esac;
5354 } |
5355 sed '
5356 t clear
5357 : clear
5358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5359 t end
5360 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5361 : end' >>confcache
5362 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5363 if test -w $cache_file; then
5364 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5365 cat confcache >$cache_file
5366 else
5367 echo "not updating unwritable cache $cache_file"
5368 fi
5369 fi
5370 rm -f confcache
5371
5372 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5373 # Let make expand exec_prefix.
5374 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5375
5376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5378 # trailing colons and then remove the whole line if VPATH becomes empty
5379 # (actually we leave an empty line to preserve line numbers).
5380 if test "x$srcdir" = x.; then
5381 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5382 s/:*\$(srcdir):*/:/;
5383 s/:*\${srcdir}:*/:/;
5384 s/:*@srcdir@:*/:/;
5385 s/^\([^=]*=[ ]*\):*/\1/;
5386 s/:*$//;
5387 s/^[^=]*=[ ]*$//;
5388 }'
5389 fi
5390
5391 DEFS=-DHAVE_CONFIG_H
5392
5393 ac_libobjs=
5394 ac_ltlibobjs=
5395 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5396 # 1. Remove the extension, and $U if already installed.
5397 ac_i=`echo "$ac_i" |
5398 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5399 # 2. Add them.
5400 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5401 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5402 done
5403 LIBOBJS=$ac_libobjs
5404
5405 LTLIBOBJS=$ac_ltlibobjs
5406
5407
5408 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5409 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5410 Usually this means the macro was only invoked conditionally." >&5
5411 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5412 Usually this means the macro was only invoked conditionally." >&2;}
5413 { (exit 1); exit 1; }; }
5414 fi
5415 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5416 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5417 Usually this means the macro was only invoked conditionally." >&5
5418 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5419 Usually this means the macro was only invoked conditionally." >&2;}
5420 { (exit 1); exit 1; }; }
5421 fi
5422 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5423 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5424 Usually this means the macro was only invoked conditionally." >&5
5425 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5426 Usually this means the macro was only invoked conditionally." >&2;}
5427 { (exit 1); exit 1; }; }
5428 fi
5429 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5430 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5431 Usually this means the macro was only invoked conditionally." >&5
5432 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5433 Usually this means the macro was only invoked conditionally." >&2;}
5434 { (exit 1); exit 1; }; }
5435 fi
5436
5437 : ${CONFIG_STATUS=./config.status}
5438 ac_clean_files_save=$ac_clean_files
5439 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5440 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5441 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5442 cat >$CONFIG_STATUS <<_ACEOF
5443 #! $SHELL
5444 # Generated by $as_me.
5445 # Run this file to recreate the current configuration.
5446 # Compiler output produced by configure, useful for debugging
5447 # configure, is in config.log if it exists.
5448
5449 debug=false
5450 ac_cs_recheck=false
5451 ac_cs_silent=false
5452 SHELL=\${CONFIG_SHELL-$SHELL}
5453 _ACEOF
5454
5455 cat >>$CONFIG_STATUS <<\_ACEOF
5456 ## --------------------- ##
5457 ## M4sh Initialization. ##
5458 ## --------------------- ##
5459
5460 # Be Bourne compatible
5461 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5462 emulate sh
5463 NULLCMD=:
5464 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5465 # is contrary to our usage. Disable this feature.
5466 alias -g '${1+"$@"}'='"$@"'
5467 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5468 set -o posix
5469 fi
5470 DUALCASE=1; export DUALCASE # for MKS sh
5471
5472 # Support unset when possible.
5473 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5474 as_unset=unset
5475 else
5476 as_unset=false
5477 fi
5478
5479
5480 # Work around bugs in pre-3.0 UWIN ksh.
5481 $as_unset ENV MAIL MAILPATH
5482 PS1='$ '
5483 PS2='> '
5484 PS4='+ '
5485
5486 # NLS nuisances.
5487 for as_var in \
5488 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5489 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5490 LC_TELEPHONE LC_TIME
5491 do
5492 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5493 eval $as_var=C; export $as_var
5494 else
5495 $as_unset $as_var
5496 fi
5497 done
5498
5499 # Required to use basename.
5500 if expr a : '\(a\)' >/dev/null 2>&1; then
5501 as_expr=expr
5502 else
5503 as_expr=false
5504 fi
5505
5506 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5507 as_basename=basename
5508 else
5509 as_basename=false
5510 fi
5511
5512
5513 # Name of the executable.
5514 as_me=`$as_basename "$0" ||
5515 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5516 X"$0" : 'X\(//\)$' \| \
5517 X"$0" : 'X\(/\)$' \| \
5518 . : '\(.\)' 2>/dev/null ||
5519 echo X/"$0" |
5520 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5521 /^X\/\(\/\/\)$/{ s//\1/; q; }
5522 /^X\/\(\/\).*/{ s//\1/; q; }
5523 s/.*/./; q'`
5524
5525
5526 # PATH needs CR, and LINENO needs CR and PATH.
5527 # Avoid depending upon Character Ranges.
5528 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5529 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5530 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5531 as_cr_digits='0123456789'
5532 as_cr_alnum=$as_cr_Letters$as_cr_digits
5533
5534 # The user is always right.
5535 if test "${PATH_SEPARATOR+set}" != set; then
5536 echo "#! /bin/sh" >conf$$.sh
5537 echo "exit 0" >>conf$$.sh
5538 chmod +x conf$$.sh
5539 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5540 PATH_SEPARATOR=';'
5541 else
5542 PATH_SEPARATOR=:
5543 fi
5544 rm -f conf$$.sh
5545 fi
5546
5547
5548 as_lineno_1=$LINENO
5549 as_lineno_2=$LINENO
5550 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5551 test "x$as_lineno_1" != "x$as_lineno_2" &&
5552 test "x$as_lineno_3" = "x$as_lineno_2" || {
5553 # Find who we are. Look in the path if we contain no path at all
5554 # relative or not.
5555 case $0 in
5556 *[\\/]* ) as_myself=$0 ;;
5557 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5558 for as_dir in $PATH
5559 do
5560 IFS=$as_save_IFS
5561 test -z "$as_dir" && as_dir=.
5562 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5563 done
5564
5565 ;;
5566 esac
5567 # We did not find ourselves, most probably we were run as `sh COMMAND'
5568 # in which case we are not to be found in the path.
5569 if test "x$as_myself" = x; then
5570 as_myself=$0
5571 fi
5572 if test ! -f "$as_myself"; then
5573 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5574 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5575 { (exit 1); exit 1; }; }
5576 fi
5577 case $CONFIG_SHELL in
5578 '')
5579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5580 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5581 do
5582 IFS=$as_save_IFS
5583 test -z "$as_dir" && as_dir=.
5584 for as_base in sh bash ksh sh5; do
5585 case $as_dir in
5586 /*)
5587 if ("$as_dir/$as_base" -c '
5588 as_lineno_1=$LINENO
5589 as_lineno_2=$LINENO
5590 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5591 test "x$as_lineno_1" != "x$as_lineno_2" &&
5592 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5593 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5594 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5595 CONFIG_SHELL=$as_dir/$as_base
5596 export CONFIG_SHELL
5597 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5598 fi;;
5599 esac
5600 done
5601 done
5602 ;;
5603 esac
5604
5605 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5606 # uniformly replaced by the line number. The first 'sed' inserts a
5607 # line-number line before each line; the second 'sed' does the real
5608 # work. The second script uses 'N' to pair each line-number line
5609 # with the numbered line, and appends trailing '-' during
5610 # substitution so that $LINENO is not a special case at line end.
5611 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5612 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5613 sed '=' <$as_myself |
5614 sed '
5615 N
5616 s,$,-,
5617 : loop
5618 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5619 t loop
5620 s,-$,,
5621 s,^['$as_cr_digits']*\n,,
5622 ' >$as_me.lineno &&
5623 chmod +x $as_me.lineno ||
5624 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5625 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5626 { (exit 1); exit 1; }; }
5627
5628 # Don't try to exec as it changes $[0], causing all sort of problems
5629 # (the dirname of $[0] is not the place where we might find the
5630 # original and so on. Autoconf is especially sensible to this).
5631 . ./$as_me.lineno
5632 # Exit status is that of the last command.
5633 exit
5634 }
5635
5636
5637 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5638 *c*,-n*) ECHO_N= ECHO_C='
5639 ' ECHO_T=' ' ;;
5640 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5641 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5642 esac
5643
5644 if expr a : '\(a\)' >/dev/null 2>&1; then
5645 as_expr=expr
5646 else
5647 as_expr=false
5648 fi
5649
5650 rm -f conf$$ conf$$.exe conf$$.file
5651 echo >conf$$.file
5652 if ln -s conf$$.file conf$$ 2>/dev/null; then
5653 # We could just check for DJGPP; but this test a) works b) is more generic
5654 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5655 if test -f conf$$.exe; then
5656 # Don't use ln at all; we don't have any links
5657 as_ln_s='cp -p'
5658 else
5659 as_ln_s='ln -s'
5660 fi
5661 elif ln conf$$.file conf$$ 2>/dev/null; then
5662 as_ln_s=ln
5663 else
5664 as_ln_s='cp -p'
5665 fi
5666 rm -f conf$$ conf$$.exe conf$$.file
5667
5668 if mkdir -p . 2>/dev/null; then
5669 as_mkdir_p=:
5670 else
5671 test -d ./-p && rmdir ./-p
5672 as_mkdir_p=false
5673 fi
5674
5675 as_executable_p="test -f"
5676
5677 # Sed expression to map a string onto a valid CPP name.
5678 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5679
5680 # Sed expression to map a string onto a valid variable name.
5681 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5682
5683
5684 # IFS
5685 # We need space, tab and new line, in precisely that order.
5686 as_nl='
5687 '
5688 IFS=" $as_nl"
5689
5690 # CDPATH.
5691 $as_unset CDPATH
5692
5693 exec 6>&1
5694
5695 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5696 # report actual input values of CONFIG_FILES etc. instead of their
5697 # values after options handling. Logging --version etc. is OK.
5698 exec 5>>config.log
5699 {
5700 echo
5701 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5702 ## Running $as_me. ##
5703 _ASBOX
5704 } >&5
5705 cat >&5 <<_CSEOF
5706
5707 This file was extended by Proxy scanner daemon $as_me 2.1, which was
5708 generated by GNU Autoconf 2.59. Invocation command line was
5709
5710 CONFIG_FILES = $CONFIG_FILES
5711 CONFIG_HEADERS = $CONFIG_HEADERS
5712 CONFIG_LINKS = $CONFIG_LINKS
5713 CONFIG_COMMANDS = $CONFIG_COMMANDS
5714 $ $0 $@
5715
5716 _CSEOF
5717 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5718 echo >&5
5719 _ACEOF
5720
5721 # Files that config.status was made for.
5722 if test -n "$ac_config_files"; then
5723 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5724 fi
5725
5726 if test -n "$ac_config_headers"; then
5727 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5728 fi
5729
5730 if test -n "$ac_config_links"; then
5731 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5732 fi
5733
5734 if test -n "$ac_config_commands"; then
5735 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5736 fi
5737
5738 cat >>$CONFIG_STATUS <<\_ACEOF
5739
5740 ac_cs_usage="\
5741 \`$as_me' instantiates files from templates according to the
5742 current configuration.
5743
5744 Usage: $0 [OPTIONS] [FILE]...
5745
5746 -h, --help print this help, then exit
5747 -V, --version print version number, then exit
5748 -q, --quiet do not print progress messages
5749 -d, --debug don't remove temporary files
5750 --recheck update $as_me by reconfiguring in the same conditions
5751 --file=FILE[:TEMPLATE]
5752 instantiate the configuration file FILE
5753 --header=FILE[:TEMPLATE]
5754 instantiate the configuration header FILE
5755
5756 Configuration files:
5757 $config_files
5758
5759 Configuration headers:
5760 $config_headers
5761
5762 Configuration commands:
5763 $config_commands
5764
5765 Report bugs to <bug-autoconf@gnu.org>."
5766 _ACEOF
5767
5768 cat >>$CONFIG_STATUS <<_ACEOF
5769 ac_cs_version="\\
5770 Proxy scanner daemon config.status 2.1
5771 configured by $0, generated by GNU Autoconf 2.59,
5772 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5773
5774 Copyright (C) 2003 Free Software Foundation, Inc.
5775 This config.status script is free software; the Free Software Foundation
5776 gives unlimited permission to copy, distribute and modify it."
5777 srcdir=$srcdir
5778 INSTALL="$INSTALL"
5779 _ACEOF
5780
5781 cat >>$CONFIG_STATUS <<\_ACEOF
5782 # If no file are specified by the user, then we need to provide default
5783 # value. By we need to know if files were specified by the user.
5784 ac_need_defaults=:
5785 while test $# != 0
5786 do
5787 case $1 in
5788 --*=*)
5789 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5790 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5791 ac_shift=:
5792 ;;
5793 -*)
5794 ac_option=$1
5795 ac_optarg=$2
5796 ac_shift=shift
5797 ;;
5798 *) # This is not an option, so the user has probably given explicit
5799 # arguments.
5800 ac_option=$1
5801 ac_need_defaults=false;;
5802 esac
5803
5804 case $ac_option in
5805 # Handling of the options.
5806 _ACEOF
5807 cat >>$CONFIG_STATUS <<\_ACEOF
5808 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5809 ac_cs_recheck=: ;;
5810 --version | --vers* | -V )
5811 echo "$ac_cs_version"; exit 0 ;;
5812 --he | --h)
5813 # Conflict between --help and --header
5814 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5815 Try \`$0 --help' for more information." >&5
5816 echo "$as_me: error: ambiguous option: $1
5817 Try \`$0 --help' for more information." >&2;}
5818 { (exit 1); exit 1; }; };;
5819 --help | --hel | -h )
5820 echo "$ac_cs_usage"; exit 0 ;;
5821 --debug | --d* | -d )
5822 debug=: ;;
5823 --file | --fil | --fi | --f )
5824 $ac_shift
5825 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5826 ac_need_defaults=false;;
5827 --header | --heade | --head | --hea )
5828 $ac_shift
5829 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5830 ac_need_defaults=false;;
5831 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5832 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5833 ac_cs_silent=: ;;
5834
5835 # This is an error.
5836 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5837 Try \`$0 --help' for more information." >&5
5838 echo "$as_me: error: unrecognized option: $1
5839 Try \`$0 --help' for more information." >&2;}
5840 { (exit 1); exit 1; }; } ;;
5841
5842 *) ac_config_targets="$ac_config_targets $1" ;;
5843
5844 esac
5845 shift
5846 done
5847
5848 ac_configure_extra_args=
5849
5850 if $ac_cs_silent; then
5851 exec 6>/dev/null
5852 ac_configure_extra_args="$ac_configure_extra_args --silent"
5853 fi
5854
5855 _ACEOF
5856 cat >>$CONFIG_STATUS <<_ACEOF
5857 if \$ac_cs_recheck; then
5858 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5859 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5860 fi
5861
5862 _ACEOF
5863
5864 cat >>$CONFIG_STATUS <<_ACEOF
5865 #
5866 # INIT-COMMANDS section.
5867 #
5868
5869 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5870
5871 _ACEOF
5872
5873
5874
5875 cat >>$CONFIG_STATUS <<\_ACEOF
5876 for ac_config_target in $ac_config_targets
5877 do
5878 case "$ac_config_target" in
5879 # Handling of arguments.
5880 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5881 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5882 "px/Makefile" ) CONFIG_FILES="$CONFIG_FILES px/Makefile" ;;
5883 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5884 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5885 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5886 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5887 { (exit 1); exit 1; }; };;
5888 esac
5889 done
5890
5891 # If the user did not use the arguments to specify the items to instantiate,
5892 # then the envvar interface is used. Set only those that are not.
5893 # We use the long form for the default assignment because of an extremely
5894 # bizarre bug on SunOS 4.1.3.
5895 if $ac_need_defaults; then
5896 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5897 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5898 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5899 fi
5900
5901 # Have a temporary directory for convenience. Make it in the build tree
5902 # simply because there is no reason to put it here, and in addition,
5903 # creating and moving files from /tmp can sometimes cause problems.
5904 # Create a temporary directory, and hook for its removal unless debugging.
5905 $debug ||
5906 {
5907 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5908 trap '{ (exit 1); exit 1; }' 1 2 13 15
5909 }
5910
5911 # Create a (secure) tmp directory for tmp files.
5912
5913 {
5914 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5915 test -n "$tmp" && test -d "$tmp"
5916 } ||
5917 {
5918 tmp=./confstat$$-$RANDOM
5919 (umask 077 && mkdir $tmp)
5920 } ||
5921 {
5922 echo "$me: cannot create a temporary directory in ." >&2
5923 { (exit 1); exit 1; }
5924 }
5925
5926 _ACEOF
5927
5928 cat >>$CONFIG_STATUS <<_ACEOF
5929
5930 #
5931 # CONFIG_FILES section.
5932 #
5933
5934 # No need to generate the scripts if there are no CONFIG_FILES.
5935 # This happens for instance when ./config.status config.h
5936 if test -n "\$CONFIG_FILES"; then
5937 # Protect against being on the right side of a sed subst in config.status.
5938 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5939 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5940 s,@SHELL@,$SHELL,;t t
5941 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5942 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5943 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5944 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5945 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5946 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5947 s,@exec_prefix@,$exec_prefix,;t t
5948 s,@prefix@,$prefix,;t t
5949 s,@program_transform_name@,$program_transform_name,;t t
5950 s,@bindir@,$bindir,;t t
5951 s,@sbindir@,$sbindir,;t t
5952 s,@libexecdir@,$libexecdir,;t t
5953 s,@datadir@,$datadir,;t t
5954 s,@sysconfdir@,$sysconfdir,;t t
5955 s,@sharedstatedir@,$sharedstatedir,;t t
5956 s,@localstatedir@,$localstatedir,;t t
5957 s,@libdir@,$libdir,;t t
5958 s,@includedir@,$includedir,;t t
5959 s,@oldincludedir@,$oldincludedir,;t t
5960 s,@infodir@,$infodir,;t t
5961 s,@mandir@,$mandir,;t t
5962 s,@build_alias@,$build_alias,;t t
5963 s,@host_alias@,$host_alias,;t t
5964 s,@target_alias@,$target_alias,;t t
5965 s,@DEFS@,$DEFS,;t t
5966 s,@ECHO_C@,$ECHO_C,;t t
5967 s,@ECHO_N@,$ECHO_N,;t t
5968 s,@ECHO_T@,$ECHO_T,;t t
5969 s,@LIBS@,$LIBS,;t t
5970 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5971 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5972 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5973 s,@CYGPATH_W@,$CYGPATH_W,;t t
5974 s,@PACKAGE@,$PACKAGE,;t t
5975 s,@VERSION@,$VERSION,;t t
5976 s,@ACLOCAL@,$ACLOCAL,;t t
5977 s,@AUTOCONF@,$AUTOCONF,;t t
5978 s,@AUTOMAKE@,$AUTOMAKE,;t t
5979 s,@AUTOHEADER@,$AUTOHEADER,;t t
5980 s,@MAKEINFO@,$MAKEINFO,;t t
5981 s,@install_sh@,$install_sh,;t t
5982 s,@STRIP@,$STRIP,;t t
5983 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5984 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5985 s,@mkdir_p@,$mkdir_p,;t t
5986 s,@AWK@,$AWK,;t t
5987 s,@SET_MAKE@,$SET_MAKE,;t t
5988 s,@am__leading_dot@,$am__leading_dot,;t t
5989 s,@AMTAR@,$AMTAR,;t t
5990 s,@am__tar@,$am__tar,;t t
5991 s,@am__untar@,$am__untar,;t t
5992 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5993 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5994 s,@MAINT@,$MAINT,;t t
5995 s,@CC@,$CC,;t t
5996 s,@CFLAGS@,$CFLAGS,;t t
5997 s,@LDFLAGS@,$LDFLAGS,;t t
5998 s,@CPPFLAGS@,$CPPFLAGS,;t t
5999 s,@ac_ct_CC@,$ac_ct_CC,;t t
6000 s,@EXEEXT@,$EXEEXT,;t t
6001 s,@OBJEXT@,$OBJEXT,;t t
6002 s,@DEPDIR@,$DEPDIR,;t t
6003 s,@am__include@,$am__include,;t t
6004 s,@am__quote@,$am__quote,;t t
6005 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6006 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6007 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6008 s,@CCDEPMODE@,$CCDEPMODE,;t t
6009 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6010 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6011 s,@CXX@,$CXX,;t t
6012 s,@CXXFLAGS@,$CXXFLAGS,;t t
6013 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6014 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6015 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6016 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6017 s,@PEAK_CONFIG@,$PEAK_CONFIG,;t t
6018 s,@PEAK_CFLAGS@,$PEAK_CFLAGS,;t t
6019 s,@PEAK_LIBS@,$PEAK_LIBS,;t t
6020 s,@FGREP@,$FGREP,;t t
6021 s,@XML2_CONFIG@,$XML2_CONFIG,;t t
6022 s,@XML2_CFLAGS@,$XML2_CFLAGS,;t t
6023 s,@XML2_LIBS@,$XML2_LIBS,;t t
6024 s,@CPP@,$CPP,;t t
6025 s,@EGREP@,$EGREP,;t t
6026 s,@LIBOBJS@,$LIBOBJS,;t t
6027 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6028 CEOF
6029
6030 _ACEOF
6031
6032 cat >>$CONFIG_STATUS <<\_ACEOF
6033 # Split the substitutions into bite-sized pieces for seds with
6034 # small command number limits, like on Digital OSF/1 and HP-UX.
6035 ac_max_sed_lines=48
6036 ac_sed_frag=1 # Number of current file.
6037 ac_beg=1 # First line for current file.
6038 ac_end=$ac_max_sed_lines # Line after last line for current file.
6039 ac_more_lines=:
6040 ac_sed_cmds=
6041 while $ac_more_lines; do
6042 if test $ac_beg -gt 1; then
6043 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6044 else
6045 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6046 fi
6047 if test ! -s $tmp/subs.frag; then
6048 ac_more_lines=false
6049 else
6050 # The purpose of the label and of the branching condition is to
6051 # speed up the sed processing (if there are no `@' at all, there
6052 # is no need to browse any of the substitutions).
6053 # These are the two extra sed commands mentioned above.
6054 (echo ':t
6055 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6056 if test -z "$ac_sed_cmds"; then
6057 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6058 else
6059 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6060 fi
6061 ac_sed_frag=`expr $ac_sed_frag + 1`
6062 ac_beg=$ac_end
6063 ac_end=`expr $ac_end + $ac_max_sed_lines`
6064 fi
6065 done
6066 if test -z "$ac_sed_cmds"; then
6067 ac_sed_cmds=cat
6068 fi
6069 fi # test -n "$CONFIG_FILES"
6070
6071 _ACEOF
6072 cat >>$CONFIG_STATUS <<\_ACEOF
6073 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6074 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6075 case $ac_file in
6076 - | *:- | *:-:* ) # input from stdin
6077 cat >$tmp/stdin
6078 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6079 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6080 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6081 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6082 * ) ac_file_in=$ac_file.in ;;
6083 esac
6084
6085 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6086 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6087 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6088 X"$ac_file" : 'X\(//\)[^/]' \| \
6089 X"$ac_file" : 'X\(//\)$' \| \
6090 X"$ac_file" : 'X\(/\)' \| \
6091 . : '\(.\)' 2>/dev/null ||
6092 echo X"$ac_file" |
6093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6095 /^X\(\/\/\)$/{ s//\1/; q; }
6096 /^X\(\/\).*/{ s//\1/; q; }
6097 s/.*/./; q'`
6098 { if $as_mkdir_p; then
6099 mkdir -p "$ac_dir"
6100 else
6101 as_dir="$ac_dir"
6102 as_dirs=
6103 while test ! -d "$as_dir"; do
6104 as_dirs="$as_dir $as_dirs"
6105 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6107 X"$as_dir" : 'X\(//\)[^/]' \| \
6108 X"$as_dir" : 'X\(//\)$' \| \
6109 X"$as_dir" : 'X\(/\)' \| \
6110 . : '\(.\)' 2>/dev/null ||
6111 echo X"$as_dir" |
6112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6114 /^X\(\/\/\)$/{ s//\1/; q; }
6115 /^X\(\/\).*/{ s//\1/; q; }
6116 s/.*/./; q'`
6117 done
6118 test ! -n "$as_dirs" || mkdir $as_dirs
6119 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6120 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6121 { (exit 1); exit 1; }; }; }
6122
6123 ac_builddir=.
6124
6125 if test "$ac_dir" != .; then
6126 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6127 # A "../" for each directory in $ac_dir_suffix.
6128 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6129 else
6130 ac_dir_suffix= ac_top_builddir=
6131 fi
6132
6133 case $srcdir in
6134 .) # No --srcdir option. We are building in place.
6135 ac_srcdir=.
6136 if test -z "$ac_top_builddir"; then
6137 ac_top_srcdir=.
6138 else
6139 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6140 fi ;;
6141 [\\/]* | ?:[\\/]* ) # Absolute path.
6142 ac_srcdir=$srcdir$ac_dir_suffix;
6143 ac_top_srcdir=$srcdir ;;
6144 *) # Relative path.
6145 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6146 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6147 esac
6148
6149 # Do not use `cd foo && pwd` to compute absolute paths, because
6150 # the directories may not exist.
6151 case `pwd` in
6152 .) ac_abs_builddir="$ac_dir";;
6153 *)
6154 case "$ac_dir" in
6155 .) ac_abs_builddir=`pwd`;;
6156 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6157 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6158 esac;;
6159 esac
6160 case $ac_abs_builddir in
6161 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6162 *)
6163 case ${ac_top_builddir}. in
6164 .) ac_abs_top_builddir=$ac_abs_builddir;;
6165 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6166 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6167 esac;;
6168 esac
6169 case $ac_abs_builddir in
6170 .) ac_abs_srcdir=$ac_srcdir;;
6171 *)
6172 case $ac_srcdir in
6173 .) ac_abs_srcdir=$ac_abs_builddir;;
6174 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6175 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6176 esac;;
6177 esac
6178 case $ac_abs_builddir in
6179 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6180 *)
6181 case $ac_top_srcdir in
6182 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6183 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6184 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6185 esac;;
6186 esac
6187
6188
6189 case $INSTALL in
6190 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6191 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6192 esac
6193
6194 if test x"$ac_file" != x-; then
6195 { echo "$as_me:$LINENO: creating $ac_file" >&5
6196 echo "$as_me: creating $ac_file" >&6;}
6197 rm -f "$ac_file"
6198 fi
6199 # Let's still pretend it is `configure' which instantiates (i.e., don't
6200 # use $as_me), people would be surprised to read:
6201 # /* config.h. Generated by config.status. */
6202 if test x"$ac_file" = x-; then
6203 configure_input=
6204 else
6205 configure_input="$ac_file. "
6206 fi
6207 configure_input=$configure_input"Generated from `echo $ac_file_in |
6208 sed 's,.*/,,'` by configure."
6209
6210 # First look for the input files in the build tree, otherwise in the
6211 # src tree.
6212 ac_file_inputs=`IFS=:
6213 for f in $ac_file_in; do
6214 case $f in
6215 -) echo $tmp/stdin ;;
6216 [\\/$]*)
6217 # Absolute (can't be DOS-style, as IFS=:)
6218 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6219 echo "$as_me: error: cannot find input file: $f" >&2;}
6220 { (exit 1); exit 1; }; }
6221 echo "$f";;
6222 *) # Relative
6223 if test -f "$f"; then
6224 # Build tree
6225 echo "$f"
6226 elif test -f "$srcdir/$f"; then
6227 # Source tree
6228 echo "$srcdir/$f"
6229 else
6230 # /dev/null tree
6231 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6232 echo "$as_me: error: cannot find input file: $f" >&2;}
6233 { (exit 1); exit 1; }; }
6234 fi;;
6235 esac
6236 done` || { (exit 1); exit 1; }
6237 _ACEOF
6238 cat >>$CONFIG_STATUS <<_ACEOF
6239 sed "$ac_vpsub
6240 $extrasub
6241 _ACEOF
6242 cat >>$CONFIG_STATUS <<\_ACEOF
6243 :t
6244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6245 s,@configure_input@,$configure_input,;t t
6246 s,@srcdir@,$ac_srcdir,;t t
6247 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6248 s,@top_srcdir@,$ac_top_srcdir,;t t
6249 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6250 s,@builddir@,$ac_builddir,;t t
6251 s,@abs_builddir@,$ac_abs_builddir,;t t
6252 s,@top_builddir@,$ac_top_builddir,;t t
6253 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6254 s,@INSTALL@,$ac_INSTALL,;t t
6255 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6256 rm -f $tmp/stdin
6257 if test x"$ac_file" != x-; then
6258 mv $tmp/out $ac_file
6259 else
6260 cat $tmp/out
6261 rm -f $tmp/out
6262 fi
6263
6264 done
6265 _ACEOF
6266 cat >>$CONFIG_STATUS <<\_ACEOF
6267
6268 #
6269 # CONFIG_HEADER section.
6270 #
6271
6272 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6273 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6274 #
6275 # ac_d sets the value in "#define NAME VALUE" lines.
6276 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6277 ac_dB='[ ].*$,\1#\2'
6278 ac_dC=' '
6279 ac_dD=',;t'
6280 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6281 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6282 ac_uB='$,\1#\2define\3'
6283 ac_uC=' '
6284 ac_uD=',;t'
6285
6286 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6287 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6288 case $ac_file in
6289 - | *:- | *:-:* ) # input from stdin
6290 cat >$tmp/stdin
6291 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6292 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6293 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6294 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6295 * ) ac_file_in=$ac_file.in ;;
6296 esac
6297
6298 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6299 echo "$as_me: creating $ac_file" >&6;}
6300
6301 # First look for the input files in the build tree, otherwise in the
6302 # src tree.
6303 ac_file_inputs=`IFS=:
6304 for f in $ac_file_in; do
6305 case $f in
6306 -) echo $tmp/stdin ;;
6307 [\\/$]*)
6308 # Absolute (can't be DOS-style, as IFS=:)
6309 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6310 echo "$as_me: error: cannot find input file: $f" >&2;}
6311 { (exit 1); exit 1; }; }
6312 # Do quote $f, to prevent DOS paths from being IFS'd.
6313 echo "$f";;
6314 *) # Relative
6315 if test -f "$f"; then
6316 # Build tree
6317 echo "$f"
6318 elif test -f "$srcdir/$f"; then
6319 # Source tree
6320 echo "$srcdir/$f"
6321 else
6322 # /dev/null tree
6323 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6324 echo "$as_me: error: cannot find input file: $f" >&2;}
6325 { (exit 1); exit 1; }; }
6326 fi;;
6327 esac
6328 done` || { (exit 1); exit 1; }
6329 # Remove the trailing spaces.
6330 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6331
6332 _ACEOF
6333
6334 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6335 # `conftest.undefs', that substitutes the proper values into
6336 # config.h.in to produce config.h. The first handles `#define'
6337 # templates, and the second `#undef' templates.
6338 # And first: Protect against being on the right side of a sed subst in
6339 # config.status. Protect against being in an unquoted here document
6340 # in config.status.
6341 rm -f conftest.defines conftest.undefs
6342 # Using a here document instead of a string reduces the quoting nightmare.
6343 # Putting comments in sed scripts is not portable.
6344 #
6345 # `end' is used to avoid that the second main sed command (meant for
6346 # 0-ary CPP macros) applies to n-ary macro definitions.
6347 # See the Autoconf documentation for `clear'.
6348 cat >confdef2sed.sed <<\_ACEOF
6349 s/[\\&,]/\\&/g
6350 s,[\\$`],\\&,g
6351 t clear
6352 : clear
6353 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6354 t end
6355 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6356 : end
6357 _ACEOF
6358 # If some macros were called several times there might be several times
6359 # the same #defines, which is useless. Nevertheless, we may not want to
6360 # sort them, since we want the *last* AC-DEFINE to be honored.
6361 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6362 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6363 rm -f confdef2sed.sed
6364
6365 # This sed command replaces #undef with comments. This is necessary, for
6366 # example, in the case of _POSIX_SOURCE, which is predefined and required
6367 # on some systems where configure will not decide to define it.
6368 cat >>conftest.undefs <<\_ACEOF
6369 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6370 _ACEOF
6371
6372 # Break up conftest.defines because some shells have a limit on the size
6373 # of here documents, and old seds have small limits too (100 cmds).
6374 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6375 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6376 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6377 echo ' :' >>$CONFIG_STATUS
6378 rm -f conftest.tail
6379 while grep . conftest.defines >/dev/null
6380 do
6381 # Write a limited-size here document to $tmp/defines.sed.
6382 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6383 # Speed up: don't consider the non `#define' lines.
6384 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6385 # Work around the forget-to-reset-the-flag bug.
6386 echo 't clr' >>$CONFIG_STATUS
6387 echo ': clr' >>$CONFIG_STATUS
6388 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6389 echo 'CEOF
6390 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6391 rm -f $tmp/in
6392 mv $tmp/out $tmp/in
6393 ' >>$CONFIG_STATUS
6394 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6395 rm -f conftest.defines
6396 mv conftest.tail conftest.defines
6397 done
6398 rm -f conftest.defines
6399 echo ' fi # grep' >>$CONFIG_STATUS
6400 echo >>$CONFIG_STATUS
6401
6402 # Break up conftest.undefs because some shells have a limit on the size
6403 # of here documents, and old seds have small limits too (100 cmds).
6404 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6405 rm -f conftest.tail
6406 while grep . conftest.undefs >/dev/null
6407 do
6408 # Write a limited-size here document to $tmp/undefs.sed.
6409 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6410 # Speed up: don't consider the non `#undef'
6411 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6412 # Work around the forget-to-reset-the-flag bug.
6413 echo 't clr' >>$CONFIG_STATUS
6414 echo ': clr' >>$CONFIG_STATUS
6415 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6416 echo 'CEOF
6417 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6418 rm -f $tmp/in
6419 mv $tmp/out $tmp/in
6420 ' >>$CONFIG_STATUS
6421 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6422 rm -f conftest.undefs
6423 mv conftest.tail conftest.undefs
6424 done
6425 rm -f conftest.undefs
6426
6427 cat >>$CONFIG_STATUS <<\_ACEOF
6428 # Let's still pretend it is `configure' which instantiates (i.e., don't
6429 # use $as_me), people would be surprised to read:
6430 # /* config.h. Generated by config.status. */
6431 if test x"$ac_file" = x-; then
6432 echo "/* Generated by configure. */" >$tmp/config.h
6433 else
6434 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6435 fi
6436 cat $tmp/in >>$tmp/config.h
6437 rm -f $tmp/in
6438 if test x"$ac_file" != x-; then
6439 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6440 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6441 echo "$as_me: $ac_file is unchanged" >&6;}
6442 else
6443 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6444 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6445 X"$ac_file" : 'X\(//\)[^/]' \| \
6446 X"$ac_file" : 'X\(//\)$' \| \
6447 X"$ac_file" : 'X\(/\)' \| \
6448 . : '\(.\)' 2>/dev/null ||
6449 echo X"$ac_file" |
6450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6451 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6452 /^X\(\/\/\)$/{ s//\1/; q; }
6453 /^X\(\/\).*/{ s//\1/; q; }
6454 s/.*/./; q'`
6455 { if $as_mkdir_p; then
6456 mkdir -p "$ac_dir"
6457 else
6458 as_dir="$ac_dir"
6459 as_dirs=
6460 while test ! -d "$as_dir"; do
6461 as_dirs="$as_dir $as_dirs"
6462 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6463 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6464 X"$as_dir" : 'X\(//\)[^/]' \| \
6465 X"$as_dir" : 'X\(//\)$' \| \
6466 X"$as_dir" : 'X\(/\)' \| \
6467 . : '\(.\)' 2>/dev/null ||
6468 echo X"$as_dir" |
6469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6470 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6471 /^X\(\/\/\)$/{ s//\1/; q; }
6472 /^X\(\/\).*/{ s//\1/; q; }
6473 s/.*/./; q'`
6474 done
6475 test ! -n "$as_dirs" || mkdir $as_dirs
6476 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6477 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6478 { (exit 1); exit 1; }; }; }
6479
6480 rm -f $ac_file
6481 mv $tmp/config.h $ac_file
6482 fi
6483 else
6484 cat $tmp/config.h
6485 rm -f $tmp/config.h
6486 fi
6487 # Compute $ac_file's index in $config_headers.
6488 _am_stamp_count=1
6489 for _am_header in $config_headers :; do
6490 case $_am_header in
6491 $ac_file | $ac_file:* )
6492 break ;;
6493 * )
6494 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6495 esac
6496 done
6497 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6498 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6499 X$ac_file : 'X\(//\)[^/]' \| \
6500 X$ac_file : 'X\(//\)$' \| \
6501 X$ac_file : 'X\(/\)' \| \
6502 . : '\(.\)' 2>/dev/null ||
6503 echo X$ac_file |
6504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6506 /^X\(\/\/\)$/{ s//\1/; q; }
6507 /^X\(\/\).*/{ s//\1/; q; }
6508 s/.*/./; q'`/stamp-h$_am_stamp_count
6509 done
6510 _ACEOF
6511 cat >>$CONFIG_STATUS <<\_ACEOF
6512
6513 #
6514 # CONFIG_COMMANDS section.
6515 #
6516 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6517 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6518 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6519 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6520 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6521 X"$ac_dest" : 'X\(//\)[^/]' \| \
6522 X"$ac_dest" : 'X\(//\)$' \| \
6523 X"$ac_dest" : 'X\(/\)' \| \
6524 . : '\(.\)' 2>/dev/null ||
6525 echo X"$ac_dest" |
6526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6527 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6528 /^X\(\/\/\)$/{ s//\1/; q; }
6529 /^X\(\/\).*/{ s//\1/; q; }
6530 s/.*/./; q'`
6531 { if $as_mkdir_p; then
6532 mkdir -p "$ac_dir"
6533 else
6534 as_dir="$ac_dir"
6535 as_dirs=
6536 while test ! -d "$as_dir"; do
6537 as_dirs="$as_dir $as_dirs"
6538 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6540 X"$as_dir" : 'X\(//\)[^/]' \| \
6541 X"$as_dir" : 'X\(//\)$' \| \
6542 X"$as_dir" : 'X\(/\)' \| \
6543 . : '\(.\)' 2>/dev/null ||
6544 echo X"$as_dir" |
6545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6546 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6547 /^X\(\/\/\)$/{ s//\1/; q; }
6548 /^X\(\/\).*/{ s//\1/; q; }
6549 s/.*/./; q'`
6550 done
6551 test ! -n "$as_dirs" || mkdir $as_dirs
6552 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6553 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6554 { (exit 1); exit 1; }; }; }
6555
6556 ac_builddir=.
6557
6558 if test "$ac_dir" != .; then
6559 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6560 # A "../" for each directory in $ac_dir_suffix.
6561 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6562 else
6563 ac_dir_suffix= ac_top_builddir=
6564 fi
6565
6566 case $srcdir in
6567 .) # No --srcdir option. We are building in place.
6568 ac_srcdir=.
6569 if test -z "$ac_top_builddir"; then
6570 ac_top_srcdir=.
6571 else
6572 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6573 fi ;;
6574 [\\/]* | ?:[\\/]* ) # Absolute path.
6575 ac_srcdir=$srcdir$ac_dir_suffix;
6576 ac_top_srcdir=$srcdir ;;
6577 *) # Relative path.
6578 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6579 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6580 esac
6581
6582 # Do not use `cd foo && pwd` to compute absolute paths, because
6583 # the directories may not exist.
6584 case `pwd` in
6585 .) ac_abs_builddir="$ac_dir";;
6586 *)
6587 case "$ac_dir" in
6588 .) ac_abs_builddir=`pwd`;;
6589 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6590 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6591 esac;;
6592 esac
6593 case $ac_abs_builddir in
6594 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6595 *)
6596 case ${ac_top_builddir}. in
6597 .) ac_abs_top_builddir=$ac_abs_builddir;;
6598 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6599 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6600 esac;;
6601 esac
6602 case $ac_abs_builddir in
6603 .) ac_abs_srcdir=$ac_srcdir;;
6604 *)
6605 case $ac_srcdir in
6606 .) ac_abs_srcdir=$ac_abs_builddir;;
6607 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6608 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6609 esac;;
6610 esac
6611 case $ac_abs_builddir in
6612 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6613 *)
6614 case $ac_top_srcdir in
6615 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6616 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6617 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6618 esac;;
6619 esac
6620
6621
6622 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6623 echo "$as_me: executing $ac_dest commands" >&6;}
6624 case $ac_dest in
6625 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6626 # Strip MF so we end up with the name of the file.
6627 mf=`echo "$mf" | sed -e 's/:.*$//'`
6628 # Check whether this is an Automake generated Makefile or not.
6629 # We used to match only the files named `Makefile.in', but
6630 # some people rename them; so instead we look at the file content.
6631 # Grep'ing the first line is not enough: some people post-process
6632 # each Makefile.in and add a new line on top of each file to say so.
6633 # So let's grep whole file.
6634 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6635 dirpart=`(dirname "$mf") 2>/dev/null ||
6636 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6637 X"$mf" : 'X\(//\)[^/]' \| \
6638 X"$mf" : 'X\(//\)$' \| \
6639 X"$mf" : 'X\(/\)' \| \
6640 . : '\(.\)' 2>/dev/null ||
6641 echo X"$mf" |
6642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6644 /^X\(\/\/\)$/{ s//\1/; q; }
6645 /^X\(\/\).*/{ s//\1/; q; }
6646 s/.*/./; q'`
6647 else
6648 continue
6649 fi
6650 # Extract the definition of DEPDIR, am__include, and am__quote
6651 # from the Makefile without running `make'.
6652 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6653 test -z "$DEPDIR" && continue
6654 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6655 test -z "am__include" && continue
6656 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6657 # When using ansi2knr, U may be empty or an underscore; expand it
6658 U=`sed -n 's/^U = //p' < "$mf"`
6659 # Find all dependency output files, they are included files with
6660 # $(DEPDIR) in their names. We invoke sed twice because it is the
6661 # simplest approach to changing $(DEPDIR) to its actual value in the
6662 # expansion.
6663 for file in `sed -n "
6664 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6665 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6666 # Make sure the directory exists.
6667 test -f "$dirpart/$file" && continue
6668 fdir=`(dirname "$file") 2>/dev/null ||
6669 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6670 X"$file" : 'X\(//\)[^/]' \| \
6671 X"$file" : 'X\(//\)$' \| \
6672 X"$file" : 'X\(/\)' \| \
6673 . : '\(.\)' 2>/dev/null ||
6674 echo X"$file" |
6675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6677 /^X\(\/\/\)$/{ s//\1/; q; }
6678 /^X\(\/\).*/{ s//\1/; q; }
6679 s/.*/./; q'`
6680 { if $as_mkdir_p; then
6681 mkdir -p $dirpart/$fdir
6682 else
6683 as_dir=$dirpart/$fdir
6684 as_dirs=
6685 while test ! -d "$as_dir"; do
6686 as_dirs="$as_dir $as_dirs"
6687 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6689 X"$as_dir" : 'X\(//\)[^/]' \| \
6690 X"$as_dir" : 'X\(//\)$' \| \
6691 X"$as_dir" : 'X\(/\)' \| \
6692 . : '\(.\)' 2>/dev/null ||
6693 echo X"$as_dir" |
6694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6696 /^X\(\/\/\)$/{ s//\1/; q; }
6697 /^X\(\/\).*/{ s//\1/; q; }
6698 s/.*/./; q'`
6699 done
6700 test ! -n "$as_dirs" || mkdir $as_dirs
6701 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6702 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6703 { (exit 1); exit 1; }; }; }
6704
6705 # echo "creating $dirpart/$file"
6706 echo '# dummy' > "$dirpart/$file"
6707 done
6708 done
6709 ;;
6710 esac
6711 done
6712 _ACEOF
6713
6714 cat >>$CONFIG_STATUS <<\_ACEOF
6715
6716 { (exit 0); exit 0; }
6717 _ACEOF
6718 chmod +x $CONFIG_STATUS
6719 ac_clean_files=$ac_clean_files_save
6720
6721
6722 # configure is writing to config.log, and then calls config.status.
6723 # config.status does its own redirection, appending to config.log.
6724 # Unfortunately, on DOS this fails, as config.log is still kept open
6725 # by configure, so config.status won't be able to write to it; its
6726 # output is simply discarded. So we exec the FD to /dev/null,
6727 # effectively closing config.log, so it can be properly (re)opened and
6728 # appended to by config.status. When coming back to configure, we
6729 # need to make the FD available again.
6730 if test "$no_create" != yes; then
6731 ac_cs_success=:
6732 ac_config_status_args=
6733 test "$silent" = yes &&
6734 ac_config_status_args="$ac_config_status_args --quiet"
6735 exec 5>/dev/null
6736 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6737 exec 5>>config.log
6738 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6739 # would make configure fail if this is the last instruction.
6740 $ac_cs_success || { (exit 1); exit 1; }
6741 fi
6742
6743

Properties

Name Value
svn:executable