Codebase list gtkwave / 981f945
Imported Upstream version 3.3.24 أحمد المحمودي (Ahmed El-Mahmoudy) 12 years ago
14 changed file(s) with 115 addition(s) and 29764 deletion(s). Raw diff Collapse all Expand all
10201020 bug. (Would prevent pattern search from working on
10211021 64-bit big-endian architectures.)
10221022 Fixed broken "replace" signal option.
1023 3.3.24 03aug11 Improve the searching for the TCL libraries (when using
1024 stubs).
1025 Fixed bug where Tcl_GetString was substituted with
1026 brace removal preprocessing when unnecessary (would break
1027 addSignalsFromList, etc.)
00 ##########################################################################
11
2 GTKWave 3.3.23 Wave Viewer is Copyright (C) 1999-2011 Tony Bybell.
2 GTKWave 3.3.24 Wave Viewer is Copyright (C) 1999-2011 Tony Bybell.
33 Portions of GTKWave are Copyright (C) 1999-2011 Udi Finkelstein.
44 Context support is Copyright (C) 2007-2011 Kermin Elliott Fleming.
55 Trace group support is Copyright (C) 2009-2011 Donald Baltus.
+0
-13565
autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.59 for gtkwave 3.3.23.
3 @%:@
4 @%:@ Report bugs to <bybell@nc.rr.com>.
5 @%:@
6 @%:@ Copyright (C) 2003 Free Software Foundation, Inc.
7 @%:@ This configure script is free software; the Free Software Foundation
8 @%:@ gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22 fi
23 DUALCASE=1; export DUALCASE # for MKS sh
24
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 as_unset=unset
28 else
29 as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43 LC_TELEPHONE LC_TIME
44 do
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
47 else
48 $as_unset $as_var
49 fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54 as_expr=expr
55 else
56 as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60 as_basename=basename
61 else
62 as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
76 s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
86
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
91 chmod +x conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93 PATH_SEPARATOR=';'
94 else
95 PATH_SEPARATOR=:
96 fi
97 rm -f conf$$.sh
98 fi
99
100
101 as_lineno_1=$LINENO
102 as_lineno_2=$LINENO
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
107 # relative or not.
108 case $0 in
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 for as_dir in $PATH
112 do
113 IFS=$as_save_IFS
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 done
117
118 ;;
119 esac
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
123 as_myself=$0
124 fi
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
128 fi
129 case $CONFIG_SHELL in
130 '')
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 do
134 IFS=$as_save_IFS
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
138 /*)
139 if ("$as_dir/$as_base" -c '
140 as_lineno_1=$LINENO
141 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
148 export CONFIG_SHELL
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150 fi;;
151 esac
152 done
153 done
154 ;;
155 esac
156
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
166 sed '
167 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
174 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
178
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
183 # Exit status is that of the last command.
184 exit
185 }
186
187
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T=' ' ;;
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
193 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
196 as_expr=expr
197 else
198 as_expr=false
199 fi
200
201 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
208 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211 fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213 as_ln_s=ln
214 else
215 as_ln_s='cp -p'
216 fi
217 rm -f conf$$ conf$$.exe conf$$.file
218
219 if mkdir -p . 2>/dev/null; then
220 as_mkdir_p=:
221 else
222 test -d ./-p && rmdir ./-p
223 as_mkdir_p=false
224 fi
225
226 as_executable_p="test -f"
227
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
234
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS=" $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
244
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250 exec 6>&1
251
252 #
253 # Initializations.
254 #
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268 # Identity of this package.
269 PACKAGE_NAME='gtkwave'
270 PACKAGE_TARNAME='gtkwave'
271 PACKAGE_VERSION='3.3.23'
272 PACKAGE_STRING='gtkwave 3.3.23'
273 PACKAGE_BUGREPORT='bybell@nc.rr.com'
274
275 ac_unique_file="src/vcd.c"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
278 #include <stdio.h>
279 #if HAVE_SYS_TYPES_H
280 # include <sys/types.h>
281 #endif
282 #if HAVE_SYS_STAT_H
283 # include <sys/stat.h>
284 #endif
285 #if STDC_HEADERS
286 # include <stdlib.h>
287 # include <stddef.h>
288 #else
289 # if HAVE_STDLIB_H
290 # include <stdlib.h>
291 # endif
292 #endif
293 #if HAVE_STRING_H
294 # if !STDC_HEADERS && HAVE_MEMORY_H
295 # include <memory.h>
296 # endif
297 # include <string.h>
298 #endif
299 #if HAVE_STRINGS_H
300 # include <strings.h>
301 #endif
302 #if HAVE_INTTYPES_H
303 # include <inttypes.h>
304 #else
305 # if HAVE_STDINT_H
306 # include <stdint.h>
307 # endif
308 #endif
309 #if HAVE_UNISTD_H
310 # include <unistd.h>
311 #endif"
312
313 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 INLINE_ASM STRUCT_PACK TCL_INCLUDE_SPEC TCL_LIB_SPEC TCL_MAJOR_VERSION TCL_MINOR_VERSION TK_INCLUDE_SPEC TK_LIB_SPEC AET2_CFLAGS AET2_LDADD 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 LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB EXTDEBUG EXTLOAD_CFLAGS GPERF LIBZ_CFLAGS LIBZ_LDADD LIBZ_DIR LIBBZ2_CFLAGS LIBBZ2_LDADD LIBBZ2_DIR LIBXZ_LDADD LIBXZ_CFLAGS FASTTREE_CFLAGS LIBJUDY_LDADD LIBJUDY_CFLAGS GTK_CONFIG PKG_CONFIG ac_pt_PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA CPP EGREP LIB@&t@OBJS POW_LIB TCL_LDADD TCL_DEFADD TK_LDADD LTLIBOBJS'
314 ac_subst_files=''
315
316 # Initialize some variables set by options.
317 ac_init_help=
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
321 cache_file=/dev/null
322 exec_prefix=NONE
323 no_create=
324 no_recursion=
325 prefix=NONE
326 program_prefix=NONE
327 program_suffix=NONE
328 program_transform_name=s,x,x,
329 silent=
330 site=
331 srcdir=
332 verbose=
333 x_includes=NONE
334 x_libraries=NONE
335
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
353
354 ac_prev=
355 for ac_option
356 do
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
360 ac_prev=
361 continue
362 fi
363
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
366 # Accept the important Cygnus configure options, so we can diagnose typos.
367
368 case $ac_option in
369
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 ac_prev=bindir ;;
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 bindir=$ac_optarg ;;
374
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
379
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
386
387 --config-cache | -C)
388 cache_file=config.cache ;;
389
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 ac_prev=datadir ;;
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 | --da=*)
394 datadir=$ac_optarg ;;
395
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
404
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 case $ac_option in
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 *) ac_optarg=yes ;;
415 esac
416 eval "enable_$ac_feature='$ac_optarg'" ;;
417
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
426
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
429 with_gas=yes ;;
430
431 -help | --help | --hel | --he | -h)
432 ac_init_help=long ;;
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
437
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
442
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
449
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 ac_prev=infodir ;;
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
454
455 -libdir | --libdir | --libdi | --libd)
456 ac_prev=libdir ;;
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 libdir=$ac_optarg ;;
459
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
466
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
475
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 ac_prev=mandir ;;
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
479 mandir=$ac_optarg ;;
480
481 -nfp | --nfp | --nf)
482 # Obsolete; use --without-fp.
483 with_fp=no ;;
484
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
487 no_create=yes ;;
488
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 no_recursion=yes ;;
492
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
501
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 ac_prev=prefix ;;
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 prefix=$ac_optarg ;;
506
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
513
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
520
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
537
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
540 silent=yes ;;
541
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 ac_prev=sbindir ;;
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 | --sbi=* | --sb=*)
546 sbindir=$ac_optarg ;;
547
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
551 | --sha | --sh)
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 | --sha=* | --sh=*)
557 sharedstatedir=$ac_optarg ;;
558
559 -site | --site | --sit)
560 ac_prev=site ;;
561 -site=* | --site=* | --sit=*)
562 site=$ac_optarg ;;
563
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 ac_prev=srcdir ;;
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 srcdir=$ac_optarg ;;
568
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
575
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
580
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 verbose=yes ;;
583
584 -version | --version | --versio | --versi | --vers | -V)
585 ac_init_version=: ;;
586
587 -with-* | --with-*)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 case $ac_option in
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 *) ac_optarg=yes ;;
597 esac
598 eval "with_$ac_package='$ac_optarg'" ;;
599
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
608
609 --x)
610 # Obsolete; use --with-x.
611 with_x=yes ;;
612
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
619
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
626
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
630 ;;
631
632 *=*)
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
640 export $ac_envvar ;;
641
642 *)
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 ;;
649
650 esac
651 done
652
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
657 fi
658
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
661 do
662 eval ac_val=$`echo $ac_var`
663 case $ac_val in
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
667 esac
668 done
669
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
673 do
674 eval ac_val=$`echo $ac_var`
675 case $ac_val in
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
679 esac
680 done
681
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
685 build=$build_alias
686 host=$host_alias
687 target=$target_alias
688
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
696 cross_compiling=yes
697 fi
698 fi
699
700 ac_tool_prefix=
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
703 test "$silent" = yes && exec 6>/dev/null
704
705
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
716 echo X"$0" |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
721 s/.*/./; q'`
722 srcdir=$ac_confdir
723 if test ! -r $srcdir/$ac_unique_file; then
724 srcdir=..
725 fi
726 else
727 ac_srcdir_defaulted=no
728 fi
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
733 else
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
736 fi
737 fi
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
755 ac_env_CC_value=$CC
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
771 ac_env_PKG_CONFIG_value=$PKG_CONFIG
772 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
773 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
774 ac_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
775 ac_env_GTK_CFLAGS_value=$GTK_CFLAGS
776 ac_cv_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
777 ac_cv_env_GTK_CFLAGS_value=$GTK_CFLAGS
778 ac_env_GTK_LIBS_set=${GTK_LIBS+set}
779 ac_env_GTK_LIBS_value=$GTK_LIBS
780 ac_cv_env_GTK_LIBS_set=${GTK_LIBS+set}
781 ac_cv_env_GTK_LIBS_value=$GTK_LIBS
782 ac_env_CPP_set=${CPP+set}
783 ac_env_CPP_value=$CPP
784 ac_cv_env_CPP_set=${CPP+set}
785 ac_cv_env_CPP_value=$CPP
786
787 #
788 # Report the --help message.
789 #
790 if test "$ac_init_help" = "long"; then
791 # Omit some internal or obsolete options to make the list less imposing.
792 # This message is too long to be a string in the A/UX 3.1 sh.
793 cat <<_ACEOF
794 \`configure' configures gtkwave 3.3.23 to adapt to many kinds of systems.
795
796 Usage: $0 [OPTION]... [VAR=VALUE]...
797
798 To assign environment variables (e.g., CC, CFLAGS...), specify them as
799 VAR=VALUE. See below for descriptions of some of the useful variables.
800
801 Defaults for the options are specified in brackets.
802
803 Configuration:
804 -h, --help display this help and exit
805 --help=short display options specific to this package
806 --help=recursive display the short help of all the included packages
807 -V, --version display version information and exit
808 -q, --quiet, --silent do not print \`checking...' messages
809 --cache-file=FILE cache test results in FILE [disabled]
810 -C, --config-cache alias for \`--cache-file=config.cache'
811 -n, --no-create do not create output files
812 --srcdir=DIR find the sources in DIR [configure dir or \`..']
813
814 _ACEOF
815
816 cat <<_ACEOF
817 Installation directories:
818 --prefix=PREFIX install architecture-independent files in PREFIX
819 [$ac_default_prefix]
820 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
821 [PREFIX]
822
823 By default, \`make install' will install all the files in
824 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
825 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
826 for instance \`--prefix=\$HOME'.
827
828 For better control, use the options below.
829
830 Fine tuning of the installation directories:
831 --bindir=DIR user executables [EPREFIX/bin]
832 --sbindir=DIR system admin executables [EPREFIX/sbin]
833 --libexecdir=DIR program executables [EPREFIX/libexec]
834 --datadir=DIR read-only architecture-independent data [PREFIX/share]
835 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
836 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
837 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
838 --libdir=DIR object code libraries [EPREFIX/lib]
839 --includedir=DIR C header files [PREFIX/include]
840 --oldincludedir=DIR C header files for non-gcc [/usr/include]
841 --infodir=DIR info documentation [PREFIX/info]
842 --mandir=DIR man documentation [PREFIX/man]
843 _ACEOF
844
845 cat <<\_ACEOF
846
847 Program names:
848 --program-prefix=PREFIX prepend PREFIX to installed program names
849 --program-suffix=SUFFIX append SUFFIX to installed program names
850 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
851 _ACEOF
852 fi
853
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of gtkwave 3.3.23:";;
857 esac
858 cat <<\_ACEOF
859
860 Optional Features:
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing) to the casual installer
865 --disable-inline-asm Disables usage of inline x86 assembly
866 --enable-struct-pack Enables C language structure packing pragmas
867 intended for use on architectures which support
868 misaligned loads and stores (x86/x86_64/AVR32/
869 M68K/PowerPC/S390). This can reduce memory on
870 traces with very many signals.
871 --disable-tcl Disables Tcl if found
872 --enable-stubify Causes the Tcl/Tk libraries to be dynamically loaded.
873 --enable-gtk1 Causes the GTK+ frontend to be built with gtk1
874 instead of gtk2.
875 --enable-fatlines Renders lines as double width in gtkwave.
876 --enable-ae2 Compiles in AE2 from env var SIMARAMA_BASE location.
877 --disable-dependency-tracking speeds up one-time build
878 --enable-dependency-tracking do not reject slow dependency extractors
879 --enable-local-libz Use the bundled libz instead of any libz which may
880 already be installed on your system. Default is to
881 first look for an installed libz and fall back to
882 using the bundled one.
883 --enable-local-libbz2 Use the bundled libbz2 instead of any libbz2 which may
884 already be installed on your system. Default is to
885 first look for an installed libbz2 and fall back to
886 using the bundled one.
887 --disable-xz Disables LZMA support for VZT
888 --disable-fasttree Disables experimental Fast SST Tree widget code
889 --enable-judy Enables Judy array support
890 --disable-largefile omit support for large files
891
892 Some influential environment variables:
893 CC C compiler command
894 CFLAGS C compiler flags
895 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
896 nonstandard directory <lib dir>
897 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
898 headers in a nonstandard directory <include dir>
899 PKG_CONFIG path to pkg-config utility
900 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
901 GTK_LIBS linker flags for GTK, overriding pkg-config
902 CPP C preprocessor
903
904 Use these variables to override the choices made by `configure' or to help
905 it to find libraries and programs with nonstandard names/locations.
906
907 Report bugs to <bybell@nc.rr.com>.
908 _ACEOF
909 fi
910
911 if test "$ac_init_help" = "recursive"; then
912 # If there are subdirs, report their specific --help.
913 ac_popdir=`pwd`
914 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
915 test -d $ac_dir || continue
916 ac_builddir=.
917
918 if test "$ac_dir" != .; then
919 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
920 # A "../" for each directory in $ac_dir_suffix.
921 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
922 else
923 ac_dir_suffix= ac_top_builddir=
924 fi
925
926 case $srcdir in
927 .) # No --srcdir option. We are building in place.
928 ac_srcdir=.
929 if test -z "$ac_top_builddir"; then
930 ac_top_srcdir=.
931 else
932 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
933 fi ;;
934 [\\/]* | ?:[\\/]* ) # Absolute path.
935 ac_srcdir=$srcdir$ac_dir_suffix;
936 ac_top_srcdir=$srcdir ;;
937 *) # Relative path.
938 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
939 ac_top_srcdir=$ac_top_builddir$srcdir ;;
940 esac
941
942 # Do not use `cd foo && pwd` to compute absolute paths, because
943 # the directories may not exist.
944 case `pwd` in
945 .) ac_abs_builddir="$ac_dir";;
946 *)
947 case "$ac_dir" in
948 .) ac_abs_builddir=`pwd`;;
949 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
950 *) ac_abs_builddir=`pwd`/"$ac_dir";;
951 esac;;
952 esac
953 case $ac_abs_builddir in
954 .) ac_abs_top_builddir=${ac_top_builddir}.;;
955 *)
956 case ${ac_top_builddir}. in
957 .) ac_abs_top_builddir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
959 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
960 esac;;
961 esac
962 case $ac_abs_builddir in
963 .) ac_abs_srcdir=$ac_srcdir;;
964 *)
965 case $ac_srcdir in
966 .) ac_abs_srcdir=$ac_abs_builddir;;
967 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
968 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
969 esac;;
970 esac
971 case $ac_abs_builddir in
972 .) ac_abs_top_srcdir=$ac_top_srcdir;;
973 *)
974 case $ac_top_srcdir in
975 .) ac_abs_top_srcdir=$ac_abs_builddir;;
976 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
977 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
978 esac;;
979 esac
980
981 cd $ac_dir
982 # Check for guested configure; otherwise get Cygnus style configure.
983 if test -f $ac_srcdir/configure.gnu; then
984 echo
985 $SHELL $ac_srcdir/configure.gnu --help=recursive
986 elif test -f $ac_srcdir/configure; then
987 echo
988 $SHELL $ac_srcdir/configure --help=recursive
989 elif test -f $ac_srcdir/configure.ac ||
990 test -f $ac_srcdir/configure.in; then
991 echo
992 $ac_configure --help
993 else
994 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
995 fi
996 cd $ac_popdir
997 done
998 fi
999
1000 test -n "$ac_init_help" && exit 0
1001 if $ac_init_version; then
1002 cat <<\_ACEOF
1003 gtkwave configure 3.3.23
1004 generated by GNU Autoconf 2.59
1005
1006 Copyright (C) 2003 Free Software Foundation, Inc.
1007 This configure script is free software; the Free Software Foundation
1008 gives unlimited permission to copy, distribute and modify it.
1009 _ACEOF
1010 exit 0
1011 fi
1012 exec 5>config.log
1013 cat >&5 <<_ACEOF
1014 This file contains any messages produced by compilers while
1015 running configure, to aid debugging if configure makes a mistake.
1016
1017 It was created by gtkwave $as_me 3.3.23, which was
1018 generated by GNU Autoconf 2.59. Invocation command line was
1019
1020 $ $0 $@
1021
1022 _ACEOF
1023 {
1024 cat <<_ASUNAME
1025 @%:@@%:@ --------- @%:@@%:@
1026 @%:@@%:@ Platform. @%:@@%:@
1027 @%:@@%:@ --------- @%:@@%:@
1028
1029 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1030 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1031 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1032 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1033 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1034
1035 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1036 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1037
1038 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1039 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1040 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1041 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1042 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1043 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1044 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1045
1046 _ASUNAME
1047
1048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1049 for as_dir in $PATH
1050 do
1051 IFS=$as_save_IFS
1052 test -z "$as_dir" && as_dir=.
1053 echo "PATH: $as_dir"
1054 done
1055
1056 } >&5
1057
1058 cat >&5 <<_ACEOF
1059
1060
1061 @%:@@%:@ ----------- @%:@@%:@
1062 @%:@@%:@ Core tests. @%:@@%:@
1063 @%:@@%:@ ----------- @%:@@%:@
1064
1065 _ACEOF
1066
1067
1068 # Keep a trace of the command line.
1069 # Strip out --no-create and --no-recursion so they do not pile up.
1070 # Strip out --silent because we don't want to record it for future runs.
1071 # Also quote any args containing shell meta-characters.
1072 # Make two passes to allow for proper duplicate-argument suppression.
1073 ac_configure_args=
1074 ac_configure_args0=
1075 ac_configure_args1=
1076 ac_sep=
1077 ac_must_keep_next=false
1078 for ac_pass in 1 2
1079 do
1080 for ac_arg
1081 do
1082 case $ac_arg in
1083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1086 continue ;;
1087 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1089 esac
1090 case $ac_pass in
1091 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1092 2)
1093 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094 if test $ac_must_keep_next = true; then
1095 ac_must_keep_next=false # Got value, back to normal.
1096 else
1097 case $ac_arg in
1098 *=* | --config-cache | -C | -disable-* | --disable-* \
1099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 | -with-* | --with-* | -without-* | --without-* | --x)
1102 case "$ac_configure_args0 " in
1103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 esac
1105 ;;
1106 -* ) ac_must_keep_next=true ;;
1107 esac
1108 fi
1109 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110 # Get rid of the leading space.
1111 ac_sep=" "
1112 ;;
1113 esac
1114 done
1115 done
1116 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1118
1119 # When interrupted or exit'd, cleanup temporary files, and complete
1120 # config.log. We remove comments because anyway the quotes in there
1121 # would cause problems or look ugly.
1122 # WARNING: Be sure not to use single quotes in there, as some shells,
1123 # such as our DU 5.0 friend, will then `close' the trap.
1124 trap 'exit_status=$?
1125 # Save into config.log some information that might help in debugging.
1126 {
1127 echo
1128
1129 cat <<\_ASBOX
1130 @%:@@%:@ ---------------- @%:@@%:@
1131 @%:@@%:@ Cache variables. @%:@@%:@
1132 @%:@@%:@ ---------------- @%:@@%:@
1133 _ASBOX
1134 echo
1135 # The following way of writing the cache mishandles newlines in values,
1136 {
1137 (set) 2>&1 |
1138 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139 *ac_space=\ *)
1140 sed -n \
1141 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143 ;;
1144 *)
1145 sed -n \
1146 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1147 ;;
1148 esac;
1149 }
1150 echo
1151
1152 cat <<\_ASBOX
1153 @%:@@%:@ ----------------- @%:@@%:@
1154 @%:@@%:@ Output variables. @%:@@%:@
1155 @%:@@%:@ ----------------- @%:@@%:@
1156 _ASBOX
1157 echo
1158 for ac_var in $ac_subst_vars
1159 do
1160 eval ac_val=$`echo $ac_var`
1161 echo "$ac_var='"'"'$ac_val'"'"'"
1162 done | sort
1163 echo
1164
1165 if test -n "$ac_subst_files"; then
1166 cat <<\_ASBOX
1167 @%:@@%:@ ------------- @%:@@%:@
1168 @%:@@%:@ Output files. @%:@@%:@
1169 @%:@@%:@ ------------- @%:@@%:@
1170 _ASBOX
1171 echo
1172 for ac_var in $ac_subst_files
1173 do
1174 eval ac_val=$`echo $ac_var`
1175 echo "$ac_var='"'"'$ac_val'"'"'"
1176 done | sort
1177 echo
1178 fi
1179
1180 if test -s confdefs.h; then
1181 cat <<\_ASBOX
1182 @%:@@%:@ ----------- @%:@@%:@
1183 @%:@@%:@ confdefs.h. @%:@@%:@
1184 @%:@@%:@ ----------- @%:@@%:@
1185 _ASBOX
1186 echo
1187 sed "/^$/d" confdefs.h | sort
1188 echo
1189 fi
1190 test "$ac_signal" != 0 &&
1191 echo "$as_me: caught signal $ac_signal"
1192 echo "$as_me: exit $exit_status"
1193 } >&5
1194 rm -f core *.core &&
1195 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1196 exit $exit_status
1197 ' 0
1198 for ac_signal in 1 2 13 15; do
1199 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200 done
1201 ac_signal=0
1202
1203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1204 rm -rf conftest* confdefs.h
1205 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206 echo >confdefs.h
1207
1208 # Predefined preprocessor variables.
1209
1210 cat >>confdefs.h <<_ACEOF
1211 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1212 _ACEOF
1213
1214
1215 cat >>confdefs.h <<_ACEOF
1216 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 _ACEOF
1218
1219
1220 cat >>confdefs.h <<_ACEOF
1221 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 _ACEOF
1223
1224
1225 cat >>confdefs.h <<_ACEOF
1226 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1227 _ACEOF
1228
1229
1230 cat >>confdefs.h <<_ACEOF
1231 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 _ACEOF
1233
1234
1235 # Let the site file select an alternate cache file if it wants to.
1236 # Prefer explicitly selected file to automatically selected ones.
1237 if test -z "$CONFIG_SITE"; then
1238 if test "x$prefix" != xNONE; then
1239 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1240 else
1241 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1242 fi
1243 fi
1244 for ac_site_file in $CONFIG_SITE; do
1245 if test -r "$ac_site_file"; then
1246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247 echo "$as_me: loading site script $ac_site_file" >&6;}
1248 sed 's/^/| /' "$ac_site_file" >&5
1249 . "$ac_site_file"
1250 fi
1251 done
1252
1253 if test -r "$cache_file"; then
1254 # Some versions of bash will fail to source /dev/null (special
1255 # files actually), so we avoid doing that.
1256 if test -f "$cache_file"; then
1257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258 echo "$as_me: loading cache $cache_file" >&6;}
1259 case $cache_file in
1260 [\\/]* | ?:[\\/]* ) . $cache_file;;
1261 *) . ./$cache_file;;
1262 esac
1263 fi
1264 else
1265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266 echo "$as_me: creating cache $cache_file" >&6;}
1267 >$cache_file
1268 fi
1269
1270 # Check that the precious variables saved in the cache have kept the same
1271 # value.
1272 ac_cache_corrupted=false
1273 for ac_var in `(set) 2>&1 |
1274 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276 eval ac_new_set=\$ac_env_${ac_var}_set
1277 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278 eval ac_new_val="\$ac_env_${ac_var}_value"
1279 case $ac_old_set,$ac_new_set in
1280 set,)
1281 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1283 ac_cache_corrupted=: ;;
1284 ,set)
1285 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1286 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287 ac_cache_corrupted=: ;;
1288 ,);;
1289 *)
1290 if test "x$ac_old_val" != "x$ac_new_val"; then
1291 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1292 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1293 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1294 echo "$as_me: former value: $ac_old_val" >&2;}
1295 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1296 echo "$as_me: current value: $ac_new_val" >&2;}
1297 ac_cache_corrupted=:
1298 fi;;
1299 esac
1300 # Pass precious variables to config.status.
1301 if test "$ac_new_set" = set; then
1302 case $ac_new_val in
1303 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1305 *) ac_arg=$ac_var=$ac_new_val ;;
1306 esac
1307 case " $ac_configure_args " in
1308 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1309 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1310 esac
1311 fi
1312 done
1313 if $ac_cache_corrupted; then
1314 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1317 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318 { (exit 1); exit 1; }; }
1319 fi
1320
1321 ac_ext=c
1322 ac_cpp='$CPP $CPPFLAGS'
1323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354 am__api_version="1.9"
1355 ac_aux_dir=
1356 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1357 if test -f $ac_dir/install-sh; then
1358 ac_aux_dir=$ac_dir
1359 ac_install_sh="$ac_aux_dir/install-sh -c"
1360 break
1361 elif test -f $ac_dir/install.sh; then
1362 ac_aux_dir=$ac_dir
1363 ac_install_sh="$ac_aux_dir/install.sh -c"
1364 break
1365 elif test -f $ac_dir/shtool; then
1366 ac_aux_dir=$ac_dir
1367 ac_install_sh="$ac_aux_dir/shtool install -c"
1368 break
1369 fi
1370 done
1371 if test -z "$ac_aux_dir"; then
1372 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1373 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1374 { (exit 1); exit 1; }; }
1375 fi
1376 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1377 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1378 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1379
1380 # Find a good install program. We prefer a C program (faster),
1381 # so one script is as good as another. But avoid the broken or
1382 # incompatible versions:
1383 # SysV /etc/install, /usr/sbin/install
1384 # SunOS /usr/etc/install
1385 # IRIX /sbin/install
1386 # AIX /bin/install
1387 # AmigaOS /C/install, which installs bootblocks on floppy discs
1388 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1389 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1390 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1391 # OS/2's system install, which has a completely different semantic
1392 # ./install, which can be erroneously created by make from ./install.sh.
1393 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1394 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1395 if test -z "$INSTALL"; then
1396 if test "${ac_cv_path_install+set}" = set; then
1397 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 else
1399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1400 for as_dir in $PATH
1401 do
1402 IFS=$as_save_IFS
1403 test -z "$as_dir" && as_dir=.
1404 # Account for people who put trailing slashes in PATH elements.
1405 case $as_dir/ in
1406 ./ | .// | /cC/* | \
1407 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1408 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1409 /usr/ucb/* ) ;;
1410 *)
1411 # OSF1 and SCO ODT 3.0 have their own names for install.
1412 # Don't use installbsd from OSF since it installs stuff as root
1413 # by default.
1414 for ac_prog in ginstall scoinst install; do
1415 for ac_exec_ext in '' $ac_executable_extensions; do
1416 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1417 if test $ac_prog = install &&
1418 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1419 # AIX install. It has an incompatible calling convention.
1420 :
1421 elif test $ac_prog = install &&
1422 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1423 # program-specific install script used by HP pwplus--don't use.
1424 :
1425 else
1426 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1427 break 3
1428 fi
1429 fi
1430 done
1431 done
1432 ;;
1433 esac
1434 done
1435
1436
1437 fi
1438 if test "${ac_cv_path_install+set}" = set; then
1439 INSTALL=$ac_cv_path_install
1440 else
1441 # As a last resort, use the slow shell script. We don't cache a
1442 # path for INSTALL within a source directory, because that will
1443 # break other packages using the cache if that directory is
1444 # removed, or if the path is relative.
1445 INSTALL=$ac_install_sh
1446 fi
1447 fi
1448 echo "$as_me:$LINENO: result: $INSTALL" >&5
1449 echo "${ECHO_T}$INSTALL" >&6
1450
1451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1452 # It thinks the first close brace ends the variable substitution.
1453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1454
1455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1456
1457 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1458
1459 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1460 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1461 # Just in case
1462 sleep 1
1463 echo timestamp > conftest.file
1464 # Do `set' in a subshell so we don't clobber the current shell's
1465 # arguments. Must try -L first in case configure is actually a
1466 # symlink; some systems play weird games with the mod time of symlinks
1467 # (eg FreeBSD returns the mod time of the symlink's containing
1468 # directory).
1469 if (
1470 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1471 if test "$*" = "X"; then
1472 # -L didn't work.
1473 set X `ls -t $srcdir/configure conftest.file`
1474 fi
1475 rm -f conftest.file
1476 if test "$*" != "X $srcdir/configure conftest.file" \
1477 && test "$*" != "X conftest.file $srcdir/configure"; then
1478
1479 # If neither matched, then we have a broken ls. This can happen
1480 # if, for instance, CONFIG_SHELL is bash and it inherits a
1481 # broken ls alias from the environment. This has actually
1482 # happened. Such a system could not be considered "sane".
1483 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1484 alias in your environment" >&5
1485 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1486 alias in your environment" >&2;}
1487 { (exit 1); exit 1; }; }
1488 fi
1489
1490 test "$2" = conftest.file
1491 )
1492 then
1493 # Ok.
1494 :
1495 else
1496 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1497 Check your system clock" >&5
1498 echo "$as_me: error: newly created file is older than distributed files!
1499 Check your system clock" >&2;}
1500 { (exit 1); exit 1; }; }
1501 fi
1502 echo "$as_me:$LINENO: result: yes" >&5
1503 echo "${ECHO_T}yes" >&6
1504 test "$program_prefix" != NONE &&
1505 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1506 # Use a double $ so make ignores it.
1507 test "$program_suffix" != NONE &&
1508 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1509 # Double any \ or $. echo might interpret backslashes.
1510 # By default was `s,x,x', remove it if useless.
1511 cat <<\_ACEOF >conftest.sed
1512 s/[\\$]/&&/g;s/;s,x,x,$//
1513 _ACEOF
1514 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1515 rm conftest.sed
1516
1517 # expand $ac_aux_dir to an absolute path
1518 am_aux_dir=`cd $ac_aux_dir && pwd`
1519
1520 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1521 # Use eval to expand $SHELL
1522 if eval "$MISSING --run true"; then
1523 am_missing_run="$MISSING --run "
1524 else
1525 am_missing_run=
1526 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1527 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1528 fi
1529
1530 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1531 # We used to keeping the `.' as first argument, in order to
1532 # allow $(mkdir_p) to be used without argument. As in
1533 # $(mkdir_p) $(somedir)
1534 # where $(somedir) is conditionally defined. However this is wrong
1535 # for two reasons:
1536 # 1. if the package is installed by a user who cannot write `.'
1537 # make install will fail,
1538 # 2. the above comment should most certainly read
1539 # $(mkdir_p) $(DESTDIR)$(somedir)
1540 # so it does not work when $(somedir) is undefined and
1541 # $(DESTDIR) is not.
1542 # To support the latter case, we have to write
1543 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1544 # so the `.' trick is pointless.
1545 mkdir_p='mkdir -p --'
1546 else
1547 # On NextStep and OpenStep, the `mkdir' command does not
1548 # recognize any option. It will interpret all options as
1549 # directories to create, and then abort because `.' already
1550 # exists.
1551 for d in ./-p ./--version;
1552 do
1553 test -d $d && rmdir $d
1554 done
1555 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1556 if test -f "$ac_aux_dir/mkinstalldirs"; then
1557 mkdir_p='$(mkinstalldirs)'
1558 else
1559 mkdir_p='$(install_sh) -d'
1560 fi
1561 fi
1562
1563 for ac_prog in gawk mawk nawk awk
1564 do
1565 # Extract the first word of "$ac_prog", so it can be a program name with args.
1566 set dummy $ac_prog; ac_word=$2
1567 echo "$as_me:$LINENO: checking for $ac_word" >&5
1568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1569 if test "${ac_cv_prog_AWK+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 else
1572 if test -n "$AWK"; then
1573 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1574 else
1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1576 for as_dir in $PATH
1577 do
1578 IFS=$as_save_IFS
1579 test -z "$as_dir" && as_dir=.
1580 for ac_exec_ext in '' $ac_executable_extensions; do
1581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1582 ac_cv_prog_AWK="$ac_prog"
1583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 break 2
1585 fi
1586 done
1587 done
1588
1589 fi
1590 fi
1591 AWK=$ac_cv_prog_AWK
1592 if test -n "$AWK"; then
1593 echo "$as_me:$LINENO: result: $AWK" >&5
1594 echo "${ECHO_T}$AWK" >&6
1595 else
1596 echo "$as_me:$LINENO: result: no" >&5
1597 echo "${ECHO_T}no" >&6
1598 fi
1599
1600 test -n "$AWK" && break
1601 done
1602
1603 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1604 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1605 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1606 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 else
1609 cat >conftest.make <<\_ACEOF
1610 all:
1611 @echo 'ac_maketemp="$(MAKE)"'
1612 _ACEOF
1613 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1614 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1615 if test -n "$ac_maketemp"; then
1616 eval ac_cv_prog_make_${ac_make}_set=yes
1617 else
1618 eval ac_cv_prog_make_${ac_make}_set=no
1619 fi
1620 rm -f conftest.make
1621 fi
1622 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1623 echo "$as_me:$LINENO: result: yes" >&5
1624 echo "${ECHO_T}yes" >&6
1625 SET_MAKE=
1626 else
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1629 SET_MAKE="MAKE=${MAKE-make}"
1630 fi
1631
1632 rm -rf .tst 2>/dev/null
1633 mkdir .tst 2>/dev/null
1634 if test -d .tst; then
1635 am__leading_dot=.
1636 else
1637 am__leading_dot=_
1638 fi
1639 rmdir .tst 2>/dev/null
1640
1641 # test to see if srcdir already configured
1642 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1643 test -f $srcdir/config.status; then
1644 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1645 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1646 { (exit 1); exit 1; }; }
1647 fi
1648
1649 # test whether we have cygpath
1650 if test -z "$CYGPATH_W"; then
1651 if (cygpath --version) >/dev/null 2>/dev/null; then
1652 CYGPATH_W='cygpath -w'
1653 else
1654 CYGPATH_W=echo
1655 fi
1656 fi
1657
1658
1659 # Define the identity of the package.
1660 PACKAGE='gtkwave'
1661 VERSION='3.3.23'
1662
1663
1664 cat >>confdefs.h <<_ACEOF
1665 @%:@define PACKAGE "$PACKAGE"
1666 _ACEOF
1667
1668
1669 cat >>confdefs.h <<_ACEOF
1670 @%:@define VERSION "$VERSION"
1671 _ACEOF
1672
1673 # Some tools Automake needs.
1674
1675 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1676
1677
1678 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1679
1680
1681 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1682
1683
1684 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1685
1686
1687 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1688
1689 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1690
1691 # Installed binaries are usually stripped using `strip' when the user
1692 # run `make install-strip'. However `strip' might not be the right
1693 # tool to use in cross-compilation environments, therefore Automake
1694 # will honor the `STRIP' environment variable to overrule this program.
1695 if test "$cross_compiling" != no; then
1696 if test -n "$ac_tool_prefix"; then
1697 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1698 set dummy ${ac_tool_prefix}strip; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_STRIP+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 else
1704 if test -n "$STRIP"; then
1705 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1706 else
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 for as_dir in $PATH
1709 do
1710 IFS=$as_save_IFS
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 break 2
1717 fi
1718 done
1719 done
1720
1721 fi
1722 fi
1723 STRIP=$ac_cv_prog_STRIP
1724 if test -n "$STRIP"; then
1725 echo "$as_me:$LINENO: result: $STRIP" >&5
1726 echo "${ECHO_T}$STRIP" >&6
1727 else
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1730 fi
1731
1732 fi
1733 if test -z "$ac_cv_prog_STRIP"; then
1734 ac_ct_STRIP=$STRIP
1735 # Extract the first word of "strip", so it can be a program name with args.
1736 set dummy strip; ac_word=$2
1737 echo "$as_me:$LINENO: checking for $ac_word" >&5
1738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1739 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1740 echo $ECHO_N "(cached) $ECHO_C" >&6
1741 else
1742 if test -n "$ac_ct_STRIP"; then
1743 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1744 else
1745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1746 for as_dir in $PATH
1747 do
1748 IFS=$as_save_IFS
1749 test -z "$as_dir" && as_dir=.
1750 for ac_exec_ext in '' $ac_executable_extensions; do
1751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1752 ac_cv_prog_ac_ct_STRIP="strip"
1753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1754 break 2
1755 fi
1756 done
1757 done
1758
1759 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1760 fi
1761 fi
1762 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1763 if test -n "$ac_ct_STRIP"; then
1764 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1765 echo "${ECHO_T}$ac_ct_STRIP" >&6
1766 else
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1769 fi
1770
1771 STRIP=$ac_ct_STRIP
1772 else
1773 STRIP="$ac_cv_prog_STRIP"
1774 fi
1775
1776 fi
1777 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1778
1779 # We need awk for the "check" target. The system "awk" is bad on
1780 # some platforms.
1781 # Always define AMTAR for backward compatibility.
1782
1783 AMTAR=${AMTAR-"${am_missing_run}tar"}
1784
1785 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1786
1787
1788
1789
1790
1791 ac_config_headers="$ac_config_headers config.h"
1792
1793 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1794 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1795 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1796 if test "${enable_maintainer_mode+set}" = set; then
1797 enableval="$enable_maintainer_mode"
1798 USE_MAINTAINER_MODE=$enableval
1799 else
1800 USE_MAINTAINER_MODE=no
1801 fi;
1802 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1803 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1804
1805
1806 if test $USE_MAINTAINER_MODE = yes; then
1807 MAINTAINER_MODE_TRUE=
1808 MAINTAINER_MODE_FALSE='#'
1809 else
1810 MAINTAINER_MODE_TRUE='#'
1811 MAINTAINER_MODE_FALSE=
1812 fi
1813
1814 MAINT=$MAINTAINER_MODE_TRUE
1815
1816
1817
1818
1819 # ------------- Set simarama base -------------------
1820 if test "X$SIMARAMA_BASE" = "X" ; then
1821 SIMARAMA_BASE="/afs/awd/projects/simarama/releases/latest"
1822 fi
1823
1824 # Checks for build options
1825 # ------------- Inline -------------------
1826
1827 echo "$as_me:$LINENO: checking if inline assembly should be enabled" >&5
1828 echo $ECHO_N "checking if inline assembly should be enabled... $ECHO_C" >&6
1829
1830 INL=yes
1831 INLINE_ASM=-DUSE_INLINE_ASM
1832 # Check whether --enable-inline_asm or --disable-inline_asm was given.
1833 if test "${enable_inline_asm+set}" = set; then
1834 enableval="$enable_inline_asm"
1835
1836 if test "X$enable_inline_asm" = "Xno" ; then
1837 INL=no
1838 INLINE_ASM=
1839 fi
1840
1841 fi;
1842 echo "$as_me:$LINENO: result: $INL" >&5
1843 echo "${ECHO_T}$INL" >&6
1844
1845
1846
1847 # ------------- Structure Packing -------------------
1848
1849 echo "$as_me:$LINENO: checking if structure packing should be enabled" >&5
1850 echo $ECHO_N "checking if structure packing should be enabled... $ECHO_C" >&6
1851
1852 ESTP=no
1853 STRUCT_PACK=
1854 # Check whether --enable-struct_pack or --disable-struct_pack was given.
1855 if test "${enable_struct_pack+set}" = set; then
1856 enableval="$enable_struct_pack"
1857
1858 if test "X$enable_struct_pack" = "Xyes" ; then
1859 ESTP=yes
1860 STRUCT_PACK=-DWAVE_USE_STRUCT_PACKING
1861 fi
1862
1863 fi;
1864 echo "$as_me:$LINENO: result: $ESTP" >&5
1865 echo "${ECHO_T}$ESTP" >&6
1866
1867
1868
1869 # ------------- Tcl -------------------
1870
1871 echo "$as_me:$LINENO: checking if Tcl usage should be disabled" >&5
1872 echo $ECHO_N "checking if Tcl usage should be disabled... $ECHO_C" >&6
1873
1874 ETCL=yes
1875 DTCL=no
1876 # Check whether --enable-tcl or --disable-tcl was given.
1877 if test "${enable_tcl+set}" = set; then
1878 enableval="$enable_tcl"
1879
1880 if test "X$enable_tcl" = "Xno" ; then
1881 ETCL=no
1882 DTCL=yes
1883 else
1884 ETCL=yes
1885 DTCL=no
1886 fi
1887
1888 else
1889
1890 ETCL=yes
1891
1892 fi;
1893 echo "$as_me:$LINENO: result: $DTCL" >&5
1894 echo "${ECHO_T}$DTCL" >&6
1895
1896
1897 if test "X$ETCL" = "Xyes" ; then
1898 SC_PATH_TCLCONFIG
1899 if test "X$TCL_BIN_DIR" = "X# no Tcl configs found" ; then
1900 { echo "$as_me:$LINENO: WARNING: Tcl not found, skipping." >&5
1901 echo "$as_me: WARNING: Tcl not found, skipping." >&2;}
1902 ETCL=no
1903 DTCL=yes
1904 else
1905 SC_LOAD_TCLCONFIG
1906
1907
1908
1909
1910
1911
1912 if test "$TCL_MAJOR_VERSION" -lt "8" ; then
1913 { { echo "$as_me:$LINENO: error: Upgrade to at least Tcl version 8.4." >&5
1914 echo "$as_me: error: Upgrade to at least Tcl version 8.4." >&2;}
1915 { (exit 1); exit 1; }; }
1916 else
1917 if test "$TCL_MAJOR_VERSION" -eq "8" ; then
1918 if test "$TCL_MINOR_VERSION" -lt "4" ; then
1919 { { echo "$as_me:$LINENO: error: Upgrade to at least Tcl version 8.4." >&5
1920 echo "$as_me: error: Upgrade to at least Tcl version 8.4." >&2;}
1921 { (exit 1); exit 1; }; }
1922 fi
1923 fi
1924 fi
1925 fi
1926 fi
1927
1928 if test "X$ETCL" = "Xyes" ; then
1929 SC_PATH_TKCONFIG
1930 if test "X$TK_BIN_DIR" = "X# no Tk configs found" ; then
1931 { echo "$as_me:$LINENO: WARNING: Tk not found, skipping." >&5
1932 echo "$as_me: WARNING: Tk not found, skipping." >&2;}
1933 ETCL=no
1934 DTCL=yes
1935 else
1936 SC_LOAD_TKCONFIG
1937
1938
1939 fi
1940 fi
1941
1942 echo "$as_me:$LINENO: checking if Tcl/Tk (if present) should be stubified" >&5
1943 echo $ECHO_N "checking if Tcl/Tk (if present) should be stubified... $ECHO_C" >&6
1944
1945 STUBIFY=no
1946 # Check whether --enable-stubify or --disable-stubify was given.
1947 if test "${enable_stubify+set}" = set; then
1948 enableval="$enable_stubify"
1949
1950 if test "X$enable_stubify" = "Xno" ; then
1951 STUBIFY=no
1952 else
1953 STUBIFY=yes
1954 fi
1955
1956 else
1957
1958 STUBIFY=no
1959
1960 fi;
1961
1962 echo "$as_me:$LINENO: result: $STUBIFY" >&5
1963 echo "${ECHO_T}$STUBIFY" >&6
1964
1965
1966 echo "$as_me:$LINENO: checking if gtk1 or gtk2 should be used" >&5
1967 echo $ECHO_N "checking if gtk1 or gtk2 should be used... $ECHO_C" >&6
1968
1969 GTK1=no
1970 # Check whether --enable-gtk1 or --disable-gtk1 was given.
1971 if test "${enable_gtk1+set}" = set; then
1972 enableval="$enable_gtk1"
1973
1974 if test "X$enable_gtk1" = "Xno" ; then
1975 GTK1=no
1976 else
1977 GTK1=yes
1978 fi
1979
1980 else
1981
1982 GTK1=no
1983
1984 fi;
1985
1986 if test "X$GTK1" = "Xyes" ; then
1987 echo "$as_me:$LINENO: result: gtk1" >&5
1988 echo "${ECHO_T}gtk1" >&6
1989 CPPFLAGS="$CPPFLAGS"
1990 else
1991 echo "$as_me:$LINENO: result: gtk2" >&5
1992 echo "${ECHO_T}gtk2" >&6
1993 CPPFLAGS="-DWAVE_USE_GTK2 $CPPFLAGS"
1994 fi
1995
1996
1997 # check for "fisher price" (simvision rendering style) mode
1998 echo "$as_me:$LINENO: checking if fatlines should be used" >&5
1999 echo $ECHO_N "checking if fatlines should be used... $ECHO_C" >&6
2000
2001 FLN=no
2002 # Check whether --enable-fatlines or --disable-fatlines was given.
2003 if test "${enable_fatlines+set}" = set; then
2004 enableval="$enable_fatlines"
2005
2006 if test "X$enable_fatlines" = "Xno" ; then
2007 FLN=no
2008 else
2009 FLN=yes
2010 fi
2011
2012 else
2013
2014 FLN=no
2015
2016 fi;
2017
2018 if test "X$FLN" = "Xno" ; then
2019 echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6
2021 else
2022 echo "$as_me:$LINENO: result: yes" >&5
2023 echo "${ECHO_T}yes" >&6
2024 CPPFLAGS="-DWAVE_DOUBLE_LINE_WIDTH_MODE $CPPFLAGS"
2025 fi
2026
2027
2028 echo "$as_me:$LINENO: checking if ae2 support should be used" >&5
2029 echo $ECHO_N "checking if ae2 support should be used... $ECHO_C" >&6
2030
2031 AE2_CFLAGS=
2032 AET2_LDADD=
2033 AE2=no
2034 # Check whether --enable-ae2 or --disable-ae2 was given.
2035 if test "${enable_ae2+set}" = set; then
2036 enableval="$enable_ae2"
2037
2038 if test "X$enable_ae2" = "Xno" ; then
2039 AE2=no
2040 else
2041 AE2=yes
2042 fi
2043
2044 else
2045
2046 AE2=no
2047
2048 fi;
2049
2050 if test "X$AE2" = "Xyes" ; then
2051 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libae2rw.so"" | $as_tr_sh`
2052 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libae2rw.so\"" >&5
2053 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libae2rw.so\"... $ECHO_C" >&6
2054 if eval "test \"\${$as_ac_File+set}\" = set"; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 else
2057 test "$cross_compiling" = yes &&
2058 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2059 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2060 { (exit 1); exit 1; }; }
2061 if test -r ""$SIMARAMA_BASE/libae2rw.so""; then
2062 eval "$as_ac_File=yes"
2063 else
2064 eval "$as_ac_File=no"
2065 fi
2066 fi
2067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2068 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2069 if test `eval echo '${'$as_ac_File'}'` = yes; then
2070 AET2_SO=yes
2071 else
2072 AET2_SO=no
2073 fi
2074
2075
2076 if test "X$AET2_SO" = "Xyes" ; then
2077 AET2_CFLAGS="-DAET2_IS_PRESENT -I$SIMARAMA_BASE"
2078 AET2_LDADD="$SIMARAMA_BASE/libae2rw.so"
2079 else
2080
2081 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libae2rw.a"" | $as_tr_sh`
2082 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libae2rw.a\"" >&5
2083 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libae2rw.a\"... $ECHO_C" >&6
2084 if eval "test \"\${$as_ac_File+set}\" = set"; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 else
2087 test "$cross_compiling" = yes &&
2088 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2089 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2090 { (exit 1); exit 1; }; }
2091 if test -r ""$SIMARAMA_BASE/libae2rw.a""; then
2092 eval "$as_ac_File=yes"
2093 else
2094 eval "$as_ac_File=no"
2095 fi
2096 fi
2097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2098 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2099 if test `eval echo '${'$as_ac_File'}'` = yes; then
2100 AET2_A=yes
2101 else
2102 AET2_A=no
2103 fi
2104
2105 if test "X$AET2_A" = "Xyes" ; then
2106 AET2_CFLAGS="-DAET2_IS_PRESENT -I$SIMARAMA_BASE"
2107 AET2_LDADD="$SIMARAMA_BASE/libae2rw.a"
2108 else
2109
2110 { echo "$as_me:$LINENO: WARNING: AET2 library not found, skipping." >&5
2111 echo "$as_me: WARNING: AET2 library not found, skipping." >&2;}
2112
2113 fi
2114 fi
2115
2116 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libaliasdb.so"" | $as_tr_sh`
2117 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libaliasdb.so\"" >&5
2118 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libaliasdb.so\"... $ECHO_C" >&6
2119 if eval "test \"\${$as_ac_File+set}\" = set"; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 else
2122 test "$cross_compiling" = yes &&
2123 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2124 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2125 { (exit 1); exit 1; }; }
2126 if test -r ""$SIMARAMA_BASE/libaliasdb.so""; then
2127 eval "$as_ac_File=yes"
2128 else
2129 eval "$as_ac_File=no"
2130 fi
2131 fi
2132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2133 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2134 if test `eval echo '${'$as_ac_File'}'` = yes; then
2135 AAET2_SO=yes
2136 else
2137 AAET2_SO=no
2138 fi
2139
2140
2141 if test "X$AAET2_SO" = "Xyes" ; then
2142 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/aliasdb.h"" | $as_tr_sh`
2143 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/aliasdb.h\"" >&5
2144 echo $ECHO_N "checking for \"$SIMARAMA_BASE/aliasdb.h\"... $ECHO_C" >&6
2145 if eval "test \"\${$as_ac_File+set}\" = set"; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 test "$cross_compiling" = yes &&
2149 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2150 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2151 { (exit 1); exit 1; }; }
2152 if test -r ""$SIMARAMA_BASE/aliasdb.h""; then
2153 eval "$as_ac_File=yes"
2154 else
2155 eval "$as_ac_File=no"
2156 fi
2157 fi
2158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2159 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2160 if test `eval echo '${'$as_ac_File'}'` = yes; then
2161 AAET2_SOY=yes
2162 else
2163 AAET2_SOY=no
2164 fi
2165
2166 if test "X$AAET2_SOY" = "Xyes" ; then
2167 AET2_CFLAGS="-DAET2_ALIASDB_IS_PRESENT $AET2_CFLAGS"
2168 AET2_LDADD="$SIMARAMA_BASE/libaliasdb.so $AET2_LDADD"
2169 else
2170 { echo "$as_me:$LINENO: WARNING: AET2 alias header not found, skipping." >&5
2171 echo "$as_me: WARNING: AET2 alias header not found, skipping." >&2;}
2172 fi
2173 else
2174
2175 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libaliasdb.a"" | $as_tr_sh`
2176 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libaliasdb.a\"" >&5
2177 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libaliasdb.a\"... $ECHO_C" >&6
2178 if eval "test \"\${$as_ac_File+set}\" = set"; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 else
2181 test "$cross_compiling" = yes &&
2182 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2183 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2184 { (exit 1); exit 1; }; }
2185 if test -r ""$SIMARAMA_BASE/libaliasdb.a""; then
2186 eval "$as_ac_File=yes"
2187 else
2188 eval "$as_ac_File=no"
2189 fi
2190 fi
2191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2192 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2193 if test `eval echo '${'$as_ac_File'}'` = yes; then
2194 AET2_A=yes
2195 else
2196 AET2_A=no
2197 fi
2198
2199 if test "X$AAET2_A" = "Xyes" ; then
2200 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/aliasdb.h"" | $as_tr_sh`
2201 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/aliasdb.h\"" >&5
2202 echo $ECHO_N "checking for \"$SIMARAMA_BASE/aliasdb.h\"... $ECHO_C" >&6
2203 if eval "test \"\${$as_ac_File+set}\" = set"; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 else
2206 test "$cross_compiling" = yes &&
2207 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2208 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2209 { (exit 1); exit 1; }; }
2210 if test -r ""$SIMARAMA_BASE/aliasdb.h""; then
2211 eval "$as_ac_File=yes"
2212 else
2213 eval "$as_ac_File=no"
2214 fi
2215 fi
2216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2217 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2218 if test `eval echo '${'$as_ac_File'}'` = yes; then
2219 AAET2_SOY=yes
2220 else
2221 AAET2_SOY=no
2222 fi
2223
2224 if test "X$AAET2_SOY" = "Xyes" ; then
2225 AET2_CFLAGS="-DAET2_ALIASDB_IS_PRESENT $AET2_CFLAGS"
2226 AET2_LDADD="$SIMARAMA_BASE/libaliasdb.a $AET2_LDADD"
2227 else
2228 { echo "$as_me:$LINENO: WARNING: AET2 alias header not found, skipping." >&5
2229 echo "$as_me: WARNING: AET2 alias header not found, skipping." >&2;}
2230 fi
2231 else
2232
2233 { echo "$as_me:$LINENO: WARNING: AET2 alias library not found, skipping." >&5
2234 echo "$as_me: WARNING: AET2 alias library not found, skipping." >&2;}
2235
2236 fi
2237 fi
2238
2239 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/ae2rw.h"" | $as_tr_sh`
2240 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/ae2rw.h\"" >&5
2241 echo $ECHO_N "checking for \"$SIMARAMA_BASE/ae2rw.h\"... $ECHO_C" >&6
2242 if eval "test \"\${$as_ac_File+set}\" = set"; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 else
2245 test "$cross_compiling" = yes &&
2246 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2247 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2248 { (exit 1); exit 1; }; }
2249 if test -r ""$SIMARAMA_BASE/ae2rw.h""; then
2250 eval "$as_ac_File=yes"
2251 else
2252 eval "$as_ac_File=no"
2253 fi
2254 fi
2255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2256 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2257 if test `eval echo '${'$as_ac_File'}'` = yes; then
2258 AET2_SOY=yes
2259 else
2260 AET2_SOY=no
2261 fi
2262
2263 if test "X$AET2_SOY" = "Xno" ; then
2264 AET2_CFLAGS=
2265 AET2_LDADD=
2266 { echo "$as_me:$LINENO: WARNING: AET2 header not found, skipping." >&5
2267 echo "$as_me: WARNING: AET2 header not found, skipping." >&2;}
2268 fi
2269
2270 else
2271 echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6
2273 fi
2274
2275
2276
2277
2278
2279 # Checks for programs.
2280 # AC_PROG_CXX # not needed as gtkwave and related programs don't use c++
2281 for ac_prog in gawk mawk nawk awk
2282 do
2283 # Extract the first word of "$ac_prog", so it can be a program name with args.
2284 set dummy $ac_prog; ac_word=$2
2285 echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287 if test "${ac_cv_prog_AWK+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 else
2290 if test -n "$AWK"; then
2291 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2292 else
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2295 do
2296 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 ac_cv_prog_AWK="$ac_prog"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 break 2
2303 fi
2304 done
2305 done
2306
2307 fi
2308 fi
2309 AWK=$ac_cv_prog_AWK
2310 if test -n "$AWK"; then
2311 echo "$as_me:$LINENO: result: $AWK" >&5
2312 echo "${ECHO_T}$AWK" >&6
2313 else
2314 echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6
2316 fi
2317
2318 test -n "$AWK" && break
2319 done
2320
2321 ac_ext=c
2322 ac_cpp='$CPP $CPPFLAGS'
2323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2326 if test -n "$ac_tool_prefix"; then
2327 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2328 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2329 echo "$as_me:$LINENO: checking for $ac_word" >&5
2330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2331 if test "${ac_cv_prog_CC+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2333 else
2334 if test -n "$CC"; then
2335 ac_cv_prog_CC="$CC" # Let the user override the test.
2336 else
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2339 do
2340 IFS=$as_save_IFS
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 break 2
2347 fi
2348 done
2349 done
2350
2351 fi
2352 fi
2353 CC=$ac_cv_prog_CC
2354 if test -n "$CC"; then
2355 echo "$as_me:$LINENO: result: $CC" >&5
2356 echo "${ECHO_T}$CC" >&6
2357 else
2358 echo "$as_me:$LINENO: result: no" >&5
2359 echo "${ECHO_T}no" >&6
2360 fi
2361
2362 fi
2363 if test -z "$ac_cv_prog_CC"; then
2364 ac_ct_CC=$CC
2365 # Extract the first word of "gcc", so it can be a program name with args.
2366 set dummy gcc; ac_word=$2
2367 echo "$as_me:$LINENO: checking for $ac_word" >&5
2368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2369 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2371 else
2372 if test -n "$ac_ct_CC"; then
2373 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2374 else
2375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376 for as_dir in $PATH
2377 do
2378 IFS=$as_save_IFS
2379 test -z "$as_dir" && as_dir=.
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2382 ac_cv_prog_ac_ct_CC="gcc"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 break 2
2385 fi
2386 done
2387 done
2388
2389 fi
2390 fi
2391 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2392 if test -n "$ac_ct_CC"; then
2393 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2394 echo "${ECHO_T}$ac_ct_CC" >&6
2395 else
2396 echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6
2398 fi
2399
2400 CC=$ac_ct_CC
2401 else
2402 CC="$ac_cv_prog_CC"
2403 fi
2404
2405 if test -z "$CC"; then
2406 if test -n "$ac_tool_prefix"; then
2407 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2408 set dummy ${ac_tool_prefix}cc; ac_word=$2
2409 echo "$as_me:$LINENO: checking for $ac_word" >&5
2410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2411 if test "${ac_cv_prog_CC+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 else
2414 if test -n "$CC"; then
2415 ac_cv_prog_CC="$CC" # Let the user override the test.
2416 else
2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418 for as_dir in $PATH
2419 do
2420 IFS=$as_save_IFS
2421 test -z "$as_dir" && as_dir=.
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2424 ac_cv_prog_CC="${ac_tool_prefix}cc"
2425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 break 2
2427 fi
2428 done
2429 done
2430
2431 fi
2432 fi
2433 CC=$ac_cv_prog_CC
2434 if test -n "$CC"; then
2435 echo "$as_me:$LINENO: result: $CC" >&5
2436 echo "${ECHO_T}$CC" >&6
2437 else
2438 echo "$as_me:$LINENO: result: no" >&5
2439 echo "${ECHO_T}no" >&6
2440 fi
2441
2442 fi
2443 if test -z "$ac_cv_prog_CC"; then
2444 ac_ct_CC=$CC
2445 # Extract the first word of "cc", so it can be a program name with args.
2446 set dummy cc; ac_word=$2
2447 echo "$as_me:$LINENO: checking for $ac_word" >&5
2448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6
2451 else
2452 if test -n "$ac_ct_CC"; then
2453 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2454 else
2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 for as_dir in $PATH
2457 do
2458 IFS=$as_save_IFS
2459 test -z "$as_dir" && as_dir=.
2460 for ac_exec_ext in '' $ac_executable_extensions; do
2461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2462 ac_cv_prog_ac_ct_CC="cc"
2463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 break 2
2465 fi
2466 done
2467 done
2468
2469 fi
2470 fi
2471 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2472 if test -n "$ac_ct_CC"; then
2473 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2474 echo "${ECHO_T}$ac_ct_CC" >&6
2475 else
2476 echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6
2478 fi
2479
2480 CC=$ac_ct_CC
2481 else
2482 CC="$ac_cv_prog_CC"
2483 fi
2484
2485 fi
2486 if test -z "$CC"; then
2487 # Extract the first word of "cc", so it can be a program name with args.
2488 set dummy cc; ac_word=$2
2489 echo "$as_me:$LINENO: checking for $ac_word" >&5
2490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2491 if test "${ac_cv_prog_CC+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 else
2494 if test -n "$CC"; then
2495 ac_cv_prog_CC="$CC" # Let the user override the test.
2496 else
2497 ac_prog_rejected=no
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2506 ac_prog_rejected=yes
2507 continue
2508 fi
2509 ac_cv_prog_CC="cc"
2510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2511 break 2
2512 fi
2513 done
2514 done
2515
2516 if test $ac_prog_rejected = yes; then
2517 # We found a bogon in the path, so make sure we never use it.
2518 set dummy $ac_cv_prog_CC
2519 shift
2520 if test $@%:@ != 0; then
2521 # We chose a different compiler from the bogus one.
2522 # However, it has the same basename, so the bogon will be chosen
2523 # first if we set CC to just the basename; use the full file name.
2524 shift
2525 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2526 fi
2527 fi
2528 fi
2529 fi
2530 CC=$ac_cv_prog_CC
2531 if test -n "$CC"; then
2532 echo "$as_me:$LINENO: result: $CC" >&5
2533 echo "${ECHO_T}$CC" >&6
2534 else
2535 echo "$as_me:$LINENO: result: no" >&5
2536 echo "${ECHO_T}no" >&6
2537 fi
2538
2539 fi
2540 if test -z "$CC"; then
2541 if test -n "$ac_tool_prefix"; then
2542 for ac_prog in cl
2543 do
2544 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2545 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2546 echo "$as_me:$LINENO: checking for $ac_word" >&5
2547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2548 if test "${ac_cv_prog_CC+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 else
2551 if test -n "$CC"; then
2552 ac_cv_prog_CC="$CC" # Let the user override the test.
2553 else
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH
2556 do
2557 IFS=$as_save_IFS
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2561 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 break 2
2564 fi
2565 done
2566 done
2567
2568 fi
2569 fi
2570 CC=$ac_cv_prog_CC
2571 if test -n "$CC"; then
2572 echo "$as_me:$LINENO: result: $CC" >&5
2573 echo "${ECHO_T}$CC" >&6
2574 else
2575 echo "$as_me:$LINENO: result: no" >&5
2576 echo "${ECHO_T}no" >&6
2577 fi
2578
2579 test -n "$CC" && break
2580 done
2581 fi
2582 if test -z "$CC"; then
2583 ac_ct_CC=$CC
2584 for ac_prog in cl
2585 do
2586 # Extract the first word of "$ac_prog", so it can be a program name with args.
2587 set dummy $ac_prog; ac_word=$2
2588 echo "$as_me:$LINENO: checking for $ac_word" >&5
2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2590 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 else
2593 if test -n "$ac_ct_CC"; then
2594 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2595 else
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 for as_dir in $PATH
2598 do
2599 IFS=$as_save_IFS
2600 test -z "$as_dir" && as_dir=.
2601 for ac_exec_ext in '' $ac_executable_extensions; do
2602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2603 ac_cv_prog_ac_ct_CC="$ac_prog"
2604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 break 2
2606 fi
2607 done
2608 done
2609
2610 fi
2611 fi
2612 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2613 if test -n "$ac_ct_CC"; then
2614 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2615 echo "${ECHO_T}$ac_ct_CC" >&6
2616 else
2617 echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6
2619 fi
2620
2621 test -n "$ac_ct_CC" && break
2622 done
2623
2624 CC=$ac_ct_CC
2625 fi
2626
2627 fi
2628
2629
2630 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2631 See \`config.log' for more details." >&5
2632 echo "$as_me: error: no acceptable C compiler found in \$PATH
2633 See \`config.log' for more details." >&2;}
2634 { (exit 1); exit 1; }; }
2635
2636 # Provide some information about the compiler.
2637 echo "$as_me:$LINENO:" \
2638 "checking for C compiler version" >&5
2639 ac_compiler=`set X $ac_compile; echo $2`
2640 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2641 (eval $ac_compiler --version </dev/null >&5) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }
2645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2646 (eval $ac_compiler -v </dev/null >&5) 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }
2650 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2651 (eval $ac_compiler -V </dev/null >&5) 2>&5
2652 ac_status=$?
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); }
2655
2656 cat >conftest.$ac_ext <<_ACEOF
2657 /* confdefs.h. */
2658 _ACEOF
2659 cat confdefs.h >>conftest.$ac_ext
2660 cat >>conftest.$ac_ext <<_ACEOF
2661 /* end confdefs.h. */
2662
2663 int
2664 main ()
2665 {
2666
2667 ;
2668 return 0;
2669 }
2670 _ACEOF
2671 ac_clean_files_save=$ac_clean_files
2672 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2673 # Try to create an executable without -o first, disregard a.out.
2674 # It will help us diagnose broken compilers, and finding out an intuition
2675 # of exeext.
2676 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2677 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2678 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2679 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2680 (eval $ac_link_default) 2>&5
2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # Find the output, starting from the most likely. This scheme is
2685 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2686 # resort.
2687
2688 # Be careful to initialize this variable, since it used to be cached.
2689 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2690 ac_cv_exeext=
2691 # b.out is created by i960 compilers.
2692 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2693 do
2694 test -f "$ac_file" || continue
2695 case $ac_file in
2696 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2697 ;;
2698 conftest.$ac_ext )
2699 # This is the source file.
2700 ;;
2701 [ab].out )
2702 # We found the default executable, but exeext='' is most
2703 # certainly right.
2704 break;;
2705 *.* )
2706 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2707 # FIXME: I believe we export ac_cv_exeext for Libtool,
2708 # but it would be cool to find out if it's true. Does anybody
2709 # maintain Libtool? --akim.
2710 export ac_cv_exeext
2711 break;;
2712 * )
2713 break;;
2714 esac
2715 done
2716 else
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2719
2720 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2721 See \`config.log' for more details." >&5
2722 echo "$as_me: error: C compiler cannot create executables
2723 See \`config.log' for more details." >&2;}
2724 { (exit 77); exit 77; }; }
2725 fi
2726
2727 ac_exeext=$ac_cv_exeext
2728 echo "$as_me:$LINENO: result: $ac_file" >&5
2729 echo "${ECHO_T}$ac_file" >&6
2730
2731 # Check the compiler produces executables we can run. If not, either
2732 # the compiler is broken, or we cross compile.
2733 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2734 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2735 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2736 # If not cross compiling, check that we can run a simple program.
2737 if test "$cross_compiling" != yes; then
2738 if { ac_try='./$ac_file'
2739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 (eval $ac_try) 2>&5
2741 ac_status=$?
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; }; then
2744 cross_compiling=no
2745 else
2746 if test "$cross_compiling" = maybe; then
2747 cross_compiling=yes
2748 else
2749 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2750 If you meant to cross compile, use \`--host'.
2751 See \`config.log' for more details." >&5
2752 echo "$as_me: error: cannot run C compiled programs.
2753 If you meant to cross compile, use \`--host'.
2754 See \`config.log' for more details." >&2;}
2755 { (exit 1); exit 1; }; }
2756 fi
2757 fi
2758 fi
2759 echo "$as_me:$LINENO: result: yes" >&5
2760 echo "${ECHO_T}yes" >&6
2761
2762 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2763 ac_clean_files=$ac_clean_files_save
2764 # Check the compiler produces executables we can run. If not, either
2765 # the compiler is broken, or we cross compile.
2766 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2767 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2768 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2769 echo "${ECHO_T}$cross_compiling" >&6
2770
2771 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2772 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2774 (eval $ac_link) 2>&5
2775 ac_status=$?
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; then
2778 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2779 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2780 # work properly (i.e., refer to `conftest.exe'), while it won't with
2781 # `rm'.
2782 for ac_file in conftest.exe conftest conftest.*; do
2783 test -f "$ac_file" || continue
2784 case $ac_file in
2785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2786 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2787 export ac_cv_exeext
2788 break;;
2789 * ) break;;
2790 esac
2791 done
2792 else
2793 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2796 See \`config.log' for more details." >&2;}
2797 { (exit 1); exit 1; }; }
2798 fi
2799
2800 rm -f conftest$ac_cv_exeext
2801 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2802 echo "${ECHO_T}$ac_cv_exeext" >&6
2803
2804 rm -f conftest.$ac_ext
2805 EXEEXT=$ac_cv_exeext
2806 ac_exeext=$EXEEXT
2807 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2808 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2809 if test "${ac_cv_objext+set}" = set; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 else
2812 cat >conftest.$ac_ext <<_ACEOF
2813 /* confdefs.h. */
2814 _ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2818
2819 int
2820 main ()
2821 {
2822
2823 ;
2824 return 0;
2825 }
2826 _ACEOF
2827 rm -f conftest.o conftest.obj
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>&5
2830 ac_status=$?
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; then
2833 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2834 case $ac_file in
2835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2836 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2837 break;;
2838 esac
2839 done
2840 else
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2843
2844 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2845 See \`config.log' for more details." >&5
2846 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2847 See \`config.log' for more details." >&2;}
2848 { (exit 1); exit 1; }; }
2849 fi
2850
2851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2852 fi
2853 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2854 echo "${ECHO_T}$ac_cv_objext" >&6
2855 OBJEXT=$ac_cv_objext
2856 ac_objext=$OBJEXT
2857 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2858 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2859 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862 cat >conftest.$ac_ext <<_ACEOF
2863 /* confdefs.h. */
2864 _ACEOF
2865 cat confdefs.h >>conftest.$ac_ext
2866 cat >>conftest.$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2868
2869 int
2870 main ()
2871 {
2872 #ifndef __GNUC__
2873 choke me
2874 #endif
2875
2876 ;
2877 return 0;
2878 }
2879 _ACEOF
2880 rm -f conftest.$ac_objext
2881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 (eval $ac_compile) 2>conftest.er1
2883 ac_status=$?
2884 grep -v '^ *+' conftest.er1 >conftest.err
2885 rm -f conftest.er1
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } &&
2889 { ac_try='test -z "$ac_c_werror_flag"
2890 || test ! -s conftest.err'
2891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892 (eval $ac_try) 2>&5
2893 ac_status=$?
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; } &&
2896 { ac_try='test -s conftest.$ac_objext'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 (eval $ac_try) 2>&5
2899 ac_status=$?
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; }; then
2902 ac_compiler_gnu=yes
2903 else
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.$ac_ext >&5
2906
2907 ac_compiler_gnu=no
2908 fi
2909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2910 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2911
2912 fi
2913 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2914 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2915 GCC=`test $ac_compiler_gnu = yes && echo yes`
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2918 CFLAGS="-g"
2919 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2920 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2921 if test "${ac_cv_prog_cc_g+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 else
2924 cat >conftest.$ac_ext <<_ACEOF
2925 /* confdefs.h. */
2926 _ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2930
2931 int
2932 main ()
2933 {
2934
2935 ;
2936 return 0;
2937 }
2938 _ACEOF
2939 rm -f conftest.$ac_objext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941 (eval $ac_compile) 2>conftest.er1
2942 ac_status=$?
2943 grep -v '^ *+' conftest.er1 >conftest.err
2944 rm -f conftest.er1
2945 cat conftest.err >&5
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } &&
2948 { ac_try='test -z "$ac_c_werror_flag"
2949 || test ! -s conftest.err'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 (eval $ac_try) 2>&5
2952 ac_status=$?
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; } &&
2955 { ac_try='test -s conftest.$ac_objext'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 (eval $ac_try) 2>&5
2958 ac_status=$?
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2961 ac_cv_prog_cc_g=yes
2962 else
2963 echo "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2965
2966 ac_cv_prog_cc_g=no
2967 fi
2968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2969 fi
2970 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2971 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2972 if test "$ac_test_CFLAGS" = set; then
2973 CFLAGS=$ac_save_CFLAGS
2974 elif test $ac_cv_prog_cc_g = yes; then
2975 if test "$GCC" = yes; then
2976 CFLAGS="-g -O2"
2977 else
2978 CFLAGS="-g"
2979 fi
2980 else
2981 if test "$GCC" = yes; then
2982 CFLAGS="-O2"
2983 else
2984 CFLAGS=
2985 fi
2986 fi
2987 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2988 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2989 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 else
2992 ac_cv_prog_cc_stdc=no
2993 ac_save_CC=$CC
2994 cat >conftest.$ac_ext <<_ACEOF
2995 /* confdefs.h. */
2996 _ACEOF
2997 cat confdefs.h >>conftest.$ac_ext
2998 cat >>conftest.$ac_ext <<_ACEOF
2999 /* end confdefs.h. */
3000 #include <stdarg.h>
3001 #include <stdio.h>
3002 #include <sys/types.h>
3003 #include <sys/stat.h>
3004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3005 struct buf { int x; };
3006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3007 static char *e (p, i)
3008 char **p;
3009 int i;
3010 {
3011 return p[i];
3012 }
3013 static char *f (char * (*g) (char **, int), char **p, ...)
3014 {
3015 char *s;
3016 va_list v;
3017 va_start (v,p);
3018 s = g (p, va_arg (v,int));
3019 va_end (v);
3020 return s;
3021 }
3022
3023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3024 function prototypes and stuff, but not '\xHH' hex character constants.
3025 These don't provoke an error unfortunately, instead are silently treated
3026 as 'x'. The following induces an error, until -std1 is added to get
3027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3028 array size at least. It's necessary to write '\x00'==0 to get something
3029 that's true only with -std1. */
3030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3031
3032 int test (int i, double x);
3033 struct s1 {int (*f) (int a);};
3034 struct s2 {int (*f) (double a);};
3035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3036 int argc;
3037 char **argv;
3038 int
3039 main ()
3040 {
3041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3042 ;
3043 return 0;
3044 }
3045 _ACEOF
3046 # Don't try gcc -ansi; that turns off useful extensions and
3047 # breaks some systems' header files.
3048 # AIX -qlanglvl=ansi
3049 # Ultrix and OSF/1 -std1
3050 # HP-UX 10.20 and later -Ae
3051 # HP-UX older versions -Aa -D_HPUX_SOURCE
3052 # SVR4 -Xc -D__EXTENSIONS__
3053 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3054 do
3055 CC="$ac_save_CC $ac_arg"
3056 rm -f conftest.$ac_objext
3057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058 (eval $ac_compile) 2>conftest.er1
3059 ac_status=$?
3060 grep -v '^ *+' conftest.er1 >conftest.err
3061 rm -f conftest.er1
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try='test -z "$ac_c_werror_flag"
3066 || test ! -s conftest.err'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 (eval $ac_try) 2>&5
3069 ac_status=$?
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; } &&
3072 { ac_try='test -s conftest.$ac_objext'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 (eval $ac_try) 2>&5
3075 ac_status=$?
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; }; then
3078 ac_cv_prog_cc_stdc=$ac_arg
3079 break
3080 else
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3083
3084 fi
3085 rm -f conftest.err conftest.$ac_objext
3086 done
3087 rm -f conftest.$ac_ext conftest.$ac_objext
3088 CC=$ac_save_CC
3089
3090 fi
3091
3092 case "x$ac_cv_prog_cc_stdc" in
3093 x|xno)
3094 echo "$as_me:$LINENO: result: none needed" >&5
3095 echo "${ECHO_T}none needed" >&6 ;;
3096 *)
3097 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3098 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3099 CC="$CC $ac_cv_prog_cc_stdc" ;;
3100 esac
3101
3102 # Some people use a C++ compiler to compile C. Since we use `exit',
3103 # in C++ we need to declare it. In case someone uses the same compiler
3104 # for both compiling C and C++ we need to have the C++ compiler decide
3105 # the declaration of exit, since it's the most demanding environment.
3106 cat >conftest.$ac_ext <<_ACEOF
3107 @%:@ifndef __cplusplus
3108 choke me
3109 @%:@endif
3110 _ACEOF
3111 rm -f conftest.$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3114 ac_status=$?
3115 grep -v '^ *+' conftest.er1 >conftest.err
3116 rm -f conftest.er1
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -z "$ac_c_werror_flag"
3121 || test ! -s conftest.err'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 (eval $ac_try) 2>&5
3124 ac_status=$?
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; } &&
3127 { ac_try='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 (eval $ac_try) 2>&5
3130 ac_status=$?
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 for ac_declaration in \
3134 '' \
3135 'extern "C" void std::exit (int) throw (); using std::exit;' \
3136 'extern "C" void std::exit (int); using std::exit;' \
3137 'extern "C" void exit (int) throw ();' \
3138 'extern "C" void exit (int);' \
3139 'void exit (int);'
3140 do
3141 cat >conftest.$ac_ext <<_ACEOF
3142 /* confdefs.h. */
3143 _ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3147 $ac_declaration
3148 @%:@include <stdlib.h>
3149 int
3150 main ()
3151 {
3152 exit (42);
3153 ;
3154 return 0;
3155 }
3156 _ACEOF
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try='test -z "$ac_c_werror_flag"
3167 || test ! -s conftest.err'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 (eval $ac_try) 2>&5
3170 ac_status=$?
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; } &&
3173 { ac_try='test -s conftest.$ac_objext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 (eval $ac_try) 2>&5
3176 ac_status=$?
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3179 :
3180 else
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3183
3184 continue
3185 fi
3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3187 cat >conftest.$ac_ext <<_ACEOF
3188 /* confdefs.h. */
3189 _ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3193 $ac_declaration
3194 int
3195 main ()
3196 {
3197 exit (42);
3198 ;
3199 return 0;
3200 }
3201 _ACEOF
3202 rm -f conftest.$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3205 ac_status=$?
3206 grep -v '^ *+' conftest.er1 >conftest.err
3207 rm -f conftest.er1
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3214 (eval $ac_try) 2>&5
3215 ac_status=$?
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 (eval $ac_try) 2>&5
3221 ac_status=$?
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3224 break
3225 else
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3228
3229 fi
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3231 done
3232 rm -f conftest*
3233 if test -n "$ac_declaration"; then
3234 echo '#ifdef __cplusplus' >>confdefs.h
3235 echo $ac_declaration >>confdefs.h
3236 echo '#endif' >>confdefs.h
3237 fi
3238
3239 else
3240 echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3242
3243 fi
3244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3245 ac_ext=c
3246 ac_cpp='$CPP $CPPFLAGS'
3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 DEPDIR="${am__leading_dot}deps"
3251
3252 ac_config_commands="$ac_config_commands depfiles"
3253
3254
3255 am_make=${MAKE-make}
3256 cat > confinc << 'END'
3257 am__doit:
3258 @echo done
3259 .PHONY: am__doit
3260 END
3261 # If we don't find an include directive, just comment out the code.
3262 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3263 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3264 am__include="#"
3265 am__quote=
3266 _am_result=none
3267 # First try GNU make style include.
3268 echo "include confinc" > confmf
3269 # We grep out `Entering directory' and `Leaving directory'
3270 # messages which can occur if `w' ends up in MAKEFLAGS.
3271 # In particular we don't look at `^make:' because GNU make might
3272 # be invoked under some other name (usually "gmake"), in which
3273 # case it prints its new name instead of `make'.
3274 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3275 am__include=include
3276 am__quote=
3277 _am_result=GNU
3278 fi
3279 # Now try BSD make style include.
3280 if test "$am__include" = "#"; then
3281 echo '.include "confinc"' > confmf
3282 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3283 am__include=.include
3284 am__quote="\""
3285 _am_result=BSD
3286 fi
3287 fi
3288
3289
3290 echo "$as_me:$LINENO: result: $_am_result" >&5
3291 echo "${ECHO_T}$_am_result" >&6
3292 rm -f confinc confmf
3293
3294 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3295 if test "${enable_dependency_tracking+set}" = set; then
3296 enableval="$enable_dependency_tracking"
3297
3298 fi;
3299 if test "x$enable_dependency_tracking" != xno; then
3300 am_depcomp="$ac_aux_dir/depcomp"
3301 AMDEPBACKSLASH='\'
3302 fi
3303
3304
3305 if test "x$enable_dependency_tracking" != xno; then
3306 AMDEP_TRUE=
3307 AMDEP_FALSE='#'
3308 else
3309 AMDEP_TRUE='#'
3310 AMDEP_FALSE=
3311 fi
3312
3313
3314
3315
3316 depcc="$CC" am_compiler_list=
3317
3318 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3319 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3320 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 else
3323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3324 # We make a subdir and do the tests there. Otherwise we can end up
3325 # making bogus files that we don't know about and never remove. For
3326 # instance it was reported that on HP-UX the gcc test will end up
3327 # making a dummy file named `D' -- because `-MD' means `put the output
3328 # in D'.
3329 mkdir conftest.dir
3330 # Copy depcomp to subdir because otherwise we won't find it if we're
3331 # using a relative directory.
3332 cp "$am_depcomp" conftest.dir
3333 cd conftest.dir
3334 # We will build objects and dependencies in a subdirectory because
3335 # it helps to detect inapplicable dependency modes. For instance
3336 # both Tru64's cc and ICC support -MD to output dependencies as a
3337 # side effect of compilation, but ICC will put the dependencies in
3338 # the current directory while Tru64 will put them in the object
3339 # directory.
3340 mkdir sub
3341
3342 am_cv_CC_dependencies_compiler_type=none
3343 if test "$am_compiler_list" = ""; then
3344 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3345 fi
3346 for depmode in $am_compiler_list; do
3347 # Setup a source with many dependencies, because some compilers
3348 # like to wrap large dependency lists on column 80 (with \), and
3349 # we should not choose a depcomp mode which is confused by this.
3350 #
3351 # We need to recreate these files for each test, as the compiler may
3352 # overwrite some of them when testing with obscure command lines.
3353 # This happens at least with the AIX C compiler.
3354 : > sub/conftest.c
3355 for i in 1 2 3 4 5 6; do
3356 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3357 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3358 # Solaris 8's {/usr,}/bin/sh.
3359 touch sub/conftst$i.h
3360 done
3361 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3362
3363 case $depmode in
3364 nosideeffect)
3365 # after this tag, mechanisms are not by side-effect, so they'll
3366 # only be used when explicitly requested
3367 if test "x$enable_dependency_tracking" = xyes; then
3368 continue
3369 else
3370 break
3371 fi
3372 ;;
3373 none) break ;;
3374 esac
3375 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3376 # mode. It turns out that the SunPro C++ compiler does not properly
3377 # handle `-M -o', and we need to detect this.
3378 if depmode=$depmode \
3379 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3380 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3381 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3382 >/dev/null 2>conftest.err &&
3383 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3384 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3385 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3386 # icc doesn't choke on unknown options, it will just issue warnings
3387 # or remarks (even with -Werror). So we grep stderr for any message
3388 # that says an option was ignored or not supported.
3389 # When given -MP, icc 7.0 and 7.1 complain thusly:
3390 # icc: Command line warning: ignoring option '-M'; no argument required
3391 # The diagnosis changed in icc 8.0:
3392 # icc: Command line remark: option '-MP' not supported
3393 if (grep 'ignoring option' conftest.err ||
3394 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3395 am_cv_CC_dependencies_compiler_type=$depmode
3396 break
3397 fi
3398 fi
3399 done
3400
3401 cd ..
3402 rm -rf conftest.dir
3403 else
3404 am_cv_CC_dependencies_compiler_type=none
3405 fi
3406
3407 fi
3408 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3409 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3410 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3411
3412
3413
3414 if
3415 test "x$enable_dependency_tracking" != xno \
3416 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3417 am__fastdepCC_TRUE=
3418 am__fastdepCC_FALSE='#'
3419 else
3420 am__fastdepCC_TRUE='#'
3421 am__fastdepCC_FALSE=
3422 fi
3423
3424
3425 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3427 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3428 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3430 else
3431 cat >conftest.make <<\_ACEOF
3432 all:
3433 @echo 'ac_maketemp="$(MAKE)"'
3434 _ACEOF
3435 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3436 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3437 if test -n "$ac_maketemp"; then
3438 eval ac_cv_prog_make_${ac_make}_set=yes
3439 else
3440 eval ac_cv_prog_make_${ac_make}_set=no
3441 fi
3442 rm -f conftest.make
3443 fi
3444 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3447 SET_MAKE=
3448 else
3449 echo "$as_me:$LINENO: result: no" >&5
3450 echo "${ECHO_T}no" >&6
3451 SET_MAKE="MAKE=${MAKE-make}"
3452 fi
3453
3454
3455 for ac_prog in flex lex
3456 do
3457 # Extract the first word of "$ac_prog", so it can be a program name with args.
3458 set dummy $ac_prog; ac_word=$2
3459 echo "$as_me:$LINENO: checking for $ac_word" >&5
3460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3461 if test "${ac_cv_prog_LEX+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 if test -n "$LEX"; then
3465 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3466 else
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 for as_dir in $PATH
3469 do
3470 IFS=$as_save_IFS
3471 test -z "$as_dir" && as_dir=.
3472 for ac_exec_ext in '' $ac_executable_extensions; do
3473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474 ac_cv_prog_LEX="$ac_prog"
3475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3476 break 2
3477 fi
3478 done
3479 done
3480
3481 fi
3482 fi
3483 LEX=$ac_cv_prog_LEX
3484 if test -n "$LEX"; then
3485 echo "$as_me:$LINENO: result: $LEX" >&5
3486 echo "${ECHO_T}$LEX" >&6
3487 else
3488 echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6
3490 fi
3491
3492 test -n "$LEX" && break
3493 done
3494 test -n "$LEX" || LEX=":"
3495
3496 if test -z "$LEXLIB"
3497 then
3498 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3499 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3500 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 ac_check_lib_save_LIBS=$LIBS
3504 LIBS="-lfl $LIBS"
3505 cat >conftest.$ac_ext <<_ACEOF
3506 /* confdefs.h. */
3507 _ACEOF
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3511
3512 /* Override any gcc2 internal prototype to avoid an error. */
3513 #ifdef __cplusplus
3514 extern "C"
3515 #endif
3516 /* We use char because int might match the return type of a gcc2
3517 builtin and then its argument prototype would still apply. */
3518 char yywrap ();
3519 int
3520 main ()
3521 {
3522 yywrap ();
3523 ;
3524 return 0;
3525 }
3526 _ACEOF
3527 rm -f conftest.$ac_objext conftest$ac_exeext
3528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3529 (eval $ac_link) 2>conftest.er1
3530 ac_status=$?
3531 grep -v '^ *+' conftest.er1 >conftest.err
3532 rm -f conftest.er1
3533 cat conftest.err >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } &&
3536 { ac_try='test -z "$ac_c_werror_flag"
3537 || test ! -s conftest.err'
3538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3539 (eval $ac_try) 2>&5
3540 ac_status=$?
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; } &&
3543 { ac_try='test -s conftest$ac_exeext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 (eval $ac_try) 2>&5
3546 ac_status=$?
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3549 ac_cv_lib_fl_yywrap=yes
3550 else
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3553
3554 ac_cv_lib_fl_yywrap=no
3555 fi
3556 rm -f conftest.err conftest.$ac_objext \
3557 conftest$ac_exeext conftest.$ac_ext
3558 LIBS=$ac_check_lib_save_LIBS
3559 fi
3560 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3561 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3562 if test $ac_cv_lib_fl_yywrap = yes; then
3563 LEXLIB="-lfl"
3564 else
3565 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3566 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3567 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 else
3570 ac_check_lib_save_LIBS=$LIBS
3571 LIBS="-ll $LIBS"
3572 cat >conftest.$ac_ext <<_ACEOF
3573 /* confdefs.h. */
3574 _ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3578
3579 /* Override any gcc2 internal prototype to avoid an error. */
3580 #ifdef __cplusplus
3581 extern "C"
3582 #endif
3583 /* We use char because int might match the return type of a gcc2
3584 builtin and then its argument prototype would still apply. */
3585 char yywrap ();
3586 int
3587 main ()
3588 {
3589 yywrap ();
3590 ;
3591 return 0;
3592 }
3593 _ACEOF
3594 rm -f conftest.$ac_objext conftest$ac_exeext
3595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3596 (eval $ac_link) 2>conftest.er1
3597 ac_status=$?
3598 grep -v '^ *+' conftest.er1 >conftest.err
3599 rm -f conftest.er1
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } &&
3603 { ac_try='test -z "$ac_c_werror_flag"
3604 || test ! -s conftest.err'
3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3606 (eval $ac_try) 2>&5
3607 ac_status=$?
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); }; } &&
3610 { ac_try='test -s conftest$ac_exeext'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 (eval $ac_try) 2>&5
3613 ac_status=$?
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; }; then
3616 ac_cv_lib_l_yywrap=yes
3617 else
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_cv_lib_l_yywrap=no
3622 fi
3623 rm -f conftest.err conftest.$ac_objext \
3624 conftest$ac_exeext conftest.$ac_ext
3625 LIBS=$ac_check_lib_save_LIBS
3626 fi
3627 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3628 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3629 if test $ac_cv_lib_l_yywrap = yes; then
3630 LEXLIB="-ll"
3631 fi
3632
3633 fi
3634
3635 fi
3636
3637 if test "x$LEX" != "x:"; then
3638 echo "$as_me:$LINENO: checking lex output file root" >&5
3639 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3640 if test "${ac_cv_prog_lex_root+set}" = set; then
3641 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 else
3643 # The minimal lex program is just a single line: %%. But some broken lexes
3644 # (Solaris, I think it was) want two %% lines, so accommodate them.
3645 cat >conftest.l <<_ACEOF
3646 %%
3647 %%
3648 _ACEOF
3649 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3650 (eval $LEX conftest.l) 2>&5
3651 ac_status=$?
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }
3654 if test -f lex.yy.c; then
3655 ac_cv_prog_lex_root=lex.yy
3656 elif test -f lexyy.c; then
3657 ac_cv_prog_lex_root=lexyy
3658 else
3659 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3660 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663 fi
3664 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3665 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3666 rm -f conftest.l
3667 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3668
3669 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3670 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3671 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 else
3674 # POSIX says lex can declare yytext either as a pointer or an array; the
3675 # default is implementation-dependent. Figure out which it is, since
3676 # not all implementations provide the %pointer and %array declarations.
3677 ac_cv_prog_lex_yytext_pointer=no
3678 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3679 ac_save_LIBS=$LIBS
3680 LIBS="$LIBS $LEXLIB"
3681 cat >conftest.$ac_ext <<_ACEOF
3682 `cat $LEX_OUTPUT_ROOT.c`
3683 _ACEOF
3684 rm -f conftest.$ac_objext conftest$ac_exeext
3685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3686 (eval $ac_link) 2>conftest.er1
3687 ac_status=$?
3688 grep -v '^ *+' conftest.er1 >conftest.err
3689 rm -f conftest.er1
3690 cat conftest.err >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); } &&
3693 { ac_try='test -z "$ac_c_werror_flag"
3694 || test ! -s conftest.err'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696 (eval $ac_try) 2>&5
3697 ac_status=$?
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; } &&
3700 { ac_try='test -s conftest$ac_exeext'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 (eval $ac_try) 2>&5
3703 ac_status=$?
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; }; then
3706 ac_cv_prog_lex_yytext_pointer=yes
3707 else
3708 echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3710
3711 fi
3712 rm -f conftest.err conftest.$ac_objext \
3713 conftest$ac_exeext conftest.$ac_ext
3714 LIBS=$ac_save_LIBS
3715 rm -f "${LEX_OUTPUT_ROOT}.c"
3716
3717 fi
3718 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3719 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3720 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3721
3722 cat >>confdefs.h <<\_ACEOF
3723 @%:@define YYTEXT_POINTER 1
3724 _ACEOF
3725
3726 fi
3727
3728 fi
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3731 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3732 echo "$as_me:$LINENO: checking for $ac_word" >&5
3733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3734 if test "${ac_cv_prog_RANLIB+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 else
3737 if test -n "$RANLIB"; then
3738 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3739 else
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3742 do
3743 IFS=$as_save_IFS
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 break 2
3750 fi
3751 done
3752 done
3753
3754 fi
3755 fi
3756 RANLIB=$ac_cv_prog_RANLIB
3757 if test -n "$RANLIB"; then
3758 echo "$as_me:$LINENO: result: $RANLIB" >&5
3759 echo "${ECHO_T}$RANLIB" >&6
3760 else
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3763 fi
3764
3765 fi
3766 if test -z "$ac_cv_prog_RANLIB"; then
3767 ac_ct_RANLIB=$RANLIB
3768 # Extract the first word of "ranlib", so it can be a program name with args.
3769 set dummy ranlib; ac_word=$2
3770 echo "$as_me:$LINENO: checking for $ac_word" >&5
3771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3772 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 else
3775 if test -n "$ac_ct_RANLIB"; then
3776 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3777 else
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3780 do
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_RANLIB="ranlib"
3786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 break 2
3788 fi
3789 done
3790 done
3791
3792 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3793 fi
3794 fi
3795 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3796 if test -n "$ac_ct_RANLIB"; then
3797 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3798 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3799 else
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3802 fi
3803
3804 RANLIB=$ac_ct_RANLIB
3805 else
3806 RANLIB="$ac_cv_prog_RANLIB"
3807 fi
3808
3809
3810 #
3811 # only needed if user wishes to process various files with an external reader
3812 #
3813 # Extract the first word of "fsdbdebug", so it can be a program name with args.
3814 set dummy fsdbdebug; ac_word=$2
3815 echo "$as_me:$LINENO: checking for $ac_word" >&5
3816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3817 if test "${ac_cv_path_EXTDEBUG+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 else
3820 case $EXTDEBUG in
3821 [\\/]* | ?:[\\/]*)
3822 ac_cv_path_EXTDEBUG="$EXTDEBUG" # Let the user override the test with a path.
3823 ;;
3824 *)
3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3826 for as_dir in $PATH
3827 do
3828 IFS=$as_save_IFS
3829 test -z "$as_dir" && as_dir=.
3830 for ac_exec_ext in '' $ac_executable_extensions; do
3831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_path_EXTDEBUG="$as_dir/$ac_word$ac_exec_ext"
3833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 break 2
3835 fi
3836 done
3837 done
3838
3839 test -z "$ac_cv_path_EXTDEBUG" && ac_cv_path_EXTDEBUG="notfound"
3840 ;;
3841 esac
3842 fi
3843 EXTDEBUG=$ac_cv_path_EXTDEBUG
3844
3845 if test -n "$EXTDEBUG"; then
3846 echo "$as_me:$LINENO: result: $EXTDEBUG" >&5
3847 echo "${ECHO_T}$EXTDEBUG" >&6
3848 else
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3851 fi
3852
3853 if test "$EXTDEBUG" = "notfound" ; then
3854 EXTLOAD_CFLAGS=
3855 else
3856 EXTLOAD_CFLAGS="-DEXTLOAD_PATH=\\\"$EXTDEBUG\\\" -DEXTLOAD_SUFFIX=\\\"fsdb\\\""
3857 fi
3858
3859
3860
3861 #
3862 # gperf only needed if the user updates the gperf data
3863 # files which only developers will be doing...
3864 #
3865 # Extract the first word of "gperf", so it can be a program name with args.
3866 set dummy gperf; ac_word=$2
3867 echo "$as_me:$LINENO: checking for $ac_word" >&5
3868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3869 if test "${ac_cv_path_GPERF+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 else
3872 case $GPERF in
3873 [\\/]* | ?:[\\/]*)
3874 ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
3875 ;;
3876 *)
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 for as_dir in $PATH
3879 do
3880 IFS=$as_save_IFS
3881 test -z "$as_dir" && as_dir=.
3882 for ac_exec_ext in '' $ac_executable_extensions; do
3883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3884 ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
3885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 break 2
3887 fi
3888 done
3889 done
3890
3891 test -z "$ac_cv_path_GPERF" && ac_cv_path_GPERF="notfound"
3892 ;;
3893 esac
3894 fi
3895 GPERF=$ac_cv_path_GPERF
3896
3897 if test -n "$GPERF"; then
3898 echo "$as_me:$LINENO: result: $GPERF" >&5
3899 echo "${ECHO_T}$GPERF" >&6
3900 else
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3903 fi
3904
3905 if test "$GPERF" = "notfound" ; then
3906 { { echo "$as_me:$LINENO: error: Couldn't find a usable gperf program.
3907 Please install gperf which is available from
3908 ftp://ftp.gnu.org/pub/gnu/gperf/
3909 " >&5
3910 echo "$as_me: error: Couldn't find a usable gperf program.
3911 Please install gperf which is available from
3912 ftp://ftp.gnu.org/pub/gnu/gperf/
3913 " >&2;}
3914 { (exit 1); exit 1; }; }
3915 fi
3916
3917 # Checks for libraries.
3918
3919 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
3920 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
3921 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 else
3924 ac_check_lib_save_LIBS=$LIBS
3925 LIBS="-ldl $LIBS"
3926 cat >conftest.$ac_ext <<_ACEOF
3927 /* confdefs.h. */
3928 _ACEOF
3929 cat confdefs.h >>conftest.$ac_ext
3930 cat >>conftest.$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3932
3933 /* Override any gcc2 internal prototype to avoid an error. */
3934 #ifdef __cplusplus
3935 extern "C"
3936 #endif
3937 /* We use char because int might match the return type of a gcc2
3938 builtin and then its argument prototype would still apply. */
3939 char dlopen ();
3940 int
3941 main ()
3942 {
3943 dlopen ();
3944 ;
3945 return 0;
3946 }
3947 _ACEOF
3948 rm -f conftest.$ac_objext conftest$ac_exeext
3949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3950 (eval $ac_link) 2>conftest.er1
3951 ac_status=$?
3952 grep -v '^ *+' conftest.er1 >conftest.err
3953 rm -f conftest.er1
3954 cat conftest.err >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } &&
3957 { ac_try='test -z "$ac_c_werror_flag"
3958 || test ! -s conftest.err'
3959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 (eval $ac_try) 2>&5
3961 ac_status=$?
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); }; } &&
3964 { ac_try='test -s conftest$ac_exeext'
3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966 (eval $ac_try) 2>&5
3967 ac_status=$?
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }; }; then
3970 ac_cv_lib_dl_dlopen=yes
3971 else
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3974
3975 ac_cv_lib_dl_dlopen=no
3976 fi
3977 rm -f conftest.err conftest.$ac_objext \
3978 conftest$ac_exeext conftest.$ac_ext
3979 LIBS=$ac_check_lib_save_LIBS
3980 fi
3981 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
3982 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
3983 if test $ac_cv_lib_dl_dlopen = yes; then
3984 cat >>confdefs.h <<_ACEOF
3985 @%:@define HAVE_LIBDL 1
3986 _ACEOF
3987
3988 LIBS="-ldl $LIBS"
3989
3990 fi
3991
3992
3993 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
3994 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
3995 if test "${ac_cv_lib_m_sqrt+set}" = set; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 else
3998 ac_check_lib_save_LIBS=$LIBS
3999 LIBS="-lm $LIBS"
4000 cat >conftest.$ac_ext <<_ACEOF
4001 /* confdefs.h. */
4002 _ACEOF
4003 cat confdefs.h >>conftest.$ac_ext
4004 cat >>conftest.$ac_ext <<_ACEOF
4005 /* end confdefs.h. */
4006
4007 /* Override any gcc2 internal prototype to avoid an error. */
4008 #ifdef __cplusplus
4009 extern "C"
4010 #endif
4011 /* We use char because int might match the return type of a gcc2
4012 builtin and then its argument prototype would still apply. */
4013 char sqrt ();
4014 int
4015 main ()
4016 {
4017 sqrt ();
4018 ;
4019 return 0;
4020 }
4021 _ACEOF
4022 rm -f conftest.$ac_objext conftest$ac_exeext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4024 (eval $ac_link) 2>conftest.er1
4025 ac_status=$?
4026 grep -v '^ *+' conftest.er1 >conftest.err
4027 rm -f conftest.er1
4028 cat conftest.err >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try='test -z "$ac_c_werror_flag"
4032 || test ! -s conftest.err'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 (eval $ac_try) 2>&5
4035 ac_status=$?
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; } &&
4038 { ac_try='test -s conftest$ac_exeext'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 (eval $ac_try) 2>&5
4041 ac_status=$?
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; }; then
4044 ac_cv_lib_m_sqrt=yes
4045 else
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.$ac_ext >&5
4048
4049 ac_cv_lib_m_sqrt=no
4050 fi
4051 rm -f conftest.err conftest.$ac_objext \
4052 conftest$ac_exeext conftest.$ac_ext
4053 LIBS=$ac_check_lib_save_LIBS
4054 fi
4055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4056 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4057 if test $ac_cv_lib_m_sqrt = yes; then
4058 cat >>confdefs.h <<_ACEOF
4059 @%:@define HAVE_LIBM 1
4060 _ACEOF
4061
4062 LIBS="-lm $LIBS"
4063
4064 fi
4065
4066
4067 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
4068 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
4069 if test "${ac_cv_lib_pthread_main+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 else
4072 ac_check_lib_save_LIBS=$LIBS
4073 LIBS="-lpthread $LIBS"
4074 cat >conftest.$ac_ext <<_ACEOF
4075 /* confdefs.h. */
4076 _ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080
4081
4082 int
4083 main ()
4084 {
4085 main ();
4086 ;
4087 return 0;
4088 }
4089 _ACEOF
4090 rm -f conftest.$ac_objext conftest$ac_exeext
4091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4092 (eval $ac_link) 2>conftest.er1
4093 ac_status=$?
4094 grep -v '^ *+' conftest.er1 >conftest.err
4095 rm -f conftest.er1
4096 cat conftest.err >&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try='test -z "$ac_c_werror_flag"
4100 || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 (eval $ac_try) 2>&5
4103 ac_status=$?
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 (eval $ac_try) 2>&5
4109 ac_status=$?
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 ac_cv_lib_pthread_main=yes
4113 else
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4116
4117 ac_cv_lib_pthread_main=no
4118 fi
4119 rm -f conftest.err conftest.$ac_objext \
4120 conftest$ac_exeext conftest.$ac_ext
4121 LIBS=$ac_check_lib_save_LIBS
4122 fi
4123 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
4124 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
4125 if test $ac_cv_lib_pthread_main = yes; then
4126 cat >>confdefs.h <<_ACEOF
4127 @%:@define HAVE_LIBPTHREAD 1
4128 _ACEOF
4129
4130 LIBS="-lpthread $LIBS"
4131
4132 fi
4133
4134
4135 # included or system libz and libbz2. By default, we search for the
4136 # system libz and libbz2. If not found, build the included ones.
4137 # The --enable-local-libz and --enable-local_libbz2 arguments can be
4138 # used to force the use of the included libs. --disable-local-libz
4139 # and --disable-local-libbz2 can be used to force the use of system
4140 # libs
4141 # Check whether --enable-local-libz or --disable-local-libz was given.
4142 if test "${enable_local_libz+set}" = set; then
4143 enableval="$enable_local_libz"
4144
4145 if test "X$enable_local_libz" = "Xno" ; then
4146 force_system_libz=yes
4147 else
4148 force_bundled_libz=yes
4149 fi
4150
4151 fi;
4152
4153 need_libz=no
4154 LIBZ_LDADD=
4155 LIBZ_CFLAGS=
4156 if test "X$force_bundled_libz" != "Xyes" ; then
4157 cat >conftest.$ac_ext <<_ACEOF
4158 /* confdefs.h. */
4159 _ACEOF
4160 cat confdefs.h >>conftest.$ac_ext
4161 cat >>conftest.$ac_ext <<_ACEOF
4162 /* end confdefs.h. */
4163 #include <zlib.h>
4164 int
4165 main ()
4166 {
4167 gzdopen(0,"rb");
4168 ;
4169 return 0;
4170 }
4171 _ACEOF
4172 rm -f conftest.$ac_objext
4173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4174 (eval $ac_compile) 2>conftest.er1
4175 ac_status=$?
4176 grep -v '^ *+' conftest.er1 >conftest.err
4177 rm -f conftest.er1
4178 cat conftest.err >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } &&
4181 { ac_try='test -z "$ac_c_werror_flag"
4182 || test ! -s conftest.err'
4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 (eval $ac_try) 2>&5
4185 ac_status=$?
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; } &&
4188 { ac_try='test -s conftest.$ac_objext'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 (eval $ac_try) 2>&5
4191 ac_status=$?
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; }; then
4194 :
4195 else
4196 echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4198
4199 need_libz=yes
4200 fi
4201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4202 if test "$need_libz" = "yes" -a "X$force_system_libz" = "Xyes" ; then
4203 { { echo "$as_me:$LINENO: error:
4204 You have disabled building the bundled libz but no system libz headers
4205 could be found. Either allow building the bundled libz (by not using
4206 --disable-local-libz) or make sure your system has a libz installed" >&5
4207 echo "$as_me: error:
4208 You have disabled building the bundled libz but no system libz headers
4209 could be found. Either allow building the bundled libz (by not using
4210 --disable-local-libz) or make sure your system has a libz installed" >&2;}
4211 { (exit 1); exit 1; }; }
4212 fi
4213 echo "$as_me:$LINENO: checking for gzread in -lz" >&5
4214 echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6
4215 if test "${ac_cv_lib_z_gzread+set}" = set; then
4216 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 else
4218 ac_check_lib_save_LIBS=$LIBS
4219 LIBS="-lz $LIBS"
4220 cat >conftest.$ac_ext <<_ACEOF
4221 /* confdefs.h. */
4222 _ACEOF
4223 cat confdefs.h >>conftest.$ac_ext
4224 cat >>conftest.$ac_ext <<_ACEOF
4225 /* end confdefs.h. */
4226
4227 /* Override any gcc2 internal prototype to avoid an error. */
4228 #ifdef __cplusplus
4229 extern "C"
4230 #endif
4231 /* We use char because int might match the return type of a gcc2
4232 builtin and then its argument prototype would still apply. */
4233 char gzread ();
4234 int
4235 main ()
4236 {
4237 gzread ();
4238 ;
4239 return 0;
4240 }
4241 _ACEOF
4242 rm -f conftest.$ac_objext conftest$ac_exeext
4243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4244 (eval $ac_link) 2>conftest.er1
4245 ac_status=$?
4246 grep -v '^ *+' conftest.er1 >conftest.err
4247 rm -f conftest.er1
4248 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } &&
4251 { ac_try='test -z "$ac_c_werror_flag"
4252 || test ! -s conftest.err'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 (eval $ac_try) 2>&5
4255 ac_status=$?
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; } &&
4258 { ac_try='test -s conftest$ac_exeext'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 (eval $ac_try) 2>&5
4261 ac_status=$?
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; }; then
4264 ac_cv_lib_z_gzread=yes
4265 else
4266 echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.$ac_ext >&5
4268
4269 ac_cv_lib_z_gzread=no
4270 fi
4271 rm -f conftest.err conftest.$ac_objext \
4272 conftest$ac_exeext conftest.$ac_ext
4273 LIBS=$ac_check_lib_save_LIBS
4274 fi
4275 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
4276 echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6
4277 if test $ac_cv_lib_z_gzread = yes; then
4278 LIBZ_LDADD=-lz
4279 else
4280 need_libz=yes
4281 fi
4282
4283 if test "$need_libz" = "yes" -a "X$force_system_libz" = "Xyes" ; then
4284 { { echo "$as_me:$LINENO: error:
4285 You have disabled building the bundled libz but no system libz could
4286 be found. Either allow building the bundled libz (by not using
4287 --disable-local-libz) or make sure your system has a libz installed" >&5
4288 echo "$as_me: error:
4289 You have disabled building the bundled libz but no system libz could
4290 be found. Either allow building the bundled libz (by not using
4291 --disable-local-libz) or make sure your system has a libz installed" >&2;}
4292 { (exit 1); exit 1; }; }
4293 fi
4294 else
4295 need_libz=yes
4296 fi
4297
4298 # Check whether --enable-local-libbz2 or --disable-local-libbz2 was given.
4299 if test "${enable_local_libbz2+set}" = set; then
4300 enableval="$enable_local_libbz2"
4301
4302 if test "X$enable_local_libbz2" = "Xno" ; then
4303 force_system_libbz2=yes
4304 else
4305 force_bundled_libbz2=yes
4306 fi
4307
4308 fi;
4309
4310 need_libbz2=no
4311 LIBBZ2_LDADD=
4312 LIBBZ2_CFLAGS=
4313 if test "X$force_bundled_libbz2" != "Xyes" ; then
4314 cat >conftest.$ac_ext <<_ACEOF
4315 /* confdefs.h. */
4316 _ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4320 #include <bzlib.h>
4321 int
4322 main ()
4323 {
4324 BZ2_bzdopen(0,"rb");
4325 ;
4326 return 0;
4327 }
4328 _ACEOF
4329 rm -f conftest.$ac_objext
4330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4331 (eval $ac_compile) 2>conftest.er1
4332 ac_status=$?
4333 grep -v '^ *+' conftest.er1 >conftest.err
4334 rm -f conftest.er1
4335 cat conftest.err >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } &&
4338 { ac_try='test -z "$ac_c_werror_flag"
4339 || test ! -s conftest.err'
4340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 (eval $ac_try) 2>&5
4342 ac_status=$?
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); }; } &&
4345 { ac_try='test -s conftest.$ac_objext'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347 (eval $ac_try) 2>&5
4348 ac_status=$?
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; }; then
4351 :
4352 else
4353 echo "$as_me: failed program was:" >&5
4354 sed 's/^/| /' conftest.$ac_ext >&5
4355
4356 need_libbz2=yes
4357 fi
4358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4359 if test "$need_libbz2" = "yes" -a "X$force_system_libbz2" = "Xyes" ; then
4360 { { echo "$as_me:$LINENO: error:
4361 You have disabled building the bundled libbz2 but no system libbz2 headers
4362 could be found. Either allow building the bundled libbz2 (by not using
4363 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&5
4364 echo "$as_me: error:
4365 You have disabled building the bundled libbz2 but no system libbz2 headers
4366 could be found. Either allow building the bundled libbz2 (by not using
4367 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&2;}
4368 { (exit 1); exit 1; }; }
4369 fi
4370 echo "$as_me:$LINENO: checking for BZ2_bzread in -lbz2" >&5
4371 echo $ECHO_N "checking for BZ2_bzread in -lbz2... $ECHO_C" >&6
4372 if test "${ac_cv_lib_bz2_BZ2_bzread+set}" = set; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 else
4375 ac_check_lib_save_LIBS=$LIBS
4376 LIBS="-lbz2 $LIBS"
4377 cat >conftest.$ac_ext <<_ACEOF
4378 /* confdefs.h. */
4379 _ACEOF
4380 cat confdefs.h >>conftest.$ac_ext
4381 cat >>conftest.$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4383
4384 /* Override any gcc2 internal prototype to avoid an error. */
4385 #ifdef __cplusplus
4386 extern "C"
4387 #endif
4388 /* We use char because int might match the return type of a gcc2
4389 builtin and then its argument prototype would still apply. */
4390 char BZ2_bzread ();
4391 int
4392 main ()
4393 {
4394 BZ2_bzread ();
4395 ;
4396 return 0;
4397 }
4398 _ACEOF
4399 rm -f conftest.$ac_objext conftest$ac_exeext
4400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4401 (eval $ac_link) 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); } &&
4408 { ac_try='test -z "$ac_c_werror_flag"
4409 || test ! -s conftest.err'
4410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411 (eval $ac_try) 2>&5
4412 ac_status=$?
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); }; } &&
4415 { ac_try='test -s conftest$ac_exeext'
4416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 (eval $ac_try) 2>&5
4418 ac_status=$?
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }; }; then
4421 ac_cv_lib_bz2_BZ2_bzread=yes
4422 else
4423 echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4425
4426 ac_cv_lib_bz2_BZ2_bzread=no
4427 fi
4428 rm -f conftest.err conftest.$ac_objext \
4429 conftest$ac_exeext conftest.$ac_ext
4430 LIBS=$ac_check_lib_save_LIBS
4431 fi
4432 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzread" >&5
4433 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzread" >&6
4434 if test $ac_cv_lib_bz2_BZ2_bzread = yes; then
4435 LIBBZ2_LDADD=-lbz2
4436 else
4437 need_libbz2=yes
4438 fi
4439
4440 if test "$need_libbz2" = "yes" -a "X$force_system_libbz2" = "Xyes" ; then
4441 { { echo "$as_me:$LINENO: error:
4442 You have disabled building the bundled libbz2 but no system libbz2 could
4443 be found. Either allow building the bundled libbz2 (by not using
4444 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&5
4445 echo "$as_me: error:
4446 You have disabled building the bundled libbz2 but no system libbz2 could
4447 be found. Either allow building the bundled libbz2 (by not using
4448 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&2;}
4449 { (exit 1); exit 1; }; }
4450 fi
4451 else
4452 need_libbz2=yes
4453 fi
4454
4455 LIBZ_DIR=
4456 if test "$need_libz" = "yes" ; then
4457 LIBZ_CFLAGS='-I$(top_srcdir)/src/libz'
4458 LIBZ_LDADD='$(top_builddir)/src/libz/libz.a'
4459 LIBZ_DIR=libz
4460 fi
4461
4462
4463
4464
4465 LIBBZ2_DIR=
4466 if test "$need_libbz2" = "yes" ; then
4467 LIBBZ2_CFLAGS='-I$(top_srcdir)/src/libbz2'
4468 LIBBZ2_LDADD='$(top_builddir)/src/libbz2/libbz2.a'
4469 LIBBZ2_DIR=libbz2
4470 fi
4471
4472
4473
4474
4475 # ------------- LZMA / XZ -------------------
4476
4477 echo "$as_me:$LINENO: checking if XZ should be enabled" >&5
4478 echo $ECHO_N "checking if XZ should be enabled... $ECHO_C" >&6
4479
4480 EXZ=yes
4481 # Check whether --enable-xz or --disable-xz was given.
4482 if test "${enable_xz+set}" = set; then
4483 enableval="$enable_xz"
4484
4485 if test "X$enable_xz" = "Xno" ; then
4486 EXZ=no
4487 fi
4488
4489 fi;
4490 echo "$as_me:$LINENO: result: $EXZ" >&5
4491 echo "${ECHO_T}$EXZ" >&6
4492
4493 LIBXZ_LDADD=
4494 LIBXZ_CFLAGS=
4495 if test "X$EXZ" == "Xyes"; then
4496 have_liblzma=no
4497 cat >conftest.$ac_ext <<_ACEOF
4498 /* confdefs.h. */
4499 _ACEOF
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4503 #include <lzma.h>
4504 int
4505 main ()
4506 {
4507 lzma_end(NULL);
4508 ;
4509 return 0;
4510 }
4511 _ACEOF
4512 rm -f conftest.$ac_objext
4513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4514 (eval $ac_compile) 2>conftest.er1
4515 ac_status=$?
4516 grep -v '^ *+' conftest.er1 >conftest.err
4517 rm -f conftest.er1
4518 cat conftest.err >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); } &&
4521 { ac_try='test -z "$ac_c_werror_flag"
4522 || test ! -s conftest.err'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 (eval $ac_try) 2>&5
4525 ac_status=$?
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; } &&
4528 { ac_try='test -s conftest.$ac_objext'
4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 (eval $ac_try) 2>&5
4531 ac_status=$?
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533 (exit $ac_status); }; }; then
4534 :
4535 else
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4538
4539 have_liblzma=yes
4540 fi
4541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4542 echo "$as_me:$LINENO: checking for lzma_end in -llzma" >&5
4543 echo $ECHO_N "checking for lzma_end in -llzma... $ECHO_C" >&6
4544 if test "${ac_cv_lib_lzma_lzma_end+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4546 else
4547 ac_check_lib_save_LIBS=$LIBS
4548 LIBS="-llzma $LIBS"
4549 cat >conftest.$ac_ext <<_ACEOF
4550 /* confdefs.h. */
4551 _ACEOF
4552 cat confdefs.h >>conftest.$ac_ext
4553 cat >>conftest.$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4555
4556 /* Override any gcc2 internal prototype to avoid an error. */
4557 #ifdef __cplusplus
4558 extern "C"
4559 #endif
4560 /* We use char because int might match the return type of a gcc2
4561 builtin and then its argument prototype would still apply. */
4562 char lzma_end ();
4563 int
4564 main ()
4565 {
4566 lzma_end ();
4567 ;
4568 return 0;
4569 }
4570 _ACEOF
4571 rm -f conftest.$ac_objext conftest$ac_exeext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4573 (eval $ac_link) 2>conftest.er1
4574 ac_status=$?
4575 grep -v '^ *+' conftest.er1 >conftest.err
4576 rm -f conftest.er1
4577 cat conftest.err >&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try='test -z "$ac_c_werror_flag"
4581 || test ! -s conftest.err'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4583 (eval $ac_try) 2>&5
4584 ac_status=$?
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
4593 ac_cv_lib_lzma_lzma_end=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4597
4598 ac_cv_lib_lzma_lzma_end=no
4599 fi
4600 rm -f conftest.err conftest.$ac_objext \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4603 fi
4604 echo "$as_me:$LINENO: result: $ac_cv_lib_lzma_lzma_end" >&5
4605 echo "${ECHO_T}$ac_cv_lib_lzma_lzma_end" >&6
4606 if test $ac_cv_lib_lzma_lzma_end = yes; then
4607 LIBLZMA_LDADD=-llzma
4608 else
4609 have_liblzma=yes
4610 fi
4611
4612 if test "$have_liblzma" = "yes" ; then
4613 { { echo "$as_me:$LINENO: error: LZMA support for VZT is enabled, but xz could not be found.
4614 Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag." >&5
4615 echo "$as_me: error: LZMA support for VZT is enabled, but xz could not be found.
4616 Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag." >&2;}
4617 { (exit 1); exit 1; }; }
4618 fi
4619 LIBXZ_LDADD='-llzma'
4620 LIBXZ_CFLAGS='-D_WAVE_HAVE_XZ'
4621 fi
4622
4623
4624
4625 # ------------- Fast Tree -------------------
4626
4627 echo "$as_me:$LINENO: checking if Fast SST Tree should be enabled" >&5
4628 echo $ECHO_N "checking if Fast SST Tree should be enabled... $ECHO_C" >&6
4629
4630 FASTTREE=yes
4631 # Check whether --enable-fasttree or --disable-fasttree was given.
4632 if test "${enable_fasttree+set}" = set; then
4633 enableval="$enable_fasttree"
4634
4635 if test "X$enable_fasttree" = "Xno" ; then
4636 FASTTREE=no
4637 fi
4638
4639 fi;
4640 echo "$as_me:$LINENO: result: $FASTTREE" >&5
4641 echo "${ECHO_T}$FASTTREE" >&6
4642
4643 FASTTREE_CFLAGS=
4644 if test "X$FASTTREE" == "Xno"; then
4645 FASTTREE_CFLAGS='-DWAVE_DISABLE_FAST_TREE'
4646 fi
4647
4648
4649 # ------------- Judy -------------------
4650
4651 echo "$as_me:$LINENO: checking if Judy array support should be enabled" >&5
4652 echo $ECHO_N "checking if Judy array support should be enabled... $ECHO_C" >&6
4653
4654 EJUDY=no
4655 # Check whether --enable-judy or --disable-judy was given.
4656 if test "${enable_judy+set}" = set; then
4657 enableval="$enable_judy"
4658
4659 if test "X$enable_judy" = "Xno" ; then
4660 EJUDY=no
4661 else
4662 EJUDY=yes
4663 fi
4664
4665 fi;
4666 echo "$as_me:$LINENO: result: $EJUDY" >&5
4667 echo "${ECHO_T}$EJUDY" >&6
4668
4669 LIBJUDY_LDADD=
4670 LIBJUDY_CFLAGS=
4671 if test "X$EJUDY" == "Xyes"; then
4672 have_libjudy=no
4673 cat >conftest.$ac_ext <<_ACEOF
4674 /* confdefs.h. */
4675 _ACEOF
4676 cat confdefs.h >>conftest.$ac_ext
4677 cat >>conftest.$ac_ext <<_ACEOF
4678 /* end confdefs.h. */
4679 #include <Judy.h>
4680 int
4681 main ()
4682 {
4683 JudySLIns (NULL, NULL, NULL);
4684 ;
4685 return 0;
4686 }
4687 _ACEOF
4688 rm -f conftest.$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4691 ac_status=$?
4692 grep -v '^ *+' conftest.er1 >conftest.err
4693 rm -f conftest.er1
4694 cat conftest.err >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try='test -z "$ac_c_werror_flag"
4698 || test ! -s conftest.err'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 (eval $ac_try) 2>&5
4701 ac_status=$?
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 (eval $ac_try) 2>&5
4707 ac_status=$?
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 :
4711 else
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.$ac_ext >&5
4714
4715 have_libjudy=yes
4716 fi
4717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4718 echo "$as_me:$LINENO: checking for JudySLIns in -lJudy" >&5
4719 echo $ECHO_N "checking for JudySLIns in -lJudy... $ECHO_C" >&6
4720 if test "${ac_cv_lib_Judy_JudySLIns+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 else
4723 ac_check_lib_save_LIBS=$LIBS
4724 LIBS="-lJudy $LIBS"
4725 cat >conftest.$ac_ext <<_ACEOF
4726 /* confdefs.h. */
4727 _ACEOF
4728 cat confdefs.h >>conftest.$ac_ext
4729 cat >>conftest.$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4731
4732 /* Override any gcc2 internal prototype to avoid an error. */
4733 #ifdef __cplusplus
4734 extern "C"
4735 #endif
4736 /* We use char because int might match the return type of a gcc2
4737 builtin and then its argument prototype would still apply. */
4738 char JudySLIns ();
4739 int
4740 main ()
4741 {
4742 JudySLIns ();
4743 ;
4744 return 0;
4745 }
4746 _ACEOF
4747 rm -f conftest.$ac_objext conftest$ac_exeext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4749 (eval $ac_link) 2>conftest.er1
4750 ac_status=$?
4751 grep -v '^ *+' conftest.er1 >conftest.err
4752 rm -f conftest.er1
4753 cat conftest.err >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); } &&
4756 { ac_try='test -z "$ac_c_werror_flag"
4757 || test ! -s conftest.err'
4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759 (eval $ac_try) 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); }; } &&
4763 { ac_try='test -s conftest$ac_exeext'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 (eval $ac_try) 2>&5
4766 ac_status=$?
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }; then
4769 ac_cv_lib_Judy_JudySLIns=yes
4770 else
4771 echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.$ac_ext >&5
4773
4774 ac_cv_lib_Judy_JudySLIns=no
4775 fi
4776 rm -f conftest.err conftest.$ac_objext \
4777 conftest$ac_exeext conftest.$ac_ext
4778 LIBS=$ac_check_lib_save_LIBS
4779 fi
4780 echo "$as_me:$LINENO: result: $ac_cv_lib_Judy_JudySLIns" >&5
4781 echo "${ECHO_T}$ac_cv_lib_Judy_JudySLIns" >&6
4782 if test $ac_cv_lib_Judy_JudySLIns = yes; then
4783 LIBJUDY_LDADD=-lJudy
4784 else
4785 have_libjudy=yes
4786 fi
4787
4788 if test "$have_libjudy" = "yes" ; then
4789 { { echo "$as_me:$LINENO: error: Judy support is enabled, but could not be found.
4790 Please install Judy, see the http://judy.sourceforge.net website or use the --disable-judy flag." >&5
4791 echo "$as_me: error: Judy support is enabled, but could not be found.
4792 Please install Judy, see the http://judy.sourceforge.net website or use the --disable-judy flag." >&2;}
4793 { (exit 1); exit 1; }; }
4794 fi
4795 LIBJUDY_LDADD='-lJudy'
4796 LIBJUDY_CFLAGS='-D_WAVE_HAVE_JUDY'
4797 fi
4798
4799
4800
4801 # ------------- GTK -------------------
4802 if test "X$GTK1" = "Xyes" ; then
4803 # Extract the first word of "gtk-config", so it can be a program name with args.
4804 set dummy gtk-config; ac_word=$2
4805 echo "$as_me:$LINENO: checking for $ac_word" >&5
4806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4807 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 else
4810 case $GTK_CONFIG in
4811 [\\/]* | ?:[\\/]*)
4812 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
4813 ;;
4814 *)
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 for as_dir in $PATH
4817 do
4818 IFS=$as_save_IFS
4819 test -z "$as_dir" && as_dir=.
4820 for ac_exec_ext in '' $ac_executable_extensions; do
4821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4822 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 break 2
4825 fi
4826 done
4827 done
4828
4829 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="notfound"
4830 ;;
4831 esac
4832 fi
4833 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
4834
4835 if test -n "$GTK_CONFIG"; then
4836 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
4837 echo "${ECHO_T}$GTK_CONFIG" >&6
4838 else
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4841 fi
4842
4843 if test "$GTK_CONFIG" = "notfound"; then
4844 { { echo "$as_me:$LINENO: error: You must have gtk installed on your system" >&5
4845 echo "$as_me: error: You must have gtk installed on your system" >&2;}
4846 { (exit 1); exit 1; }; }
4847 else
4848 echo "$as_me:$LINENO: checking gtk1 version" >&5
4849 echo $ECHO_N "checking gtk1 version... $ECHO_C" >&6
4850 GTK_VER=`$GTK_CONFIG --version`
4851 echo "$as_me:$LINENO: result: $GTK_VER" >&5
4852 echo "${ECHO_T}$GTK_VER" >&6
4853
4854 case $GTK_VER in
4855 1.2.* )
4856 echo "$as_me:$LINENO: checking for gtk1 CFLAGS" >&5
4857 echo $ECHO_N "checking for gtk1 CFLAGS... $ECHO_C" >&6
4858 GTK_CFLAGS=`$GTK_CONFIG --cflags`
4859 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
4860 echo "${ECHO_T}$GTK_CFLAGS" >&6
4861 echo "$as_me:$LINENO: checking for gtk1 libs" >&5
4862 echo $ECHO_N "checking for gtk1 libs... $ECHO_C" >&6
4863 GTK_LIBS=`$GTK_CONFIG --libs`
4864 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
4865 echo "${ECHO_T}$GTK_LIBS" >&6
4866 ;;
4867
4868 * )
4869 { { echo "$as_me:$LINENO: error: when building with gtk1, you need version 1.2.*" >&5
4870 echo "$as_me: error: when building with gtk1, you need version 1.2.*" >&2;}
4871 { (exit 1); exit 1; }; }
4872 ;;
4873 esac
4874 fi
4875 else
4876
4877
4878 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4879 if test -n "$ac_tool_prefix"; then
4880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4882 echo "$as_me:$LINENO: checking for $ac_word" >&5
4883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4884 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 else
4887 case $PKG_CONFIG in
4888 [\\/]* | ?:[\\/]*)
4889 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4890 ;;
4891 *)
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4894 do
4895 IFS=$as_save_IFS
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 break 2
4902 fi
4903 done
4904 done
4905
4906 ;;
4907 esac
4908 fi
4909 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4910
4911 if test -n "$PKG_CONFIG"; then
4912 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4913 echo "${ECHO_T}$PKG_CONFIG" >&6
4914 else
4915 echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6
4917 fi
4918
4919 fi
4920 if test -z "$ac_cv_path_PKG_CONFIG"; then
4921 ac_pt_PKG_CONFIG=$PKG_CONFIG
4922 # Extract the first word of "pkg-config", so it can be a program name with args.
4923 set dummy pkg-config; ac_word=$2
4924 echo "$as_me:$LINENO: checking for $ac_word" >&5
4925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4926 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 case $ac_pt_PKG_CONFIG in
4930 [\\/]* | ?:[\\/]*)
4931 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4932 ;;
4933 *)
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4936 do
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4944 fi
4945 done
4946 done
4947
4948 ;;
4949 esac
4950 fi
4951 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4952
4953 if test -n "$ac_pt_PKG_CONFIG"; then
4954 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4955 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
4956 else
4957 echo "$as_me:$LINENO: result: no" >&5
4958 echo "${ECHO_T}no" >&6
4959 fi
4960
4961 PKG_CONFIG=$ac_pt_PKG_CONFIG
4962 else
4963 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4964 fi
4965
4966 fi
4967 if test -n "$PKG_CONFIG"; then
4968 _pkg_min_version=0.9.0
4969 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4970 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
4971 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4974 else
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4977 PKG_CONFIG=""
4978 fi
4979
4980 fi
4981
4982 pkg_failed=no
4983 echo "$as_me:$LINENO: checking for GTK" >&5
4984 echo $ECHO_N "checking for GTK... $ECHO_C" >&6
4985
4986 if test -n "$PKG_CONFIG"; then
4987 if test -n "$GTK_CFLAGS"; then
4988 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
4989 else
4990 if test -n "$PKG_CONFIG" && \
4991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
4992 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
4993 ac_status=$?
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; then
4996 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0" 2>/dev/null`
4997 else
4998 pkg_failed=yes
4999 fi
5000 fi
5001 else
5002 pkg_failed=untried
5003 fi
5004 if test -n "$PKG_CONFIG"; then
5005 if test -n "$GTK_LIBS"; then
5006 pkg_cv_GTK_LIBS="$GTK_LIBS"
5007 else
5008 if test -n "$PKG_CONFIG" && \
5009 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
5010 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
5011 ac_status=$?
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; then
5014 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0" 2>/dev/null`
5015 else
5016 pkg_failed=yes
5017 fi
5018 fi
5019 else
5020 pkg_failed=untried
5021 fi
5022
5023
5024
5025 if test $pkg_failed = yes; then
5026
5027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5028 _pkg_short_errors_supported=yes
5029 else
5030 _pkg_short_errors_supported=no
5031 fi
5032 if test $_pkg_short_errors_supported = yes; then
5033 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
5034 else
5035 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
5036 fi
5037 # Put the nasty error message in config.log where it belongs
5038 echo "$GTK_PKG_ERRORS" >&5
5039
5040 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.2.0) were not met:
5041
5042 $GTK_PKG_ERRORS
5043
5044 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5045 installed software in a non-standard prefix.
5046
5047 Alternatively, you may set the environment variables GTK_CFLAGS
5048 and GTK_LIBS to avoid the need to call pkg-config.
5049 See the pkg-config man page for more details.
5050 " >&5
5051 echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.2.0) were not met:
5052
5053 $GTK_PKG_ERRORS
5054
5055 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5056 installed software in a non-standard prefix.
5057
5058 Alternatively, you may set the environment variables GTK_CFLAGS
5059 and GTK_LIBS to avoid the need to call pkg-config.
5060 See the pkg-config man page for more details.
5061 " >&2;}
5062 { (exit 1); exit 1; }; }
5063 elif test $pkg_failed = untried; then
5064 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5065 is in your PATH or set the PKG_CONFIG environment variable to the full
5066 path to pkg-config.
5067
5068 Alternatively, you may set the environment variables GTK_CFLAGS
5069 and GTK_LIBS to avoid the need to call pkg-config.
5070 See the pkg-config man page for more details.
5071
5072 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5073 See \`config.log' for more details." >&5
5074 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5075 is in your PATH or set the PKG_CONFIG environment variable to the full
5076 path to pkg-config.
5077
5078 Alternatively, you may set the environment variables GTK_CFLAGS
5079 and GTK_LIBS to avoid the need to call pkg-config.
5080 See the pkg-config man page for more details.
5081
5082 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5083 See \`config.log' for more details." >&2;}
5084 { (exit 1); exit 1; }; }
5085 else
5086 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5087 GTK_LIBS=$pkg_cv_GTK_LIBS
5088 echo "$as_me:$LINENO: result: yes" >&5
5089 echo "${ECHO_T}yes" >&6
5090 :
5091 fi
5092 GTK_VER=`$PKG_CONFIG gtk+-2.0 --modversion`
5093 fi
5094
5095 # Checks for header files.
5096 ac_ext=c
5097 ac_cpp='$CPP $CPPFLAGS'
5098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5101 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5102 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5103 # On Suns, sometimes $CPP names a directory.
5104 if test -n "$CPP" && test -d "$CPP"; then
5105 CPP=
5106 fi
5107 if test -z "$CPP"; then
5108 if test "${ac_cv_prog_CPP+set}" = set; then
5109 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 else
5111 # Double quotes because CPP needs to be expanded
5112 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5113 do
5114 ac_preproc_ok=false
5115 for ac_c_preproc_warn_flag in '' yes
5116 do
5117 # Use a header file that comes with gcc, so configuring glibc
5118 # with a fresh cross-compiler works.
5119 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5120 # <limits.h> exists even on freestanding compilers.
5121 # On the NeXT, cc -E runs the code through the compiler's parser,
5122 # not just through cpp. "Syntax error" is here to catch this case.
5123 cat >conftest.$ac_ext <<_ACEOF
5124 /* confdefs.h. */
5125 _ACEOF
5126 cat confdefs.h >>conftest.$ac_ext
5127 cat >>conftest.$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5129 @%:@ifdef __STDC__
5130 @%:@ include <limits.h>
5131 @%:@else
5132 @%:@ include <assert.h>
5133 @%:@endif
5134 Syntax error
5135 _ACEOF
5136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5138 ac_status=$?
5139 grep -v '^ *+' conftest.er1 >conftest.err
5140 rm -f conftest.er1
5141 cat conftest.err >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } >/dev/null; then
5144 if test -s conftest.err; then
5145 ac_cpp_err=$ac_c_preproc_warn_flag
5146 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5147 else
5148 ac_cpp_err=
5149 fi
5150 else
5151 ac_cpp_err=yes
5152 fi
5153 if test -z "$ac_cpp_err"; then
5154 :
5155 else
5156 echo "$as_me: failed program was:" >&5
5157 sed 's/^/| /' conftest.$ac_ext >&5
5158
5159 # Broken: fails on valid input.
5160 continue
5161 fi
5162 rm -f conftest.err conftest.$ac_ext
5163
5164 # OK, works on sane cases. Now check whether non-existent headers
5165 # can be detected and how.
5166 cat >conftest.$ac_ext <<_ACEOF
5167 /* confdefs.h. */
5168 _ACEOF
5169 cat confdefs.h >>conftest.$ac_ext
5170 cat >>conftest.$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5172 @%:@include <ac_nonexistent.h>
5173 _ACEOF
5174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5176 ac_status=$?
5177 grep -v '^ *+' conftest.er1 >conftest.err
5178 rm -f conftest.er1
5179 cat conftest.err >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } >/dev/null; then
5182 if test -s conftest.err; then
5183 ac_cpp_err=$ac_c_preproc_warn_flag
5184 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5185 else
5186 ac_cpp_err=
5187 fi
5188 else
5189 ac_cpp_err=yes
5190 fi
5191 if test -z "$ac_cpp_err"; then
5192 # Broken: success on invalid input.
5193 continue
5194 else
5195 echo "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.$ac_ext >&5
5197
5198 # Passes both tests.
5199 ac_preproc_ok=:
5200 break
5201 fi
5202 rm -f conftest.err conftest.$ac_ext
5203
5204 done
5205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5206 rm -f conftest.err conftest.$ac_ext
5207 if $ac_preproc_ok; then
5208 break
5209 fi
5210
5211 done
5212 ac_cv_prog_CPP=$CPP
5213
5214 fi
5215 CPP=$ac_cv_prog_CPP
5216 else
5217 ac_cv_prog_CPP=$CPP
5218 fi
5219 echo "$as_me:$LINENO: result: $CPP" >&5
5220 echo "${ECHO_T}$CPP" >&6
5221 ac_preproc_ok=false
5222 for ac_c_preproc_warn_flag in '' yes
5223 do
5224 # Use a header file that comes with gcc, so configuring glibc
5225 # with a fresh cross-compiler works.
5226 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5227 # <limits.h> exists even on freestanding compilers.
5228 # On the NeXT, cc -E runs the code through the compiler's parser,
5229 # not just through cpp. "Syntax error" is here to catch this case.
5230 cat >conftest.$ac_ext <<_ACEOF
5231 /* confdefs.h. */
5232 _ACEOF
5233 cat confdefs.h >>conftest.$ac_ext
5234 cat >>conftest.$ac_ext <<_ACEOF
5235 /* end confdefs.h. */
5236 @%:@ifdef __STDC__
5237 @%:@ include <limits.h>
5238 @%:@else
5239 @%:@ include <assert.h>
5240 @%:@endif
5241 Syntax error
5242 _ACEOF
5243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5245 ac_status=$?
5246 grep -v '^ *+' conftest.er1 >conftest.err
5247 rm -f conftest.er1
5248 cat conftest.err >&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); } >/dev/null; then
5251 if test -s conftest.err; then
5252 ac_cpp_err=$ac_c_preproc_warn_flag
5253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5254 else
5255 ac_cpp_err=
5256 fi
5257 else
5258 ac_cpp_err=yes
5259 fi
5260 if test -z "$ac_cpp_err"; then
5261 :
5262 else
5263 echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.$ac_ext >&5
5265
5266 # Broken: fails on valid input.
5267 continue
5268 fi
5269 rm -f conftest.err conftest.$ac_ext
5270
5271 # OK, works on sane cases. Now check whether non-existent headers
5272 # can be detected and how.
5273 cat >conftest.$ac_ext <<_ACEOF
5274 /* confdefs.h. */
5275 _ACEOF
5276 cat confdefs.h >>conftest.$ac_ext
5277 cat >>conftest.$ac_ext <<_ACEOF
5278 /* end confdefs.h. */
5279 @%:@include <ac_nonexistent.h>
5280 _ACEOF
5281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5283 ac_status=$?
5284 grep -v '^ *+' conftest.er1 >conftest.err
5285 rm -f conftest.er1
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } >/dev/null; then
5289 if test -s conftest.err; then
5290 ac_cpp_err=$ac_c_preproc_warn_flag
5291 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5292 else
5293 ac_cpp_err=
5294 fi
5295 else
5296 ac_cpp_err=yes
5297 fi
5298 if test -z "$ac_cpp_err"; then
5299 # Broken: success on invalid input.
5300 continue
5301 else
5302 echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5304
5305 # Passes both tests.
5306 ac_preproc_ok=:
5307 break
5308 fi
5309 rm -f conftest.err conftest.$ac_ext
5310
5311 done
5312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5313 rm -f conftest.err conftest.$ac_ext
5314 if $ac_preproc_ok; then
5315 :
5316 else
5317 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5318 See \`config.log' for more details." >&5
5319 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5320 See \`config.log' for more details." >&2;}
5321 { (exit 1); exit 1; }; }
5322 fi
5323
5324 ac_ext=c
5325 ac_cpp='$CPP $CPPFLAGS'
5326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5329
5330
5331 echo "$as_me:$LINENO: checking for egrep" >&5
5332 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5333 if test "${ac_cv_prog_egrep+set}" = set; then
5334 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 else
5336 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5337 then ac_cv_prog_egrep='grep -E'
5338 else ac_cv_prog_egrep='egrep'
5339 fi
5340 fi
5341 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5342 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5343 EGREP=$ac_cv_prog_egrep
5344
5345
5346 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5347 # for constant arguments. Useless!
5348 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5349 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5350 if test "${ac_cv_working_alloca_h+set}" = set; then
5351 echo $ECHO_N "(cached) $ECHO_C" >&6
5352 else
5353 cat >conftest.$ac_ext <<_ACEOF
5354 /* confdefs.h. */
5355 _ACEOF
5356 cat confdefs.h >>conftest.$ac_ext
5357 cat >>conftest.$ac_ext <<_ACEOF
5358 /* end confdefs.h. */
5359 @%:@include <alloca.h>
5360 int
5361 main ()
5362 {
5363 char *p = (char *) alloca (2 * sizeof (int));
5364 ;
5365 return 0;
5366 }
5367 _ACEOF
5368 rm -f conftest.$ac_objext conftest$ac_exeext
5369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5370 (eval $ac_link) 2>conftest.er1
5371 ac_status=$?
5372 grep -v '^ *+' conftest.er1 >conftest.err
5373 rm -f conftest.er1
5374 cat conftest.err >&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } &&
5377 { ac_try='test -z "$ac_c_werror_flag"
5378 || test ! -s conftest.err'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5380 (eval $ac_try) 2>&5
5381 ac_status=$?
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; } &&
5384 { ac_try='test -s conftest$ac_exeext'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5386 (eval $ac_try) 2>&5
5387 ac_status=$?
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; }; then
5390 ac_cv_working_alloca_h=yes
5391 else
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5394
5395 ac_cv_working_alloca_h=no
5396 fi
5397 rm -f conftest.err conftest.$ac_objext \
5398 conftest$ac_exeext conftest.$ac_ext
5399 fi
5400 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5401 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5402 if test $ac_cv_working_alloca_h = yes; then
5403
5404 cat >>confdefs.h <<\_ACEOF
5405 @%:@define HAVE_ALLOCA_H 1
5406 _ACEOF
5407
5408 fi
5409
5410 echo "$as_me:$LINENO: checking for alloca" >&5
5411 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5412 if test "${ac_cv_func_alloca_works+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 else
5415 cat >conftest.$ac_ext <<_ACEOF
5416 /* confdefs.h. */
5417 _ACEOF
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5421 #ifdef __GNUC__
5422 # define alloca __builtin_alloca
5423 #else
5424 # ifdef _MSC_VER
5425 # include <malloc.h>
5426 # define alloca _alloca
5427 # else
5428 # if HAVE_ALLOCA_H
5429 # include <alloca.h>
5430 # else
5431 # ifdef _AIX
5432 #pragma alloca
5433 # else
5434 # ifndef alloca /* predefined by HP cc +Olibcalls */
5435 char *alloca ();
5436 # endif
5437 # endif
5438 # endif
5439 # endif
5440 #endif
5441
5442 int
5443 main ()
5444 {
5445 char *p = (char *) alloca (1);
5446 ;
5447 return 0;
5448 }
5449 _ACEOF
5450 rm -f conftest.$ac_objext conftest$ac_exeext
5451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5452 (eval $ac_link) 2>conftest.er1
5453 ac_status=$?
5454 grep -v '^ *+' conftest.er1 >conftest.err
5455 rm -f conftest.er1
5456 cat conftest.err >&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); } &&
5459 { ac_try='test -z "$ac_c_werror_flag"
5460 || test ! -s conftest.err'
5461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5462 (eval $ac_try) 2>&5
5463 ac_status=$?
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); }; } &&
5466 { ac_try='test -s conftest$ac_exeext'
5467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5468 (eval $ac_try) 2>&5
5469 ac_status=$?
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); }; }; then
5472 ac_cv_func_alloca_works=yes
5473 else
5474 echo "$as_me: failed program was:" >&5
5475 sed 's/^/| /' conftest.$ac_ext >&5
5476
5477 ac_cv_func_alloca_works=no
5478 fi
5479 rm -f conftest.err conftest.$ac_objext \
5480 conftest$ac_exeext conftest.$ac_ext
5481 fi
5482 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5483 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5484
5485 if test $ac_cv_func_alloca_works = yes; then
5486
5487 cat >>confdefs.h <<\_ACEOF
5488 @%:@define HAVE_ALLOCA 1
5489 _ACEOF
5490
5491 else
5492 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5493 # that cause trouble. Some versions do not even contain alloca or
5494 # contain a buggy version. If you still want to use their alloca,
5495 # use ar to extract alloca.o from them instead of compiling alloca.c.
5496
5497 ALLOCA=alloca.$ac_objext
5498
5499 cat >>confdefs.h <<\_ACEOF
5500 @%:@define C_ALLOCA 1
5501 _ACEOF
5502
5503
5504 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5505 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5506 if test "${ac_cv_os_cray+set}" = set; then
5507 echo $ECHO_N "(cached) $ECHO_C" >&6
5508 else
5509 cat >conftest.$ac_ext <<_ACEOF
5510 /* confdefs.h. */
5511 _ACEOF
5512 cat confdefs.h >>conftest.$ac_ext
5513 cat >>conftest.$ac_ext <<_ACEOF
5514 /* end confdefs.h. */
5515 #if defined(CRAY) && ! defined(CRAY2)
5516 webecray
5517 #else
5518 wenotbecray
5519 #endif
5520
5521 _ACEOF
5522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5523 $EGREP "webecray" >/dev/null 2>&1; then
5524 ac_cv_os_cray=yes
5525 else
5526 ac_cv_os_cray=no
5527 fi
5528 rm -f conftest*
5529
5530 fi
5531 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5532 echo "${ECHO_T}$ac_cv_os_cray" >&6
5533 if test $ac_cv_os_cray = yes; then
5534 for ac_func in _getb67 GETB67 getb67; do
5535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5536 echo "$as_me:$LINENO: checking for $ac_func" >&5
5537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5538 if eval "test \"\${$as_ac_var+set}\" = set"; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5540 else
5541 cat >conftest.$ac_ext <<_ACEOF
5542 /* confdefs.h. */
5543 _ACEOF
5544 cat confdefs.h >>conftest.$ac_ext
5545 cat >>conftest.$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5549 #define $ac_func innocuous_$ac_func
5550
5551 /* System header to define __stub macros and hopefully few prototypes,
5552 which can conflict with char $ac_func (); below.
5553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5554 <limits.h> exists even on freestanding compilers. */
5555
5556 #ifdef __STDC__
5557 # include <limits.h>
5558 #else
5559 # include <assert.h>
5560 #endif
5561
5562 #undef $ac_func
5563
5564 /* Override any gcc2 internal prototype to avoid an error. */
5565 #ifdef __cplusplus
5566 extern "C"
5567 {
5568 #endif
5569 /* We use char because int might match the return type of a gcc2
5570 builtin and then its argument prototype would still apply. */
5571 char $ac_func ();
5572 /* The GNU C library defines this for functions which it implements
5573 to always fail with ENOSYS. Some functions are actually named
5574 something starting with __ and the normal name is an alias. */
5575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5576 choke me
5577 #else
5578 char (*f) () = $ac_func;
5579 #endif
5580 #ifdef __cplusplus
5581 }
5582 #endif
5583
5584 int
5585 main ()
5586 {
5587 return f != $ac_func;
5588 ;
5589 return 0;
5590 }
5591 _ACEOF
5592 rm -f conftest.$ac_objext conftest$ac_exeext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5594 (eval $ac_link) 2>conftest.er1
5595 ac_status=$?
5596 grep -v '^ *+' conftest.er1 >conftest.err
5597 rm -f conftest.er1
5598 cat conftest.err >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try='test -z "$ac_c_werror_flag"
5602 || test ! -s conftest.err'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 (eval $ac_try) 2>&5
5605 ac_status=$?
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; } &&
5608 { ac_try='test -s conftest$ac_exeext'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 (eval $ac_try) 2>&5
5611 ac_status=$?
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; }; then
5614 eval "$as_ac_var=yes"
5615 else
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.$ac_ext >&5
5618
5619 eval "$as_ac_var=no"
5620 fi
5621 rm -f conftest.err conftest.$ac_objext \
5622 conftest$ac_exeext conftest.$ac_ext
5623 fi
5624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5626 if test `eval echo '${'$as_ac_var'}'` = yes; then
5627
5628 cat >>confdefs.h <<_ACEOF
5629 @%:@define CRAY_STACKSEG_END $ac_func
5630 _ACEOF
5631
5632 break
5633 fi
5634
5635 done
5636 fi
5637
5638 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5639 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5640 if test "${ac_cv_c_stack_direction+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 else
5643 if test "$cross_compiling" = yes; then
5644 ac_cv_c_stack_direction=0
5645 else
5646 cat >conftest.$ac_ext <<_ACEOF
5647 /* confdefs.h. */
5648 _ACEOF
5649 cat confdefs.h >>conftest.$ac_ext
5650 cat >>conftest.$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 int
5653 find_stack_direction ()
5654 {
5655 static char *addr = 0;
5656 auto char dummy;
5657 if (addr == 0)
5658 {
5659 addr = &dummy;
5660 return find_stack_direction ();
5661 }
5662 else
5663 return (&dummy > addr) ? 1 : -1;
5664 }
5665
5666 int
5667 main ()
5668 {
5669 exit (find_stack_direction () < 0);
5670 }
5671 _ACEOF
5672 rm -f conftest$ac_exeext
5673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5674 (eval $ac_link) 2>&5
5675 ac_status=$?
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 (eval $ac_try) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; }; then
5683 ac_cv_c_stack_direction=1
5684 else
5685 echo "$as_me: program exited with status $ac_status" >&5
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.$ac_ext >&5
5688
5689 ( exit $ac_status )
5690 ac_cv_c_stack_direction=-1
5691 fi
5692 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5693 fi
5694 fi
5695 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5696 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5697
5698 cat >>confdefs.h <<_ACEOF
5699 @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
5700 _ACEOF
5701
5702
5703 fi
5704
5705
5706
5707
5708
5709
5710 ac_header_dirent=no
5711 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5712 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5713 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5714 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 else
5718 cat >conftest.$ac_ext <<_ACEOF
5719 /* confdefs.h. */
5720 _ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 #include <sys/types.h>
5725 #include <$ac_hdr>
5726
5727 int
5728 main ()
5729 {
5730 if ((DIR *) 0)
5731 return 0;
5732 ;
5733 return 0;
5734 }
5735 _ACEOF
5736 rm -f conftest.$ac_objext
5737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5738 (eval $ac_compile) 2>conftest.er1
5739 ac_status=$?
5740 grep -v '^ *+' conftest.er1 >conftest.err
5741 rm -f conftest.er1
5742 cat conftest.err >&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } &&
5745 { ac_try='test -z "$ac_c_werror_flag"
5746 || test ! -s conftest.err'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 (eval $ac_try) 2>&5
5749 ac_status=$?
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; } &&
5752 { ac_try='test -s conftest.$ac_objext'
5753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5754 (eval $ac_try) 2>&5
5755 ac_status=$?
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; }; then
5758 eval "$as_ac_Header=yes"
5759 else
5760 echo "$as_me: failed program was:" >&5
5761 sed 's/^/| /' conftest.$ac_ext >&5
5762
5763 eval "$as_ac_Header=no"
5764 fi
5765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5766 fi
5767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5770 cat >>confdefs.h <<_ACEOF
5771 @%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5772 _ACEOF
5773
5774 ac_header_dirent=$ac_hdr; break
5775 fi
5776
5777 done
5778 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5779 if test $ac_header_dirent = dirent.h; then
5780 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5781 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5782 if test "${ac_cv_search_opendir+set}" = set; then
5783 echo $ECHO_N "(cached) $ECHO_C" >&6
5784 else
5785 ac_func_search_save_LIBS=$LIBS
5786 ac_cv_search_opendir=no
5787 cat >conftest.$ac_ext <<_ACEOF
5788 /* confdefs.h. */
5789 _ACEOF
5790 cat confdefs.h >>conftest.$ac_ext
5791 cat >>conftest.$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5793
5794 /* Override any gcc2 internal prototype to avoid an error. */
5795 #ifdef __cplusplus
5796 extern "C"
5797 #endif
5798 /* We use char because int might match the return type of a gcc2
5799 builtin and then its argument prototype would still apply. */
5800 char opendir ();
5801 int
5802 main ()
5803 {
5804 opendir ();
5805 ;
5806 return 0;
5807 }
5808 _ACEOF
5809 rm -f conftest.$ac_objext conftest$ac_exeext
5810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5811 (eval $ac_link) 2>conftest.er1
5812 ac_status=$?
5813 grep -v '^ *+' conftest.er1 >conftest.err
5814 rm -f conftest.er1
5815 cat conftest.err >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } &&
5818 { ac_try='test -z "$ac_c_werror_flag"
5819 || test ! -s conftest.err'
5820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5821 (eval $ac_try) 2>&5
5822 ac_status=$?
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); }; } &&
5825 { ac_try='test -s conftest$ac_exeext'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827 (eval $ac_try) 2>&5
5828 ac_status=$?
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; }; then
5831 ac_cv_search_opendir="none required"
5832 else
5833 echo "$as_me: failed program was:" >&5
5834 sed 's/^/| /' conftest.$ac_ext >&5
5835
5836 fi
5837 rm -f conftest.err conftest.$ac_objext \
5838 conftest$ac_exeext conftest.$ac_ext
5839 if test "$ac_cv_search_opendir" = no; then
5840 for ac_lib in dir; do
5841 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5842 cat >conftest.$ac_ext <<_ACEOF
5843 /* confdefs.h. */
5844 _ACEOF
5845 cat confdefs.h >>conftest.$ac_ext
5846 cat >>conftest.$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5848
5849 /* Override any gcc2 internal prototype to avoid an error. */
5850 #ifdef __cplusplus
5851 extern "C"
5852 #endif
5853 /* We use char because int might match the return type of a gcc2
5854 builtin and then its argument prototype would still apply. */
5855 char opendir ();
5856 int
5857 main ()
5858 {
5859 opendir ();
5860 ;
5861 return 0;
5862 }
5863 _ACEOF
5864 rm -f conftest.$ac_objext conftest$ac_exeext
5865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5866 (eval $ac_link) 2>conftest.er1
5867 ac_status=$?
5868 grep -v '^ *+' conftest.er1 >conftest.err
5869 rm -f conftest.er1
5870 cat conftest.err >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); } &&
5873 { ac_try='test -z "$ac_c_werror_flag"
5874 || test ! -s conftest.err'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876 (eval $ac_try) 2>&5
5877 ac_status=$?
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; } &&
5880 { ac_try='test -s conftest$ac_exeext'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882 (eval $ac_try) 2>&5
5883 ac_status=$?
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_cv_search_opendir="-l$ac_lib"
5887 break
5888 else
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.$ac_ext >&5
5891
5892 fi
5893 rm -f conftest.err conftest.$ac_objext \
5894 conftest$ac_exeext conftest.$ac_ext
5895 done
5896 fi
5897 LIBS=$ac_func_search_save_LIBS
5898 fi
5899 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5900 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5901 if test "$ac_cv_search_opendir" != no; then
5902 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5903
5904 fi
5905
5906 else
5907 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5908 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5909 if test "${ac_cv_search_opendir+set}" = set; then
5910 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 else
5912 ac_func_search_save_LIBS=$LIBS
5913 ac_cv_search_opendir=no
5914 cat >conftest.$ac_ext <<_ACEOF
5915 /* confdefs.h. */
5916 _ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5920
5921 /* Override any gcc2 internal prototype to avoid an error. */
5922 #ifdef __cplusplus
5923 extern "C"
5924 #endif
5925 /* We use char because int might match the return type of a gcc2
5926 builtin and then its argument prototype would still apply. */
5927 char opendir ();
5928 int
5929 main ()
5930 {
5931 opendir ();
5932 ;
5933 return 0;
5934 }
5935 _ACEOF
5936 rm -f conftest.$ac_objext conftest$ac_exeext
5937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5938 (eval $ac_link) 2>conftest.er1
5939 ac_status=$?
5940 grep -v '^ *+' conftest.er1 >conftest.err
5941 rm -f conftest.er1
5942 cat conftest.err >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } &&
5945 { ac_try='test -z "$ac_c_werror_flag"
5946 || test ! -s conftest.err'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 (eval $ac_try) 2>&5
5949 ac_status=$?
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; } &&
5952 { ac_try='test -s conftest$ac_exeext'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 (eval $ac_try) 2>&5
5955 ac_status=$?
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; }; then
5958 ac_cv_search_opendir="none required"
5959 else
5960 echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.$ac_ext >&5
5962
5963 fi
5964 rm -f conftest.err conftest.$ac_objext \
5965 conftest$ac_exeext conftest.$ac_ext
5966 if test "$ac_cv_search_opendir" = no; then
5967 for ac_lib in x; do
5968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5969 cat >conftest.$ac_ext <<_ACEOF
5970 /* confdefs.h. */
5971 _ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5975
5976 /* Override any gcc2 internal prototype to avoid an error. */
5977 #ifdef __cplusplus
5978 extern "C"
5979 #endif
5980 /* We use char because int might match the return type of a gcc2
5981 builtin and then its argument prototype would still apply. */
5982 char opendir ();
5983 int
5984 main ()
5985 {
5986 opendir ();
5987 ;
5988 return 0;
5989 }
5990 _ACEOF
5991 rm -f conftest.$ac_objext conftest$ac_exeext
5992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5993 (eval $ac_link) 2>conftest.er1
5994 ac_status=$?
5995 grep -v '^ *+' conftest.er1 >conftest.err
5996 rm -f conftest.er1
5997 cat conftest.err >&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } &&
6000 { ac_try='test -z "$ac_c_werror_flag"
6001 || test ! -s conftest.err'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 (eval $ac_try) 2>&5
6004 ac_status=$?
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; } &&
6007 { ac_try='test -s conftest$ac_exeext'
6008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 (eval $ac_try) 2>&5
6010 ac_status=$?
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); }; }; then
6013 ac_cv_search_opendir="-l$ac_lib"
6014 break
6015 else
6016 echo "$as_me: failed program was:" >&5
6017 sed 's/^/| /' conftest.$ac_ext >&5
6018
6019 fi
6020 rm -f conftest.err conftest.$ac_objext \
6021 conftest$ac_exeext conftest.$ac_ext
6022 done
6023 fi
6024 LIBS=$ac_func_search_save_LIBS
6025 fi
6026 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6027 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6028 if test "$ac_cv_search_opendir" != no; then
6029 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6030
6031 fi
6032
6033 fi
6034
6035 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6036 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6037 if test "${ac_cv_header_stdc+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 else
6040 cat >conftest.$ac_ext <<_ACEOF
6041 /* confdefs.h. */
6042 _ACEOF
6043 cat confdefs.h >>conftest.$ac_ext
6044 cat >>conftest.$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6046 #include <stdlib.h>
6047 #include <stdarg.h>
6048 #include <string.h>
6049 #include <float.h>
6050
6051 int
6052 main ()
6053 {
6054
6055 ;
6056 return 0;
6057 }
6058 _ACEOF
6059 rm -f conftest.$ac_objext
6060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6061 (eval $ac_compile) 2>conftest.er1
6062 ac_status=$?
6063 grep -v '^ *+' conftest.er1 >conftest.err
6064 rm -f conftest.er1
6065 cat conftest.err >&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } &&
6068 { ac_try='test -z "$ac_c_werror_flag"
6069 || test ! -s conftest.err'
6070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071 (eval $ac_try) 2>&5
6072 ac_status=$?
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }; } &&
6075 { ac_try='test -s conftest.$ac_objext'
6076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6077 (eval $ac_try) 2>&5
6078 ac_status=$?
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; }; then
6081 ac_cv_header_stdc=yes
6082 else
6083 echo "$as_me: failed program was:" >&5
6084 sed 's/^/| /' conftest.$ac_ext >&5
6085
6086 ac_cv_header_stdc=no
6087 fi
6088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6089
6090 if test $ac_cv_header_stdc = yes; then
6091 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h. */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6098 #include <string.h>
6099
6100 _ACEOF
6101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6102 $EGREP "memchr" >/dev/null 2>&1; then
6103 :
6104 else
6105 ac_cv_header_stdc=no
6106 fi
6107 rm -f conftest*
6108
6109 fi
6110
6111 if test $ac_cv_header_stdc = yes; then
6112 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6113 cat >conftest.$ac_ext <<_ACEOF
6114 /* confdefs.h. */
6115 _ACEOF
6116 cat confdefs.h >>conftest.$ac_ext
6117 cat >>conftest.$ac_ext <<_ACEOF
6118 /* end confdefs.h. */
6119 #include <stdlib.h>
6120
6121 _ACEOF
6122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6123 $EGREP "free" >/dev/null 2>&1; then
6124 :
6125 else
6126 ac_cv_header_stdc=no
6127 fi
6128 rm -f conftest*
6129
6130 fi
6131
6132 if test $ac_cv_header_stdc = yes; then
6133 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6134 if test "$cross_compiling" = yes; then
6135 :
6136 else
6137 cat >conftest.$ac_ext <<_ACEOF
6138 /* confdefs.h. */
6139 _ACEOF
6140 cat confdefs.h >>conftest.$ac_ext
6141 cat >>conftest.$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6143 #include <ctype.h>
6144 #if ((' ' & 0x0FF) == 0x020)
6145 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6146 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6147 #else
6148 # define ISLOWER(c) \
6149 (('a' <= (c) && (c) <= 'i') \
6150 || ('j' <= (c) && (c) <= 'r') \
6151 || ('s' <= (c) && (c) <= 'z'))
6152 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6153 #endif
6154
6155 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6156 int
6157 main ()
6158 {
6159 int i;
6160 for (i = 0; i < 256; i++)
6161 if (XOR (islower (i), ISLOWER (i))
6162 || toupper (i) != TOUPPER (i))
6163 exit(2);
6164 exit (0);
6165 }
6166 _ACEOF
6167 rm -f conftest$ac_exeext
6168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6169 (eval $ac_link) 2>&5
6170 ac_status=$?
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6174 (eval $ac_try) 2>&5
6175 ac_status=$?
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; }; then
6178 :
6179 else
6180 echo "$as_me: program exited with status $ac_status" >&5
6181 echo "$as_me: failed program was:" >&5
6182 sed 's/^/| /' conftest.$ac_ext >&5
6183
6184 ( exit $ac_status )
6185 ac_cv_header_stdc=no
6186 fi
6187 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6188 fi
6189 fi
6190 fi
6191 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6192 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6193 if test $ac_cv_header_stdc = yes; then
6194
6195 cat >>confdefs.h <<\_ACEOF
6196 @%:@define STDC_HEADERS 1
6197 _ACEOF
6198
6199 fi
6200
6201 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6202 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6203 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6205 else
6206 cat >conftest.$ac_ext <<_ACEOF
6207 /* confdefs.h. */
6208 _ACEOF
6209 cat confdefs.h >>conftest.$ac_ext
6210 cat >>conftest.$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6212 #include <sys/types.h>
6213 #include <sys/wait.h>
6214 #ifndef WEXITSTATUS
6215 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6216 #endif
6217 #ifndef WIFEXITED
6218 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6219 #endif
6220
6221 int
6222 main ()
6223 {
6224 int s;
6225 wait (&s);
6226 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6227 ;
6228 return 0;
6229 }
6230 _ACEOF
6231 rm -f conftest.$ac_objext
6232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6233 (eval $ac_compile) 2>conftest.er1
6234 ac_status=$?
6235 grep -v '^ *+' conftest.er1 >conftest.err
6236 rm -f conftest.er1
6237 cat conftest.err >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } &&
6240 { ac_try='test -z "$ac_c_werror_flag"
6241 || test ! -s conftest.err'
6242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 (eval $ac_try) 2>&5
6244 ac_status=$?
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); }; } &&
6247 { ac_try='test -s conftest.$ac_objext'
6248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6249 (eval $ac_try) 2>&5
6250 ac_status=$?
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; }; then
6253 ac_cv_header_sys_wait_h=yes
6254 else
6255 echo "$as_me: failed program was:" >&5
6256 sed 's/^/| /' conftest.$ac_ext >&5
6257
6258 ac_cv_header_sys_wait_h=no
6259 fi
6260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6261 fi
6262 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6263 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6264 if test $ac_cv_header_sys_wait_h = yes; then
6265
6266 cat >>confdefs.h <<\_ACEOF
6267 @%:@define HAVE_SYS_WAIT_H 1
6268 _ACEOF
6269
6270 fi
6271
6272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6283 inttypes.h stdint.h unistd.h
6284 do
6285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6286 echo "$as_me:$LINENO: checking for $ac_header" >&5
6287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6290 else
6291 cat >conftest.$ac_ext <<_ACEOF
6292 /* confdefs.h. */
6293 _ACEOF
6294 cat confdefs.h >>conftest.$ac_ext
6295 cat >>conftest.$ac_ext <<_ACEOF
6296 /* end confdefs.h. */
6297 $ac_includes_default
6298
6299 @%:@include <$ac_header>
6300 _ACEOF
6301 rm -f conftest.$ac_objext
6302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6303 (eval $ac_compile) 2>conftest.er1
6304 ac_status=$?
6305 grep -v '^ *+' conftest.er1 >conftest.err
6306 rm -f conftest.er1
6307 cat conftest.err >&5
6308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 (exit $ac_status); } &&
6310 { ac_try='test -z "$ac_c_werror_flag"
6311 || test ! -s conftest.err'
6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 (eval $ac_try) 2>&5
6314 ac_status=$?
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }; } &&
6317 { ac_try='test -s conftest.$ac_objext'
6318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 (eval $ac_try) 2>&5
6320 ac_status=$?
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); }; }; then
6323 eval "$as_ac_Header=yes"
6324 else
6325 echo "$as_me: failed program was:" >&5
6326 sed 's/^/| /' conftest.$ac_ext >&5
6327
6328 eval "$as_ac_Header=no"
6329 fi
6330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6331 fi
6332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6335 cat >>confdefs.h <<_ACEOF
6336 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6337 _ACEOF
6338
6339 fi
6340
6341 done
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359 for ac_header in fcntl.h inttypes.h libintl.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h wchar.h wctype.h getopt.h
6360 do
6361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6363 echo "$as_me:$LINENO: checking for $ac_header" >&5
6364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 fi
6368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6370 else
6371 # Is the header compilable?
6372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6374 cat >conftest.$ac_ext <<_ACEOF
6375 /* confdefs.h. */
6376 _ACEOF
6377 cat confdefs.h >>conftest.$ac_ext
6378 cat >>conftest.$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6380 $ac_includes_default
6381 @%:@include <$ac_header>
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_c_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_header_compiler=yes
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6409
6410 ac_header_compiler=no
6411 fi
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6414 echo "${ECHO_T}$ac_header_compiler" >&6
6415
6416 # Is the header present?
6417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6419 cat >conftest.$ac_ext <<_ACEOF
6420 /* confdefs.h. */
6421 _ACEOF
6422 cat confdefs.h >>conftest.$ac_ext
6423 cat >>conftest.$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6425 @%:@include <$ac_header>
6426 _ACEOF
6427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } >/dev/null; then
6435 if test -s conftest.err; then
6436 ac_cpp_err=$ac_c_preproc_warn_flag
6437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6438 else
6439 ac_cpp_err=
6440 fi
6441 else
6442 ac_cpp_err=yes
6443 fi
6444 if test -z "$ac_cpp_err"; then
6445 ac_header_preproc=yes
6446 else
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6449
6450 ac_header_preproc=no
6451 fi
6452 rm -f conftest.err conftest.$ac_ext
6453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6454 echo "${ECHO_T}$ac_header_preproc" >&6
6455
6456 # So? What about this header?
6457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6458 yes:no: )
6459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6463 ac_header_preproc=yes
6464 ;;
6465 no:yes:* )
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6478 (
6479 cat <<\_ASBOX
6480 @%:@@%:@ ------------------------------- @%:@@%:@
6481 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
6482 @%:@@%:@ ------------------------------- @%:@@%:@
6483 _ASBOX
6484 ) |
6485 sed "s/^/$as_me: WARNING: /" >&2
6486 ;;
6487 esac
6488 echo "$as_me:$LINENO: checking for $ac_header" >&5
6489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6491 echo $ECHO_N "(cached) $ECHO_C" >&6
6492 else
6493 eval "$as_ac_Header=\$ac_header_preproc"
6494 fi
6495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6497
6498 fi
6499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6500 cat >>confdefs.h <<_ACEOF
6501 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6502 _ACEOF
6503
6504 fi
6505
6506 done
6507
6508
6509 # rpc workaround for cygwin
6510
6511
6512 for ac_header in rpc/types.h rpc/xdr.h
6513 do
6514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6515 echo "$as_me:$LINENO: checking for $ac_header" >&5
6516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 else
6520 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h. */
6522 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 #ifdef HAVE_RPC_TYPES_H
6527 # include <rpc/types.h>
6528 #endif
6529
6530
6531 @%:@include <$ac_header>
6532 _ACEOF
6533 rm -f conftest.$ac_objext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535 (eval $ac_compile) 2>conftest.er1
6536 ac_status=$?
6537 grep -v '^ *+' conftest.er1 >conftest.err
6538 rm -f conftest.er1
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } &&
6542 { ac_try='test -z "$ac_c_werror_flag"
6543 || test ! -s conftest.err'
6544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545 (eval $ac_try) 2>&5
6546 ac_status=$?
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; } &&
6549 { ac_try='test -s conftest.$ac_objext'
6550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6551 (eval $ac_try) 2>&5
6552 ac_status=$?
6553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); }; }; then
6555 eval "$as_ac_Header=yes"
6556 else
6557 echo "$as_me: failed program was:" >&5
6558 sed 's/^/| /' conftest.$ac_ext >&5
6559
6560 eval "$as_ac_Header=no"
6561 fi
6562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6563 fi
6564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6567 cat >>confdefs.h <<_ACEOF
6568 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6569 _ACEOF
6570
6571 fi
6572
6573 done
6574
6575
6576
6577 # Checks for operand sizes.
6578 echo "$as_me:$LINENO: checking for void *" >&5
6579 echo $ECHO_N "checking for void *... $ECHO_C" >&6
6580 if test "${ac_cv_type_void_p+set}" = set; then
6581 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 else
6583 cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h. */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 $ac_includes_default
6590 int
6591 main ()
6592 {
6593 if ((void * *) 0)
6594 return 0;
6595 if (sizeof (void *))
6596 return 0;
6597 ;
6598 return 0;
6599 }
6600 _ACEOF
6601 rm -f conftest.$ac_objext
6602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6603 (eval $ac_compile) 2>conftest.er1
6604 ac_status=$?
6605 grep -v '^ *+' conftest.er1 >conftest.err
6606 rm -f conftest.er1
6607 cat conftest.err >&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } &&
6610 { ac_try='test -z "$ac_c_werror_flag"
6611 || test ! -s conftest.err'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 (eval $ac_try) 2>&5
6614 ac_status=$?
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; } &&
6617 { ac_try='test -s conftest.$ac_objext'
6618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 (eval $ac_try) 2>&5
6620 ac_status=$?
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6623 ac_cv_type_void_p=yes
6624 else
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6627
6628 ac_cv_type_void_p=no
6629 fi
6630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6631 fi
6632 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
6633 echo "${ECHO_T}$ac_cv_type_void_p" >&6
6634
6635 echo "$as_me:$LINENO: checking size of void *" >&5
6636 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
6637 if test "${ac_cv_sizeof_void_p+set}" = set; then
6638 echo $ECHO_N "(cached) $ECHO_C" >&6
6639 else
6640 if test "$ac_cv_type_void_p" = yes; then
6641 # The cast to unsigned long works around a bug in the HP C Compiler
6642 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6643 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6644 # This bug is HP SR number 8606223364.
6645 if test "$cross_compiling" = yes; then
6646 # Depending upon the size, compute the lo and hi bounds.
6647 cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h. */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6653 $ac_includes_default
6654 int
6655 main ()
6656 {
6657 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) >= 0)@:>@;
6658 test_array @<:@0@:>@ = 0
6659
6660 ;
6661 return 0;
6662 }
6663 _ACEOF
6664 rm -f conftest.$ac_objext
6665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6666 (eval $ac_compile) 2>conftest.er1
6667 ac_status=$?
6668 grep -v '^ *+' conftest.er1 >conftest.err
6669 rm -f conftest.er1
6670 cat conftest.err >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } &&
6673 { ac_try='test -z "$ac_c_werror_flag"
6674 || test ! -s conftest.err'
6675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 (eval $ac_try) 2>&5
6677 ac_status=$?
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); }; } &&
6680 { ac_try='test -s conftest.$ac_objext'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 (eval $ac_try) 2>&5
6683 ac_status=$?
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; }; then
6686 ac_lo=0 ac_mid=0
6687 while :; do
6688 cat >conftest.$ac_ext <<_ACEOF
6689 /* confdefs.h. */
6690 _ACEOF
6691 cat confdefs.h >>conftest.$ac_ext
6692 cat >>conftest.$ac_ext <<_ACEOF
6693 /* end confdefs.h. */
6694 $ac_includes_default
6695 int
6696 main ()
6697 {
6698 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)@:>@;
6699 test_array @<:@0@:>@ = 0
6700
6701 ;
6702 return 0;
6703 }
6704 _ACEOF
6705 rm -f conftest.$ac_objext
6706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6707 (eval $ac_compile) 2>conftest.er1
6708 ac_status=$?
6709 grep -v '^ *+' conftest.er1 >conftest.err
6710 rm -f conftest.er1
6711 cat conftest.err >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); } &&
6714 { ac_try='test -z "$ac_c_werror_flag"
6715 || test ! -s conftest.err'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 (eval $ac_try) 2>&5
6718 ac_status=$?
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; } &&
6721 { ac_try='test -s conftest.$ac_objext'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 (eval $ac_try) 2>&5
6724 ac_status=$?
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; }; then
6727 ac_hi=$ac_mid; break
6728 else
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.$ac_ext >&5
6731
6732 ac_lo=`expr $ac_mid + 1`
6733 if test $ac_lo -le $ac_mid; then
6734 ac_lo= ac_hi=
6735 break
6736 fi
6737 ac_mid=`expr 2 '*' $ac_mid + 1`
6738 fi
6739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6740 done
6741 else
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6744
6745 cat >conftest.$ac_ext <<_ACEOF
6746 /* confdefs.h. */
6747 _ACEOF
6748 cat confdefs.h >>conftest.$ac_ext
6749 cat >>conftest.$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 $ac_includes_default
6752 int
6753 main ()
6754 {
6755 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) < 0)@:>@;
6756 test_array @<:@0@:>@ = 0
6757
6758 ;
6759 return 0;
6760 }
6761 _ACEOF
6762 rm -f conftest.$ac_objext
6763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6764 (eval $ac_compile) 2>conftest.er1
6765 ac_status=$?
6766 grep -v '^ *+' conftest.er1 >conftest.err
6767 rm -f conftest.er1
6768 cat conftest.err >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); } &&
6771 { ac_try='test -z "$ac_c_werror_flag"
6772 || test ! -s conftest.err'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6774 (eval $ac_try) 2>&5
6775 ac_status=$?
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; } &&
6778 { ac_try='test -s conftest.$ac_objext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 (eval $ac_try) 2>&5
6781 ac_status=$?
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6784 ac_hi=-1 ac_mid=-1
6785 while :; do
6786 cat >conftest.$ac_ext <<_ACEOF
6787 /* confdefs.h. */
6788 _ACEOF
6789 cat confdefs.h >>conftest.$ac_ext
6790 cat >>conftest.$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6792 $ac_includes_default
6793 int
6794 main ()
6795 {
6796 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)@:>@;
6797 test_array @<:@0@:>@ = 0
6798
6799 ;
6800 return 0;
6801 }
6802 _ACEOF
6803 rm -f conftest.$ac_objext
6804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6805 (eval $ac_compile) 2>conftest.er1
6806 ac_status=$?
6807 grep -v '^ *+' conftest.er1 >conftest.err
6808 rm -f conftest.er1
6809 cat conftest.err >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); } &&
6812 { ac_try='test -z "$ac_c_werror_flag"
6813 || test ! -s conftest.err'
6814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6815 (eval $ac_try) 2>&5
6816 ac_status=$?
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); }; } &&
6819 { ac_try='test -s conftest.$ac_objext'
6820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821 (eval $ac_try) 2>&5
6822 ac_status=$?
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); }; }; then
6825 ac_lo=$ac_mid; break
6826 else
6827 echo "$as_me: failed program was:" >&5
6828 sed 's/^/| /' conftest.$ac_ext >&5
6829
6830 ac_hi=`expr '(' $ac_mid ')' - 1`
6831 if test $ac_mid -le $ac_hi; then
6832 ac_lo= ac_hi=
6833 break
6834 fi
6835 ac_mid=`expr 2 '*' $ac_mid`
6836 fi
6837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6838 done
6839 else
6840 echo "$as_me: failed program was:" >&5
6841 sed 's/^/| /' conftest.$ac_ext >&5
6842
6843 ac_lo= ac_hi=
6844 fi
6845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6846 fi
6847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6848 # Binary search between lo and hi bounds.
6849 while test "x$ac_lo" != "x$ac_hi"; do
6850 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6851 cat >conftest.$ac_ext <<_ACEOF
6852 /* confdefs.h. */
6853 _ACEOF
6854 cat confdefs.h >>conftest.$ac_ext
6855 cat >>conftest.$ac_ext <<_ACEOF
6856 /* end confdefs.h. */
6857 $ac_includes_default
6858 int
6859 main ()
6860 {
6861 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)@:>@;
6862 test_array @<:@0@:>@ = 0
6863
6864 ;
6865 return 0;
6866 }
6867 _ACEOF
6868 rm -f conftest.$ac_objext
6869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6870 (eval $ac_compile) 2>conftest.er1
6871 ac_status=$?
6872 grep -v '^ *+' conftest.er1 >conftest.err
6873 rm -f conftest.er1
6874 cat conftest.err >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); } &&
6877 { ac_try='test -z "$ac_c_werror_flag"
6878 || test ! -s conftest.err'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6880 (eval $ac_try) 2>&5
6881 ac_status=$?
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; } &&
6884 { ac_try='test -s conftest.$ac_objext'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6886 (eval $ac_try) 2>&5
6887 ac_status=$?
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6890 ac_hi=$ac_mid
6891 else
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.$ac_ext >&5
6894
6895 ac_lo=`expr '(' $ac_mid ')' + 1`
6896 fi
6897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6898 done
6899 case $ac_lo in
6900 ?*) ac_cv_sizeof_void_p=$ac_lo;;
6901 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
6902 See \`config.log' for more details." >&5
6903 echo "$as_me: error: cannot compute sizeof (void *), 77
6904 See \`config.log' for more details." >&2;}
6905 { (exit 1); exit 1; }; } ;;
6906 esac
6907 else
6908 if test "$cross_compiling" = yes; then
6909 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6910 See \`config.log' for more details." >&5
6911 echo "$as_me: error: cannot run test program while cross compiling
6912 See \`config.log' for more details." >&2;}
6913 { (exit 1); exit 1; }; }
6914 else
6915 cat >conftest.$ac_ext <<_ACEOF
6916 /* confdefs.h. */
6917 _ACEOF
6918 cat confdefs.h >>conftest.$ac_ext
6919 cat >>conftest.$ac_ext <<_ACEOF
6920 /* end confdefs.h. */
6921 $ac_includes_default
6922 long longval () { return (long) (sizeof (void *)); }
6923 unsigned long ulongval () { return (long) (sizeof (void *)); }
6924 @%:@include <stdio.h>
6925 @%:@include <stdlib.h>
6926 int
6927 main ()
6928 {
6929
6930 FILE *f = fopen ("conftest.val", "w");
6931 if (! f)
6932 exit (1);
6933 if (((long) (sizeof (void *))) < 0)
6934 {
6935 long i = longval ();
6936 if (i != ((long) (sizeof (void *))))
6937 exit (1);
6938 fprintf (f, "%ld\n", i);
6939 }
6940 else
6941 {
6942 unsigned long i = ulongval ();
6943 if (i != ((long) (sizeof (void *))))
6944 exit (1);
6945 fprintf (f, "%lu\n", i);
6946 }
6947 exit (ferror (f) || fclose (f) != 0);
6948
6949 ;
6950 return 0;
6951 }
6952 _ACEOF
6953 rm -f conftest$ac_exeext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6955 (eval $ac_link) 2>&5
6956 ac_status=$?
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960 (eval $ac_try) 2>&5
6961 ac_status=$?
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; }; then
6964 ac_cv_sizeof_void_p=`cat conftest.val`
6965 else
6966 echo "$as_me: program exited with status $ac_status" >&5
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6969
6970 ( exit $ac_status )
6971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
6972 See \`config.log' for more details." >&5
6973 echo "$as_me: error: cannot compute sizeof (void *), 77
6974 See \`config.log' for more details." >&2;}
6975 { (exit 1); exit 1; }; }
6976 fi
6977 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6978 fi
6979 fi
6980 rm -f conftest.val
6981 else
6982 ac_cv_sizeof_void_p=0
6983 fi
6984 fi
6985 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6986 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
6987 cat >>confdefs.h <<_ACEOF
6988 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6989 _ACEOF
6990
6991
6992 echo "$as_me:$LINENO: checking for double" >&5
6993 echo $ECHO_N "checking for double... $ECHO_C" >&6
6994 if test "${ac_cv_type_double+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6996 else
6997 cat >conftest.$ac_ext <<_ACEOF
6998 /* confdefs.h. */
6999 _ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7003 $ac_includes_default
7004 int
7005 main ()
7006 {
7007 if ((double *) 0)
7008 return 0;
7009 if (sizeof (double))
7010 return 0;
7011 ;
7012 return 0;
7013 }
7014 _ACEOF
7015 rm -f conftest.$ac_objext
7016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7017 (eval $ac_compile) 2>conftest.er1
7018 ac_status=$?
7019 grep -v '^ *+' conftest.er1 >conftest.err
7020 rm -f conftest.er1
7021 cat conftest.err >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); } &&
7024 { ac_try='test -z "$ac_c_werror_flag"
7025 || test ! -s conftest.err'
7026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7027 (eval $ac_try) 2>&5
7028 ac_status=$?
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); }; } &&
7031 { ac_try='test -s conftest.$ac_objext'
7032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 (eval $ac_try) 2>&5
7034 ac_status=$?
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); }; }; then
7037 ac_cv_type_double=yes
7038 else
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.$ac_ext >&5
7041
7042 ac_cv_type_double=no
7043 fi
7044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7045 fi
7046 echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
7047 echo "${ECHO_T}$ac_cv_type_double" >&6
7048
7049 echo "$as_me:$LINENO: checking size of double" >&5
7050 echo $ECHO_N "checking size of double... $ECHO_C" >&6
7051 if test "${ac_cv_sizeof_double+set}" = set; then
7052 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 else
7054 if test "$ac_cv_type_double" = yes; then
7055 # The cast to unsigned long works around a bug in the HP C Compiler
7056 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7057 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7058 # This bug is HP SR number 8606223364.
7059 if test "$cross_compiling" = yes; then
7060 # Depending upon the size, compute the lo and hi bounds.
7061 cat >conftest.$ac_ext <<_ACEOF
7062 /* confdefs.h. */
7063 _ACEOF
7064 cat confdefs.h >>conftest.$ac_ext
7065 cat >>conftest.$ac_ext <<_ACEOF
7066 /* end confdefs.h. */
7067 $ac_includes_default
7068 int
7069 main ()
7070 {
7071 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) >= 0)@:>@;
7072 test_array @<:@0@:>@ = 0
7073
7074 ;
7075 return 0;
7076 }
7077 _ACEOF
7078 rm -f conftest.$ac_objext
7079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7080 (eval $ac_compile) 2>conftest.er1
7081 ac_status=$?
7082 grep -v '^ *+' conftest.er1 >conftest.err
7083 rm -f conftest.er1
7084 cat conftest.err >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); } &&
7087 { ac_try='test -z "$ac_c_werror_flag"
7088 || test ! -s conftest.err'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7090 (eval $ac_try) 2>&5
7091 ac_status=$?
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; } &&
7094 { ac_try='test -s conftest.$ac_objext'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7096 (eval $ac_try) 2>&5
7097 ac_status=$?
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; }; then
7100 ac_lo=0 ac_mid=0
7101 while :; do
7102 cat >conftest.$ac_ext <<_ACEOF
7103 /* confdefs.h. */
7104 _ACEOF
7105 cat confdefs.h >>conftest.$ac_ext
7106 cat >>conftest.$ac_ext <<_ACEOF
7107 /* end confdefs.h. */
7108 $ac_includes_default
7109 int
7110 main ()
7111 {
7112 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)@:>@;
7113 test_array @<:@0@:>@ = 0
7114
7115 ;
7116 return 0;
7117 }
7118 _ACEOF
7119 rm -f conftest.$ac_objext
7120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7121 (eval $ac_compile) 2>conftest.er1
7122 ac_status=$?
7123 grep -v '^ *+' conftest.er1 >conftest.err
7124 rm -f conftest.er1
7125 cat conftest.err >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); } &&
7128 { ac_try='test -z "$ac_c_werror_flag"
7129 || test ! -s conftest.err'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 (eval $ac_try) 2>&5
7132 ac_status=$?
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; } &&
7135 { ac_try='test -s conftest.$ac_objext'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7137 (eval $ac_try) 2>&5
7138 ac_status=$?
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; }; then
7141 ac_hi=$ac_mid; break
7142 else
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.$ac_ext >&5
7145
7146 ac_lo=`expr $ac_mid + 1`
7147 if test $ac_lo -le $ac_mid; then
7148 ac_lo= ac_hi=
7149 break
7150 fi
7151 ac_mid=`expr 2 '*' $ac_mid + 1`
7152 fi
7153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7154 done
7155 else
7156 echo "$as_me: failed program was:" >&5
7157 sed 's/^/| /' conftest.$ac_ext >&5
7158
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 $ac_includes_default
7166 int
7167 main ()
7168 {
7169 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) < 0)@:>@;
7170 test_array @<:@0@:>@ = 0
7171
7172 ;
7173 return 0;
7174 }
7175 _ACEOF
7176 rm -f conftest.$ac_objext
7177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7178 (eval $ac_compile) 2>conftest.er1
7179 ac_status=$?
7180 grep -v '^ *+' conftest.er1 >conftest.err
7181 rm -f conftest.er1
7182 cat conftest.err >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } &&
7185 { ac_try='test -z "$ac_c_werror_flag"
7186 || test ! -s conftest.err'
7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7188 (eval $ac_try) 2>&5
7189 ac_status=$?
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); }; } &&
7192 { ac_try='test -s conftest.$ac_objext'
7193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 (eval $ac_try) 2>&5
7195 ac_status=$?
7196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7197 (exit $ac_status); }; }; then
7198 ac_hi=-1 ac_mid=-1
7199 while :; do
7200 cat >conftest.$ac_ext <<_ACEOF
7201 /* confdefs.h. */
7202 _ACEOF
7203 cat confdefs.h >>conftest.$ac_ext
7204 cat >>conftest.$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 $ac_includes_default
7207 int
7208 main ()
7209 {
7210 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)@:>@;
7211 test_array @<:@0@:>@ = 0
7212
7213 ;
7214 return 0;
7215 }
7216 _ACEOF
7217 rm -f conftest.$ac_objext
7218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7219 (eval $ac_compile) 2>conftest.er1
7220 ac_status=$?
7221 grep -v '^ *+' conftest.er1 >conftest.err
7222 rm -f conftest.er1
7223 cat conftest.err >&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); } &&
7226 { ac_try='test -z "$ac_c_werror_flag"
7227 || test ! -s conftest.err'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 (eval $ac_try) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; } &&
7233 { ac_try='test -s conftest.$ac_objext'
7234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 (eval $ac_try) 2>&5
7236 ac_status=$?
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); }; }; then
7239 ac_lo=$ac_mid; break
7240 else
7241 echo "$as_me: failed program was:" >&5
7242 sed 's/^/| /' conftest.$ac_ext >&5
7243
7244 ac_hi=`expr '(' $ac_mid ')' - 1`
7245 if test $ac_mid -le $ac_hi; then
7246 ac_lo= ac_hi=
7247 break
7248 fi
7249 ac_mid=`expr 2 '*' $ac_mid`
7250 fi
7251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7252 done
7253 else
7254 echo "$as_me: failed program was:" >&5
7255 sed 's/^/| /' conftest.$ac_ext >&5
7256
7257 ac_lo= ac_hi=
7258 fi
7259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7260 fi
7261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7262 # Binary search between lo and hi bounds.
7263 while test "x$ac_lo" != "x$ac_hi"; do
7264 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7265 cat >conftest.$ac_ext <<_ACEOF
7266 /* confdefs.h. */
7267 _ACEOF
7268 cat confdefs.h >>conftest.$ac_ext
7269 cat >>conftest.$ac_ext <<_ACEOF
7270 /* end confdefs.h. */
7271 $ac_includes_default
7272 int
7273 main ()
7274 {
7275 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)@:>@;
7276 test_array @<:@0@:>@ = 0
7277
7278 ;
7279 return 0;
7280 }
7281 _ACEOF
7282 rm -f conftest.$ac_objext
7283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7284 (eval $ac_compile) 2>conftest.er1
7285 ac_status=$?
7286 grep -v '^ *+' conftest.er1 >conftest.err
7287 rm -f conftest.er1
7288 cat conftest.err >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } &&
7291 { ac_try='test -z "$ac_c_werror_flag"
7292 || test ! -s conftest.err'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7294 (eval $ac_try) 2>&5
7295 ac_status=$?
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; } &&
7298 { ac_try='test -s conftest.$ac_objext'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7300 (eval $ac_try) 2>&5
7301 ac_status=$?
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; }; then
7304 ac_hi=$ac_mid
7305 else
7306 echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.$ac_ext >&5
7308
7309 ac_lo=`expr '(' $ac_mid ')' + 1`
7310 fi
7311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7312 done
7313 case $ac_lo in
7314 ?*) ac_cv_sizeof_double=$ac_lo;;
7315 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
7316 See \`config.log' for more details." >&5
7317 echo "$as_me: error: cannot compute sizeof (double), 77
7318 See \`config.log' for more details." >&2;}
7319 { (exit 1); exit 1; }; } ;;
7320 esac
7321 else
7322 if test "$cross_compiling" = yes; then
7323 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7324 See \`config.log' for more details." >&5
7325 echo "$as_me: error: cannot run test program while cross compiling
7326 See \`config.log' for more details." >&2;}
7327 { (exit 1); exit 1; }; }
7328 else
7329 cat >conftest.$ac_ext <<_ACEOF
7330 /* confdefs.h. */
7331 _ACEOF
7332 cat confdefs.h >>conftest.$ac_ext
7333 cat >>conftest.$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7335 $ac_includes_default
7336 long longval () { return (long) (sizeof (double)); }
7337 unsigned long ulongval () { return (long) (sizeof (double)); }
7338 @%:@include <stdio.h>
7339 @%:@include <stdlib.h>
7340 int
7341 main ()
7342 {
7343
7344 FILE *f = fopen ("conftest.val", "w");
7345 if (! f)
7346 exit (1);
7347 if (((long) (sizeof (double))) < 0)
7348 {
7349 long i = longval ();
7350 if (i != ((long) (sizeof (double))))
7351 exit (1);
7352 fprintf (f, "%ld\n", i);
7353 }
7354 else
7355 {
7356 unsigned long i = ulongval ();
7357 if (i != ((long) (sizeof (double))))
7358 exit (1);
7359 fprintf (f, "%lu\n", i);
7360 }
7361 exit (ferror (f) || fclose (f) != 0);
7362
7363 ;
7364 return 0;
7365 }
7366 _ACEOF
7367 rm -f conftest$ac_exeext
7368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7369 (eval $ac_link) 2>&5
7370 ac_status=$?
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 (eval $ac_try) 2>&5
7375 ac_status=$?
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; }; then
7378 ac_cv_sizeof_double=`cat conftest.val`
7379 else
7380 echo "$as_me: program exited with status $ac_status" >&5
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.$ac_ext >&5
7383
7384 ( exit $ac_status )
7385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
7386 See \`config.log' for more details." >&5
7387 echo "$as_me: error: cannot compute sizeof (double), 77
7388 See \`config.log' for more details." >&2;}
7389 { (exit 1); exit 1; }; }
7390 fi
7391 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7392 fi
7393 fi
7394 rm -f conftest.val
7395 else
7396 ac_cv_sizeof_double=0
7397 fi
7398 fi
7399 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
7400 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
7401 cat >>confdefs.h <<_ACEOF
7402 @%:@define SIZEOF_DOUBLE $ac_cv_sizeof_double
7403 _ACEOF
7404
7405
7406 echo "$as_me:$LINENO: checking for long" >&5
7407 echo $ECHO_N "checking for long... $ECHO_C" >&6
7408 if test "${ac_cv_type_long+set}" = set; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 else
7411 cat >conftest.$ac_ext <<_ACEOF
7412 /* confdefs.h. */
7413 _ACEOF
7414 cat confdefs.h >>conftest.$ac_ext
7415 cat >>conftest.$ac_ext <<_ACEOF
7416 /* end confdefs.h. */
7417 $ac_includes_default
7418 int
7419 main ()
7420 {
7421 if ((long *) 0)
7422 return 0;
7423 if (sizeof (long))
7424 return 0;
7425 ;
7426 return 0;
7427 }
7428 _ACEOF
7429 rm -f conftest.$ac_objext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7431 (eval $ac_compile) 2>conftest.er1
7432 ac_status=$?
7433 grep -v '^ *+' conftest.er1 >conftest.err
7434 rm -f conftest.er1
7435 cat conftest.err >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } &&
7438 { ac_try='test -z "$ac_c_werror_flag"
7439 || test ! -s conftest.err'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 (eval $ac_try) 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try='test -s conftest.$ac_objext'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 (eval $ac_try) 2>&5
7448 ac_status=$?
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7451 ac_cv_type_long=yes
7452 else
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7455
7456 ac_cv_type_long=no
7457 fi
7458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7459 fi
7460 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7461 echo "${ECHO_T}$ac_cv_type_long" >&6
7462
7463 echo "$as_me:$LINENO: checking size of long" >&5
7464 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7465 if test "${ac_cv_sizeof_long+set}" = set; then
7466 echo $ECHO_N "(cached) $ECHO_C" >&6
7467 else
7468 if test "$ac_cv_type_long" = yes; then
7469 # The cast to unsigned long works around a bug in the HP C Compiler
7470 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7471 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7472 # This bug is HP SR number 8606223364.
7473 if test "$cross_compiling" = yes; then
7474 # Depending upon the size, compute the lo and hi bounds.
7475 cat >conftest.$ac_ext <<_ACEOF
7476 /* confdefs.h. */
7477 _ACEOF
7478 cat confdefs.h >>conftest.$ac_ext
7479 cat >>conftest.$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7481 $ac_includes_default
7482 int
7483 main ()
7484 {
7485 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) >= 0)@:>@;
7486 test_array @<:@0@:>@ = 0
7487
7488 ;
7489 return 0;
7490 }
7491 _ACEOF
7492 rm -f conftest.$ac_objext
7493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7494 (eval $ac_compile) 2>conftest.er1
7495 ac_status=$?
7496 grep -v '^ *+' conftest.er1 >conftest.err
7497 rm -f conftest.er1
7498 cat conftest.err >&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); } &&
7501 { ac_try='test -z "$ac_c_werror_flag"
7502 || test ! -s conftest.err'
7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7504 (eval $ac_try) 2>&5
7505 ac_status=$?
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); }; } &&
7508 { ac_try='test -s conftest.$ac_objext'
7509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510 (eval $ac_try) 2>&5
7511 ac_status=$?
7512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); }; }; then
7514 ac_lo=0 ac_mid=0
7515 while :; do
7516 cat >conftest.$ac_ext <<_ACEOF
7517 /* confdefs.h. */
7518 _ACEOF
7519 cat confdefs.h >>conftest.$ac_ext
7520 cat >>conftest.$ac_ext <<_ACEOF
7521 /* end confdefs.h. */
7522 $ac_includes_default
7523 int
7524 main ()
7525 {
7526 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)@:>@;
7527 test_array @<:@0@:>@ = 0
7528
7529 ;
7530 return 0;
7531 }
7532 _ACEOF
7533 rm -f conftest.$ac_objext
7534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7535 (eval $ac_compile) 2>conftest.er1
7536 ac_status=$?
7537 grep -v '^ *+' conftest.er1 >conftest.err
7538 rm -f conftest.er1
7539 cat conftest.err >&5
7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); } &&
7542 { ac_try='test -z "$ac_c_werror_flag"
7543 || test ! -s conftest.err'
7544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 (eval $ac_try) 2>&5
7546 ac_status=$?
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); }; } &&
7549 { ac_try='test -s conftest.$ac_objext'
7550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 (eval $ac_try) 2>&5
7552 ac_status=$?
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); }; }; then
7555 ac_hi=$ac_mid; break
7556 else
7557 echo "$as_me: failed program was:" >&5
7558 sed 's/^/| /' conftest.$ac_ext >&5
7559
7560 ac_lo=`expr $ac_mid + 1`
7561 if test $ac_lo -le $ac_mid; then
7562 ac_lo= ac_hi=
7563 break
7564 fi
7565 ac_mid=`expr 2 '*' $ac_mid + 1`
7566 fi
7567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7568 done
7569 else
7570 echo "$as_me: failed program was:" >&5
7571 sed 's/^/| /' conftest.$ac_ext >&5
7572
7573 cat >conftest.$ac_ext <<_ACEOF
7574 /* confdefs.h. */
7575 _ACEOF
7576 cat confdefs.h >>conftest.$ac_ext
7577 cat >>conftest.$ac_ext <<_ACEOF
7578 /* end confdefs.h. */
7579 $ac_includes_default
7580 int
7581 main ()
7582 {
7583 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) < 0)@:>@;
7584 test_array @<:@0@:>@ = 0
7585
7586 ;
7587 return 0;
7588 }
7589 _ACEOF
7590 rm -f conftest.$ac_objext
7591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7592 (eval $ac_compile) 2>conftest.er1
7593 ac_status=$?
7594 grep -v '^ *+' conftest.er1 >conftest.err
7595 rm -f conftest.er1
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } &&
7599 { ac_try='test -z "$ac_c_werror_flag"
7600 || test ! -s conftest.err'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; } &&
7606 { ac_try='test -s conftest.$ac_objext'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 (eval $ac_try) 2>&5
7609 ac_status=$?
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then
7612 ac_hi=-1 ac_mid=-1
7613 while :; do
7614 cat >conftest.$ac_ext <<_ACEOF
7615 /* confdefs.h. */
7616 _ACEOF
7617 cat confdefs.h >>conftest.$ac_ext
7618 cat >>conftest.$ac_ext <<_ACEOF
7619 /* end confdefs.h. */
7620 $ac_includes_default
7621 int
7622 main ()
7623 {
7624 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)@:>@;
7625 test_array @<:@0@:>@ = 0
7626
7627 ;
7628 return 0;
7629 }
7630 _ACEOF
7631 rm -f conftest.$ac_objext
7632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7633 (eval $ac_compile) 2>conftest.er1
7634 ac_status=$?
7635 grep -v '^ *+' conftest.er1 >conftest.err
7636 rm -f conftest.er1
7637 cat conftest.err >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } &&
7640 { ac_try='test -z "$ac_c_werror_flag"
7641 || test ! -s conftest.err'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 (eval $ac_try) 2>&5
7644 ac_status=$?
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; } &&
7647 { ac_try='test -s conftest.$ac_objext'
7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 (eval $ac_try) 2>&5
7650 ac_status=$?
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; }; then
7653 ac_lo=$ac_mid; break
7654 else
7655 echo "$as_me: failed program was:" >&5
7656 sed 's/^/| /' conftest.$ac_ext >&5
7657
7658 ac_hi=`expr '(' $ac_mid ')' - 1`
7659 if test $ac_mid -le $ac_hi; then
7660 ac_lo= ac_hi=
7661 break
7662 fi
7663 ac_mid=`expr 2 '*' $ac_mid`
7664 fi
7665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7666 done
7667 else
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.$ac_ext >&5
7670
7671 ac_lo= ac_hi=
7672 fi
7673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7674 fi
7675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7676 # Binary search between lo and hi bounds.
7677 while test "x$ac_lo" != "x$ac_hi"; do
7678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7679 cat >conftest.$ac_ext <<_ACEOF
7680 /* confdefs.h. */
7681 _ACEOF
7682 cat confdefs.h >>conftest.$ac_ext
7683 cat >>conftest.$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7685 $ac_includes_default
7686 int
7687 main ()
7688 {
7689 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)@:>@;
7690 test_array @<:@0@:>@ = 0
7691
7692 ;
7693 return 0;
7694 }
7695 _ACEOF
7696 rm -f conftest.$ac_objext
7697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7698 (eval $ac_compile) 2>conftest.er1
7699 ac_status=$?
7700 grep -v '^ *+' conftest.er1 >conftest.err
7701 rm -f conftest.er1
7702 cat conftest.err >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); } &&
7705 { ac_try='test -z "$ac_c_werror_flag"
7706 || test ! -s conftest.err'
7707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7708 (eval $ac_try) 2>&5
7709 ac_status=$?
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); }; } &&
7712 { ac_try='test -s conftest.$ac_objext'
7713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7714 (eval $ac_try) 2>&5
7715 ac_status=$?
7716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717 (exit $ac_status); }; }; then
7718 ac_hi=$ac_mid
7719 else
7720 echo "$as_me: failed program was:" >&5
7721 sed 's/^/| /' conftest.$ac_ext >&5
7722
7723 ac_lo=`expr '(' $ac_mid ')' + 1`
7724 fi
7725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7726 done
7727 case $ac_lo in
7728 ?*) ac_cv_sizeof_long=$ac_lo;;
7729 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7730 See \`config.log' for more details." >&5
7731 echo "$as_me: error: cannot compute sizeof (long), 77
7732 See \`config.log' for more details." >&2;}
7733 { (exit 1); exit 1; }; } ;;
7734 esac
7735 else
7736 if test "$cross_compiling" = yes; then
7737 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7738 See \`config.log' for more details." >&5
7739 echo "$as_me: error: cannot run test program while cross compiling
7740 See \`config.log' for more details." >&2;}
7741 { (exit 1); exit 1; }; }
7742 else
7743 cat >conftest.$ac_ext <<_ACEOF
7744 /* confdefs.h. */
7745 _ACEOF
7746 cat confdefs.h >>conftest.$ac_ext
7747 cat >>conftest.$ac_ext <<_ACEOF
7748 /* end confdefs.h. */
7749 $ac_includes_default
7750 long longval () { return (long) (sizeof (long)); }
7751 unsigned long ulongval () { return (long) (sizeof (long)); }
7752 @%:@include <stdio.h>
7753 @%:@include <stdlib.h>
7754 int
7755 main ()
7756 {
7757
7758 FILE *f = fopen ("conftest.val", "w");
7759 if (! f)
7760 exit (1);
7761 if (((long) (sizeof (long))) < 0)
7762 {
7763 long i = longval ();
7764 if (i != ((long) (sizeof (long))))
7765 exit (1);
7766 fprintf (f, "%ld\n", i);
7767 }
7768 else
7769 {
7770 unsigned long i = ulongval ();
7771 if (i != ((long) (sizeof (long))))
7772 exit (1);
7773 fprintf (f, "%lu\n", i);
7774 }
7775 exit (ferror (f) || fclose (f) != 0);
7776
7777 ;
7778 return 0;
7779 }
7780 _ACEOF
7781 rm -f conftest$ac_exeext
7782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7783 (eval $ac_link) 2>&5
7784 ac_status=$?
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7788 (eval $ac_try) 2>&5
7789 ac_status=$?
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; }; then
7792 ac_cv_sizeof_long=`cat conftest.val`
7793 else
7794 echo "$as_me: program exited with status $ac_status" >&5
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7797
7798 ( exit $ac_status )
7799 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7800 See \`config.log' for more details." >&5
7801 echo "$as_me: error: cannot compute sizeof (long), 77
7802 See \`config.log' for more details." >&2;}
7803 { (exit 1); exit 1; }; }
7804 fi
7805 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7806 fi
7807 fi
7808 rm -f conftest.val
7809 else
7810 ac_cv_sizeof_long=0
7811 fi
7812 fi
7813 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7814 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7815 cat >>confdefs.h <<_ACEOF
7816 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
7817 _ACEOF
7818
7819
7820 echo "$as_me:$LINENO: checking for int" >&5
7821 echo $ECHO_N "checking for int... $ECHO_C" >&6
7822 if test "${ac_cv_type_int+set}" = set; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 else
7825 cat >conftest.$ac_ext <<_ACEOF
7826 /* confdefs.h. */
7827 _ACEOF
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 $ac_includes_default
7832 int
7833 main ()
7834 {
7835 if ((int *) 0)
7836 return 0;
7837 if (sizeof (int))
7838 return 0;
7839 ;
7840 return 0;
7841 }
7842 _ACEOF
7843 rm -f conftest.$ac_objext
7844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7845 (eval $ac_compile) 2>conftest.er1
7846 ac_status=$?
7847 grep -v '^ *+' conftest.er1 >conftest.err
7848 rm -f conftest.er1
7849 cat conftest.err >&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } &&
7852 { ac_try='test -z "$ac_c_werror_flag"
7853 || test ! -s conftest.err'
7854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 (eval $ac_try) 2>&5
7856 ac_status=$?
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); }; } &&
7859 { ac_try='test -s conftest.$ac_objext'
7860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7861 (eval $ac_try) 2>&5
7862 ac_status=$?
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); }; }; then
7865 ac_cv_type_int=yes
7866 else
7867 echo "$as_me: failed program was:" >&5
7868 sed 's/^/| /' conftest.$ac_ext >&5
7869
7870 ac_cv_type_int=no
7871 fi
7872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7873 fi
7874 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
7875 echo "${ECHO_T}$ac_cv_type_int" >&6
7876
7877 echo "$as_me:$LINENO: checking size of int" >&5
7878 echo $ECHO_N "checking size of int... $ECHO_C" >&6
7879 if test "${ac_cv_sizeof_int+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7881 else
7882 if test "$ac_cv_type_int" = yes; then
7883 # The cast to unsigned long works around a bug in the HP C Compiler
7884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7886 # This bug is HP SR number 8606223364.
7887 if test "$cross_compiling" = yes; then
7888 # Depending upon the size, compute the lo and hi bounds.
7889 cat >conftest.$ac_ext <<_ACEOF
7890 /* confdefs.h. */
7891 _ACEOF
7892 cat confdefs.h >>conftest.$ac_ext
7893 cat >>conftest.$ac_ext <<_ACEOF
7894 /* end confdefs.h. */
7895 $ac_includes_default
7896 int
7897 main ()
7898 {
7899 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= 0)@:>@;
7900 test_array @<:@0@:>@ = 0
7901
7902 ;
7903 return 0;
7904 }
7905 _ACEOF
7906 rm -f conftest.$ac_objext
7907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7908 (eval $ac_compile) 2>conftest.er1
7909 ac_status=$?
7910 grep -v '^ *+' conftest.er1 >conftest.err
7911 rm -f conftest.er1
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } &&
7915 { ac_try='test -z "$ac_c_werror_flag"
7916 || test ! -s conftest.err'
7917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7918 (eval $ac_try) 2>&5
7919 ac_status=$?
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); }; } &&
7922 { ac_try='test -s conftest.$ac_objext'
7923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7924 (eval $ac_try) 2>&5
7925 ac_status=$?
7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 (exit $ac_status); }; }; then
7928 ac_lo=0 ac_mid=0
7929 while :; do
7930 cat >conftest.$ac_ext <<_ACEOF
7931 /* confdefs.h. */
7932 _ACEOF
7933 cat confdefs.h >>conftest.$ac_ext
7934 cat >>conftest.$ac_ext <<_ACEOF
7935 /* end confdefs.h. */
7936 $ac_includes_default
7937 int
7938 main ()
7939 {
7940 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
7941 test_array @<:@0@:>@ = 0
7942
7943 ;
7944 return 0;
7945 }
7946 _ACEOF
7947 rm -f conftest.$ac_objext
7948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7949 (eval $ac_compile) 2>conftest.er1
7950 ac_status=$?
7951 grep -v '^ *+' conftest.er1 >conftest.err
7952 rm -f conftest.er1
7953 cat conftest.err >&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } &&
7956 { ac_try='test -z "$ac_c_werror_flag"
7957 || test ! -s conftest.err'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 (eval $ac_try) 2>&5
7960 ac_status=$?
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; } &&
7963 { ac_try='test -s conftest.$ac_objext'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7965 (eval $ac_try) 2>&5
7966 ac_status=$?
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; }; then
7969 ac_hi=$ac_mid; break
7970 else
7971 echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7973
7974 ac_lo=`expr $ac_mid + 1`
7975 if test $ac_lo -le $ac_mid; then
7976 ac_lo= ac_hi=
7977 break
7978 fi
7979 ac_mid=`expr 2 '*' $ac_mid + 1`
7980 fi
7981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7982 done
7983 else
7984 echo "$as_me: failed program was:" >&5
7985 sed 's/^/| /' conftest.$ac_ext >&5
7986
7987 cat >conftest.$ac_ext <<_ACEOF
7988 /* confdefs.h. */
7989 _ACEOF
7990 cat confdefs.h >>conftest.$ac_ext
7991 cat >>conftest.$ac_ext <<_ACEOF
7992 /* end confdefs.h. */
7993 $ac_includes_default
7994 int
7995 main ()
7996 {
7997 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) < 0)@:>@;
7998 test_array @<:@0@:>@ = 0
7999
8000 ;
8001 return 0;
8002 }
8003 _ACEOF
8004 rm -f conftest.$ac_objext
8005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8006 (eval $ac_compile) 2>conftest.er1
8007 ac_status=$?
8008 grep -v '^ *+' conftest.er1 >conftest.err
8009 rm -f conftest.er1
8010 cat conftest.err >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); } &&
8013 { ac_try='test -z "$ac_c_werror_flag"
8014 || test ! -s conftest.err'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 (eval $ac_try) 2>&5
8017 ac_status=$?
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; } &&
8020 { ac_try='test -s conftest.$ac_objext'
8021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 (eval $ac_try) 2>&5
8023 ac_status=$?
8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); }; }; then
8026 ac_hi=-1 ac_mid=-1
8027 while :; do
8028 cat >conftest.$ac_ext <<_ACEOF
8029 /* confdefs.h. */
8030 _ACEOF
8031 cat confdefs.h >>conftest.$ac_ext
8032 cat >>conftest.$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8034 $ac_includes_default
8035 int
8036 main ()
8037 {
8038 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)@:>@;
8039 test_array @<:@0@:>@ = 0
8040
8041 ;
8042 return 0;
8043 }
8044 _ACEOF
8045 rm -f conftest.$ac_objext
8046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8047 (eval $ac_compile) 2>conftest.er1
8048 ac_status=$?
8049 grep -v '^ *+' conftest.er1 >conftest.err
8050 rm -f conftest.er1
8051 cat conftest.err >&5
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); } &&
8054 { ac_try='test -z "$ac_c_werror_flag"
8055 || test ! -s conftest.err'
8056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8057 (eval $ac_try) 2>&5
8058 ac_status=$?
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; } &&
8061 { ac_try='test -s conftest.$ac_objext'
8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 (eval $ac_try) 2>&5
8064 ac_status=$?
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); }; }; then
8067 ac_lo=$ac_mid; break
8068 else
8069 echo "$as_me: failed program was:" >&5
8070 sed 's/^/| /' conftest.$ac_ext >&5
8071
8072 ac_hi=`expr '(' $ac_mid ')' - 1`
8073 if test $ac_mid -le $ac_hi; then
8074 ac_lo= ac_hi=
8075 break
8076 fi
8077 ac_mid=`expr 2 '*' $ac_mid`
8078 fi
8079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8080 done
8081 else
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8084
8085 ac_lo= ac_hi=
8086 fi
8087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8088 fi
8089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8090 # Binary search between lo and hi bounds.
8091 while test "x$ac_lo" != "x$ac_hi"; do
8092 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8093 cat >conftest.$ac_ext <<_ACEOF
8094 /* confdefs.h. */
8095 _ACEOF
8096 cat confdefs.h >>conftest.$ac_ext
8097 cat >>conftest.$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8099 $ac_includes_default
8100 int
8101 main ()
8102 {
8103 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
8104 test_array @<:@0@:>@ = 0
8105
8106 ;
8107 return 0;
8108 }
8109 _ACEOF
8110 rm -f conftest.$ac_objext
8111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8112 (eval $ac_compile) 2>conftest.er1
8113 ac_status=$?
8114 grep -v '^ *+' conftest.er1 >conftest.err
8115 rm -f conftest.er1
8116 cat conftest.err >&5
8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118 (exit $ac_status); } &&
8119 { ac_try='test -z "$ac_c_werror_flag"
8120 || test ! -s conftest.err'
8121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 (eval $ac_try) 2>&5
8123 ac_status=$?
8124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125 (exit $ac_status); }; } &&
8126 { ac_try='test -s conftest.$ac_objext'
8127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128 (eval $ac_try) 2>&5
8129 ac_status=$?
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); }; }; then
8132 ac_hi=$ac_mid
8133 else
8134 echo "$as_me: failed program was:" >&5
8135 sed 's/^/| /' conftest.$ac_ext >&5
8136
8137 ac_lo=`expr '(' $ac_mid ')' + 1`
8138 fi
8139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8140 done
8141 case $ac_lo in
8142 ?*) ac_cv_sizeof_int=$ac_lo;;
8143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8144 See \`config.log' for more details." >&5
8145 echo "$as_me: error: cannot compute sizeof (int), 77
8146 See \`config.log' for more details." >&2;}
8147 { (exit 1); exit 1; }; } ;;
8148 esac
8149 else
8150 if test "$cross_compiling" = yes; then
8151 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8152 See \`config.log' for more details." >&5
8153 echo "$as_me: error: cannot run test program while cross compiling
8154 See \`config.log' for more details." >&2;}
8155 { (exit 1); exit 1; }; }
8156 else
8157 cat >conftest.$ac_ext <<_ACEOF
8158 /* confdefs.h. */
8159 _ACEOF
8160 cat confdefs.h >>conftest.$ac_ext
8161 cat >>conftest.$ac_ext <<_ACEOF
8162 /* end confdefs.h. */
8163 $ac_includes_default
8164 long longval () { return (long) (sizeof (int)); }
8165 unsigned long ulongval () { return (long) (sizeof (int)); }
8166 @%:@include <stdio.h>
8167 @%:@include <stdlib.h>
8168 int
8169 main ()
8170 {
8171
8172 FILE *f = fopen ("conftest.val", "w");
8173 if (! f)
8174 exit (1);
8175 if (((long) (sizeof (int))) < 0)
8176 {
8177 long i = longval ();
8178 if (i != ((long) (sizeof (int))))
8179 exit (1);
8180 fprintf (f, "%ld\n", i);
8181 }
8182 else
8183 {
8184 unsigned long i = ulongval ();
8185 if (i != ((long) (sizeof (int))))
8186 exit (1);
8187 fprintf (f, "%lu\n", i);
8188 }
8189 exit (ferror (f) || fclose (f) != 0);
8190
8191 ;
8192 return 0;
8193 }
8194 _ACEOF
8195 rm -f conftest$ac_exeext
8196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8197 (eval $ac_link) 2>&5
8198 ac_status=$?
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 ac_cv_sizeof_int=`cat conftest.val`
8207 else
8208 echo "$as_me: program exited with status $ac_status" >&5
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8211
8212 ( exit $ac_status )
8213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8214 See \`config.log' for more details." >&5
8215 echo "$as_me: error: cannot compute sizeof (int), 77
8216 See \`config.log' for more details." >&2;}
8217 { (exit 1); exit 1; }; }
8218 fi
8219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8220 fi
8221 fi
8222 rm -f conftest.val
8223 else
8224 ac_cv_sizeof_int=0
8225 fi
8226 fi
8227 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8228 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8229 cat >>confdefs.h <<_ACEOF
8230 @%:@define SIZEOF_INT $ac_cv_sizeof_int
8231 _ACEOF
8232
8233
8234
8235 # Checks for typedefs, structures, and compiler characteristics.
8236 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8237 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8238 if test "${ac_cv_c_const+set}" = set; then
8239 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 else
8241 cat >conftest.$ac_ext <<_ACEOF
8242 /* confdefs.h. */
8243 _ACEOF
8244 cat confdefs.h >>conftest.$ac_ext
8245 cat >>conftest.$ac_ext <<_ACEOF
8246 /* end confdefs.h. */
8247
8248 int
8249 main ()
8250 {
8251 /* FIXME: Include the comments suggested by Paul. */
8252 #ifndef __cplusplus
8253 /* Ultrix mips cc rejects this. */
8254 typedef int charset[2];
8255 const charset x;
8256 /* SunOS 4.1.1 cc rejects this. */
8257 char const *const *ccp;
8258 char **p;
8259 /* NEC SVR4.0.2 mips cc rejects this. */
8260 struct point {int x, y;};
8261 static struct point const zero = {0,0};
8262 /* AIX XL C 1.02.0.0 rejects this.
8263 It does not let you subtract one const X* pointer from another in
8264 an arm of an if-expression whose if-part is not a constant
8265 expression */
8266 const char *g = "string";
8267 ccp = &g + (g ? g-g : 0);
8268 /* HPUX 7.0 cc rejects these. */
8269 ++ccp;
8270 p = (char**) ccp;
8271 ccp = (char const *const *) p;
8272 { /* SCO 3.2v4 cc rejects this. */
8273 char *t;
8274 char const *s = 0 ? (char *) 0 : (char const *) 0;
8275
8276 *t++ = 0;
8277 }
8278 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8279 int x[] = {25, 17};
8280 const int *foo = &x[0];
8281 ++foo;
8282 }
8283 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8284 typedef const int *iptr;
8285 iptr p = 0;
8286 ++p;
8287 }
8288 { /* AIX XL C 1.02.0.0 rejects this saying
8289 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8290 struct s { int j; const int *ap[3]; };
8291 struct s *b; b->j = 5;
8292 }
8293 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8294 const int foo = 10;
8295 }
8296 #endif
8297
8298 ;
8299 return 0;
8300 }
8301 _ACEOF
8302 rm -f conftest.$ac_objext
8303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8304 (eval $ac_compile) 2>conftest.er1
8305 ac_status=$?
8306 grep -v '^ *+' conftest.er1 >conftest.err
8307 rm -f conftest.er1
8308 cat conftest.err >&5
8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8310 (exit $ac_status); } &&
8311 { ac_try='test -z "$ac_c_werror_flag"
8312 || test ! -s conftest.err'
8313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8314 (eval $ac_try) 2>&5
8315 ac_status=$?
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); }; } &&
8318 { ac_try='test -s conftest.$ac_objext'
8319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8320 (eval $ac_try) 2>&5
8321 ac_status=$?
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; }; then
8324 ac_cv_c_const=yes
8325 else
8326 echo "$as_me: failed program was:" >&5
8327 sed 's/^/| /' conftest.$ac_ext >&5
8328
8329 ac_cv_c_const=no
8330 fi
8331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8332 fi
8333 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8334 echo "${ECHO_T}$ac_cv_c_const" >&6
8335 if test $ac_cv_c_const = no; then
8336
8337 cat >>confdefs.h <<\_ACEOF
8338 @%:@define const
8339 _ACEOF
8340
8341 fi
8342
8343 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8344 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
8345 if test "${ac_cv_header_stdbool_h+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 else
8348 cat >conftest.$ac_ext <<_ACEOF
8349 /* confdefs.h. */
8350 _ACEOF
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8354
8355 #include <stdbool.h>
8356 #ifndef bool
8357 # error bool is not defined
8358 #endif
8359 #ifndef false
8360 # error false is not defined
8361 #endif
8362 #if false
8363 # error false is not 0
8364 #endif
8365 #ifndef true
8366 # error true is not defined
8367 #endif
8368 #if true != 1
8369 # error true is not 1
8370 #endif
8371 #ifndef __bool_true_false_are_defined
8372 # error __bool_true_false_are_defined is not defined
8373 #endif
8374
8375 struct s { _Bool s: 1; _Bool t; } s;
8376
8377 char a[true == 1 ? 1 : -1];
8378 char b[false == 0 ? 1 : -1];
8379 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
8380 char d[(bool) -0.5 == true ? 1 : -1];
8381 bool e = &s;
8382 char f[(_Bool) -0.0 == false ? 1 : -1];
8383 char g[true];
8384 char h[sizeof (_Bool)];
8385 char i[sizeof s.t];
8386
8387 int
8388 main ()
8389 {
8390 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
8391 ;
8392 return 0;
8393 }
8394 _ACEOF
8395 rm -f conftest.$ac_objext
8396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8397 (eval $ac_compile) 2>conftest.er1
8398 ac_status=$?
8399 grep -v '^ *+' conftest.er1 >conftest.err
8400 rm -f conftest.er1
8401 cat conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } &&
8404 { ac_try='test -z "$ac_c_werror_flag"
8405 || test ! -s conftest.err'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 (eval $ac_try) 2>&5
8408 ac_status=$?
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; } &&
8411 { ac_try='test -s conftest.$ac_objext'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8413 (eval $ac_try) 2>&5
8414 ac_status=$?
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; }; then
8417 ac_cv_header_stdbool_h=yes
8418 else
8419 echo "$as_me: failed program was:" >&5
8420 sed 's/^/| /' conftest.$ac_ext >&5
8421
8422 ac_cv_header_stdbool_h=no
8423 fi
8424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8425 fi
8426 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8427 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
8428 echo "$as_me:$LINENO: checking for _Bool" >&5
8429 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
8430 if test "${ac_cv_type__Bool+set}" = set; then
8431 echo $ECHO_N "(cached) $ECHO_C" >&6
8432 else
8433 cat >conftest.$ac_ext <<_ACEOF
8434 /* confdefs.h. */
8435 _ACEOF
8436 cat confdefs.h >>conftest.$ac_ext
8437 cat >>conftest.$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8439 $ac_includes_default
8440 int
8441 main ()
8442 {
8443 if ((_Bool *) 0)
8444 return 0;
8445 if (sizeof (_Bool))
8446 return 0;
8447 ;
8448 return 0;
8449 }
8450 _ACEOF
8451 rm -f conftest.$ac_objext
8452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8453 (eval $ac_compile) 2>conftest.er1
8454 ac_status=$?
8455 grep -v '^ *+' conftest.er1 >conftest.err
8456 rm -f conftest.er1
8457 cat conftest.err >&5
8458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8459 (exit $ac_status); } &&
8460 { ac_try='test -z "$ac_c_werror_flag"
8461 || test ! -s conftest.err'
8462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8463 (eval $ac_try) 2>&5
8464 ac_status=$?
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); }; } &&
8467 { ac_try='test -s conftest.$ac_objext'
8468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 (eval $ac_try) 2>&5
8470 ac_status=$?
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 (exit $ac_status); }; }; then
8473 ac_cv_type__Bool=yes
8474 else
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.$ac_ext >&5
8477
8478 ac_cv_type__Bool=no
8479 fi
8480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8481 fi
8482 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8483 echo "${ECHO_T}$ac_cv_type__Bool" >&6
8484 if test $ac_cv_type__Bool = yes; then
8485
8486 cat >>confdefs.h <<_ACEOF
8487 @%:@define HAVE__BOOL 1
8488 _ACEOF
8489
8490
8491 fi
8492
8493 if test $ac_cv_header_stdbool_h = yes; then
8494
8495 cat >>confdefs.h <<\_ACEOF
8496 @%:@define HAVE_STDBOOL_H 1
8497 _ACEOF
8498
8499 fi
8500
8501 echo "$as_me:$LINENO: checking for inline" >&5
8502 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8503 if test "${ac_cv_c_inline+set}" = set; then
8504 echo $ECHO_N "(cached) $ECHO_C" >&6
8505 else
8506 ac_cv_c_inline=no
8507 for ac_kw in inline __inline__ __inline; do
8508 cat >conftest.$ac_ext <<_ACEOF
8509 /* confdefs.h. */
8510 _ACEOF
8511 cat confdefs.h >>conftest.$ac_ext
8512 cat >>conftest.$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8514 #ifndef __cplusplus
8515 typedef int foo_t;
8516 static $ac_kw foo_t static_foo () {return 0; }
8517 $ac_kw foo_t foo () {return 0; }
8518 #endif
8519
8520 _ACEOF
8521 rm -f conftest.$ac_objext
8522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8523 (eval $ac_compile) 2>conftest.er1
8524 ac_status=$?
8525 grep -v '^ *+' conftest.er1 >conftest.err
8526 rm -f conftest.er1
8527 cat conftest.err >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } &&
8530 { ac_try='test -z "$ac_c_werror_flag"
8531 || test ! -s conftest.err'
8532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8533 (eval $ac_try) 2>&5
8534 ac_status=$?
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); }; } &&
8537 { ac_try='test -s conftest.$ac_objext'
8538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8539 (eval $ac_try) 2>&5
8540 ac_status=$?
8541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542 (exit $ac_status); }; }; then
8543 ac_cv_c_inline=$ac_kw; break
8544 else
8545 echo "$as_me: failed program was:" >&5
8546 sed 's/^/| /' conftest.$ac_ext >&5
8547
8548 fi
8549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8550 done
8551
8552 fi
8553 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8554 echo "${ECHO_T}$ac_cv_c_inline" >&6
8555
8556
8557 case $ac_cv_c_inline in
8558 inline | yes) ;;
8559 *)
8560 case $ac_cv_c_inline in
8561 no) ac_val=;;
8562 *) ac_val=$ac_cv_c_inline;;
8563 esac
8564 cat >>confdefs.h <<_ACEOF
8565 #ifndef __cplusplus
8566 #define inline $ac_val
8567 #endif
8568 _ACEOF
8569 ;;
8570 esac
8571
8572 echo "$as_me:$LINENO: checking for off_t" >&5
8573 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8574 if test "${ac_cv_type_off_t+set}" = set; then
8575 echo $ECHO_N "(cached) $ECHO_C" >&6
8576 else
8577 cat >conftest.$ac_ext <<_ACEOF
8578 /* confdefs.h. */
8579 _ACEOF
8580 cat confdefs.h >>conftest.$ac_ext
8581 cat >>conftest.$ac_ext <<_ACEOF
8582 /* end confdefs.h. */
8583 $ac_includes_default
8584 int
8585 main ()
8586 {
8587 if ((off_t *) 0)
8588 return 0;
8589 if (sizeof (off_t))
8590 return 0;
8591 ;
8592 return 0;
8593 }
8594 _ACEOF
8595 rm -f conftest.$ac_objext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8597 (eval $ac_compile) 2>conftest.er1
8598 ac_status=$?
8599 grep -v '^ *+' conftest.er1 >conftest.err
8600 rm -f conftest.er1
8601 cat conftest.err >&5
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); } &&
8604 { ac_try='test -z "$ac_c_werror_flag"
8605 || test ! -s conftest.err'
8606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607 (eval $ac_try) 2>&5
8608 ac_status=$?
8609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610 (exit $ac_status); }; } &&
8611 { ac_try='test -s conftest.$ac_objext'
8612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613 (eval $ac_try) 2>&5
8614 ac_status=$?
8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); }; }; then
8617 ac_cv_type_off_t=yes
8618 else
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8621
8622 ac_cv_type_off_t=no
8623 fi
8624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8625 fi
8626 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
8627 echo "${ECHO_T}$ac_cv_type_off_t" >&6
8628 if test $ac_cv_type_off_t = yes; then
8629 :
8630 else
8631
8632 cat >>confdefs.h <<_ACEOF
8633 @%:@define off_t long
8634 _ACEOF
8635
8636 fi
8637
8638 echo "$as_me:$LINENO: checking for pid_t" >&5
8639 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
8640 if test "${ac_cv_type_pid_t+set}" = set; then
8641 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 else
8643 cat >conftest.$ac_ext <<_ACEOF
8644 /* confdefs.h. */
8645 _ACEOF
8646 cat confdefs.h >>conftest.$ac_ext
8647 cat >>conftest.$ac_ext <<_ACEOF
8648 /* end confdefs.h. */
8649 $ac_includes_default
8650 int
8651 main ()
8652 {
8653 if ((pid_t *) 0)
8654 return 0;
8655 if (sizeof (pid_t))
8656 return 0;
8657 ;
8658 return 0;
8659 }
8660 _ACEOF
8661 rm -f conftest.$ac_objext
8662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8663 (eval $ac_compile) 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } &&
8670 { ac_try='test -z "$ac_c_werror_flag"
8671 || test ! -s conftest.err'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 (eval $ac_try) 2>&5
8674 ac_status=$?
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; } &&
8677 { ac_try='test -s conftest.$ac_objext'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 (eval $ac_try) 2>&5
8680 ac_status=$?
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; }; then
8683 ac_cv_type_pid_t=yes
8684 else
8685 echo "$as_me: failed program was:" >&5
8686 sed 's/^/| /' conftest.$ac_ext >&5
8687
8688 ac_cv_type_pid_t=no
8689 fi
8690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8691 fi
8692 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
8693 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
8694 if test $ac_cv_type_pid_t = yes; then
8695 :
8696 else
8697
8698 cat >>confdefs.h <<_ACEOF
8699 @%:@define pid_t int
8700 _ACEOF
8701
8702 fi
8703
8704 echo "$as_me:$LINENO: checking for size_t" >&5
8705 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8706 if test "${ac_cv_type_size_t+set}" = set; then
8707 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 else
8709 cat >conftest.$ac_ext <<_ACEOF
8710 /* confdefs.h. */
8711 _ACEOF
8712 cat confdefs.h >>conftest.$ac_ext
8713 cat >>conftest.$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8715 $ac_includes_default
8716 int
8717 main ()
8718 {
8719 if ((size_t *) 0)
8720 return 0;
8721 if (sizeof (size_t))
8722 return 0;
8723 ;
8724 return 0;
8725 }
8726 _ACEOF
8727 rm -f conftest.$ac_objext
8728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8729 (eval $ac_compile) 2>conftest.er1
8730 ac_status=$?
8731 grep -v '^ *+' conftest.er1 >conftest.err
8732 rm -f conftest.er1
8733 cat conftest.err >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } &&
8736 { ac_try='test -z "$ac_c_werror_flag"
8737 || test ! -s conftest.err'
8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8739 (eval $ac_try) 2>&5
8740 ac_status=$?
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; } &&
8743 { ac_try='test -s conftest.$ac_objext'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8745 (eval $ac_try) 2>&5
8746 ac_status=$?
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); }; }; then
8749 ac_cv_type_size_t=yes
8750 else
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8753
8754 ac_cv_type_size_t=no
8755 fi
8756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8757 fi
8758 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8759 echo "${ECHO_T}$ac_cv_type_size_t" >&6
8760 if test $ac_cv_type_size_t = yes; then
8761 :
8762 else
8763
8764 cat >>confdefs.h <<_ACEOF
8765 @%:@define size_t unsigned
8766 _ACEOF
8767
8768 fi
8769
8770 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
8771 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
8772 if test "${ac_cv_header_time+set}" = set; then
8773 echo $ECHO_N "(cached) $ECHO_C" >&6
8774 else
8775 cat >conftest.$ac_ext <<_ACEOF
8776 /* confdefs.h. */
8777 _ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8781 #include <sys/types.h>
8782 #include <sys/time.h>
8783 #include <time.h>
8784
8785 int
8786 main ()
8787 {
8788 if ((struct tm *) 0)
8789 return 0;
8790 ;
8791 return 0;
8792 }
8793 _ACEOF
8794 rm -f conftest.$ac_objext
8795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8796 (eval $ac_compile) 2>conftest.er1
8797 ac_status=$?
8798 grep -v '^ *+' conftest.er1 >conftest.err
8799 rm -f conftest.er1
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try='test -z "$ac_c_werror_flag"
8804 || test ! -s conftest.err'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 (eval $ac_try) 2>&5
8807 ac_status=$?
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; } &&
8810 { ac_try='test -s conftest.$ac_objext'
8811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 (eval $ac_try) 2>&5
8813 ac_status=$?
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); }; }; then
8816 ac_cv_header_time=yes
8817 else
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.$ac_ext >&5
8820
8821 ac_cv_header_time=no
8822 fi
8823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8824 fi
8825 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
8826 echo "${ECHO_T}$ac_cv_header_time" >&6
8827 if test $ac_cv_header_time = yes; then
8828
8829 cat >>confdefs.h <<\_ACEOF
8830 @%:@define TIME_WITH_SYS_TIME 1
8831 _ACEOF
8832
8833 fi
8834
8835 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
8836 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
8837 if test "${ac_cv_struct_tm+set}" = set; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 cat >conftest.$ac_ext <<_ACEOF
8841 /* confdefs.h. */
8842 _ACEOF
8843 cat confdefs.h >>conftest.$ac_ext
8844 cat >>conftest.$ac_ext <<_ACEOF
8845 /* end confdefs.h. */
8846 #include <sys/types.h>
8847 #include <time.h>
8848
8849 int
8850 main ()
8851 {
8852 struct tm *tp; tp->tm_sec;
8853 ;
8854 return 0;
8855 }
8856 _ACEOF
8857 rm -f conftest.$ac_objext
8858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8859 (eval $ac_compile) 2>conftest.er1
8860 ac_status=$?
8861 grep -v '^ *+' conftest.er1 >conftest.err
8862 rm -f conftest.er1
8863 cat conftest.err >&5
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); } &&
8866 { ac_try='test -z "$ac_c_werror_flag"
8867 || test ! -s conftest.err'
8868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 (eval $ac_try) 2>&5
8870 ac_status=$?
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }; } &&
8873 { ac_try='test -s conftest.$ac_objext'
8874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 (eval $ac_try) 2>&5
8876 ac_status=$?
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 ac_cv_struct_tm=time.h
8880 else
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8883
8884 ac_cv_struct_tm=sys/time.h
8885 fi
8886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8887 fi
8888 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8889 echo "${ECHO_T}$ac_cv_struct_tm" >&6
8890 if test $ac_cv_struct_tm = sys/time.h; then
8891
8892 cat >>confdefs.h <<\_ACEOF
8893 @%:@define TM_IN_SYS_TIME 1
8894 _ACEOF
8895
8896 fi
8897
8898 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
8899 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
8900 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8902 else
8903 cat >conftest.$ac_ext <<_ACEOF
8904 /* confdefs.h. */
8905 _ACEOF
8906 cat confdefs.h >>conftest.$ac_ext
8907 cat >>conftest.$ac_ext <<_ACEOF
8908 /* end confdefs.h. */
8909 $ac_includes_default
8910 int
8911 main ()
8912 {
8913 if ((ptrdiff_t *) 0)
8914 return 0;
8915 if (sizeof (ptrdiff_t))
8916 return 0;
8917 ;
8918 return 0;
8919 }
8920 _ACEOF
8921 rm -f conftest.$ac_objext
8922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8923 (eval $ac_compile) 2>conftest.er1
8924 ac_status=$?
8925 grep -v '^ *+' conftest.er1 >conftest.err
8926 rm -f conftest.er1
8927 cat conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); } &&
8930 { ac_try='test -z "$ac_c_werror_flag"
8931 || test ! -s conftest.err'
8932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8933 (eval $ac_try) 2>&5
8934 ac_status=$?
8935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8936 (exit $ac_status); }; } &&
8937 { ac_try='test -s conftest.$ac_objext'
8938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8939 (eval $ac_try) 2>&5
8940 ac_status=$?
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); }; }; then
8943 ac_cv_type_ptrdiff_t=yes
8944 else
8945 echo "$as_me: failed program was:" >&5
8946 sed 's/^/| /' conftest.$ac_ext >&5
8947
8948 ac_cv_type_ptrdiff_t=no
8949 fi
8950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8951 fi
8952 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
8953 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
8954 if test $ac_cv_type_ptrdiff_t = yes; then
8955
8956 cat >>confdefs.h <<_ACEOF
8957 @%:@define HAVE_PTRDIFF_T 1
8958 _ACEOF
8959
8960
8961 fi
8962
8963 # Check whether --enable-largefile or --disable-largefile was given.
8964 if test "${enable_largefile+set}" = set; then
8965 enableval="$enable_largefile"
8966
8967 fi;
8968 if test "$enable_largefile" != no; then
8969
8970 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
8971 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
8972 if test "${ac_cv_sys_largefile_CC+set}" = set; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8974 else
8975 ac_cv_sys_largefile_CC=no
8976 if test "$GCC" != yes; then
8977 ac_save_CC=$CC
8978 while :; do
8979 # IRIX 6.2 and later do not support large files by default,
8980 # so use the C compiler's -n32 option if that helps.
8981 cat >conftest.$ac_ext <<_ACEOF
8982 /* confdefs.h. */
8983 _ACEOF
8984 cat confdefs.h >>conftest.$ac_ext
8985 cat >>conftest.$ac_ext <<_ACEOF
8986 /* end confdefs.h. */
8987 @%:@include <sys/types.h>
8988 /* Check that off_t can represent 2**63 - 1 correctly.
8989 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8990 since some C++ compilers masquerading as C compilers
8991 incorrectly reject 9223372036854775807. */
8992 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8993 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8994 && LARGE_OFF_T % 2147483647 == 1)
8995 ? 1 : -1];
8996 int
8997 main ()
8998 {
8999
9000 ;
9001 return 0;
9002 }
9003 _ACEOF
9004 rm -f conftest.$ac_objext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9006 (eval $ac_compile) 2>conftest.er1
9007 ac_status=$?
9008 grep -v '^ *+' conftest.er1 >conftest.err
9009 rm -f conftest.er1
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } &&
9013 { ac_try='test -z "$ac_c_werror_flag"
9014 || test ! -s conftest.err'
9015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9016 (eval $ac_try) 2>&5
9017 ac_status=$?
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); }; } &&
9020 { ac_try='test -s conftest.$ac_objext'
9021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9022 (eval $ac_try) 2>&5
9023 ac_status=$?
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); }; }; then
9026 break
9027 else
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9030
9031 fi
9032 rm -f conftest.err conftest.$ac_objext
9033 CC="$CC -n32"
9034 rm -f conftest.$ac_objext
9035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9036 (eval $ac_compile) 2>conftest.er1
9037 ac_status=$?
9038 grep -v '^ *+' conftest.er1 >conftest.err
9039 rm -f conftest.er1
9040 cat conftest.err >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); } &&
9043 { ac_try='test -z "$ac_c_werror_flag"
9044 || test ! -s conftest.err'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 (eval $ac_try) 2>&5
9047 ac_status=$?
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; } &&
9050 { ac_try='test -s conftest.$ac_objext'
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 (eval $ac_try) 2>&5
9053 ac_status=$?
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; }; then
9056 ac_cv_sys_largefile_CC=' -n32'; break
9057 else
9058 echo "$as_me: failed program was:" >&5
9059 sed 's/^/| /' conftest.$ac_ext >&5
9060
9061 fi
9062 rm -f conftest.err conftest.$ac_objext
9063 break
9064 done
9065 CC=$ac_save_CC
9066 rm -f conftest.$ac_ext
9067 fi
9068 fi
9069 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
9070 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
9071 if test "$ac_cv_sys_largefile_CC" != no; then
9072 CC=$CC$ac_cv_sys_largefile_CC
9073 fi
9074
9075 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
9076 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
9077 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 else
9080 while :; do
9081 ac_cv_sys_file_offset_bits=no
9082 cat >conftest.$ac_ext <<_ACEOF
9083 /* confdefs.h. */
9084 _ACEOF
9085 cat confdefs.h >>conftest.$ac_ext
9086 cat >>conftest.$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9088 @%:@include <sys/types.h>
9089 /* Check that off_t can represent 2**63 - 1 correctly.
9090 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9091 since some C++ compilers masquerading as C compilers
9092 incorrectly reject 9223372036854775807. */
9093 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9094 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9095 && LARGE_OFF_T % 2147483647 == 1)
9096 ? 1 : -1];
9097 int
9098 main ()
9099 {
9100
9101 ;
9102 return 0;
9103 }
9104 _ACEOF
9105 rm -f conftest.$ac_objext
9106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9107 (eval $ac_compile) 2>conftest.er1
9108 ac_status=$?
9109 grep -v '^ *+' conftest.er1 >conftest.err
9110 rm -f conftest.er1
9111 cat conftest.err >&5
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); } &&
9114 { ac_try='test -z "$ac_c_werror_flag"
9115 || test ! -s conftest.err'
9116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9117 (eval $ac_try) 2>&5
9118 ac_status=$?
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }; } &&
9121 { ac_try='test -s conftest.$ac_objext'
9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 (eval $ac_try) 2>&5
9124 ac_status=$?
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); }; }; then
9127 break
9128 else
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9131
9132 fi
9133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9134 cat >conftest.$ac_ext <<_ACEOF
9135 /* confdefs.h. */
9136 _ACEOF
9137 cat confdefs.h >>conftest.$ac_ext
9138 cat >>conftest.$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9140 @%:@define _FILE_OFFSET_BITS 64
9141 @%:@include <sys/types.h>
9142 /* Check that off_t can represent 2**63 - 1 correctly.
9143 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9144 since some C++ compilers masquerading as C compilers
9145 incorrectly reject 9223372036854775807. */
9146 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9147 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9148 && LARGE_OFF_T % 2147483647 == 1)
9149 ? 1 : -1];
9150 int
9151 main ()
9152 {
9153
9154 ;
9155 return 0;
9156 }
9157 _ACEOF
9158 rm -f conftest.$ac_objext
9159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9160 (eval $ac_compile) 2>conftest.er1
9161 ac_status=$?
9162 grep -v '^ *+' conftest.er1 >conftest.err
9163 rm -f conftest.er1
9164 cat conftest.err >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); } &&
9167 { ac_try='test -z "$ac_c_werror_flag"
9168 || test ! -s conftest.err'
9169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9170 (eval $ac_try) 2>&5
9171 ac_status=$?
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); }; } &&
9174 { ac_try='test -s conftest.$ac_objext'
9175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9176 (eval $ac_try) 2>&5
9177 ac_status=$?
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 (exit $ac_status); }; }; then
9180 ac_cv_sys_file_offset_bits=64; break
9181 else
9182 echo "$as_me: failed program was:" >&5
9183 sed 's/^/| /' conftest.$ac_ext >&5
9184
9185 fi
9186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9187 break
9188 done
9189 fi
9190 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
9191 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
9192 if test "$ac_cv_sys_file_offset_bits" != no; then
9193
9194 cat >>confdefs.h <<_ACEOF
9195 @%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9196 _ACEOF
9197
9198 fi
9199 rm -f conftest*
9200 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
9201 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
9202 if test "${ac_cv_sys_large_files+set}" = set; then
9203 echo $ECHO_N "(cached) $ECHO_C" >&6
9204 else
9205 while :; do
9206 ac_cv_sys_large_files=no
9207 cat >conftest.$ac_ext <<_ACEOF
9208 /* confdefs.h. */
9209 _ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9213 @%:@include <sys/types.h>
9214 /* Check that off_t can represent 2**63 - 1 correctly.
9215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9216 since some C++ compilers masquerading as C compilers
9217 incorrectly reject 9223372036854775807. */
9218 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9220 && LARGE_OFF_T % 2147483647 == 1)
9221 ? 1 : -1];
9222 int
9223 main ()
9224 {
9225
9226 ;
9227 return 0;
9228 }
9229 _ACEOF
9230 rm -f conftest.$ac_objext
9231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9232 (eval $ac_compile) 2>conftest.er1
9233 ac_status=$?
9234 grep -v '^ *+' conftest.er1 >conftest.err
9235 rm -f conftest.er1
9236 cat conftest.err >&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); } &&
9239 { ac_try='test -z "$ac_c_werror_flag"
9240 || test ! -s conftest.err'
9241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9242 (eval $ac_try) 2>&5
9243 ac_status=$?
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); }; } &&
9246 { ac_try='test -s conftest.$ac_objext'
9247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 (eval $ac_try) 2>&5
9249 ac_status=$?
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); }; }; then
9252 break
9253 else
9254 echo "$as_me: failed program was:" >&5
9255 sed 's/^/| /' conftest.$ac_ext >&5
9256
9257 fi
9258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9259 cat >conftest.$ac_ext <<_ACEOF
9260 /* confdefs.h. */
9261 _ACEOF
9262 cat confdefs.h >>conftest.$ac_ext
9263 cat >>conftest.$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9265 @%:@define _LARGE_FILES 1
9266 @%:@include <sys/types.h>
9267 /* Check that off_t can represent 2**63 - 1 correctly.
9268 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9269 since some C++ compilers masquerading as C compilers
9270 incorrectly reject 9223372036854775807. */
9271 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9272 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9273 && LARGE_OFF_T % 2147483647 == 1)
9274 ? 1 : -1];
9275 int
9276 main ()
9277 {
9278
9279 ;
9280 return 0;
9281 }
9282 _ACEOF
9283 rm -f conftest.$ac_objext
9284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9285 (eval $ac_compile) 2>conftest.er1
9286 ac_status=$?
9287 grep -v '^ *+' conftest.er1 >conftest.err
9288 rm -f conftest.er1
9289 cat conftest.err >&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); } &&
9292 { ac_try='test -z "$ac_c_werror_flag"
9293 || test ! -s conftest.err'
9294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9295 (eval $ac_try) 2>&5
9296 ac_status=$?
9297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9298 (exit $ac_status); }; } &&
9299 { ac_try='test -s conftest.$ac_objext'
9300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9301 (eval $ac_try) 2>&5
9302 ac_status=$?
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); }; }; then
9305 ac_cv_sys_large_files=1; break
9306 else
9307 echo "$as_me: failed program was:" >&5
9308 sed 's/^/| /' conftest.$ac_ext >&5
9309
9310 fi
9311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9312 break
9313 done
9314 fi
9315 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
9316 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
9317 if test "$ac_cv_sys_large_files" != no; then
9318
9319 cat >>confdefs.h <<_ACEOF
9320 @%:@define _LARGE_FILES $ac_cv_sys_large_files
9321 _ACEOF
9322
9323 fi
9324 rm -f conftest*
9325 fi
9326
9327
9328 # Checks for library functions. (malloc/realloc removed to get rid of rpl_xxx substitutions)
9329 # AC_FUNC_MALLOC
9330 # AC_FUNC_REALLOC
9331 echo "$as_me:$LINENO: checking for error_at_line" >&5
9332 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
9333 if test "${ac_cv_lib_error_at_line+set}" = set; then
9334 echo $ECHO_N "(cached) $ECHO_C" >&6
9335 else
9336 cat >conftest.$ac_ext <<_ACEOF
9337 /* confdefs.h. */
9338 _ACEOF
9339 cat confdefs.h >>conftest.$ac_ext
9340 cat >>conftest.$ac_ext <<_ACEOF
9341 /* end confdefs.h. */
9342 $ac_includes_default
9343 int
9344 main ()
9345 {
9346 error_at_line (0, 0, "", 0, "");
9347 ;
9348 return 0;
9349 }
9350 _ACEOF
9351 rm -f conftest.$ac_objext conftest$ac_exeext
9352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9353 (eval $ac_link) 2>conftest.er1
9354 ac_status=$?
9355 grep -v '^ *+' conftest.er1 >conftest.err
9356 rm -f conftest.er1
9357 cat conftest.err >&5
9358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359 (exit $ac_status); } &&
9360 { ac_try='test -z "$ac_c_werror_flag"
9361 || test ! -s conftest.err'
9362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9363 (eval $ac_try) 2>&5
9364 ac_status=$?
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); }; } &&
9367 { ac_try='test -s conftest$ac_exeext'
9368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9369 (eval $ac_try) 2>&5
9370 ac_status=$?
9371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9372 (exit $ac_status); }; }; then
9373 ac_cv_lib_error_at_line=yes
9374 else
9375 echo "$as_me: failed program was:" >&5
9376 sed 's/^/| /' conftest.$ac_ext >&5
9377
9378 ac_cv_lib_error_at_line=no
9379 fi
9380 rm -f conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 fi
9383 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
9384 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
9385 if test $ac_cv_lib_error_at_line = no; then
9386 case $LIB@&t@OBJS in
9387 "error.$ac_objext" | \
9388 *" error.$ac_objext" | \
9389 "error.$ac_objext "* | \
9390 *" error.$ac_objext "* ) ;;
9391 *) LIB@&t@OBJS="$LIB@&t@OBJS error.$ac_objext" ;;
9392 esac
9393
9394 fi
9395
9396
9397
9398 for ac_header in unistd.h vfork.h
9399 do
9400 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9402 echo "$as_me:$LINENO: checking for $ac_header" >&5
9403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 fi
9407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9409 else
9410 # Is the header compilable?
9411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9413 cat >conftest.$ac_ext <<_ACEOF
9414 /* confdefs.h. */
9415 _ACEOF
9416 cat confdefs.h >>conftest.$ac_ext
9417 cat >>conftest.$ac_ext <<_ACEOF
9418 /* end confdefs.h. */
9419 $ac_includes_default
9420 @%:@include <$ac_header>
9421 _ACEOF
9422 rm -f conftest.$ac_objext
9423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9424 (eval $ac_compile) 2>conftest.er1
9425 ac_status=$?
9426 grep -v '^ *+' conftest.er1 >conftest.err
9427 rm -f conftest.er1
9428 cat conftest.err >&5
9429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9430 (exit $ac_status); } &&
9431 { ac_try='test -z "$ac_c_werror_flag"
9432 || test ! -s conftest.err'
9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9434 (eval $ac_try) 2>&5
9435 ac_status=$?
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); }; } &&
9438 { ac_try='test -s conftest.$ac_objext'
9439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440 (eval $ac_try) 2>&5
9441 ac_status=$?
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); }; }; then
9444 ac_header_compiler=yes
9445 else
9446 echo "$as_me: failed program was:" >&5
9447 sed 's/^/| /' conftest.$ac_ext >&5
9448
9449 ac_header_compiler=no
9450 fi
9451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9453 echo "${ECHO_T}$ac_header_compiler" >&6
9454
9455 # Is the header present?
9456 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9458 cat >conftest.$ac_ext <<_ACEOF
9459 /* confdefs.h. */
9460 _ACEOF
9461 cat confdefs.h >>conftest.$ac_ext
9462 cat >>conftest.$ac_ext <<_ACEOF
9463 /* end confdefs.h. */
9464 @%:@include <$ac_header>
9465 _ACEOF
9466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9468 ac_status=$?
9469 grep -v '^ *+' conftest.er1 >conftest.err
9470 rm -f conftest.er1
9471 cat conftest.err >&5
9472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); } >/dev/null; then
9474 if test -s conftest.err; then
9475 ac_cpp_err=$ac_c_preproc_warn_flag
9476 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9477 else
9478 ac_cpp_err=
9479 fi
9480 else
9481 ac_cpp_err=yes
9482 fi
9483 if test -z "$ac_cpp_err"; then
9484 ac_header_preproc=yes
9485 else
9486 echo "$as_me: failed program was:" >&5
9487 sed 's/^/| /' conftest.$ac_ext >&5
9488
9489 ac_header_preproc=no
9490 fi
9491 rm -f conftest.err conftest.$ac_ext
9492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9493 echo "${ECHO_T}$ac_header_preproc" >&6
9494
9495 # So? What about this header?
9496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9497 yes:no: )
9498 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9501 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9502 ac_header_preproc=yes
9503 ;;
9504 no:yes:* )
9505 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9507 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9509 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9510 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9511 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9512 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9515 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9516 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9517 (
9518 cat <<\_ASBOX
9519 @%:@@%:@ ------------------------------- @%:@@%:@
9520 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
9521 @%:@@%:@ ------------------------------- @%:@@%:@
9522 _ASBOX
9523 ) |
9524 sed "s/^/$as_me: WARNING: /" >&2
9525 ;;
9526 esac
9527 echo "$as_me:$LINENO: checking for $ac_header" >&5
9528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9530 echo $ECHO_N "(cached) $ECHO_C" >&6
9531 else
9532 eval "$as_ac_Header=\$ac_header_preproc"
9533 fi
9534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9536
9537 fi
9538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9539 cat >>confdefs.h <<_ACEOF
9540 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9541 _ACEOF
9542
9543 fi
9544
9545 done
9546
9547
9548
9549 for ac_func in fork vfork
9550 do
9551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9552 echo "$as_me:$LINENO: checking for $ac_func" >&5
9553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9554 if eval "test \"\${$as_ac_var+set}\" = set"; then
9555 echo $ECHO_N "(cached) $ECHO_C" >&6
9556 else
9557 cat >conftest.$ac_ext <<_ACEOF
9558 /* confdefs.h. */
9559 _ACEOF
9560 cat confdefs.h >>conftest.$ac_ext
9561 cat >>conftest.$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9565 #define $ac_func innocuous_$ac_func
9566
9567 /* System header to define __stub macros and hopefully few prototypes,
9568 which can conflict with char $ac_func (); below.
9569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9570 <limits.h> exists even on freestanding compilers. */
9571
9572 #ifdef __STDC__
9573 # include <limits.h>
9574 #else
9575 # include <assert.h>
9576 #endif
9577
9578 #undef $ac_func
9579
9580 /* Override any gcc2 internal prototype to avoid an error. */
9581 #ifdef __cplusplus
9582 extern "C"
9583 {
9584 #endif
9585 /* We use char because int might match the return type of a gcc2
9586 builtin and then its argument prototype would still apply. */
9587 char $ac_func ();
9588 /* The GNU C library defines this for functions which it implements
9589 to always fail with ENOSYS. Some functions are actually named
9590 something starting with __ and the normal name is an alias. */
9591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9592 choke me
9593 #else
9594 char (*f) () = $ac_func;
9595 #endif
9596 #ifdef __cplusplus
9597 }
9598 #endif
9599
9600 int
9601 main ()
9602 {
9603 return f != $ac_func;
9604 ;
9605 return 0;
9606 }
9607 _ACEOF
9608 rm -f conftest.$ac_objext conftest$ac_exeext
9609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9610 (eval $ac_link) 2>conftest.er1
9611 ac_status=$?
9612 grep -v '^ *+' conftest.er1 >conftest.err
9613 rm -f conftest.er1
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } &&
9617 { ac_try='test -z "$ac_c_werror_flag"
9618 || test ! -s conftest.err'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9620 (eval $ac_try) 2>&5
9621 ac_status=$?
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; } &&
9624 { ac_try='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9626 (eval $ac_try) 2>&5
9627 ac_status=$?
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 eval "$as_ac_var=yes"
9631 else
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9634
9635 eval "$as_ac_var=no"
9636 fi
9637 rm -f conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 fi
9640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9642 if test `eval echo '${'$as_ac_var'}'` = yes; then
9643 cat >>confdefs.h <<_ACEOF
9644 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9645 _ACEOF
9646
9647 fi
9648 done
9649
9650 if test "x$ac_cv_func_fork" = xyes; then
9651 echo "$as_me:$LINENO: checking for working fork" >&5
9652 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
9653 if test "${ac_cv_func_fork_works+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9655 else
9656 if test "$cross_compiling" = yes; then
9657 ac_cv_func_fork_works=cross
9658 else
9659 cat >conftest.$ac_ext <<_ACEOF
9660 /* By Ruediger Kuhlmann. */
9661 #include <sys/types.h>
9662 #if HAVE_UNISTD_H
9663 # include <unistd.h>
9664 #endif
9665 /* Some systems only have a dummy stub for fork() */
9666 int main ()
9667 {
9668 if (fork() < 0)
9669 exit (1);
9670 exit (0);
9671 }
9672 _ACEOF
9673 rm -f conftest$ac_exeext
9674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9675 (eval $ac_link) 2>&5
9676 ac_status=$?
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9680 (eval $ac_try) 2>&5
9681 ac_status=$?
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); }; }; then
9684 ac_cv_func_fork_works=yes
9685 else
9686 echo "$as_me: program exited with status $ac_status" >&5
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.$ac_ext >&5
9689
9690 ( exit $ac_status )
9691 ac_cv_func_fork_works=no
9692 fi
9693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9694 fi
9695 fi
9696 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
9697 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
9698
9699 else
9700 ac_cv_func_fork_works=$ac_cv_func_fork
9701 fi
9702 if test "x$ac_cv_func_fork_works" = xcross; then
9703 case $host in
9704 *-*-amigaos* | *-*-msdosdjgpp*)
9705 # Override, as these systems have only a dummy fork() stub
9706 ac_cv_func_fork_works=no
9707 ;;
9708 *)
9709 ac_cv_func_fork_works=yes
9710 ;;
9711 esac
9712 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
9713 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
9714 fi
9715 ac_cv_func_vfork_works=$ac_cv_func_vfork
9716 if test "x$ac_cv_func_vfork" = xyes; then
9717 echo "$as_me:$LINENO: checking for working vfork" >&5
9718 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
9719 if test "${ac_cv_func_vfork_works+set}" = set; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 else
9722 if test "$cross_compiling" = yes; then
9723 ac_cv_func_vfork_works=cross
9724 else
9725 cat >conftest.$ac_ext <<_ACEOF
9726 /* confdefs.h. */
9727 _ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9731 /* Thanks to Paul Eggert for this test. */
9732 #include <stdio.h>
9733 #include <stdlib.h>
9734 #include <sys/types.h>
9735 #include <sys/stat.h>
9736 #include <sys/wait.h>
9737 #if HAVE_UNISTD_H
9738 # include <unistd.h>
9739 #endif
9740 #if HAVE_VFORK_H
9741 # include <vfork.h>
9742 #endif
9743 /* On some sparc systems, changes by the child to local and incoming
9744 argument registers are propagated back to the parent. The compiler
9745 is told about this with #include <vfork.h>, but some compilers
9746 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
9747 static variable whose address is put into a register that is
9748 clobbered by the vfork. */
9749 static void
9750 #ifdef __cplusplus
9751 sparc_address_test (int arg)
9752 # else
9753 sparc_address_test (arg) int arg;
9754 #endif
9755 {
9756 static pid_t child;
9757 if (!child) {
9758 child = vfork ();
9759 if (child < 0) {
9760 perror ("vfork");
9761 _exit(2);
9762 }
9763 if (!child) {
9764 arg = getpid();
9765 write(-1, "", 0);
9766 _exit (arg);
9767 }
9768 }
9769 }
9770
9771 int
9772 main ()
9773 {
9774 pid_t parent = getpid ();
9775 pid_t child;
9776
9777 sparc_address_test (0);
9778
9779 child = vfork ();
9780
9781 if (child == 0) {
9782 /* Here is another test for sparc vfork register problems. This
9783 test uses lots of local variables, at least as many local
9784 variables as main has allocated so far including compiler
9785 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
9786 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
9787 reuse the register of parent for one of the local variables,
9788 since it will think that parent can't possibly be used any more
9789 in this routine. Assigning to the local variable will thus
9790 munge parent in the parent process. */
9791 pid_t
9792 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
9793 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
9794 /* Convince the compiler that p..p7 are live; otherwise, it might
9795 use the same hardware register for all 8 local variables. */
9796 if (p != p1 || p != p2 || p != p3 || p != p4
9797 || p != p5 || p != p6 || p != p7)
9798 _exit(1);
9799
9800 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
9801 from child file descriptors. If the child closes a descriptor
9802 before it execs or exits, this munges the parent's descriptor
9803 as well. Test for this by closing stdout in the child. */
9804 _exit(close(fileno(stdout)) != 0);
9805 } else {
9806 int status;
9807 struct stat st;
9808
9809 while (wait(&status) != child)
9810 ;
9811 exit(
9812 /* Was there some problem with vforking? */
9813 child < 0
9814
9815 /* Did the child fail? (This shouldn't happen.) */
9816 || status
9817
9818 /* Did the vfork/compiler bug occur? */
9819 || parent != getpid()
9820
9821 /* Did the file descriptor bug occur? */
9822 || fstat(fileno(stdout), &st) != 0
9823 );
9824 }
9825 }
9826 _ACEOF
9827 rm -f conftest$ac_exeext
9828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9829 (eval $ac_link) 2>&5
9830 ac_status=$?
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834 (eval $ac_try) 2>&5
9835 ac_status=$?
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 ac_cv_func_vfork_works=yes
9839 else
9840 echo "$as_me: program exited with status $ac_status" >&5
9841 echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9843
9844 ( exit $ac_status )
9845 ac_cv_func_vfork_works=no
9846 fi
9847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9848 fi
9849 fi
9850 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
9851 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
9852
9853 fi;
9854 if test "x$ac_cv_func_fork_works" = xcross; then
9855 ac_cv_func_vfork_works=$ac_cv_func_vfork
9856 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
9857 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
9858 fi
9859
9860 if test "x$ac_cv_func_vfork_works" = xyes; then
9861
9862 cat >>confdefs.h <<\_ACEOF
9863 @%:@define HAVE_WORKING_VFORK 1
9864 _ACEOF
9865
9866 else
9867
9868 cat >>confdefs.h <<\_ACEOF
9869 @%:@define vfork fork
9870 _ACEOF
9871
9872 fi
9873 if test "x$ac_cv_func_fork_works" = xyes; then
9874
9875 cat >>confdefs.h <<\_ACEOF
9876 @%:@define HAVE_WORKING_FORK 1
9877 _ACEOF
9878
9879 fi
9880
9881 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
9882 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9883 if test "${ac_cv_sys_largefile_source+set}" = set; then
9884 echo $ECHO_N "(cached) $ECHO_C" >&6
9885 else
9886 while :; do
9887 ac_cv_sys_largefile_source=no
9888 cat >conftest.$ac_ext <<_ACEOF
9889 /* confdefs.h. */
9890 _ACEOF
9891 cat confdefs.h >>conftest.$ac_ext
9892 cat >>conftest.$ac_ext <<_ACEOF
9893 /* end confdefs.h. */
9894 @%:@include <stdio.h>
9895 int
9896 main ()
9897 {
9898 return !fseeko;
9899 ;
9900 return 0;
9901 }
9902 _ACEOF
9903 rm -f conftest.$ac_objext
9904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9905 (eval $ac_compile) 2>conftest.er1
9906 ac_status=$?
9907 grep -v '^ *+' conftest.er1 >conftest.err
9908 rm -f conftest.er1
9909 cat conftest.err >&5
9910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9911 (exit $ac_status); } &&
9912 { ac_try='test -z "$ac_c_werror_flag"
9913 || test ! -s conftest.err'
9914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9915 (eval $ac_try) 2>&5
9916 ac_status=$?
9917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918 (exit $ac_status); }; } &&
9919 { ac_try='test -s conftest.$ac_objext'
9920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9921 (eval $ac_try) 2>&5
9922 ac_status=$?
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); }; }; then
9925 break
9926 else
9927 echo "$as_me: failed program was:" >&5
9928 sed 's/^/| /' conftest.$ac_ext >&5
9929
9930 fi
9931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9932 cat >conftest.$ac_ext <<_ACEOF
9933 /* confdefs.h. */
9934 _ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 @%:@define _LARGEFILE_SOURCE 1
9939 @%:@include <stdio.h>
9940 int
9941 main ()
9942 {
9943 return !fseeko;
9944 ;
9945 return 0;
9946 }
9947 _ACEOF
9948 rm -f conftest.$ac_objext
9949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9950 (eval $ac_compile) 2>conftest.er1
9951 ac_status=$?
9952 grep -v '^ *+' conftest.er1 >conftest.err
9953 rm -f conftest.er1
9954 cat conftest.err >&5
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); } &&
9957 { ac_try='test -z "$ac_c_werror_flag"
9958 || test ! -s conftest.err'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 (eval $ac_try) 2>&5
9961 ac_status=$?
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; } &&
9964 { ac_try='test -s conftest.$ac_objext'
9965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 (eval $ac_try) 2>&5
9967 ac_status=$?
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); }; }; then
9970 ac_cv_sys_largefile_source=1; break
9971 else
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9974
9975 fi
9976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9977 break
9978 done
9979 fi
9980 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
9981 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9982 if test "$ac_cv_sys_largefile_source" != no; then
9983
9984 cat >>confdefs.h <<_ACEOF
9985 @%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9986 _ACEOF
9987
9988 fi
9989 rm -f conftest*
9990
9991 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9992 # in glibc 2.1.3, but that breaks too many other things.
9993 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
9994 echo "$as_me:$LINENO: checking for fseeko" >&5
9995 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9996 if test "${ac_cv_func_fseeko+set}" = set; then
9997 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 else
9999 cat >conftest.$ac_ext <<_ACEOF
10000 /* confdefs.h. */
10001 _ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10005 @%:@include <stdio.h>
10006 int
10007 main ()
10008 {
10009 return fseeko && fseeko (stdin, 0, 0);
10010 ;
10011 return 0;
10012 }
10013 _ACEOF
10014 rm -f conftest.$ac_objext conftest$ac_exeext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016 (eval $ac_link) 2>conftest.er1
10017 ac_status=$?
10018 grep -v '^ *+' conftest.er1 >conftest.err
10019 rm -f conftest.er1
10020 cat conftest.err >&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try='test -z "$ac_c_werror_flag"
10024 || test ! -s conftest.err'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10027 ac_status=$?
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; } &&
10030 { ac_try='test -s conftest$ac_exeext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10033 ac_status=$?
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 ac_cv_func_fseeko=yes
10037 else
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10040
10041 ac_cv_func_fseeko=no
10042 fi
10043 rm -f conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 fi
10046 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
10047 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10048 if test $ac_cv_func_fseeko = yes; then
10049
10050 cat >>confdefs.h <<\_ACEOF
10051 @%:@define HAVE_FSEEKO 1
10052 _ACEOF
10053
10054 fi
10055
10056 echo "$as_me:$LINENO: checking for working memcmp" >&5
10057 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
10058 if test "${ac_cv_func_memcmp_working+set}" = set; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 else
10061 if test "$cross_compiling" = yes; then
10062 ac_cv_func_memcmp_working=no
10063 else
10064 cat >conftest.$ac_ext <<_ACEOF
10065 /* confdefs.h. */
10066 _ACEOF
10067 cat confdefs.h >>conftest.$ac_ext
10068 cat >>conftest.$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10070 $ac_includes_default
10071 int
10072 main ()
10073 {
10074
10075 /* Some versions of memcmp are not 8-bit clean. */
10076 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
10077 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10078 exit (1);
10079
10080 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10081 or more and with at least one buffer not starting on a 4-byte boundary.
10082 William Lewis provided this test program. */
10083 {
10084 char foo[21];
10085 char bar[21];
10086 int i;
10087 for (i = 0; i < 4; i++)
10088 {
10089 char *a = foo + i;
10090 char *b = bar + i;
10091 strcpy (a, "--------01111111");
10092 strcpy (b, "--------10000000");
10093 if (memcmp (a, b, 16) >= 0)
10094 exit (1);
10095 }
10096 exit (0);
10097 }
10098
10099 ;
10100 return 0;
10101 }
10102 _ACEOF
10103 rm -f conftest$ac_exeext
10104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10105 (eval $ac_link) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10110 (eval $ac_try) 2>&5
10111 ac_status=$?
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); }; }; then
10114 ac_cv_func_memcmp_working=yes
10115 else
10116 echo "$as_me: program exited with status $ac_status" >&5
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10119
10120 ( exit $ac_status )
10121 ac_cv_func_memcmp_working=no
10122 fi
10123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10124 fi
10125 fi
10126 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10127 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
10128 test $ac_cv_func_memcmp_working = no && case $LIB@&t@OBJS in
10129 "memcmp.$ac_objext" | \
10130 *" memcmp.$ac_objext" | \
10131 "memcmp.$ac_objext "* | \
10132 *" memcmp.$ac_objext "* ) ;;
10133 *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext" ;;
10134 esac
10135
10136
10137
10138
10139 for ac_header in stdlib.h unistd.h
10140 do
10141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10143 echo "$as_me:$LINENO: checking for $ac_header" >&5
10144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10146 echo $ECHO_N "(cached) $ECHO_C" >&6
10147 fi
10148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10150 else
10151 # Is the header compilable?
10152 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10154 cat >conftest.$ac_ext <<_ACEOF
10155 /* confdefs.h. */
10156 _ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 $ac_includes_default
10161 @%:@include <$ac_header>
10162 _ACEOF
10163 rm -f conftest.$ac_objext
10164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10165 (eval $ac_compile) 2>conftest.er1
10166 ac_status=$?
10167 grep -v '^ *+' conftest.er1 >conftest.err
10168 rm -f conftest.er1
10169 cat conftest.err >&5
10170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10171 (exit $ac_status); } &&
10172 { ac_try='test -z "$ac_c_werror_flag"
10173 || test ! -s conftest.err'
10174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10175 (eval $ac_try) 2>&5
10176 ac_status=$?
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); }; } &&
10179 { ac_try='test -s conftest.$ac_objext'
10180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10181 (eval $ac_try) 2>&5
10182 ac_status=$?
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }; }; then
10185 ac_header_compiler=yes
10186 else
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.$ac_ext >&5
10189
10190 ac_header_compiler=no
10191 fi
10192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10193 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10194 echo "${ECHO_T}$ac_header_compiler" >&6
10195
10196 # Is the header present?
10197 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10198 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10199 cat >conftest.$ac_ext <<_ACEOF
10200 /* confdefs.h. */
10201 _ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h. */
10205 @%:@include <$ac_header>
10206 _ACEOF
10207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10209 ac_status=$?
10210 grep -v '^ *+' conftest.er1 >conftest.err
10211 rm -f conftest.er1
10212 cat conftest.err >&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); } >/dev/null; then
10215 if test -s conftest.err; then
10216 ac_cpp_err=$ac_c_preproc_warn_flag
10217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10218 else
10219 ac_cpp_err=
10220 fi
10221 else
10222 ac_cpp_err=yes
10223 fi
10224 if test -z "$ac_cpp_err"; then
10225 ac_header_preproc=yes
10226 else
10227 echo "$as_me: failed program was:" >&5
10228 sed 's/^/| /' conftest.$ac_ext >&5
10229
10230 ac_header_preproc=no
10231 fi
10232 rm -f conftest.err conftest.$ac_ext
10233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10234 echo "${ECHO_T}$ac_header_preproc" >&6
10235
10236 # So? What about this header?
10237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10238 yes:no: )
10239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10243 ac_header_preproc=yes
10244 ;;
10245 no:yes:* )
10246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10258 (
10259 cat <<\_ASBOX
10260 @%:@@%:@ ------------------------------- @%:@@%:@
10261 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
10262 @%:@@%:@ ------------------------------- @%:@@%:@
10263 _ASBOX
10264 ) |
10265 sed "s/^/$as_me: WARNING: /" >&2
10266 ;;
10267 esac
10268 echo "$as_me:$LINENO: checking for $ac_header" >&5
10269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 else
10273 eval "$as_ac_Header=\$ac_header_preproc"
10274 fi
10275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10276 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10277
10278 fi
10279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10280 cat >>confdefs.h <<_ACEOF
10281 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10282 _ACEOF
10283
10284 fi
10285
10286 done
10287
10288
10289 for ac_func in getpagesize
10290 do
10291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10292 echo "$as_me:$LINENO: checking for $ac_func" >&5
10293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10294 if eval "test \"\${$as_ac_var+set}\" = set"; then
10295 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 else
10297 cat >conftest.$ac_ext <<_ACEOF
10298 /* confdefs.h. */
10299 _ACEOF
10300 cat confdefs.h >>conftest.$ac_ext
10301 cat >>conftest.$ac_ext <<_ACEOF
10302 /* end confdefs.h. */
10303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10305 #define $ac_func innocuous_$ac_func
10306
10307 /* System header to define __stub macros and hopefully few prototypes,
10308 which can conflict with char $ac_func (); below.
10309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10310 <limits.h> exists even on freestanding compilers. */
10311
10312 #ifdef __STDC__
10313 # include <limits.h>
10314 #else
10315 # include <assert.h>
10316 #endif
10317
10318 #undef $ac_func
10319
10320 /* Override any gcc2 internal prototype to avoid an error. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 {
10324 #endif
10325 /* We use char because int might match the return type of a gcc2
10326 builtin and then its argument prototype would still apply. */
10327 char $ac_func ();
10328 /* The GNU C library defines this for functions which it implements
10329 to always fail with ENOSYS. Some functions are actually named
10330 something starting with __ and the normal name is an alias. */
10331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10332 choke me
10333 #else
10334 char (*f) () = $ac_func;
10335 #endif
10336 #ifdef __cplusplus
10337 }
10338 #endif
10339
10340 int
10341 main ()
10342 {
10343 return f != $ac_func;
10344 ;
10345 return 0;
10346 }
10347 _ACEOF
10348 rm -f conftest.$ac_objext conftest$ac_exeext
10349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10350 (eval $ac_link) 2>conftest.er1
10351 ac_status=$?
10352 grep -v '^ *+' conftest.er1 >conftest.err
10353 rm -f conftest.er1
10354 cat conftest.err >&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); } &&
10357 { ac_try='test -z "$ac_c_werror_flag"
10358 || test ! -s conftest.err'
10359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10360 (eval $ac_try) 2>&5
10361 ac_status=$?
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; } &&
10364 { ac_try='test -s conftest$ac_exeext'
10365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 (eval $ac_try) 2>&5
10367 ac_status=$?
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; }; then
10370 eval "$as_ac_var=yes"
10371 else
10372 echo "$as_me: failed program was:" >&5
10373 sed 's/^/| /' conftest.$ac_ext >&5
10374
10375 eval "$as_ac_var=no"
10376 fi
10377 rm -f conftest.err conftest.$ac_objext \
10378 conftest$ac_exeext conftest.$ac_ext
10379 fi
10380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10382 if test `eval echo '${'$as_ac_var'}'` = yes; then
10383 cat >>confdefs.h <<_ACEOF
10384 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10385 _ACEOF
10386
10387 fi
10388 done
10389
10390 echo "$as_me:$LINENO: checking for working mmap" >&5
10391 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
10392 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10393 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 else
10395 if test "$cross_compiling" = yes; then
10396 ac_cv_func_mmap_fixed_mapped=no
10397 else
10398 cat >conftest.$ac_ext <<_ACEOF
10399 /* confdefs.h. */
10400 _ACEOF
10401 cat confdefs.h >>conftest.$ac_ext
10402 cat >>conftest.$ac_ext <<_ACEOF
10403 /* end confdefs.h. */
10404 $ac_includes_default
10405 /* malloc might have been renamed as rpl_malloc. */
10406 #undef malloc
10407
10408 /* Thanks to Mike Haertel and Jim Avera for this test.
10409 Here is a matrix of mmap possibilities:
10410 mmap private not fixed
10411 mmap private fixed at somewhere currently unmapped
10412 mmap private fixed at somewhere already mapped
10413 mmap shared not fixed
10414 mmap shared fixed at somewhere currently unmapped
10415 mmap shared fixed at somewhere already mapped
10416 For private mappings, we should verify that changes cannot be read()
10417 back from the file, nor mmap's back from the file at a different
10418 address. (There have been systems where private was not correctly
10419 implemented like the infamous i386 svr4.0, and systems where the
10420 VM page cache was not coherent with the file system buffer cache
10421 like early versions of FreeBSD and possibly contemporary NetBSD.)
10422 For shared mappings, we should conversely verify that changes get
10423 propagated back to all the places they're supposed to be.
10424
10425 Grep wants private fixed already mapped.
10426 The main things grep needs to know about mmap are:
10427 * does it exist and is it safe to write into the mmap'd area
10428 * how to use it (BSD variants) */
10429
10430 #include <fcntl.h>
10431 #include <sys/mman.h>
10432
10433 #if !STDC_HEADERS && !HAVE_STDLIB_H
10434 char *malloc ();
10435 #endif
10436
10437 /* This mess was copied from the GNU getpagesize.h. */
10438 #if !HAVE_GETPAGESIZE
10439 /* Assume that all systems that can run configure have sys/param.h. */
10440 # if !HAVE_SYS_PARAM_H
10441 # define HAVE_SYS_PARAM_H 1
10442 # endif
10443
10444 # ifdef _SC_PAGESIZE
10445 # define getpagesize() sysconf(_SC_PAGESIZE)
10446 # else /* no _SC_PAGESIZE */
10447 # if HAVE_SYS_PARAM_H
10448 # include <sys/param.h>
10449 # ifdef EXEC_PAGESIZE
10450 # define getpagesize() EXEC_PAGESIZE
10451 # else /* no EXEC_PAGESIZE */
10452 # ifdef NBPG
10453 # define getpagesize() NBPG * CLSIZE
10454 # ifndef CLSIZE
10455 # define CLSIZE 1
10456 # endif /* no CLSIZE */
10457 # else /* no NBPG */
10458 # ifdef NBPC
10459 # define getpagesize() NBPC
10460 # else /* no NBPC */
10461 # ifdef PAGESIZE
10462 # define getpagesize() PAGESIZE
10463 # endif /* PAGESIZE */
10464 # endif /* no NBPC */
10465 # endif /* no NBPG */
10466 # endif /* no EXEC_PAGESIZE */
10467 # else /* no HAVE_SYS_PARAM_H */
10468 # define getpagesize() 8192 /* punt totally */
10469 # endif /* no HAVE_SYS_PARAM_H */
10470 # endif /* no _SC_PAGESIZE */
10471
10472 #endif /* no HAVE_GETPAGESIZE */
10473
10474 int
10475 main ()
10476 {
10477 char *data, *data2, *data3;
10478 int i, pagesize;
10479 int fd;
10480
10481 pagesize = getpagesize ();
10482
10483 /* First, make a file with some known garbage in it. */
10484 data = (char *) malloc (pagesize);
10485 if (!data)
10486 exit (1);
10487 for (i = 0; i < pagesize; ++i)
10488 *(data + i) = rand ();
10489 umask (0);
10490 fd = creat ("conftest.mmap", 0600);
10491 if (fd < 0)
10492 exit (1);
10493 if (write (fd, data, pagesize) != pagesize)
10494 exit (1);
10495 close (fd);
10496
10497 /* Next, try to mmap the file at a fixed address which already has
10498 something else allocated at it. If we can, also make sure that
10499 we see the same garbage. */
10500 fd = open ("conftest.mmap", O_RDWR);
10501 if (fd < 0)
10502 exit (1);
10503 data2 = (char *) malloc (2 * pagesize);
10504 if (!data2)
10505 exit (1);
10506 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
10507 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10508 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10509 exit (1);
10510 for (i = 0; i < pagesize; ++i)
10511 if (*(data + i) != *(data2 + i))
10512 exit (1);
10513
10514 /* Finally, make sure that changes to the mapped area do not
10515 percolate back to the file as seen by read(). (This is a bug on
10516 some variants of i386 svr4.0.) */
10517 for (i = 0; i < pagesize; ++i)
10518 *(data2 + i) = *(data2 + i) + 1;
10519 data3 = (char *) malloc (pagesize);
10520 if (!data3)
10521 exit (1);
10522 if (read (fd, data3, pagesize) != pagesize)
10523 exit (1);
10524 for (i = 0; i < pagesize; ++i)
10525 if (*(data + i) != *(data3 + i))
10526 exit (1);
10527 close (fd);
10528 exit (0);
10529 }
10530 _ACEOF
10531 rm -f conftest$ac_exeext
10532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10533 (eval $ac_link) 2>&5
10534 ac_status=$?
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10539 ac_status=$?
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; }; then
10542 ac_cv_func_mmap_fixed_mapped=yes
10543 else
10544 echo "$as_me: program exited with status $ac_status" >&5
10545 echo "$as_me: failed program was:" >&5
10546 sed 's/^/| /' conftest.$ac_ext >&5
10547
10548 ( exit $ac_status )
10549 ac_cv_func_mmap_fixed_mapped=no
10550 fi
10551 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10552 fi
10553 fi
10554 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10555 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
10556 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10557
10558 cat >>confdefs.h <<\_ACEOF
10559 @%:@define HAVE_MMAP 1
10560 _ACEOF
10561
10562 fi
10563 rm -f conftest.mmap
10564
10565
10566
10567 for ac_header in sys/select.h sys/socket.h
10568 do
10569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10571 echo "$as_me:$LINENO: checking for $ac_header" >&5
10572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10575 fi
10576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10578 else
10579 # Is the header compilable?
10580 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10581 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10582 cat >conftest.$ac_ext <<_ACEOF
10583 /* confdefs.h. */
10584 _ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 $ac_includes_default
10589 @%:@include <$ac_header>
10590 _ACEOF
10591 rm -f conftest.$ac_objext
10592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10593 (eval $ac_compile) 2>conftest.er1
10594 ac_status=$?
10595 grep -v '^ *+' conftest.er1 >conftest.err
10596 rm -f conftest.er1
10597 cat conftest.err >&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } &&
10600 { ac_try='test -z "$ac_c_werror_flag"
10601 || test ! -s conftest.err'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10604 ac_status=$?
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; } &&
10607 { ac_try='test -s conftest.$ac_objext'
10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10609 (eval $ac_try) 2>&5
10610 ac_status=$?
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); }; }; then
10613 ac_header_compiler=yes
10614 else
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.$ac_ext >&5
10617
10618 ac_header_compiler=no
10619 fi
10620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10622 echo "${ECHO_T}$ac_header_compiler" >&6
10623
10624 # Is the header present?
10625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10627 cat >conftest.$ac_ext <<_ACEOF
10628 /* confdefs.h. */
10629 _ACEOF
10630 cat confdefs.h >>conftest.$ac_ext
10631 cat >>conftest.$ac_ext <<_ACEOF
10632 /* end confdefs.h. */
10633 @%:@include <$ac_header>
10634 _ACEOF
10635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10636 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10637 ac_status=$?
10638 grep -v '^ *+' conftest.er1 >conftest.err
10639 rm -f conftest.er1
10640 cat conftest.err >&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } >/dev/null; then
10643 if test -s conftest.err; then
10644 ac_cpp_err=$ac_c_preproc_warn_flag
10645 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10646 else
10647 ac_cpp_err=
10648 fi
10649 else
10650 ac_cpp_err=yes
10651 fi
10652 if test -z "$ac_cpp_err"; then
10653 ac_header_preproc=yes
10654 else
10655 echo "$as_me: failed program was:" >&5
10656 sed 's/^/| /' conftest.$ac_ext >&5
10657
10658 ac_header_preproc=no
10659 fi
10660 rm -f conftest.err conftest.$ac_ext
10661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10662 echo "${ECHO_T}$ac_header_preproc" >&6
10663
10664 # So? What about this header?
10665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10666 yes:no: )
10667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10671 ac_header_preproc=yes
10672 ;;
10673 no:yes:* )
10674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10678 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10680 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10681 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10684 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10686 (
10687 cat <<\_ASBOX
10688 @%:@@%:@ ------------------------------- @%:@@%:@
10689 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
10690 @%:@@%:@ ------------------------------- @%:@@%:@
10691 _ASBOX
10692 ) |
10693 sed "s/^/$as_me: WARNING: /" >&2
10694 ;;
10695 esac
10696 echo "$as_me:$LINENO: checking for $ac_header" >&5
10697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10700 else
10701 eval "$as_ac_Header=\$ac_header_preproc"
10702 fi
10703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10705
10706 fi
10707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10708 cat >>confdefs.h <<_ACEOF
10709 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10710 _ACEOF
10711
10712 fi
10713
10714 done
10715
10716 echo "$as_me:$LINENO: checking types of arguments for select" >&5
10717 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
10718 if test "${ac_cv_func_select_args+set}" = set; then
10719 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 else
10721 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
10722 for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
10723 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
10724 cat >conftest.$ac_ext <<_ACEOF
10725 /* confdefs.h. */
10726 _ACEOF
10727 cat confdefs.h >>conftest.$ac_ext
10728 cat >>conftest.$ac_ext <<_ACEOF
10729 /* end confdefs.h. */
10730 $ac_includes_default
10731 #if HAVE_SYS_SELECT_H
10732 # include <sys/select.h>
10733 #endif
10734 #if HAVE_SYS_SOCKET_H
10735 # include <sys/socket.h>
10736 #endif
10737
10738 int
10739 main ()
10740 {
10741 extern int select ($ac_arg1,
10742 $ac_arg234, $ac_arg234, $ac_arg234,
10743 $ac_arg5);
10744 ;
10745 return 0;
10746 }
10747 _ACEOF
10748 rm -f conftest.$ac_objext
10749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10750 (eval $ac_compile) 2>conftest.er1
10751 ac_status=$?
10752 grep -v '^ *+' conftest.er1 >conftest.err
10753 rm -f conftest.er1
10754 cat conftest.err >&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try='test -z "$ac_c_werror_flag"
10758 || test ! -s conftest.err'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10761 ac_status=$?
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; } &&
10764 { ac_try='test -s conftest.$ac_objext'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10767 ac_status=$?
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; }; then
10770 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
10771 else
10772 echo "$as_me: failed program was:" >&5
10773 sed 's/^/| /' conftest.$ac_ext >&5
10774
10775 fi
10776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10777 done
10778 done
10779 done
10780 # Provide a safe default value.
10781 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
10782
10783 fi
10784 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
10785 echo "${ECHO_T}$ac_cv_func_select_args" >&6
10786 ac_save_IFS=$IFS; IFS=','
10787 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
10788 IFS=$ac_save_IFS
10789 shift
10790
10791 cat >>confdefs.h <<_ACEOF
10792 @%:@define SELECT_TYPE_ARG1 $1
10793 _ACEOF
10794
10795
10796 cat >>confdefs.h <<_ACEOF
10797 @%:@define SELECT_TYPE_ARG234 ($2)
10798 _ACEOF
10799
10800
10801 cat >>confdefs.h <<_ACEOF
10802 @%:@define SELECT_TYPE_ARG5 ($3)
10803 _ACEOF
10804
10805 rm -f conftest*
10806
10807 echo "$as_me:$LINENO: checking for function prototypes" >&5
10808 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
10809 if test "$ac_cv_prog_cc_stdc" != no; then
10810 echo "$as_me:$LINENO: result: yes" >&5
10811 echo "${ECHO_T}yes" >&6
10812
10813 cat >>confdefs.h <<\_ACEOF
10814 @%:@define PROTOTYPES 1
10815 _ACEOF
10816
10817
10818 cat >>confdefs.h <<\_ACEOF
10819 @%:@define __PROTOTYPES 1
10820 _ACEOF
10821
10822 else
10823 echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6
10825 fi
10826
10827 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
10828 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
10829 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 else
10832 ac_cv_func_setvbuf_reversed=no
10833 cat >conftest.$ac_ext <<_ACEOF
10834 /* confdefs.h. */
10835 _ACEOF
10836 cat confdefs.h >>conftest.$ac_ext
10837 cat >>conftest.$ac_ext <<_ACEOF
10838 /* end confdefs.h. */
10839 #include <stdio.h>
10840 # if PROTOTYPES
10841 int (setvbuf) (FILE *, int, char *, size_t);
10842 # endif
10843 int
10844 main ()
10845 {
10846 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
10847 ;
10848 return 0;
10849 }
10850 _ACEOF
10851 rm -f conftest.$ac_objext conftest$ac_exeext
10852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10853 (eval $ac_link) 2>conftest.er1
10854 ac_status=$?
10855 grep -v '^ *+' conftest.er1 >conftest.err
10856 rm -f conftest.er1
10857 cat conftest.err >&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); } &&
10860 { ac_try='test -z "$ac_c_werror_flag"
10861 || test ! -s conftest.err'
10862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10863 (eval $ac_try) 2>&5
10864 ac_status=$?
10865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10866 (exit $ac_status); }; } &&
10867 { ac_try='test -s conftest$ac_exeext'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10870 ac_status=$?
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; }; then
10873 cat >conftest.$ac_ext <<_ACEOF
10874 /* confdefs.h. */
10875 _ACEOF
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10879 #include <stdio.h>
10880 # if PROTOTYPES
10881 int (setvbuf) (FILE *, int, char *, size_t);
10882 # endif
10883 int
10884 main ()
10885 {
10886 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
10887 ;
10888 return 0;
10889 }
10890 _ACEOF
10891 rm -f conftest.$ac_objext conftest$ac_exeext
10892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10893 (eval $ac_link) 2>conftest.er1
10894 ac_status=$?
10895 grep -v '^ *+' conftest.er1 >conftest.err
10896 rm -f conftest.er1
10897 cat conftest.err >&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); } &&
10900 { ac_try='test -z "$ac_c_werror_flag"
10901 || test ! -s conftest.err'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10904 ac_status=$?
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; } &&
10907 { ac_try='test -s conftest$ac_exeext'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10910 ac_status=$?
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; }; then
10913 # It compiles and links either way, so it must not be declared
10914 # with a prototype and most likely this is a K&R C compiler.
10915 # Try running it.
10916 if test "$cross_compiling" = yes; then
10917 : # Assume setvbuf is not reversed when cross-compiling.
10918 else
10919 cat >conftest.$ac_ext <<_ACEOF
10920 /* confdefs.h. */
10921 _ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10925 #include <stdio.h>
10926 int
10927 main ()
10928 {
10929 /* This call has the arguments reversed.
10930 A reversed system may check and see that the address of buf
10931 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
10932 char buf;
10933 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
10934 exit (1);
10935 putchar ('\r');
10936 exit (0); /* Non-reversed systems SEGV here. */
10937 ;
10938 return 0;
10939 }
10940 _ACEOF
10941 rm -f conftest$ac_exeext
10942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10943 (eval $ac_link) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10949 ac_status=$?
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 ac_cv_func_setvbuf_reversed=yes
10953 else
10954 echo "$as_me: program exited with status $ac_status" >&5
10955 echo "$as_me: failed program was:" >&5
10956 sed 's/^/| /' conftest.$ac_ext >&5
10957
10958 ( exit $ac_status )
10959 rm -f core *.core
10960 fi
10961 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10962 fi
10963 ac_cv_func_setvbuf_reversed=yes
10964 else
10965 echo "$as_me: failed program was:" >&5
10966 sed 's/^/| /' conftest.$ac_ext >&5
10967
10968 fi
10969 rm -f conftest.err conftest.$ac_objext \
10970 conftest$ac_exeext conftest.$ac_ext
10971 else
10972 echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.$ac_ext >&5
10974
10975 fi
10976 rm -f conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 fi
10979 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
10980 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
10981 if test $ac_cv_func_setvbuf_reversed = yes; then
10982
10983 cat >>confdefs.h <<\_ACEOF
10984 @%:@define SETVBUF_REVERSED 1
10985 _ACEOF
10986
10987 fi
10988
10989 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
10990 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
10991 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10993 else
10994 rm -f conftest.sym conftest.file
10995 echo >conftest.file
10996 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
10997 if test "$cross_compiling" = yes; then
10998 ac_cv_func_lstat_dereferences_slashed_symlink=no
10999 else
11000 cat >conftest.$ac_ext <<_ACEOF
11001 /* confdefs.h. */
11002 _ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 $ac_includes_default
11007 int
11008 main ()
11009 {
11010 struct stat sbuf;
11011 /* Linux will dereference the symlink and fail.
11012 That is better in the sense that it means we will not
11013 have to compile and use the lstat wrapper. */
11014 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11015 ;
11016 return 0;
11017 }
11018 _ACEOF
11019 rm -f conftest$ac_exeext
11020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11021 (eval $ac_link) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11027 ac_status=$?
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; }; then
11030 ac_cv_func_lstat_dereferences_slashed_symlink=yes
11031 else
11032 echo "$as_me: program exited with status $ac_status" >&5
11033 echo "$as_me: failed program was:" >&5
11034 sed 's/^/| /' conftest.$ac_ext >&5
11035
11036 ( exit $ac_status )
11037 ac_cv_func_lstat_dereferences_slashed_symlink=no
11038 fi
11039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11040 fi
11041 else
11042 # If the `ln -s' command failed, then we probably don't even
11043 # have an lstat function.
11044 ac_cv_func_lstat_dereferences_slashed_symlink=no
11045 fi
11046 rm -f conftest.sym conftest.file
11047
11048 fi
11049 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11050 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11051
11052 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11053
11054 cat >>confdefs.h <<_ACEOF
11055 @%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11056 _ACEOF
11057
11058
11059 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
11060 case $LIB@&t@OBJS in
11061 "lstat.$ac_objext" | \
11062 *" lstat.$ac_objext" | \
11063 "lstat.$ac_objext "* | \
11064 *" lstat.$ac_objext "* ) ;;
11065 *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext" ;;
11066 esac
11067
11068 fi
11069
11070 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
11071 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
11072 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
11073 echo $ECHO_N "(cached) $ECHO_C" >&6
11074 else
11075 if test "$cross_compiling" = yes; then
11076 ac_cv_func_stat_empty_string_bug=yes
11077 else
11078 cat >conftest.$ac_ext <<_ACEOF
11079 /* confdefs.h. */
11080 _ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 $ac_includes_default
11085 int
11086 main ()
11087 {
11088 struct stat sbuf;
11089 exit (stat ("", &sbuf) ? 1 : 0);
11090 ;
11091 return 0;
11092 }
11093 _ACEOF
11094 rm -f conftest$ac_exeext
11095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11096 (eval $ac_link) 2>&5
11097 ac_status=$?
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11102 ac_status=$?
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; }; then
11105 ac_cv_func_stat_empty_string_bug=yes
11106 else
11107 echo "$as_me: program exited with status $ac_status" >&5
11108 echo "$as_me: failed program was:" >&5
11109 sed 's/^/| /' conftest.$ac_ext >&5
11110
11111 ( exit $ac_status )
11112 ac_cv_func_stat_empty_string_bug=no
11113 fi
11114 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11115 fi
11116 fi
11117 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
11118 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
11119 if test $ac_cv_func_stat_empty_string_bug = yes; then
11120 case $LIB@&t@OBJS in
11121 "stat.$ac_objext" | \
11122 *" stat.$ac_objext" | \
11123 "stat.$ac_objext "* | \
11124 *" stat.$ac_objext "* ) ;;
11125 *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext" ;;
11126 esac
11127
11128
11129 cat >>confdefs.h <<_ACEOF
11130 @%:@define HAVE_STAT_EMPTY_STRING_BUG 1
11131 _ACEOF
11132
11133 fi
11134
11135 echo "$as_me:$LINENO: checking for working strtod" >&5
11136 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
11137 if test "${ac_cv_func_strtod+set}" = set; then
11138 echo $ECHO_N "(cached) $ECHO_C" >&6
11139 else
11140 if test "$cross_compiling" = yes; then
11141 ac_cv_func_strtod=no
11142 else
11143 cat >conftest.$ac_ext <<_ACEOF
11144 /* confdefs.h. */
11145 _ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11149
11150 double strtod ();
11151 int
11152 main()
11153 {
11154 {
11155 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
11156 char *string = " +69";
11157 char *term;
11158 double value;
11159 value = strtod (string, &term);
11160 if (value != 69 || term != (string + 4))
11161 exit (1);
11162 }
11163
11164 {
11165 /* Under Solaris 2.4, strtod returns the wrong value for the
11166 terminating character under some conditions. */
11167 char *string = "NaN";
11168 char *term;
11169 strtod (string, &term);
11170 if (term != string && *(term - 1) == 0)
11171 exit (1);
11172 }
11173 exit (0);
11174 }
11175
11176 _ACEOF
11177 rm -f conftest$ac_exeext
11178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11179 (eval $ac_link) 2>&5
11180 ac_status=$?
11181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11184 (eval $ac_try) 2>&5
11185 ac_status=$?
11186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11187 (exit $ac_status); }; }; then
11188 ac_cv_func_strtod=yes
11189 else
11190 echo "$as_me: program exited with status $ac_status" >&5
11191 echo "$as_me: failed program was:" >&5
11192 sed 's/^/| /' conftest.$ac_ext >&5
11193
11194 ( exit $ac_status )
11195 ac_cv_func_strtod=no
11196 fi
11197 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11198 fi
11199 fi
11200 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
11201 echo "${ECHO_T}$ac_cv_func_strtod" >&6
11202 if test $ac_cv_func_strtod = no; then
11203 case $LIB@&t@OBJS in
11204 "strtod.$ac_objext" | \
11205 *" strtod.$ac_objext" | \
11206 "strtod.$ac_objext "* | \
11207 *" strtod.$ac_objext "* ) ;;
11208 *) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext" ;;
11209 esac
11210
11211 echo "$as_me:$LINENO: checking for pow" >&5
11212 echo $ECHO_N "checking for pow... $ECHO_C" >&6
11213 if test "${ac_cv_func_pow+set}" = set; then
11214 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 else
11216 cat >conftest.$ac_ext <<_ACEOF
11217 /* confdefs.h. */
11218 _ACEOF
11219 cat confdefs.h >>conftest.$ac_ext
11220 cat >>conftest.$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11222 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
11223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11224 #define pow innocuous_pow
11225
11226 /* System header to define __stub macros and hopefully few prototypes,
11227 which can conflict with char pow (); below.
11228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11229 <limits.h> exists even on freestanding compilers. */
11230
11231 #ifdef __STDC__
11232 # include <limits.h>
11233 #else
11234 # include <assert.h>
11235 #endif
11236
11237 #undef pow
11238
11239 /* Override any gcc2 internal prototype to avoid an error. */
11240 #ifdef __cplusplus
11241 extern "C"
11242 {
11243 #endif
11244 /* We use char because int might match the return type of a gcc2
11245 builtin and then its argument prototype would still apply. */
11246 char pow ();
11247 /* The GNU C library defines this for functions which it implements
11248 to always fail with ENOSYS. Some functions are actually named
11249 something starting with __ and the normal name is an alias. */
11250 #if defined (__stub_pow) || defined (__stub___pow)
11251 choke me
11252 #else
11253 char (*f) () = pow;
11254 #endif
11255 #ifdef __cplusplus
11256 }
11257 #endif
11258
11259 int
11260 main ()
11261 {
11262 return f != pow;
11263 ;
11264 return 0;
11265 }
11266 _ACEOF
11267 rm -f conftest.$ac_objext conftest$ac_exeext
11268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11269 (eval $ac_link) 2>conftest.er1
11270 ac_status=$?
11271 grep -v '^ *+' conftest.er1 >conftest.err
11272 rm -f conftest.er1
11273 cat conftest.err >&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); } &&
11276 { ac_try='test -z "$ac_c_werror_flag"
11277 || test ! -s conftest.err'
11278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11279 (eval $ac_try) 2>&5
11280 ac_status=$?
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); }; } &&
11283 { ac_try='test -s conftest$ac_exeext'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11286 ac_status=$?
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; }; then
11289 ac_cv_func_pow=yes
11290 else
11291 echo "$as_me: failed program was:" >&5
11292 sed 's/^/| /' conftest.$ac_ext >&5
11293
11294 ac_cv_func_pow=no
11295 fi
11296 rm -f conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 fi
11299 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
11300 echo "${ECHO_T}$ac_cv_func_pow" >&6
11301
11302 if test $ac_cv_func_pow = no; then
11303 echo "$as_me:$LINENO: checking for pow in -lm" >&5
11304 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
11305 if test "${ac_cv_lib_m_pow+set}" = set; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 else
11308 ac_check_lib_save_LIBS=$LIBS
11309 LIBS="-lm $LIBS"
11310 cat >conftest.$ac_ext <<_ACEOF
11311 /* confdefs.h. */
11312 _ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h. */
11316
11317 /* Override any gcc2 internal prototype to avoid an error. */
11318 #ifdef __cplusplus
11319 extern "C"
11320 #endif
11321 /* We use char because int might match the return type of a gcc2
11322 builtin and then its argument prototype would still apply. */
11323 char pow ();
11324 int
11325 main ()
11326 {
11327 pow ();
11328 ;
11329 return 0;
11330 }
11331 _ACEOF
11332 rm -f conftest.$ac_objext conftest$ac_exeext
11333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11334 (eval $ac_link) 2>conftest.er1
11335 ac_status=$?
11336 grep -v '^ *+' conftest.er1 >conftest.err
11337 rm -f conftest.er1
11338 cat conftest.err >&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try='test -z "$ac_c_werror_flag"
11342 || test ! -s conftest.err'
11343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344 (eval $ac_try) 2>&5
11345 ac_status=$?
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; } &&
11348 { ac_try='test -s conftest$ac_exeext'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11351 ac_status=$?
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; }; then
11354 ac_cv_lib_m_pow=yes
11355 else
11356 echo "$as_me: failed program was:" >&5
11357 sed 's/^/| /' conftest.$ac_ext >&5
11358
11359 ac_cv_lib_m_pow=no
11360 fi
11361 rm -f conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_lib_save_LIBS
11364 fi
11365 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
11366 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
11367 if test $ac_cv_lib_m_pow = yes; then
11368 POW_LIB=-lm
11369 else
11370 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
11371 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
11372 fi
11373
11374 fi
11375
11376 fi
11377
11378
11379 for ac_func in vprintf
11380 do
11381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11382 echo "$as_me:$LINENO: checking for $ac_func" >&5
11383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11384 if eval "test \"\${$as_ac_var+set}\" = set"; then
11385 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 else
11387 cat >conftest.$ac_ext <<_ACEOF
11388 /* confdefs.h. */
11389 _ACEOF
11390 cat confdefs.h >>conftest.$ac_ext
11391 cat >>conftest.$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11395 #define $ac_func innocuous_$ac_func
11396
11397 /* System header to define __stub macros and hopefully few prototypes,
11398 which can conflict with char $ac_func (); below.
11399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11400 <limits.h> exists even on freestanding compilers. */
11401
11402 #ifdef __STDC__
11403 # include <limits.h>
11404 #else
11405 # include <assert.h>
11406 #endif
11407
11408 #undef $ac_func
11409
11410 /* Override any gcc2 internal prototype to avoid an error. */
11411 #ifdef __cplusplus
11412 extern "C"
11413 {
11414 #endif
11415 /* We use char because int might match the return type of a gcc2
11416 builtin and then its argument prototype would still apply. */
11417 char $ac_func ();
11418 /* The GNU C library defines this for functions which it implements
11419 to always fail with ENOSYS. Some functions are actually named
11420 something starting with __ and the normal name is an alias. */
11421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11422 choke me
11423 #else
11424 char (*f) () = $ac_func;
11425 #endif
11426 #ifdef __cplusplus
11427 }
11428 #endif
11429
11430 int
11431 main ()
11432 {
11433 return f != $ac_func;
11434 ;
11435 return 0;
11436 }
11437 _ACEOF
11438 rm -f conftest.$ac_objext conftest$ac_exeext
11439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11440 (eval $ac_link) 2>conftest.er1
11441 ac_status=$?
11442 grep -v '^ *+' conftest.er1 >conftest.err
11443 rm -f conftest.er1
11444 cat conftest.err >&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } &&
11447 { ac_try='test -z "$ac_c_werror_flag"
11448 || test ! -s conftest.err'
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11450 (eval $ac_try) 2>&5
11451 ac_status=$?
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); }; } &&
11454 { ac_try='test -s conftest$ac_exeext'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11457 ac_status=$?
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; }; then
11460 eval "$as_ac_var=yes"
11461 else
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11464
11465 eval "$as_ac_var=no"
11466 fi
11467 rm -f conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 fi
11470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11472 if test `eval echo '${'$as_ac_var'}'` = yes; then
11473 cat >>confdefs.h <<_ACEOF
11474 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11475 _ACEOF
11476
11477 echo "$as_me:$LINENO: checking for _doprnt" >&5
11478 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
11479 if test "${ac_cv_func__doprnt+set}" = set; then
11480 echo $ECHO_N "(cached) $ECHO_C" >&6
11481 else
11482 cat >conftest.$ac_ext <<_ACEOF
11483 /* confdefs.h. */
11484 _ACEOF
11485 cat confdefs.h >>conftest.$ac_ext
11486 cat >>conftest.$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
11489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11490 #define _doprnt innocuous__doprnt
11491
11492 /* System header to define __stub macros and hopefully few prototypes,
11493 which can conflict with char _doprnt (); below.
11494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11495 <limits.h> exists even on freestanding compilers. */
11496
11497 #ifdef __STDC__
11498 # include <limits.h>
11499 #else
11500 # include <assert.h>
11501 #endif
11502
11503 #undef _doprnt
11504
11505 /* Override any gcc2 internal prototype to avoid an error. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 {
11509 #endif
11510 /* We use char because int might match the return type of a gcc2
11511 builtin and then its argument prototype would still apply. */
11512 char _doprnt ();
11513 /* The GNU C library defines this for functions which it implements
11514 to always fail with ENOSYS. Some functions are actually named
11515 something starting with __ and the normal name is an alias. */
11516 #if defined (__stub__doprnt) || defined (__stub____doprnt)
11517 choke me
11518 #else
11519 char (*f) () = _doprnt;
11520 #endif
11521 #ifdef __cplusplus
11522 }
11523 #endif
11524
11525 int
11526 main ()
11527 {
11528 return f != _doprnt;
11529 ;
11530 return 0;
11531 }
11532 _ACEOF
11533 rm -f conftest.$ac_objext conftest$ac_exeext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11535 (eval $ac_link) 2>conftest.er1
11536 ac_status=$?
11537 grep -v '^ *+' conftest.er1 >conftest.err
11538 rm -f conftest.er1
11539 cat conftest.err >&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } &&
11542 { ac_try='test -z "$ac_c_werror_flag"
11543 || test ! -s conftest.err'
11544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11545 (eval $ac_try) 2>&5
11546 ac_status=$?
11547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11548 (exit $ac_status); }; } &&
11549 { ac_try='test -s conftest$ac_exeext'
11550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11551 (eval $ac_try) 2>&5
11552 ac_status=$?
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); }; }; then
11555 ac_cv_func__doprnt=yes
11556 else
11557 echo "$as_me: failed program was:" >&5
11558 sed 's/^/| /' conftest.$ac_ext >&5
11559
11560 ac_cv_func__doprnt=no
11561 fi
11562 rm -f conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 fi
11565 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11566 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
11567 if test $ac_cv_func__doprnt = yes; then
11568
11569 cat >>confdefs.h <<\_ACEOF
11570 @%:@define HAVE_DOPRNT 1
11571 _ACEOF
11572
11573 fi
11574
11575 fi
11576 done
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603 for ac_func in atexit btowc bzero dup2 memmove memset munmap pow putenv re_comp realpath regcomp select setenv strcasecmp strchr strdup strerror strncasecmp strrchr strstr getopt_long setenv unsetenv
11604 do
11605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11606 echo "$as_me:$LINENO: checking for $ac_func" >&5
11607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11608 if eval "test \"\${$as_ac_var+set}\" = set"; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 else
11611 cat >conftest.$ac_ext <<_ACEOF
11612 /* confdefs.h. */
11613 _ACEOF
11614 cat confdefs.h >>conftest.$ac_ext
11615 cat >>conftest.$ac_ext <<_ACEOF
11616 /* end confdefs.h. */
11617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11619 #define $ac_func innocuous_$ac_func
11620
11621 /* System header to define __stub macros and hopefully few prototypes,
11622 which can conflict with char $ac_func (); below.
11623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11624 <limits.h> exists even on freestanding compilers. */
11625
11626 #ifdef __STDC__
11627 # include <limits.h>
11628 #else
11629 # include <assert.h>
11630 #endif
11631
11632 #undef $ac_func
11633
11634 /* Override any gcc2 internal prototype to avoid an error. */
11635 #ifdef __cplusplus
11636 extern "C"
11637 {
11638 #endif
11639 /* We use char because int might match the return type of a gcc2
11640 builtin and then its argument prototype would still apply. */
11641 char $ac_func ();
11642 /* The GNU C library defines this for functions which it implements
11643 to always fail with ENOSYS. Some functions are actually named
11644 something starting with __ and the normal name is an alias. */
11645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11646 choke me
11647 #else
11648 char (*f) () = $ac_func;
11649 #endif
11650 #ifdef __cplusplus
11651 }
11652 #endif
11653
11654 int
11655 main ()
11656 {
11657 return f != $ac_func;
11658 ;
11659 return 0;
11660 }
11661 _ACEOF
11662 rm -f conftest.$ac_objext conftest$ac_exeext
11663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11664 (eval $ac_link) 2>conftest.er1
11665 ac_status=$?
11666 grep -v '^ *+' conftest.er1 >conftest.err
11667 rm -f conftest.er1
11668 cat conftest.err >&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); } &&
11671 { ac_try='test -z "$ac_c_werror_flag"
11672 || test ! -s conftest.err'
11673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11674 (eval $ac_try) 2>&5
11675 ac_status=$?
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); }; } &&
11678 { ac_try='test -s conftest$ac_exeext'
11679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11680 (eval $ac_try) 2>&5
11681 ac_status=$?
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); }; }; then
11684 eval "$as_ac_var=yes"
11685 else
11686 echo "$as_me: failed program was:" >&5
11687 sed 's/^/| /' conftest.$ac_ext >&5
11688
11689 eval "$as_ac_var=no"
11690 fi
11691 rm -f conftest.err conftest.$ac_objext \
11692 conftest$ac_exeext conftest.$ac_ext
11693 fi
11694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11696 if test `eval echo '${'$as_ac_var'}'` = yes; then
11697 cat >>confdefs.h <<_ACEOF
11698 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11699 _ACEOF
11700
11701 fi
11702 done
11703
11704
11705 echo "$as_me:$LINENO: checking for xdrmem_create in -lnsl" >&5
11706 echo $ECHO_N "checking for xdrmem_create in -lnsl... $ECHO_C" >&6
11707 if test "${ac_cv_lib_nsl_xdrmem_create+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 else
11710 ac_check_lib_save_LIBS=$LIBS
11711 LIBS="-lnsl $LIBS"
11712 cat >conftest.$ac_ext <<_ACEOF
11713 /* confdefs.h. */
11714 _ACEOF
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718
11719 /* Override any gcc2 internal prototype to avoid an error. */
11720 #ifdef __cplusplus
11721 extern "C"
11722 #endif
11723 /* We use char because int might match the return type of a gcc2
11724 builtin and then its argument prototype would still apply. */
11725 char xdrmem_create ();
11726 int
11727 main ()
11728 {
11729 xdrmem_create ();
11730 ;
11731 return 0;
11732 }
11733 _ACEOF
11734 rm -f conftest.$ac_objext conftest$ac_exeext
11735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11736 (eval $ac_link) 2>conftest.er1
11737 ac_status=$?
11738 grep -v '^ *+' conftest.er1 >conftest.err
11739 rm -f conftest.er1
11740 cat conftest.err >&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); } &&
11743 { ac_try='test -z "$ac_c_werror_flag"
11744 || test ! -s conftest.err'
11745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11746 (eval $ac_try) 2>&5
11747 ac_status=$?
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); }; } &&
11750 { ac_try='test -s conftest$ac_exeext'
11751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 (eval $ac_try) 2>&5
11753 ac_status=$?
11754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 (exit $ac_status); }; }; then
11756 ac_cv_lib_nsl_xdrmem_create=yes
11757 else
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11760
11761 ac_cv_lib_nsl_xdrmem_create=no
11762 fi
11763 rm -f conftest.err conftest.$ac_objext \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_lib_save_LIBS
11766 fi
11767 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_xdrmem_create" >&5
11768 echo "${ECHO_T}$ac_cv_lib_nsl_xdrmem_create" >&6
11769 if test $ac_cv_lib_nsl_xdrmem_create = yes; then
11770 cat >>confdefs.h <<_ACEOF
11771 @%:@define HAVE_LIBNSL 1
11772 _ACEOF
11773
11774 LIBS="-lnsl $LIBS"
11775
11776 fi
11777
11778
11779 echo "$as_me:$LINENO: checking for xdrmem_create in -lrpc" >&5
11780 echo $ECHO_N "checking for xdrmem_create in -lrpc... $ECHO_C" >&6
11781 if test "${ac_cv_lib_rpc_xdrmem_create+set}" = set; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 else
11784 ac_check_lib_save_LIBS=$LIBS
11785 LIBS="-lrpc $LIBS"
11786 cat >conftest.$ac_ext <<_ACEOF
11787 /* confdefs.h. */
11788 _ACEOF
11789 cat confdefs.h >>conftest.$ac_ext
11790 cat >>conftest.$ac_ext <<_ACEOF
11791 /* end confdefs.h. */
11792
11793 /* Override any gcc2 internal prototype to avoid an error. */
11794 #ifdef __cplusplus
11795 extern "C"
11796 #endif
11797 /* We use char because int might match the return type of a gcc2
11798 builtin and then its argument prototype would still apply. */
11799 char xdrmem_create ();
11800 int
11801 main ()
11802 {
11803 xdrmem_create ();
11804 ;
11805 return 0;
11806 }
11807 _ACEOF
11808 rm -f conftest.$ac_objext conftest$ac_exeext
11809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11810 (eval $ac_link) 2>conftest.er1
11811 ac_status=$?
11812 grep -v '^ *+' conftest.er1 >conftest.err
11813 rm -f conftest.er1
11814 cat conftest.err >&5
11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11816 (exit $ac_status); } &&
11817 { ac_try='test -z "$ac_c_werror_flag"
11818 || test ! -s conftest.err'
11819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11820 (eval $ac_try) 2>&5
11821 ac_status=$?
11822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 (exit $ac_status); }; } &&
11824 { ac_try='test -s conftest$ac_exeext'
11825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11826 (eval $ac_try) 2>&5
11827 ac_status=$?
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }; }; then
11830 ac_cv_lib_rpc_xdrmem_create=yes
11831 else
11832 echo "$as_me: failed program was:" >&5
11833 sed 's/^/| /' conftest.$ac_ext >&5
11834
11835 ac_cv_lib_rpc_xdrmem_create=no
11836 fi
11837 rm -f conftest.err conftest.$ac_objext \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS
11840 fi
11841 echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_xdrmem_create" >&5
11842 echo "${ECHO_T}$ac_cv_lib_rpc_xdrmem_create" >&6
11843 if test $ac_cv_lib_rpc_xdrmem_create = yes; then
11844 cat >>confdefs.h <<_ACEOF
11845 @%:@define HAVE_LIBRPC 1
11846 _ACEOF
11847
11848 LIBS="-lrpc $LIBS"
11849
11850 fi
11851
11852
11853 # some AIX adds (linker flag for 32 bit compiles)
11854 if test "X$OSTYPE" = "Xaix" ; then
11855 if test "X$MACHTYPE" = "Xrs6000" ; then
11856 CFLAGS="${CFLAGS} -D_WAVE_BE32"
11857 if test "X$CC" = "Xxlc" ; then
11858 LDFLAGS="${LDFLAGS} -bmaxdata:0xd0000000/dsa"
11859 else
11860 LDFLAGS="${LDFLAGS} -Wl,-bmaxdata:0xd0000000/dsa"
11861 fi
11862 fi
11863 fi
11864
11865 CFLAGS="${CFLAGS} ${STRUCT_PACK}"
11866
11867
11868 if test "X$ETCL" = "Xyes" ; then
11869 if test "X$OSTYPE" = "Xcygwin" ; then
11870 # skip Tcl_CreateInterp check on cygwin...
11871 if test "X$STUBIFY" = "Xyes" ; then
11872 TCL_DEFADD="-DHAVE_LIBTCL -DWAVE_TCL_STUBIFY -DUSE_TCL_STUBS -DUSE_TK_STUBS"
11873 TCL_LDADD="${TCL_STUB_LIB_SPEC}"
11874 TK_LDADD="${TK_STUB_LIB_SPEC}"
11875 else
11876 TCL_DEFADD="-DHAVE_LIBTCL"
11877 TCL_LDADD="${TCL_LIB_SPEC}"
11878 TK_LDADD="${TK_LIB_SPEC}"
11879 # cygwin tkConfig.sh has issues...
11880 if test "X$TK_LDADD" = "X" ; then
11881 TK_LDADD="${TK_BUILD_LIB_SPEC}"
11882 fi
11883 fi
11884 else
11885 if test "X$OSTYPE" = "Xmsys" ; then
11886 # skip Tcl_CreateInterp check on MingW (until we figure out)...
11887 if test "X$STUBIFY" = "Xyes" ; then
11888 TCL_DEFADD="-DHAVE_LIBTCL -DWAVE_TCL_STUBIFY -DUSE_TCL_STUBS -DUSE_TK_STUBS"
11889 TCL_LDADD="${TCL_STUB_LIB_SPEC}"
11890 TK_LDADD="${TK_STUB_LIB_SPEC}"
11891 else
11892 TCL_DEFADD="-DHAVE_LIBTCL"
11893 TCL_LDADD="${TCL_LIB_SPEC}"
11894 TK_LDADD="${TK_LIB_SPEC}"
11895 fi
11896 else
11897 OLD_LDFLAGS="${LDFLAGS}"
11898 TCLSPEC_LHS="${TCL_LIB_SPEC% *}"
11899 TKLSPEC_LHS="${TK_LIB_SPEC% *}"
11900 LDFLAGS="${LDFLAGS} ${TCLSPEC_LHS} ${TKLSPEC_LHS}"
11901 as_ac_Lib=`echo "ac_cv_lib_tcl${TCL_VERSION}''_Tcl_CreateInterp" | $as_tr_sh`
11902 echo "$as_me:$LINENO: checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}" >&5
11903 echo $ECHO_N "checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}... $ECHO_C" >&6
11904 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
11905 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 else
11907 ac_check_lib_save_LIBS=$LIBS
11908 LIBS="-ltcl${TCL_VERSION} $LIBS"
11909 cat >conftest.$ac_ext <<_ACEOF
11910 /* confdefs.h. */
11911 _ACEOF
11912 cat confdefs.h >>conftest.$ac_ext
11913 cat >>conftest.$ac_ext <<_ACEOF
11914 /* end confdefs.h. */
11915
11916 /* Override any gcc2 internal prototype to avoid an error. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 /* We use char because int might match the return type of a gcc2
11921 builtin and then its argument prototype would still apply. */
11922 char Tcl_CreateInterp ();
11923 int
11924 main ()
11925 {
11926 Tcl_CreateInterp ();
11927 ;
11928 return 0;
11929 }
11930 _ACEOF
11931 rm -f conftest.$ac_objext conftest$ac_exeext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11933 (eval $ac_link) 2>conftest.er1
11934 ac_status=$?
11935 grep -v '^ *+' conftest.er1 >conftest.err
11936 rm -f conftest.er1
11937 cat conftest.err >&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try='test -z "$ac_c_werror_flag"
11941 || test ! -s conftest.err'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11944 ac_status=$?
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; } &&
11947 { ac_try='test -s conftest$ac_exeext'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11950 ac_status=$?
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; }; then
11953 eval "$as_ac_Lib=yes"
11954 else
11955 echo "$as_me: failed program was:" >&5
11956 sed 's/^/| /' conftest.$ac_ext >&5
11957
11958 eval "$as_ac_Lib=no"
11959 fi
11960 rm -f conftest.err conftest.$ac_objext \
11961 conftest$ac_exeext conftest.$ac_ext
11962 LIBS=$ac_check_lib_save_LIBS
11963 fi
11964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
11965 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
11966 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
11967 TCL_LDADD=${TCL_LIB_SPEC}
11968 else
11969 need_tcl=yes
11970 fi
11971
11972 if test "$need_tcl" = "yes" ; then
11973 { echo "$as_me:$LINENO: WARNING:
11974 Tcl support not enabled." >&5
11975 echo "$as_me: WARNING:
11976 Tcl support not enabled." >&2;}
11977 else
11978 if test "X$STUBIFY" = "Xyes" ; then
11979 TCL_DEFADD="-DHAVE_LIBTCL -DWAVE_TCL_STUBIFY -DUSE_TCL_STUBS -DUSE_TK_STUBS"
11980 TCL_LDADD="${TCL_STUB_LIB_SPEC}"
11981 TK_LDADD="${TK_STUB_LIB_SPEC}"
11982 else
11983 TCL_DEFADD="-DHAVE_LIBTCL"
11984 TCL_LDADD="${TCL_LIB_SPEC}"
11985 TK_LDADD="${TK_LIB_SPEC}"
11986 fi
11987 fi
11988 LDFLAGS="${OLD_LDFLAGS}"
11989 fi
11990 fi
11991 fi
11992
11993
11994
11995
11996
11997
11998 ac_config_files="$ac_config_files Makefile doc/Makefile contrib/Makefile contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile contrib/pccts/Makefile contrib/pccts/antlr/Makefile contrib/pccts/dlg/Makefile contrib/pccts/h/Makefile contrib/pccts/sorcerer/Makefile contrib/pccts/sorcerer/h/Makefile contrib/pccts/sorcerer/lib/Makefile contrib/pccts/sorcerer/test/Makefile contrib/pccts/sorcerer/test/test7/Makefile contrib/pccts/sorcerer/testcpp/Makefile contrib/pccts/support/DECmms/Makefile contrib/pccts/support/Makefile contrib/pccts/support/genmk/Makefile contrib/pccts/support/rexpr/Makefile contrib/pccts/support/set/Makefile contrib/pccts/support/sym/Makefile contrib/pccts/testcpp/Makefile contrib/rtlbrowse/Makefile contrib/vermin/Makefile examples/Makefile man/Makefile src/Makefile src/helpers/Makefile src/liblzma/Makefile src/libbz2/Makefile src/libz/Makefile src/helpers/fst/Makefile"
11999
12000
12001
12002 { echo "$as_me:$LINENO:
12003 --------------------------------------------
12004 Configuration summary:
12005
12006 FASTTREE_CFLAGS : $FASTTREE_CFLAGS
12007
12008 gtk1 : $GTK1
12009 gtk version : $GTK_VER
12010 GTK_CFLAGS : $GTK_CFLAGS
12011 GTK_LIBS : $GTK_LIBS
12012
12013 LIBZ_CFLAGS : $LIBZ_CFLAGS
12014 LIBZ_LDADD : $LIBZ_LDADD
12015
12016 LIBBZ2_CFLAGS : $LIBBZ2_CFLAGS
12017 LIBBZ2_LDADD : $LIBBZ2_LDADD
12018
12019 LIBXZ_CFLAGS : $LIBXZ_CFLAGS
12020 LIBXZ_LDADD : $LIBXZ_LDADD
12021
12022 LIBJUDY_CFLAGS : $LIBJUDY_CFLAGS
12023 LIBJUDY_LDADD : $LIBJUDY_LDADD
12024
12025 AET2_CFLAGS : $AET2_CFLAGS
12026 AET2_LDADD : $AET2_LDADD
12027
12028 EXTLOAD_CFLAGS : $EXTLOAD_CFLAGS
12029
12030 TCL_INCLUDE_SPEC : $TCL_INCLUDE_SPEC
12031 TCL_LIB_SPEC : $TCL_LIB_SPEC
12032 TCL_LDADD : $TCL_LDADD
12033 TCL_DEFADD : $TCL_DEFADD
12034
12035 TK_INCLUDE_SPEC : $TK_INCLUDE_SPEC
12036 TK_LIB_SPEC : $TK_LIB_SPEC
12037 TK_LDADD : $TK_LDADD
12038
12039 CPPFLAGS : $CPPFLAGS
12040 CFLAGS : $CFLAGS
12041 LDFLAGS : $LDFLAGS
12042 LIBS : $LIBS
12043 INLINE_ASM : $INLINE_ASM
12044 --------------------------------------------
12045 " >&5
12046 echo "$as_me:
12047 --------------------------------------------
12048 Configuration summary:
12049
12050 FASTTREE_CFLAGS : $FASTTREE_CFLAGS
12051
12052 gtk1 : $GTK1
12053 gtk version : $GTK_VER
12054 GTK_CFLAGS : $GTK_CFLAGS
12055 GTK_LIBS : $GTK_LIBS
12056
12057 LIBZ_CFLAGS : $LIBZ_CFLAGS
12058 LIBZ_LDADD : $LIBZ_LDADD
12059
12060 LIBBZ2_CFLAGS : $LIBBZ2_CFLAGS
12061 LIBBZ2_LDADD : $LIBBZ2_LDADD
12062
12063 LIBXZ_CFLAGS : $LIBXZ_CFLAGS
12064 LIBXZ_LDADD : $LIBXZ_LDADD
12065
12066 LIBJUDY_CFLAGS : $LIBJUDY_CFLAGS
12067 LIBJUDY_LDADD : $LIBJUDY_LDADD
12068
12069 AET2_CFLAGS : $AET2_CFLAGS
12070 AET2_LDADD : $AET2_LDADD
12071
12072 EXTLOAD_CFLAGS : $EXTLOAD_CFLAGS
12073
12074 TCL_INCLUDE_SPEC : $TCL_INCLUDE_SPEC
12075 TCL_LIB_SPEC : $TCL_LIB_SPEC
12076 TCL_LDADD : $TCL_LDADD
12077 TCL_DEFADD : $TCL_DEFADD
12078
12079 TK_INCLUDE_SPEC : $TK_INCLUDE_SPEC
12080 TK_LIB_SPEC : $TK_LIB_SPEC
12081 TK_LDADD : $TK_LDADD
12082
12083 CPPFLAGS : $CPPFLAGS
12084 CFLAGS : $CFLAGS
12085 LDFLAGS : $LDFLAGS
12086 LIBS : $LIBS
12087 INLINE_ASM : $INLINE_ASM
12088 --------------------------------------------
12089 " >&6;}
12090
12091 cat >confcache <<\_ACEOF
12092 # This file is a shell script that caches the results of configure
12093 # tests run on this system so they can be shared between configure
12094 # scripts and configure runs, see configure's option --config-cache.
12095 # It is not useful on other systems. If it contains results you don't
12096 # want to keep, you may remove or edit it.
12097 #
12098 # config.status only pays attention to the cache file if you give it
12099 # the --recheck option to rerun configure.
12100 #
12101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12103 # following values.
12104
12105 _ACEOF
12106
12107 # The following way of writing the cache mishandles newlines in values,
12108 # but we know of no workaround that is simple, portable, and efficient.
12109 # So, don't put newlines in cache variables' values.
12110 # Ultrix sh set writes to stderr and can't be redirected directly,
12111 # and sets the high bit in the cache file unless we assign to the vars.
12112 {
12113 (set) 2>&1 |
12114 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12115 *ac_space=\ *)
12116 # `set' does not quote correctly, so add quotes (double-quote
12117 # substitution turns \\\\ into \\, and sed turns \\ into \).
12118 sed -n \
12119 "s/'/'\\\\''/g;
12120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12121 ;;
12122 *)
12123 # `set' quotes correctly as required by POSIX, so do not add quotes.
12124 sed -n \
12125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12126 ;;
12127 esac;
12128 } |
12129 sed '
12130 t clear
12131 : clear
12132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12133 t end
12134 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12135 : end' >>confcache
12136 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12137 if test -w $cache_file; then
12138 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12139 cat confcache >$cache_file
12140 else
12141 echo "not updating unwritable cache $cache_file"
12142 fi
12143 fi
12144 rm -f confcache
12145
12146 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12147 # Let make expand exec_prefix.
12148 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12149
12150 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12151 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12152 # trailing colons and then remove the whole line if VPATH becomes empty
12153 # (actually we leave an empty line to preserve line numbers).
12154 if test "x$srcdir" = x.; then
12155 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12156 s/:*\$(srcdir):*/:/;
12157 s/:*\${srcdir}:*/:/;
12158 s/:*@srcdir@:*/:/;
12159 s/^\([^=]*=[ ]*\):*/\1/;
12160 s/:*$//;
12161 s/^[^=]*=[ ]*$//;
12162 }'
12163 fi
12164
12165 DEFS=-DHAVE_CONFIG_H
12166
12167 ac_libobjs=
12168 ac_ltlibobjs=
12169 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
12170 # 1. Remove the extension, and $U if already installed.
12171 ac_i=`echo "$ac_i" |
12172 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12173 # 2. Add them.
12174 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12175 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12176 done
12177 LIB@&t@OBJS=$ac_libobjs
12178
12179 LTLIBOBJS=$ac_ltlibobjs
12180
12181
12182 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12183 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12184 Usually this means the macro was only invoked conditionally." >&5
12185 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12186 Usually this means the macro was only invoked conditionally." >&2;}
12187 { (exit 1); exit 1; }; }
12188 fi
12189 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12190 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12191 Usually this means the macro was only invoked conditionally." >&5
12192 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12193 Usually this means the macro was only invoked conditionally." >&2;}
12194 { (exit 1); exit 1; }; }
12195 fi
12196 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12197 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12198 Usually this means the macro was only invoked conditionally." >&5
12199 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12200 Usually this means the macro was only invoked conditionally." >&2;}
12201 { (exit 1); exit 1; }; }
12202 fi
12203
12204 : ${CONFIG_STATUS=./config.status}
12205 ac_clean_files_save=$ac_clean_files
12206 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12207 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12208 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12209 cat >$CONFIG_STATUS <<_ACEOF
12210 #! $SHELL
12211 # Generated by $as_me.
12212 # Run this file to recreate the current configuration.
12213 # Compiler output produced by configure, useful for debugging
12214 # configure, is in config.log if it exists.
12215
12216 debug=false
12217 ac_cs_recheck=false
12218 ac_cs_silent=false
12219 SHELL=\${CONFIG_SHELL-$SHELL}
12220 _ACEOF
12221
12222 cat >>$CONFIG_STATUS <<\_ACEOF
12223 ## --------------------- ##
12224 ## M4sh Initialization. ##
12225 ## --------------------- ##
12226
12227 # Be Bourne compatible
12228 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12229 emulate sh
12230 NULLCMD=:
12231 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12232 # is contrary to our usage. Disable this feature.
12233 alias -g '${1+"$@"}'='"$@"'
12234 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12235 set -o posix
12236 fi
12237 DUALCASE=1; export DUALCASE # for MKS sh
12238
12239 # Support unset when possible.
12240 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12241 as_unset=unset
12242 else
12243 as_unset=false
12244 fi
12245
12246
12247 # Work around bugs in pre-3.0 UWIN ksh.
12248 $as_unset ENV MAIL MAILPATH
12249 PS1='$ '
12250 PS2='> '
12251 PS4='+ '
12252
12253 # NLS nuisances.
12254 for as_var in \
12255 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12256 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12257 LC_TELEPHONE LC_TIME
12258 do
12259 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12260 eval $as_var=C; export $as_var
12261 else
12262 $as_unset $as_var
12263 fi
12264 done
12265
12266 # Required to use basename.
12267 if expr a : '\(a\)' >/dev/null 2>&1; then
12268 as_expr=expr
12269 else
12270 as_expr=false
12271 fi
12272
12273 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12274 as_basename=basename
12275 else
12276 as_basename=false
12277 fi
12278
12279
12280 # Name of the executable.
12281 as_me=`$as_basename "$0" ||
12282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12283 X"$0" : 'X\(//\)$' \| \
12284 X"$0" : 'X\(/\)$' \| \
12285 . : '\(.\)' 2>/dev/null ||
12286 echo X/"$0" |
12287 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12288 /^X\/\(\/\/\)$/{ s//\1/; q; }
12289 /^X\/\(\/\).*/{ s//\1/; q; }
12290 s/.*/./; q'`
12291
12292
12293 # PATH needs CR, and LINENO needs CR and PATH.
12294 # Avoid depending upon Character Ranges.
12295 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12296 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12297 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12298 as_cr_digits='0123456789'
12299 as_cr_alnum=$as_cr_Letters$as_cr_digits
12300
12301 # The user is always right.
12302 if test "${PATH_SEPARATOR+set}" != set; then
12303 echo "#! /bin/sh" >conf$$.sh
12304 echo "exit 0" >>conf$$.sh
12305 chmod +x conf$$.sh
12306 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12307 PATH_SEPARATOR=';'
12308 else
12309 PATH_SEPARATOR=:
12310 fi
12311 rm -f conf$$.sh
12312 fi
12313
12314
12315 as_lineno_1=$LINENO
12316 as_lineno_2=$LINENO
12317 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12318 test "x$as_lineno_1" != "x$as_lineno_2" &&
12319 test "x$as_lineno_3" = "x$as_lineno_2" || {
12320 # Find who we are. Look in the path if we contain no path at all
12321 # relative or not.
12322 case $0 in
12323 *[\\/]* ) as_myself=$0 ;;
12324 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12325 for as_dir in $PATH
12326 do
12327 IFS=$as_save_IFS
12328 test -z "$as_dir" && as_dir=.
12329 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12330 done
12331
12332 ;;
12333 esac
12334 # We did not find ourselves, most probably we were run as `sh COMMAND'
12335 # in which case we are not to be found in the path.
12336 if test "x$as_myself" = x; then
12337 as_myself=$0
12338 fi
12339 if test ! -f "$as_myself"; then
12340 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12341 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12342 { (exit 1); exit 1; }; }
12343 fi
12344 case $CONFIG_SHELL in
12345 '')
12346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12347 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12348 do
12349 IFS=$as_save_IFS
12350 test -z "$as_dir" && as_dir=.
12351 for as_base in sh bash ksh sh5; do
12352 case $as_dir in
12353 /*)
12354 if ("$as_dir/$as_base" -c '
12355 as_lineno_1=$LINENO
12356 as_lineno_2=$LINENO
12357 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12358 test "x$as_lineno_1" != "x$as_lineno_2" &&
12359 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12360 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12361 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12362 CONFIG_SHELL=$as_dir/$as_base
12363 export CONFIG_SHELL
12364 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12365 fi;;
12366 esac
12367 done
12368 done
12369 ;;
12370 esac
12371
12372 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12373 # uniformly replaced by the line number. The first 'sed' inserts a
12374 # line-number line before each line; the second 'sed' does the real
12375 # work. The second script uses 'N' to pair each line-number line
12376 # with the numbered line, and appends trailing '-' during
12377 # substitution so that $LINENO is not a special case at line end.
12378 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12379 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12380 sed '=' <$as_myself |
12381 sed '
12382 N
12383 s,$,-,
12384 : loop
12385 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12386 t loop
12387 s,-$,,
12388 s,^['$as_cr_digits']*\n,,
12389 ' >$as_me.lineno &&
12390 chmod +x $as_me.lineno ||
12391 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12392 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12393 { (exit 1); exit 1; }; }
12394
12395 # Don't try to exec as it changes $[0], causing all sort of problems
12396 # (the dirname of $[0] is not the place where we might find the
12397 # original and so on. Autoconf is especially sensible to this).
12398 . ./$as_me.lineno
12399 # Exit status is that of the last command.
12400 exit
12401 }
12402
12403
12404 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12405 *c*,-n*) ECHO_N= ECHO_C='
12406 ' ECHO_T=' ' ;;
12407 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12408 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12409 esac
12410
12411 if expr a : '\(a\)' >/dev/null 2>&1; then
12412 as_expr=expr
12413 else
12414 as_expr=false
12415 fi
12416
12417 rm -f conf$$ conf$$.exe conf$$.file
12418 echo >conf$$.file
12419 if ln -s conf$$.file conf$$ 2>/dev/null; then
12420 # We could just check for DJGPP; but this test a) works b) is more generic
12421 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12422 if test -f conf$$.exe; then
12423 # Don't use ln at all; we don't have any links
12424 as_ln_s='cp -p'
12425 else
12426 as_ln_s='ln -s'
12427 fi
12428 elif ln conf$$.file conf$$ 2>/dev/null; then
12429 as_ln_s=ln
12430 else
12431 as_ln_s='cp -p'
12432 fi
12433 rm -f conf$$ conf$$.exe conf$$.file
12434
12435 if mkdir -p . 2>/dev/null; then
12436 as_mkdir_p=:
12437 else
12438 test -d ./-p && rmdir ./-p
12439 as_mkdir_p=false
12440 fi
12441
12442 as_executable_p="test -f"
12443
12444 # Sed expression to map a string onto a valid CPP name.
12445 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12446
12447 # Sed expression to map a string onto a valid variable name.
12448 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12449
12450
12451 # IFS
12452 # We need space, tab and new line, in precisely that order.
12453 as_nl='
12454 '
12455 IFS=" $as_nl"
12456
12457 # CDPATH.
12458 $as_unset CDPATH
12459
12460 exec 6>&1
12461
12462 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12463 # report actual input values of CONFIG_FILES etc. instead of their
12464 # values after options handling. Logging --version etc. is OK.
12465 exec 5>>config.log
12466 {
12467 echo
12468 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
12469 @%:@@%:@ Running $as_me. @%:@@%:@
12470 _ASBOX
12471 } >&5
12472 cat >&5 <<_CSEOF
12473
12474 This file was extended by gtkwave $as_me 3.3.23, which was
12475 generated by GNU Autoconf 2.59. Invocation command line was
12476
12477 CONFIG_FILES = $CONFIG_FILES
12478 CONFIG_HEADERS = $CONFIG_HEADERS
12479 CONFIG_LINKS = $CONFIG_LINKS
12480 CONFIG_COMMANDS = $CONFIG_COMMANDS
12481 $ $0 $@
12482
12483 _CSEOF
12484 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12485 echo >&5
12486 _ACEOF
12487
12488 # Files that config.status was made for.
12489 if test -n "$ac_config_files"; then
12490 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12491 fi
12492
12493 if test -n "$ac_config_headers"; then
12494 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12495 fi
12496
12497 if test -n "$ac_config_links"; then
12498 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12499 fi
12500
12501 if test -n "$ac_config_commands"; then
12502 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12503 fi
12504
12505 cat >>$CONFIG_STATUS <<\_ACEOF
12506
12507 ac_cs_usage="\
12508 \`$as_me' instantiates files from templates according to the
12509 current configuration.
12510
12511 Usage: $0 [OPTIONS] [FILE]...
12512
12513 -h, --help print this help, then exit
12514 -V, --version print version number, then exit
12515 -q, --quiet do not print progress messages
12516 -d, --debug don't remove temporary files
12517 --recheck update $as_me by reconfiguring in the same conditions
12518 --file=FILE[:TEMPLATE]
12519 instantiate the configuration file FILE
12520 --header=FILE[:TEMPLATE]
12521 instantiate the configuration header FILE
12522
12523 Configuration files:
12524 $config_files
12525
12526 Configuration headers:
12527 $config_headers
12528
12529 Configuration commands:
12530 $config_commands
12531
12532 Report bugs to <bug-autoconf@gnu.org>."
12533 _ACEOF
12534
12535 cat >>$CONFIG_STATUS <<_ACEOF
12536 ac_cs_version="\\
12537 gtkwave config.status 3.3.23
12538 configured by $0, generated by GNU Autoconf 2.59,
12539 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12540
12541 Copyright (C) 2003 Free Software Foundation, Inc.
12542 This config.status script is free software; the Free Software Foundation
12543 gives unlimited permission to copy, distribute and modify it."
12544 srcdir=$srcdir
12545 INSTALL="$INSTALL"
12546 _ACEOF
12547
12548 cat >>$CONFIG_STATUS <<\_ACEOF
12549 # If no file are specified by the user, then we need to provide default
12550 # value. By we need to know if files were specified by the user.
12551 ac_need_defaults=:
12552 while test $# != 0
12553 do
12554 case $1 in
12555 --*=*)
12556 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12557 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12558 ac_shift=:
12559 ;;
12560 -*)
12561 ac_option=$1
12562 ac_optarg=$2
12563 ac_shift=shift
12564 ;;
12565 *) # This is not an option, so the user has probably given explicit
12566 # arguments.
12567 ac_option=$1
12568 ac_need_defaults=false;;
12569 esac
12570
12571 case $ac_option in
12572 # Handling of the options.
12573 _ACEOF
12574 cat >>$CONFIG_STATUS <<\_ACEOF
12575 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12576 ac_cs_recheck=: ;;
12577 --version | --vers* | -V )
12578 echo "$ac_cs_version"; exit 0 ;;
12579 --he | --h)
12580 # Conflict between --help and --header
12581 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12582 Try \`$0 --help' for more information." >&5
12583 echo "$as_me: error: ambiguous option: $1
12584 Try \`$0 --help' for more information." >&2;}
12585 { (exit 1); exit 1; }; };;
12586 --help | --hel | -h )
12587 echo "$ac_cs_usage"; exit 0 ;;
12588 --debug | --d* | -d )
12589 debug=: ;;
12590 --file | --fil | --fi | --f )
12591 $ac_shift
12592 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12593 ac_need_defaults=false;;
12594 --header | --heade | --head | --hea )
12595 $ac_shift
12596 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12597 ac_need_defaults=false;;
12598 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12599 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12600 ac_cs_silent=: ;;
12601
12602 # This is an error.
12603 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12604 Try \`$0 --help' for more information." >&5
12605 echo "$as_me: error: unrecognized option: $1
12606 Try \`$0 --help' for more information." >&2;}
12607 { (exit 1); exit 1; }; } ;;
12608
12609 *) ac_config_targets="$ac_config_targets $1" ;;
12610
12611 esac
12612 shift
12613 done
12614
12615 ac_configure_extra_args=
12616
12617 if $ac_cs_silent; then
12618 exec 6>/dev/null
12619 ac_configure_extra_args="$ac_configure_extra_args --silent"
12620 fi
12621
12622 _ACEOF
12623 cat >>$CONFIG_STATUS <<_ACEOF
12624 if \$ac_cs_recheck; then
12625 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12626 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12627 fi
12628
12629 _ACEOF
12630
12631 cat >>$CONFIG_STATUS <<_ACEOF
12632 #
12633 # INIT-COMMANDS section.
12634 #
12635
12636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12637
12638 _ACEOF
12639
12640
12641
12642 cat >>$CONFIG_STATUS <<\_ACEOF
12643 for ac_config_target in $ac_config_targets
12644 do
12645 case "$ac_config_target" in
12646 # Handling of arguments.
12647 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12648 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12649 "contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
12650 "contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile" ;;
12651 "contrib/pccts/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/Makefile" ;;
12652 "contrib/pccts/antlr/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/antlr/Makefile" ;;
12653 "contrib/pccts/dlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/dlg/Makefile" ;;
12654 "contrib/pccts/h/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/h/Makefile" ;;
12655 "contrib/pccts/sorcerer/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/Makefile" ;;
12656 "contrib/pccts/sorcerer/h/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/h/Makefile" ;;
12657 "contrib/pccts/sorcerer/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/lib/Makefile" ;;
12658 "contrib/pccts/sorcerer/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/Makefile" ;;
12659 "contrib/pccts/sorcerer/test/test7/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/test7/Makefile" ;;
12660 "contrib/pccts/sorcerer/testcpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/testcpp/Makefile" ;;
12661 "contrib/pccts/support/DECmms/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/DECmms/Makefile" ;;
12662 "contrib/pccts/support/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/Makefile" ;;
12663 "contrib/pccts/support/genmk/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/genmk/Makefile" ;;
12664 "contrib/pccts/support/rexpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/rexpr/Makefile" ;;
12665 "contrib/pccts/support/set/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/set/Makefile" ;;
12666 "contrib/pccts/support/sym/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/sym/Makefile" ;;
12667 "contrib/pccts/testcpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/testcpp/Makefile" ;;
12668 "contrib/rtlbrowse/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/rtlbrowse/Makefile" ;;
12669 "contrib/vermin/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/vermin/Makefile" ;;
12670 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
12671 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
12672 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12673 "src/helpers/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/helpers/Makefile" ;;
12674 "src/liblzma/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/liblzma/Makefile" ;;
12675 "src/libbz2/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libbz2/Makefile" ;;
12676 "src/libz/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libz/Makefile" ;;
12677 "src/helpers/fst/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/helpers/fst/Makefile" ;;
12678 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12679 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12680 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12681 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12682 { (exit 1); exit 1; }; };;
12683 esac
12684 done
12685
12686 # If the user did not use the arguments to specify the items to instantiate,
12687 # then the envvar interface is used. Set only those that are not.
12688 # We use the long form for the default assignment because of an extremely
12689 # bizarre bug on SunOS 4.1.3.
12690 if $ac_need_defaults; then
12691 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12692 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12693 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12694 fi
12695
12696 # Have a temporary directory for convenience. Make it in the build tree
12697 # simply because there is no reason to put it here, and in addition,
12698 # creating and moving files from /tmp can sometimes cause problems.
12699 # Create a temporary directory, and hook for its removal unless debugging.
12700 $debug ||
12701 {
12702 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12703 trap '{ (exit 1); exit 1; }' 1 2 13 15
12704 }
12705
12706 # Create a (secure) tmp directory for tmp files.
12707
12708 {
12709 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12710 test -n "$tmp" && test -d "$tmp"
12711 } ||
12712 {
12713 tmp=./confstat$$-$RANDOM
12714 (umask 077 && mkdir $tmp)
12715 } ||
12716 {
12717 echo "$me: cannot create a temporary directory in ." >&2
12718 { (exit 1); exit 1; }
12719 }
12720
12721 _ACEOF
12722
12723 cat >>$CONFIG_STATUS <<_ACEOF
12724
12725 #
12726 # CONFIG_FILES section.
12727 #
12728
12729 # No need to generate the scripts if there are no CONFIG_FILES.
12730 # This happens for instance when ./config.status config.h
12731 if test -n "\$CONFIG_FILES"; then
12732 # Protect against being on the right side of a sed subst in config.status.
12733 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12734 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12735 s,@SHELL@,$SHELL,;t t
12736 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12737 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12738 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12739 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12740 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12741 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12742 s,@exec_prefix@,$exec_prefix,;t t
12743 s,@prefix@,$prefix,;t t
12744 s,@program_transform_name@,$program_transform_name,;t t
12745 s,@bindir@,$bindir,;t t
12746 s,@sbindir@,$sbindir,;t t
12747 s,@libexecdir@,$libexecdir,;t t
12748 s,@datadir@,$datadir,;t t
12749 s,@sysconfdir@,$sysconfdir,;t t
12750 s,@sharedstatedir@,$sharedstatedir,;t t
12751 s,@localstatedir@,$localstatedir,;t t
12752 s,@libdir@,$libdir,;t t
12753 s,@includedir@,$includedir,;t t
12754 s,@oldincludedir@,$oldincludedir,;t t
12755 s,@infodir@,$infodir,;t t
12756 s,@mandir@,$mandir,;t t
12757 s,@build_alias@,$build_alias,;t t
12758 s,@host_alias@,$host_alias,;t t
12759 s,@target_alias@,$target_alias,;t t
12760 s,@DEFS@,$DEFS,;t t
12761 s,@ECHO_C@,$ECHO_C,;t t
12762 s,@ECHO_N@,$ECHO_N,;t t
12763 s,@ECHO_T@,$ECHO_T,;t t
12764 s,@LIBS@,$LIBS,;t t
12765 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12766 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12767 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12768 s,@CYGPATH_W@,$CYGPATH_W,;t t
12769 s,@PACKAGE@,$PACKAGE,;t t
12770 s,@VERSION@,$VERSION,;t t
12771 s,@ACLOCAL@,$ACLOCAL,;t t
12772 s,@AUTOCONF@,$AUTOCONF,;t t
12773 s,@AUTOMAKE@,$AUTOMAKE,;t t
12774 s,@AUTOHEADER@,$AUTOHEADER,;t t
12775 s,@MAKEINFO@,$MAKEINFO,;t t
12776 s,@install_sh@,$install_sh,;t t
12777 s,@STRIP@,$STRIP,;t t
12778 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12779 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12780 s,@mkdir_p@,$mkdir_p,;t t
12781 s,@AWK@,$AWK,;t t
12782 s,@SET_MAKE@,$SET_MAKE,;t t
12783 s,@am__leading_dot@,$am__leading_dot,;t t
12784 s,@AMTAR@,$AMTAR,;t t
12785 s,@am__tar@,$am__tar,;t t
12786 s,@am__untar@,$am__untar,;t t
12787 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12788 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12789 s,@MAINT@,$MAINT,;t t
12790 s,@INLINE_ASM@,$INLINE_ASM,;t t
12791 s,@STRUCT_PACK@,$STRUCT_PACK,;t t
12792 s,@TCL_INCLUDE_SPEC@,$TCL_INCLUDE_SPEC,;t t
12793 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
12794 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
12795 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
12796 s,@TK_INCLUDE_SPEC@,$TK_INCLUDE_SPEC,;t t
12797 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
12798 s,@AET2_CFLAGS@,$AET2_CFLAGS,;t t
12799 s,@AET2_LDADD@,$AET2_LDADD,;t t
12800 s,@CC@,$CC,;t t
12801 s,@CFLAGS@,$CFLAGS,;t t
12802 s,@LDFLAGS@,$LDFLAGS,;t t
12803 s,@CPPFLAGS@,$CPPFLAGS,;t t
12804 s,@ac_ct_CC@,$ac_ct_CC,;t t
12805 s,@EXEEXT@,$EXEEXT,;t t
12806 s,@OBJEXT@,$OBJEXT,;t t
12807 s,@DEPDIR@,$DEPDIR,;t t
12808 s,@am__include@,$am__include,;t t
12809 s,@am__quote@,$am__quote,;t t
12810 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12811 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12812 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12813 s,@CCDEPMODE@,$CCDEPMODE,;t t
12814 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12815 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12816 s,@LEX@,$LEX,;t t
12817 s,@LEXLIB@,$LEXLIB,;t t
12818 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
12819 s,@RANLIB@,$RANLIB,;t t
12820 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12821 s,@EXTDEBUG@,$EXTDEBUG,;t t
12822 s,@EXTLOAD_CFLAGS@,$EXTLOAD_CFLAGS,;t t
12823 s,@GPERF@,$GPERF,;t t
12824 s,@LIBZ_CFLAGS@,$LIBZ_CFLAGS,;t t
12825 s,@LIBZ_LDADD@,$LIBZ_LDADD,;t t
12826 s,@LIBZ_DIR@,$LIBZ_DIR,;t t
12827 s,@LIBBZ2_CFLAGS@,$LIBBZ2_CFLAGS,;t t
12828 s,@LIBBZ2_LDADD@,$LIBBZ2_LDADD,;t t
12829 s,@LIBBZ2_DIR@,$LIBBZ2_DIR,;t t
12830 s,@LIBXZ_LDADD@,$LIBXZ_LDADD,;t t
12831 s,@LIBXZ_CFLAGS@,$LIBXZ_CFLAGS,;t t
12832 s,@FASTTREE_CFLAGS@,$FASTTREE_CFLAGS,;t t
12833 s,@LIBJUDY_LDADD@,$LIBJUDY_LDADD,;t t
12834 s,@LIBJUDY_CFLAGS@,$LIBJUDY_CFLAGS,;t t
12835 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
12836 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
12837 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
12838 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
12839 s,@GTK_LIBS@,$GTK_LIBS,;t t
12840 s,@ALLOCA@,$ALLOCA,;t t
12841 s,@CPP@,$CPP,;t t
12842 s,@EGREP@,$EGREP,;t t
12843 s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
12844 s,@POW_LIB@,$POW_LIB,;t t
12845 s,@TCL_LDADD@,$TCL_LDADD,;t t
12846 s,@TCL_DEFADD@,$TCL_DEFADD,;t t
12847 s,@TK_LDADD@,$TK_LDADD,;t t
12848 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12849 CEOF
12850
12851 _ACEOF
12852
12853 cat >>$CONFIG_STATUS <<\_ACEOF
12854 # Split the substitutions into bite-sized pieces for seds with
12855 # small command number limits, like on Digital OSF/1 and HP-UX.
12856 ac_max_sed_lines=48
12857 ac_sed_frag=1 # Number of current file.
12858 ac_beg=1 # First line for current file.
12859 ac_end=$ac_max_sed_lines # Line after last line for current file.
12860 ac_more_lines=:
12861 ac_sed_cmds=
12862 while $ac_more_lines; do
12863 if test $ac_beg -gt 1; then
12864 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12865 else
12866 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12867 fi
12868 if test ! -s $tmp/subs.frag; then
12869 ac_more_lines=false
12870 else
12871 # The purpose of the label and of the branching condition is to
12872 # speed up the sed processing (if there are no `@' at all, there
12873 # is no need to browse any of the substitutions).
12874 # These are the two extra sed commands mentioned above.
12875 (echo ':t
12876 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12877 if test -z "$ac_sed_cmds"; then
12878 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12879 else
12880 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12881 fi
12882 ac_sed_frag=`expr $ac_sed_frag + 1`
12883 ac_beg=$ac_end
12884 ac_end=`expr $ac_end + $ac_max_sed_lines`
12885 fi
12886 done
12887 if test -z "$ac_sed_cmds"; then
12888 ac_sed_cmds=cat
12889 fi
12890 fi # test -n "$CONFIG_FILES"
12891
12892 _ACEOF
12893 cat >>$CONFIG_STATUS <<\_ACEOF
12894 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12895 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12896 case $ac_file in
12897 - | *:- | *:-:* ) # input from stdin
12898 cat >$tmp/stdin
12899 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12900 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12901 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12902 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12903 * ) ac_file_in=$ac_file.in ;;
12904 esac
12905
12906 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12907 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12909 X"$ac_file" : 'X\(//\)[^/]' \| \
12910 X"$ac_file" : 'X\(//\)$' \| \
12911 X"$ac_file" : 'X\(/\)' \| \
12912 . : '\(.\)' 2>/dev/null ||
12913 echo X"$ac_file" |
12914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12915 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12916 /^X\(\/\/\)$/{ s//\1/; q; }
12917 /^X\(\/\).*/{ s//\1/; q; }
12918 s/.*/./; q'`
12919 { if $as_mkdir_p; then
12920 mkdir -p "$ac_dir"
12921 else
12922 as_dir="$ac_dir"
12923 as_dirs=
12924 while test ! -d "$as_dir"; do
12925 as_dirs="$as_dir $as_dirs"
12926 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12928 X"$as_dir" : 'X\(//\)[^/]' \| \
12929 X"$as_dir" : 'X\(//\)$' \| \
12930 X"$as_dir" : 'X\(/\)' \| \
12931 . : '\(.\)' 2>/dev/null ||
12932 echo X"$as_dir" |
12933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12934 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12935 /^X\(\/\/\)$/{ s//\1/; q; }
12936 /^X\(\/\).*/{ s//\1/; q; }
12937 s/.*/./; q'`
12938 done
12939 test ! -n "$as_dirs" || mkdir $as_dirs
12940 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12941 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12942 { (exit 1); exit 1; }; }; }
12943
12944 ac_builddir=.
12945
12946 if test "$ac_dir" != .; then
12947 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12948 # A "../" for each directory in $ac_dir_suffix.
12949 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12950 else
12951 ac_dir_suffix= ac_top_builddir=
12952 fi
12953
12954 case $srcdir in
12955 .) # No --srcdir option. We are building in place.
12956 ac_srcdir=.
12957 if test -z "$ac_top_builddir"; then
12958 ac_top_srcdir=.
12959 else
12960 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12961 fi ;;
12962 [\\/]* | ?:[\\/]* ) # Absolute path.
12963 ac_srcdir=$srcdir$ac_dir_suffix;
12964 ac_top_srcdir=$srcdir ;;
12965 *) # Relative path.
12966 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12967 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12968 esac
12969
12970 # Do not use `cd foo && pwd` to compute absolute paths, because
12971 # the directories may not exist.
12972 case `pwd` in
12973 .) ac_abs_builddir="$ac_dir";;
12974 *)
12975 case "$ac_dir" in
12976 .) ac_abs_builddir=`pwd`;;
12977 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12978 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12979 esac;;
12980 esac
12981 case $ac_abs_builddir in
12982 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12983 *)
12984 case ${ac_top_builddir}. in
12985 .) ac_abs_top_builddir=$ac_abs_builddir;;
12986 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12987 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12988 esac;;
12989 esac
12990 case $ac_abs_builddir in
12991 .) ac_abs_srcdir=$ac_srcdir;;
12992 *)
12993 case $ac_srcdir in
12994 .) ac_abs_srcdir=$ac_abs_builddir;;
12995 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12996 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12997 esac;;
12998 esac
12999 case $ac_abs_builddir in
13000 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13001 *)
13002 case $ac_top_srcdir in
13003 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13004 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13005 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13006 esac;;
13007 esac
13008
13009
13010 case $INSTALL in
13011 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13012 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13013 esac
13014
13015 if test x"$ac_file" != x-; then
13016 { echo "$as_me:$LINENO: creating $ac_file" >&5
13017 echo "$as_me: creating $ac_file" >&6;}
13018 rm -f "$ac_file"
13019 fi
13020 # Let's still pretend it is `configure' which instantiates (i.e., don't
13021 # use $as_me), people would be surprised to read:
13022 # /* config.h. Generated by config.status. */
13023 if test x"$ac_file" = x-; then
13024 configure_input=
13025 else
13026 configure_input="$ac_file. "
13027 fi
13028 configure_input=$configure_input"Generated from `echo $ac_file_in |
13029 sed 's,.*/,,'` by configure."
13030
13031 # First look for the input files in the build tree, otherwise in the
13032 # src tree.
13033 ac_file_inputs=`IFS=:
13034 for f in $ac_file_in; do
13035 case $f in
13036 -) echo $tmp/stdin ;;
13037 [\\/$]*)
13038 # Absolute (can't be DOS-style, as IFS=:)
13039 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13040 echo "$as_me: error: cannot find input file: $f" >&2;}
13041 { (exit 1); exit 1; }; }
13042 echo "$f";;
13043 *) # Relative
13044 if test -f "$f"; then
13045 # Build tree
13046 echo "$f"
13047 elif test -f "$srcdir/$f"; then
13048 # Source tree
13049 echo "$srcdir/$f"
13050 else
13051 # /dev/null tree
13052 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13053 echo "$as_me: error: cannot find input file: $f" >&2;}
13054 { (exit 1); exit 1; }; }
13055 fi;;
13056 esac
13057 done` || { (exit 1); exit 1; }
13058 _ACEOF
13059 cat >>$CONFIG_STATUS <<_ACEOF
13060 sed "$ac_vpsub
13061 $extrasub
13062 _ACEOF
13063 cat >>$CONFIG_STATUS <<\_ACEOF
13064 :t
13065 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13066 s,@configure_input@,$configure_input,;t t
13067 s,@srcdir@,$ac_srcdir,;t t
13068 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13069 s,@top_srcdir@,$ac_top_srcdir,;t t
13070 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13071 s,@builddir@,$ac_builddir,;t t
13072 s,@abs_builddir@,$ac_abs_builddir,;t t
13073 s,@top_builddir@,$ac_top_builddir,;t t
13074 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13075 s,@INSTALL@,$ac_INSTALL,;t t
13076 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13077 rm -f $tmp/stdin
13078 if test x"$ac_file" != x-; then
13079 mv $tmp/out $ac_file
13080 else
13081 cat $tmp/out
13082 rm -f $tmp/out
13083 fi
13084
13085 done
13086 _ACEOF
13087 cat >>$CONFIG_STATUS <<\_ACEOF
13088
13089 #
13090 # CONFIG_HEADER section.
13091 #
13092
13093 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13094 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13095 #
13096 # ac_d sets the value in "#define NAME VALUE" lines.
13097 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13098 ac_dB='[ ].*$,\1#\2'
13099 ac_dC=' '
13100 ac_dD=',;t'
13101 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13102 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13103 ac_uB='$,\1#\2define\3'
13104 ac_uC=' '
13105 ac_uD=',;t'
13106
13107 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13108 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13109 case $ac_file in
13110 - | *:- | *:-:* ) # input from stdin
13111 cat >$tmp/stdin
13112 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13113 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13114 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13115 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13116 * ) ac_file_in=$ac_file.in ;;
13117 esac
13118
13119 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13120 echo "$as_me: creating $ac_file" >&6;}
13121
13122 # First look for the input files in the build tree, otherwise in the
13123 # src tree.
13124 ac_file_inputs=`IFS=:
13125 for f in $ac_file_in; do
13126 case $f in
13127 -) echo $tmp/stdin ;;
13128 [\\/$]*)
13129 # Absolute (can't be DOS-style, as IFS=:)
13130 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13131 echo "$as_me: error: cannot find input file: $f" >&2;}
13132 { (exit 1); exit 1; }; }
13133 # Do quote $f, to prevent DOS paths from being IFS'd.
13134 echo "$f";;
13135 *) # Relative
13136 if test -f "$f"; then
13137 # Build tree
13138 echo "$f"
13139 elif test -f "$srcdir/$f"; then
13140 # Source tree
13141 echo "$srcdir/$f"
13142 else
13143 # /dev/null tree
13144 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13145 echo "$as_me: error: cannot find input file: $f" >&2;}
13146 { (exit 1); exit 1; }; }
13147 fi;;
13148 esac
13149 done` || { (exit 1); exit 1; }
13150 # Remove the trailing spaces.
13151 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13152
13153 _ACEOF
13154
13155 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13156 # `conftest.undefs', that substitutes the proper values into
13157 # config.h.in to produce config.h. The first handles `#define'
13158 # templates, and the second `#undef' templates.
13159 # And first: Protect against being on the right side of a sed subst in
13160 # config.status. Protect against being in an unquoted here document
13161 # in config.status.
13162 rm -f conftest.defines conftest.undefs
13163 # Using a here document instead of a string reduces the quoting nightmare.
13164 # Putting comments in sed scripts is not portable.
13165 #
13166 # `end' is used to avoid that the second main sed command (meant for
13167 # 0-ary CPP macros) applies to n-ary macro definitions.
13168 # See the Autoconf documentation for `clear'.
13169 cat >confdef2sed.sed <<\_ACEOF
13170 s/[\\&,]/\\&/g
13171 s,[\\$`],\\&,g
13172 t clear
13173 : clear
13174 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13175 t end
13176 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13177 : end
13178 _ACEOF
13179 # If some macros were called several times there might be several times
13180 # the same #defines, which is useless. Nevertheless, we may not want to
13181 # sort them, since we want the *last* AC-DEFINE to be honored.
13182 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13183 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13184 rm -f confdef2sed.sed
13185
13186 # This sed command replaces #undef with comments. This is necessary, for
13187 # example, in the case of _POSIX_SOURCE, which is predefined and required
13188 # on some systems where configure will not decide to define it.
13189 cat >>conftest.undefs <<\_ACEOF
13190 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13191 _ACEOF
13192
13193 # Break up conftest.defines because some shells have a limit on the size
13194 # of here documents, and old seds have small limits too (100 cmds).
13195 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13196 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13197 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13198 echo ' :' >>$CONFIG_STATUS
13199 rm -f conftest.tail
13200 while grep . conftest.defines >/dev/null
13201 do
13202 # Write a limited-size here document to $tmp/defines.sed.
13203 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13204 # Speed up: don't consider the non `#define' lines.
13205 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13206 # Work around the forget-to-reset-the-flag bug.
13207 echo 't clr' >>$CONFIG_STATUS
13208 echo ': clr' >>$CONFIG_STATUS
13209 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13210 echo 'CEOF
13211 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13212 rm -f $tmp/in
13213 mv $tmp/out $tmp/in
13214 ' >>$CONFIG_STATUS
13215 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13216 rm -f conftest.defines
13217 mv conftest.tail conftest.defines
13218 done
13219 rm -f conftest.defines
13220 echo ' fi # grep' >>$CONFIG_STATUS
13221 echo >>$CONFIG_STATUS
13222
13223 # Break up conftest.undefs because some shells have a limit on the size
13224 # of here documents, and old seds have small limits too (100 cmds).
13225 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13226 rm -f conftest.tail
13227 while grep . conftest.undefs >/dev/null
13228 do
13229 # Write a limited-size here document to $tmp/undefs.sed.
13230 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13231 # Speed up: don't consider the non `#undef'
13232 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13233 # Work around the forget-to-reset-the-flag bug.
13234 echo 't clr' >>$CONFIG_STATUS
13235 echo ': clr' >>$CONFIG_STATUS
13236 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13237 echo 'CEOF
13238 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13239 rm -f $tmp/in
13240 mv $tmp/out $tmp/in
13241 ' >>$CONFIG_STATUS
13242 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13243 rm -f conftest.undefs
13244 mv conftest.tail conftest.undefs
13245 done
13246 rm -f conftest.undefs
13247
13248 cat >>$CONFIG_STATUS <<\_ACEOF
13249 # Let's still pretend it is `configure' which instantiates (i.e., don't
13250 # use $as_me), people would be surprised to read:
13251 # /* config.h. Generated by config.status. */
13252 if test x"$ac_file" = x-; then
13253 echo "/* Generated by configure. */" >$tmp/config.h
13254 else
13255 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13256 fi
13257 cat $tmp/in >>$tmp/config.h
13258 rm -f $tmp/in
13259 if test x"$ac_file" != x-; then
13260 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13261 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13262 echo "$as_me: $ac_file is unchanged" >&6;}
13263 else
13264 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13265 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13266 X"$ac_file" : 'X\(//\)[^/]' \| \
13267 X"$ac_file" : 'X\(//\)$' \| \
13268 X"$ac_file" : 'X\(/\)' \| \
13269 . : '\(.\)' 2>/dev/null ||
13270 echo X"$ac_file" |
13271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13273 /^X\(\/\/\)$/{ s//\1/; q; }
13274 /^X\(\/\).*/{ s//\1/; q; }
13275 s/.*/./; q'`
13276 { if $as_mkdir_p; then
13277 mkdir -p "$ac_dir"
13278 else
13279 as_dir="$ac_dir"
13280 as_dirs=
13281 while test ! -d "$as_dir"; do
13282 as_dirs="$as_dir $as_dirs"
13283 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13285 X"$as_dir" : 'X\(//\)[^/]' \| \
13286 X"$as_dir" : 'X\(//\)$' \| \
13287 X"$as_dir" : 'X\(/\)' \| \
13288 . : '\(.\)' 2>/dev/null ||
13289 echo X"$as_dir" |
13290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13291 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13292 /^X\(\/\/\)$/{ s//\1/; q; }
13293 /^X\(\/\).*/{ s//\1/; q; }
13294 s/.*/./; q'`
13295 done
13296 test ! -n "$as_dirs" || mkdir $as_dirs
13297 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13298 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13299 { (exit 1); exit 1; }; }; }
13300
13301 rm -f $ac_file
13302 mv $tmp/config.h $ac_file
13303 fi
13304 else
13305 cat $tmp/config.h
13306 rm -f $tmp/config.h
13307 fi
13308 # Compute $ac_file's index in $config_headers.
13309 _am_stamp_count=1
13310 for _am_header in $config_headers :; do
13311 case $_am_header in
13312 $ac_file | $ac_file:* )
13313 break ;;
13314 * )
13315 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13316 esac
13317 done
13318 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13319 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13320 X$ac_file : 'X\(//\)[^/]' \| \
13321 X$ac_file : 'X\(//\)$' \| \
13322 X$ac_file : 'X\(/\)' \| \
13323 . : '\(.\)' 2>/dev/null ||
13324 echo X$ac_file |
13325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13327 /^X\(\/\/\)$/{ s//\1/; q; }
13328 /^X\(\/\).*/{ s//\1/; q; }
13329 s/.*/./; q'`/stamp-h$_am_stamp_count
13330 done
13331 _ACEOF
13332 cat >>$CONFIG_STATUS <<\_ACEOF
13333
13334 #
13335 # CONFIG_COMMANDS section.
13336 #
13337 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13338 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13339 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13340 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13341 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13342 X"$ac_dest" : 'X\(//\)[^/]' \| \
13343 X"$ac_dest" : 'X\(//\)$' \| \
13344 X"$ac_dest" : 'X\(/\)' \| \
13345 . : '\(.\)' 2>/dev/null ||
13346 echo X"$ac_dest" |
13347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13348 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13349 /^X\(\/\/\)$/{ s//\1/; q; }
13350 /^X\(\/\).*/{ s//\1/; q; }
13351 s/.*/./; q'`
13352 { if $as_mkdir_p; then
13353 mkdir -p "$ac_dir"
13354 else
13355 as_dir="$ac_dir"
13356 as_dirs=
13357 while test ! -d "$as_dir"; do
13358 as_dirs="$as_dir $as_dirs"
13359 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13361 X"$as_dir" : 'X\(//\)[^/]' \| \
13362 X"$as_dir" : 'X\(//\)$' \| \
13363 X"$as_dir" : 'X\(/\)' \| \
13364 . : '\(.\)' 2>/dev/null ||
13365 echo X"$as_dir" |
13366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13368 /^X\(\/\/\)$/{ s//\1/; q; }
13369 /^X\(\/\).*/{ s//\1/; q; }
13370 s/.*/./; q'`
13371 done
13372 test ! -n "$as_dirs" || mkdir $as_dirs
13373 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13374 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13375 { (exit 1); exit 1; }; }; }
13376
13377 ac_builddir=.
13378
13379 if test "$ac_dir" != .; then
13380 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13381 # A "../" for each directory in $ac_dir_suffix.
13382 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13383 else
13384 ac_dir_suffix= ac_top_builddir=
13385 fi
13386
13387 case $srcdir in
13388 .) # No --srcdir option. We are building in place.
13389 ac_srcdir=.
13390 if test -z "$ac_top_builddir"; then
13391 ac_top_srcdir=.
13392 else
13393 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13394 fi ;;
13395 [\\/]* | ?:[\\/]* ) # Absolute path.
13396 ac_srcdir=$srcdir$ac_dir_suffix;
13397 ac_top_srcdir=$srcdir ;;
13398 *) # Relative path.
13399 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13400 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13401 esac
13402
13403 # Do not use `cd foo && pwd` to compute absolute paths, because
13404 # the directories may not exist.
13405 case `pwd` in
13406 .) ac_abs_builddir="$ac_dir";;
13407 *)
13408 case "$ac_dir" in
13409 .) ac_abs_builddir=`pwd`;;
13410 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13411 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13412 esac;;
13413 esac
13414 case $ac_abs_builddir in
13415 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13416 *)
13417 case ${ac_top_builddir}. in
13418 .) ac_abs_top_builddir=$ac_abs_builddir;;
13419 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13420 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13421 esac;;
13422 esac
13423 case $ac_abs_builddir in
13424 .) ac_abs_srcdir=$ac_srcdir;;
13425 *)
13426 case $ac_srcdir in
13427 .) ac_abs_srcdir=$ac_abs_builddir;;
13428 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13429 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13430 esac;;
13431 esac
13432 case $ac_abs_builddir in
13433 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13434 *)
13435 case $ac_top_srcdir in
13436 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13437 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13438 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13439 esac;;
13440 esac
13441
13442
13443 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13444 echo "$as_me: executing $ac_dest commands" >&6;}
13445 case $ac_dest in
13446 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13447 # Strip MF so we end up with the name of the file.
13448 mf=`echo "$mf" | sed -e 's/:.*$//'`
13449 # Check whether this is an Automake generated Makefile or not.
13450 # We used to match only the files named `Makefile.in', but
13451 # some people rename them; so instead we look at the file content.
13452 # Grep'ing the first line is not enough: some people post-process
13453 # each Makefile.in and add a new line on top of each file to say so.
13454 # So let's grep whole file.
13455 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13456 dirpart=`(dirname "$mf") 2>/dev/null ||
13457 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13458 X"$mf" : 'X\(//\)[^/]' \| \
13459 X"$mf" : 'X\(//\)$' \| \
13460 X"$mf" : 'X\(/\)' \| \
13461 . : '\(.\)' 2>/dev/null ||
13462 echo X"$mf" |
13463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13465 /^X\(\/\/\)$/{ s//\1/; q; }
13466 /^X\(\/\).*/{ s//\1/; q; }
13467 s/.*/./; q'`
13468 else
13469 continue
13470 fi
13471 # Extract the definition of DEPDIR, am__include, and am__quote
13472 # from the Makefile without running `make'.
13473 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13474 test -z "$DEPDIR" && continue
13475 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13476 test -z "am__include" && continue
13477 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13478 # When using ansi2knr, U may be empty or an underscore; expand it
13479 U=`sed -n 's/^U = //p' < "$mf"`
13480 # Find all dependency output files, they are included files with
13481 # $(DEPDIR) in their names. We invoke sed twice because it is the
13482 # simplest approach to changing $(DEPDIR) to its actual value in the
13483 # expansion.
13484 for file in `sed -n "
13485 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13486 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13487 # Make sure the directory exists.
13488 test -f "$dirpart/$file" && continue
13489 fdir=`(dirname "$file") 2>/dev/null ||
13490 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13491 X"$file" : 'X\(//\)[^/]' \| \
13492 X"$file" : 'X\(//\)$' \| \
13493 X"$file" : 'X\(/\)' \| \
13494 . : '\(.\)' 2>/dev/null ||
13495 echo X"$file" |
13496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13498 /^X\(\/\/\)$/{ s//\1/; q; }
13499 /^X\(\/\).*/{ s//\1/; q; }
13500 s/.*/./; q'`
13501 { if $as_mkdir_p; then
13502 mkdir -p $dirpart/$fdir
13503 else
13504 as_dir=$dirpart/$fdir
13505 as_dirs=
13506 while test ! -d "$as_dir"; do
13507 as_dirs="$as_dir $as_dirs"
13508 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13509 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13510 X"$as_dir" : 'X\(//\)[^/]' \| \
13511 X"$as_dir" : 'X\(//\)$' \| \
13512 X"$as_dir" : 'X\(/\)' \| \
13513 . : '\(.\)' 2>/dev/null ||
13514 echo X"$as_dir" |
13515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13517 /^X\(\/\/\)$/{ s//\1/; q; }
13518 /^X\(\/\).*/{ s//\1/; q; }
13519 s/.*/./; q'`
13520 done
13521 test ! -n "$as_dirs" || mkdir $as_dirs
13522 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13523 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13524 { (exit 1); exit 1; }; }; }
13525
13526 # echo "creating $dirpart/$file"
13527 echo '# dummy' > "$dirpart/$file"
13528 done
13529 done
13530 ;;
13531 esac
13532 done
13533 _ACEOF
13534
13535 cat >>$CONFIG_STATUS <<\_ACEOF
13536
13537 { (exit 0); exit 0; }
13538 _ACEOF
13539 chmod +x $CONFIG_STATUS
13540 ac_clean_files=$ac_clean_files_save
13541
13542
13543 # configure is writing to config.log, and then calls config.status.
13544 # config.status does its own redirection, appending to config.log.
13545 # Unfortunately, on DOS this fails, as config.log is still kept open
13546 # by configure, so config.status won't be able to write to it; its
13547 # output is simply discarded. So we exec the FD to /dev/null,
13548 # effectively closing config.log, so it can be properly (re)opened and
13549 # appended to by config.status. When coming back to configure, we
13550 # need to make the FD available again.
13551 if test "$no_create" != yes; then
13552 ac_cs_success=:
13553 ac_config_status_args=
13554 test "$silent" = yes &&
13555 ac_config_status_args="$ac_config_status_args --quiet"
13556 exec 5>/dev/null
13557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13558 exec 5>>config.log
13559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13560 # would make configure fail if this is the last instruction.
13561 $ac_cs_success || { (exit 1); exit 1; }
13562 fi
13563
13564
+0
-13969
autom4te.cache/output.1 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.59 for gtkwave 3.3.23.
3 @%:@
4 @%:@ Report bugs to <bybell@nc.rr.com>.
5 @%:@
6 @%:@ Copyright (C) 2003 Free Software Foundation, Inc.
7 @%:@ This configure script is free software; the Free Software Foundation
8 @%:@ gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22 fi
23 DUALCASE=1; export DUALCASE # for MKS sh
24
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27 as_unset=unset
28 else
29 as_unset=false
30 fi
31
32
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
35 PS1='$ '
36 PS2='> '
37 PS4='+ '
38
39 # NLS nuisances.
40 for as_var in \
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
43 LC_TELEPHONE LC_TIME
44 do
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
47 else
48 $as_unset $as_var
49 fi
50 done
51
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
54 as_expr=expr
55 else
56 as_expr=false
57 fi
58
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
60 as_basename=basename
61 else
62 as_basename=false
63 fi
64
65
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
72 echo X/"$0" |
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
76 s/.*/./; q'`
77
78
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
86
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
91 chmod +x conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93 PATH_SEPARATOR=';'
94 else
95 PATH_SEPARATOR=:
96 fi
97 rm -f conf$$.sh
98 fi
99
100
101 as_lineno_1=$LINENO
102 as_lineno_2=$LINENO
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
107 # relative or not.
108 case $0 in
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 for as_dir in $PATH
112 do
113 IFS=$as_save_IFS
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116 done
117
118 ;;
119 esac
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
123 as_myself=$0
124 fi
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
128 fi
129 case $CONFIG_SHELL in
130 '')
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 do
134 IFS=$as_save_IFS
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
137 case $as_dir in
138 /*)
139 if ("$as_dir/$as_base" -c '
140 as_lineno_1=$LINENO
141 as_lineno_2=$LINENO
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
148 export CONFIG_SHELL
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
150 fi;;
151 esac
152 done
153 done
154 ;;
155 esac
156
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
166 sed '
167 N
168 s,$,-,
169 : loop
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171 t loop
172 s,-$,,
173 s,^['$as_cr_digits']*\n,,
174 ' >$as_me.lineno &&
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
178
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
182 . ./$as_me.lineno
183 # Exit status is that of the last command.
184 exit
185 }
186
187
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
190 ' ECHO_T=' ' ;;
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
193 esac
194
195 if expr a : '\(a\)' >/dev/null 2>&1; then
196 as_expr=expr
197 else
198 as_expr=false
199 fi
200
201 rm -f conf$$ conf$$.exe conf$$.file
202 echo >conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
208 as_ln_s='cp -p'
209 else
210 as_ln_s='ln -s'
211 fi
212 elif ln conf$$.file conf$$ 2>/dev/null; then
213 as_ln_s=ln
214 else
215 as_ln_s='cp -p'
216 fi
217 rm -f conf$$ conf$$.exe conf$$.file
218
219 if mkdir -p . 2>/dev/null; then
220 as_mkdir_p=:
221 else
222 test -d ./-p && rmdir ./-p
223 as_mkdir_p=false
224 fi
225
226 as_executable_p="test -f"
227
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
233
234
235 # IFS
236 # We need space, tab and new line, in precisely that order.
237 as_nl='
238 '
239 IFS=" $as_nl"
240
241 # CDPATH.
242 $as_unset CDPATH
243
244
245 # Name of the host.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250 exec 6>&1
251
252 #
253 # Initializations.
254 #
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
257 cross_compiling=no
258 subdirs=
259 MFLAGS=
260 MAKEFLAGS=
261 SHELL=${CONFIG_SHELL-/bin/sh}
262
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
267
268 # Identity of this package.
269 PACKAGE_NAME='gtkwave'
270 PACKAGE_TARNAME='gtkwave'
271 PACKAGE_VERSION='3.3.23'
272 PACKAGE_STRING='gtkwave 3.3.23'
273 PACKAGE_BUGREPORT='bybell@nc.rr.com'
274
275 ac_unique_file="src/vcd.c"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
278 #include <stdio.h>
279 #if HAVE_SYS_TYPES_H
280 # include <sys/types.h>
281 #endif
282 #if HAVE_SYS_STAT_H
283 # include <sys/stat.h>
284 #endif
285 #if STDC_HEADERS
286 # include <stdlib.h>
287 # include <stddef.h>
288 #else
289 # if HAVE_STDLIB_H
290 # include <stdlib.h>
291 # endif
292 #endif
293 #if HAVE_STRING_H
294 # if !STDC_HEADERS && HAVE_MEMORY_H
295 # include <memory.h>
296 # endif
297 # include <string.h>
298 #endif
299 #if HAVE_STRINGS_H
300 # include <strings.h>
301 #endif
302 #if HAVE_INTTYPES_H
303 # include <inttypes.h>
304 #else
305 # if HAVE_STDINT_H
306 # include <stdint.h>
307 # endif
308 #endif
309 #if HAVE_UNISTD_H
310 # include <unistd.h>
311 #endif"
312
313 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 INLINE_ASM STRUCT_PACK TCL_VERSION TCL_PATCH_LEVEL TCL_BIN_DIR TCL_SRC_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_INCLUDE_SPEC TCL_MAJOR_VERSION TCL_MINOR_VERSION TK_VERSION TK_BIN_DIR TK_SRC_DIR TK_LIB_FILE TK_LIB_FLAG TK_LIB_SPEC TK_STUB_LIB_FILE TK_STUB_LIB_FLAG TK_STUB_LIB_SPEC TK_INCLUDE_SPEC AET2_CFLAGS AET2_LDADD 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 LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB EXTDEBUG EXTLOAD_CFLAGS GPERF LIBZ_CFLAGS LIBZ_LDADD LIBZ_DIR LIBBZ2_CFLAGS LIBBZ2_LDADD LIBBZ2_DIR LIBXZ_LDADD LIBXZ_CFLAGS FASTTREE_CFLAGS LIBJUDY_LDADD LIBJUDY_CFLAGS GTK_CONFIG PKG_CONFIG ac_pt_PKG_CONFIG GTK_CFLAGS GTK_LIBS ALLOCA CPP EGREP LIB@&t@OBJS POW_LIB TCL_LDADD TCL_DEFADD TK_LDADD LTLIBOBJS'
314 ac_subst_files=''
315
316 # Initialize some variables set by options.
317 ac_init_help=
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
321 cache_file=/dev/null
322 exec_prefix=NONE
323 no_create=
324 no_recursion=
325 prefix=NONE
326 program_prefix=NONE
327 program_suffix=NONE
328 program_transform_name=s,x,x,
329 silent=
330 site=
331 srcdir=
332 verbose=
333 x_includes=NONE
334 x_libraries=NONE
335
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
353
354 ac_prev=
355 for ac_option
356 do
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
360 ac_prev=
361 continue
362 fi
363
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
366 # Accept the important Cygnus configure options, so we can diagnose typos.
367
368 case $ac_option in
369
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 ac_prev=bindir ;;
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 bindir=$ac_optarg ;;
374
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
379
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
386
387 --config-cache | -C)
388 cache_file=config.cache ;;
389
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 ac_prev=datadir ;;
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 | --da=*)
394 datadir=$ac_optarg ;;
395
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
404
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 case $ac_option in
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 *) ac_optarg=yes ;;
415 esac
416 eval "enable_$ac_feature='$ac_optarg'" ;;
417
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
426
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
429 with_gas=yes ;;
430
431 -help | --help | --hel | --he | -h)
432 ac_init_help=long ;;
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
437
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
442
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
449
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 ac_prev=infodir ;;
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
454
455 -libdir | --libdir | --libdi | --libd)
456 ac_prev=libdir ;;
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 libdir=$ac_optarg ;;
459
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
466
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
475
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 ac_prev=mandir ;;
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
479 mandir=$ac_optarg ;;
480
481 -nfp | --nfp | --nf)
482 # Obsolete; use --without-fp.
483 with_fp=no ;;
484
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
487 no_create=yes ;;
488
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 no_recursion=yes ;;
492
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
501
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 ac_prev=prefix ;;
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 prefix=$ac_optarg ;;
506
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
513
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
520
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
537
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
540 silent=yes ;;
541
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 ac_prev=sbindir ;;
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 | --sbi=* | --sb=*)
546 sbindir=$ac_optarg ;;
547
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
551 | --sha | --sh)
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 | --sha=* | --sh=*)
557 sharedstatedir=$ac_optarg ;;
558
559 -site | --site | --sit)
560 ac_prev=site ;;
561 -site=* | --site=* | --sit=*)
562 site=$ac_optarg ;;
563
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 ac_prev=srcdir ;;
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 srcdir=$ac_optarg ;;
568
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
575
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
580
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 verbose=yes ;;
583
584 -version | --version | --versio | --versi | --vers | -V)
585 ac_init_version=: ;;
586
587 -with-* | --with-*)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 case $ac_option in
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 *) ac_optarg=yes ;;
597 esac
598 eval "with_$ac_package='$ac_optarg'" ;;
599
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
608
609 --x)
610 # Obsolete; use --with-x.
611 with_x=yes ;;
612
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
619
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
626
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
630 ;;
631
632 *=*)
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
640 export $ac_envvar ;;
641
642 *)
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648 ;;
649
650 esac
651 done
652
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
657 fi
658
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
661 do
662 eval ac_val=$`echo $ac_var`
663 case $ac_val in
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
667 esac
668 done
669
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
673 do
674 eval ac_val=$`echo $ac_var`
675 case $ac_val in
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
679 esac
680 done
681
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
685 build=$build_alias
686 host=$host_alias
687 target=$target_alias
688
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
696 cross_compiling=yes
697 fi
698 fi
699
700 ac_tool_prefix=
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
703 test "$silent" = yes && exec 6>/dev/null
704
705
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
716 echo X"$0" |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
721 s/.*/./; q'`
722 srcdir=$ac_confdir
723 if test ! -r $srcdir/$ac_unique_file; then
724 srcdir=..
725 fi
726 else
727 ac_srcdir_defaulted=no
728 fi
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
733 else
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
736 fi
737 fi
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
755 ac_env_CC_value=$CC
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
771 ac_env_PKG_CONFIG_value=$PKG_CONFIG
772 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
773 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
774 ac_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
775 ac_env_GTK_CFLAGS_value=$GTK_CFLAGS
776 ac_cv_env_GTK_CFLAGS_set=${GTK_CFLAGS+set}
777 ac_cv_env_GTK_CFLAGS_value=$GTK_CFLAGS
778 ac_env_GTK_LIBS_set=${GTK_LIBS+set}
779 ac_env_GTK_LIBS_value=$GTK_LIBS
780 ac_cv_env_GTK_LIBS_set=${GTK_LIBS+set}
781 ac_cv_env_GTK_LIBS_value=$GTK_LIBS
782 ac_env_CPP_set=${CPP+set}
783 ac_env_CPP_value=$CPP
784 ac_cv_env_CPP_set=${CPP+set}
785 ac_cv_env_CPP_value=$CPP
786
787 #
788 # Report the --help message.
789 #
790 if test "$ac_init_help" = "long"; then
791 # Omit some internal or obsolete options to make the list less imposing.
792 # This message is too long to be a string in the A/UX 3.1 sh.
793 cat <<_ACEOF
794 \`configure' configures gtkwave 3.3.23 to adapt to many kinds of systems.
795
796 Usage: $0 [OPTION]... [VAR=VALUE]...
797
798 To assign environment variables (e.g., CC, CFLAGS...), specify them as
799 VAR=VALUE. See below for descriptions of some of the useful variables.
800
801 Defaults for the options are specified in brackets.
802
803 Configuration:
804 -h, --help display this help and exit
805 --help=short display options specific to this package
806 --help=recursive display the short help of all the included packages
807 -V, --version display version information and exit
808 -q, --quiet, --silent do not print \`checking...' messages
809 --cache-file=FILE cache test results in FILE [disabled]
810 -C, --config-cache alias for \`--cache-file=config.cache'
811 -n, --no-create do not create output files
812 --srcdir=DIR find the sources in DIR [configure dir or \`..']
813
814 _ACEOF
815
816 cat <<_ACEOF
817 Installation directories:
818 --prefix=PREFIX install architecture-independent files in PREFIX
819 [$ac_default_prefix]
820 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
821 [PREFIX]
822
823 By default, \`make install' will install all the files in
824 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
825 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
826 for instance \`--prefix=\$HOME'.
827
828 For better control, use the options below.
829
830 Fine tuning of the installation directories:
831 --bindir=DIR user executables [EPREFIX/bin]
832 --sbindir=DIR system admin executables [EPREFIX/sbin]
833 --libexecdir=DIR program executables [EPREFIX/libexec]
834 --datadir=DIR read-only architecture-independent data [PREFIX/share]
835 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
836 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
837 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
838 --libdir=DIR object code libraries [EPREFIX/lib]
839 --includedir=DIR C header files [PREFIX/include]
840 --oldincludedir=DIR C header files for non-gcc [/usr/include]
841 --infodir=DIR info documentation [PREFIX/info]
842 --mandir=DIR man documentation [PREFIX/man]
843 _ACEOF
844
845 cat <<\_ACEOF
846
847 Program names:
848 --program-prefix=PREFIX prepend PREFIX to installed program names
849 --program-suffix=SUFFIX append SUFFIX to installed program names
850 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
851 _ACEOF
852 fi
853
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of gtkwave 3.3.23:";;
857 esac
858 cat <<\_ACEOF
859
860 Optional Features:
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --enable-maintainer-mode enable make rules and dependencies not useful
864 (and sometimes confusing) to the casual installer
865 --disable-inline-asm Disables usage of inline x86 assembly
866 --enable-struct-pack Enables C language structure packing pragmas
867 intended for use on architectures which support
868 misaligned loads and stores (x86/x86_64/AVR32/
869 M68K/PowerPC/S390). This can reduce memory on
870 traces with very many signals.
871 --disable-tcl Disables Tcl if found
872 --enable-stubify Causes the Tcl/Tk libraries to be dynamically loaded.
873 --enable-gtk1 Causes the GTK+ frontend to be built with gtk1
874 instead of gtk2.
875 --enable-fatlines Renders lines as double width in gtkwave.
876 --enable-ae2 Compiles in AE2 from env var SIMARAMA_BASE location.
877 --disable-dependency-tracking speeds up one-time build
878 --enable-dependency-tracking do not reject slow dependency extractors
879 --enable-local-libz Use the bundled libz instead of any libz which may
880 already be installed on your system. Default is to
881 first look for an installed libz and fall back to
882 using the bundled one.
883 --enable-local-libbz2 Use the bundled libbz2 instead of any libbz2 which may
884 already be installed on your system. Default is to
885 first look for an installed libbz2 and fall back to
886 using the bundled one.
887 --disable-xz Disables LZMA support for VZT
888 --disable-fasttree Disables experimental Fast SST Tree widget code
889 --enable-judy Enables Judy array support
890 --disable-largefile omit support for large files
891
892 Optional Packages:
893 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
894 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
895 --with-tcl directory containing tcl configuration
896 (tclConfig.sh)
897 --with-tk directory containing tk configuration (tkConfig.sh)
898
899 Some influential environment variables:
900 CC C compiler command
901 CFLAGS C compiler flags
902 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
903 nonstandard directory <lib dir>
904 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
905 headers in a nonstandard directory <include dir>
906 PKG_CONFIG path to pkg-config utility
907 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
908 GTK_LIBS linker flags for GTK, overriding pkg-config
909 CPP C preprocessor
910
911 Use these variables to override the choices made by `configure' or to help
912 it to find libraries and programs with nonstandard names/locations.
913
914 Report bugs to <bybell@nc.rr.com>.
915 _ACEOF
916 fi
917
918 if test "$ac_init_help" = "recursive"; then
919 # If there are subdirs, report their specific --help.
920 ac_popdir=`pwd`
921 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
922 test -d $ac_dir || continue
923 ac_builddir=.
924
925 if test "$ac_dir" != .; then
926 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
927 # A "../" for each directory in $ac_dir_suffix.
928 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
929 else
930 ac_dir_suffix= ac_top_builddir=
931 fi
932
933 case $srcdir in
934 .) # No --srcdir option. We are building in place.
935 ac_srcdir=.
936 if test -z "$ac_top_builddir"; then
937 ac_top_srcdir=.
938 else
939 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
940 fi ;;
941 [\\/]* | ?:[\\/]* ) # Absolute path.
942 ac_srcdir=$srcdir$ac_dir_suffix;
943 ac_top_srcdir=$srcdir ;;
944 *) # Relative path.
945 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
946 ac_top_srcdir=$ac_top_builddir$srcdir ;;
947 esac
948
949 # Do not use `cd foo && pwd` to compute absolute paths, because
950 # the directories may not exist.
951 case `pwd` in
952 .) ac_abs_builddir="$ac_dir";;
953 *)
954 case "$ac_dir" in
955 .) ac_abs_builddir=`pwd`;;
956 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
957 *) ac_abs_builddir=`pwd`/"$ac_dir";;
958 esac;;
959 esac
960 case $ac_abs_builddir in
961 .) ac_abs_top_builddir=${ac_top_builddir}.;;
962 *)
963 case ${ac_top_builddir}. in
964 .) ac_abs_top_builddir=$ac_abs_builddir;;
965 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
966 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
967 esac;;
968 esac
969 case $ac_abs_builddir in
970 .) ac_abs_srcdir=$ac_srcdir;;
971 *)
972 case $ac_srcdir in
973 .) ac_abs_srcdir=$ac_abs_builddir;;
974 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
975 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
976 esac;;
977 esac
978 case $ac_abs_builddir in
979 .) ac_abs_top_srcdir=$ac_top_srcdir;;
980 *)
981 case $ac_top_srcdir in
982 .) ac_abs_top_srcdir=$ac_abs_builddir;;
983 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
984 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
985 esac;;
986 esac
987
988 cd $ac_dir
989 # Check for guested configure; otherwise get Cygnus style configure.
990 if test -f $ac_srcdir/configure.gnu; then
991 echo
992 $SHELL $ac_srcdir/configure.gnu --help=recursive
993 elif test -f $ac_srcdir/configure; then
994 echo
995 $SHELL $ac_srcdir/configure --help=recursive
996 elif test -f $ac_srcdir/configure.ac ||
997 test -f $ac_srcdir/configure.in; then
998 echo
999 $ac_configure --help
1000 else
1001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1002 fi
1003 cd $ac_popdir
1004 done
1005 fi
1006
1007 test -n "$ac_init_help" && exit 0
1008 if $ac_init_version; then
1009 cat <<\_ACEOF
1010 gtkwave configure 3.3.23
1011 generated by GNU Autoconf 2.59
1012
1013 Copyright (C) 2003 Free Software Foundation, Inc.
1014 This configure script is free software; the Free Software Foundation
1015 gives unlimited permission to copy, distribute and modify it.
1016 _ACEOF
1017 exit 0
1018 fi
1019 exec 5>config.log
1020 cat >&5 <<_ACEOF
1021 This file contains any messages produced by compilers while
1022 running configure, to aid debugging if configure makes a mistake.
1023
1024 It was created by gtkwave $as_me 3.3.23, which was
1025 generated by GNU Autoconf 2.59. Invocation command line was
1026
1027 $ $0 $@
1028
1029 _ACEOF
1030 {
1031 cat <<_ASUNAME
1032 @%:@@%:@ --------- @%:@@%:@
1033 @%:@@%:@ Platform. @%:@@%:@
1034 @%:@@%:@ --------- @%:@@%:@
1035
1036 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1037 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1038 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1039 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1040 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1041
1042 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1043 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1044
1045 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1046 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1047 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1048 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1049 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1050 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1051 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1052
1053 _ASUNAME
1054
1055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1056 for as_dir in $PATH
1057 do
1058 IFS=$as_save_IFS
1059 test -z "$as_dir" && as_dir=.
1060 echo "PATH: $as_dir"
1061 done
1062
1063 } >&5
1064
1065 cat >&5 <<_ACEOF
1066
1067
1068 @%:@@%:@ ----------- @%:@@%:@
1069 @%:@@%:@ Core tests. @%:@@%:@
1070 @%:@@%:@ ----------- @%:@@%:@
1071
1072 _ACEOF
1073
1074
1075 # Keep a trace of the command line.
1076 # Strip out --no-create and --no-recursion so they do not pile up.
1077 # Strip out --silent because we don't want to record it for future runs.
1078 # Also quote any args containing shell meta-characters.
1079 # Make two passes to allow for proper duplicate-argument suppression.
1080 ac_configure_args=
1081 ac_configure_args0=
1082 ac_configure_args1=
1083 ac_sep=
1084 ac_must_keep_next=false
1085 for ac_pass in 1 2
1086 do
1087 for ac_arg
1088 do
1089 case $ac_arg in
1090 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092 | -silent | --silent | --silen | --sile | --sil)
1093 continue ;;
1094 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1095 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1096 esac
1097 case $ac_pass in
1098 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1099 2)
1100 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1101 if test $ac_must_keep_next = true; then
1102 ac_must_keep_next=false # Got value, back to normal.
1103 else
1104 case $ac_arg in
1105 *=* | --config-cache | -C | -disable-* | --disable-* \
1106 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1107 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1108 | -with-* | --with-* | -without-* | --without-* | --x)
1109 case "$ac_configure_args0 " in
1110 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1111 esac
1112 ;;
1113 -* ) ac_must_keep_next=true ;;
1114 esac
1115 fi
1116 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1117 # Get rid of the leading space.
1118 ac_sep=" "
1119 ;;
1120 esac
1121 done
1122 done
1123 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1124 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1125
1126 # When interrupted or exit'd, cleanup temporary files, and complete
1127 # config.log. We remove comments because anyway the quotes in there
1128 # would cause problems or look ugly.
1129 # WARNING: Be sure not to use single quotes in there, as some shells,
1130 # such as our DU 5.0 friend, will then `close' the trap.
1131 trap 'exit_status=$?
1132 # Save into config.log some information that might help in debugging.
1133 {
1134 echo
1135
1136 cat <<\_ASBOX
1137 @%:@@%:@ ---------------- @%:@@%:@
1138 @%:@@%:@ Cache variables. @%:@@%:@
1139 @%:@@%:@ ---------------- @%:@@%:@
1140 _ASBOX
1141 echo
1142 # The following way of writing the cache mishandles newlines in values,
1143 {
1144 (set) 2>&1 |
1145 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1146 *ac_space=\ *)
1147 sed -n \
1148 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1150 ;;
1151 *)
1152 sed -n \
1153 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1154 ;;
1155 esac;
1156 }
1157 echo
1158
1159 cat <<\_ASBOX
1160 @%:@@%:@ ----------------- @%:@@%:@
1161 @%:@@%:@ Output variables. @%:@@%:@
1162 @%:@@%:@ ----------------- @%:@@%:@
1163 _ASBOX
1164 echo
1165 for ac_var in $ac_subst_vars
1166 do
1167 eval ac_val=$`echo $ac_var`
1168 echo "$ac_var='"'"'$ac_val'"'"'"
1169 done | sort
1170 echo
1171
1172 if test -n "$ac_subst_files"; then
1173 cat <<\_ASBOX
1174 @%:@@%:@ ------------- @%:@@%:@
1175 @%:@@%:@ Output files. @%:@@%:@
1176 @%:@@%:@ ------------- @%:@@%:@
1177 _ASBOX
1178 echo
1179 for ac_var in $ac_subst_files
1180 do
1181 eval ac_val=$`echo $ac_var`
1182 echo "$ac_var='"'"'$ac_val'"'"'"
1183 done | sort
1184 echo
1185 fi
1186
1187 if test -s confdefs.h; then
1188 cat <<\_ASBOX
1189 @%:@@%:@ ----------- @%:@@%:@
1190 @%:@@%:@ confdefs.h. @%:@@%:@
1191 @%:@@%:@ ----------- @%:@@%:@
1192 _ASBOX
1193 echo
1194 sed "/^$/d" confdefs.h | sort
1195 echo
1196 fi
1197 test "$ac_signal" != 0 &&
1198 echo "$as_me: caught signal $ac_signal"
1199 echo "$as_me: exit $exit_status"
1200 } >&5
1201 rm -f core *.core &&
1202 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1203 exit $exit_status
1204 ' 0
1205 for ac_signal in 1 2 13 15; do
1206 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1207 done
1208 ac_signal=0
1209
1210 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1211 rm -rf conftest* confdefs.h
1212 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1213 echo >confdefs.h
1214
1215 # Predefined preprocessor variables.
1216
1217 cat >>confdefs.h <<_ACEOF
1218 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1219 _ACEOF
1220
1221
1222 cat >>confdefs.h <<_ACEOF
1223 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1224 _ACEOF
1225
1226
1227 cat >>confdefs.h <<_ACEOF
1228 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1239 _ACEOF
1240
1241
1242 # Let the site file select an alternate cache file if it wants to.
1243 # Prefer explicitly selected file to automatically selected ones.
1244 if test -z "$CONFIG_SITE"; then
1245 if test "x$prefix" != xNONE; then
1246 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1247 else
1248 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1249 fi
1250 fi
1251 for ac_site_file in $CONFIG_SITE; do
1252 if test -r "$ac_site_file"; then
1253 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1254 echo "$as_me: loading site script $ac_site_file" >&6;}
1255 sed 's/^/| /' "$ac_site_file" >&5
1256 . "$ac_site_file"
1257 fi
1258 done
1259
1260 if test -r "$cache_file"; then
1261 # Some versions of bash will fail to source /dev/null (special
1262 # files actually), so we avoid doing that.
1263 if test -f "$cache_file"; then
1264 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1265 echo "$as_me: loading cache $cache_file" >&6;}
1266 case $cache_file in
1267 [\\/]* | ?:[\\/]* ) . $cache_file;;
1268 *) . ./$cache_file;;
1269 esac
1270 fi
1271 else
1272 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1273 echo "$as_me: creating cache $cache_file" >&6;}
1274 >$cache_file
1275 fi
1276
1277 # Check that the precious variables saved in the cache have kept the same
1278 # value.
1279 ac_cache_corrupted=false
1280 for ac_var in `(set) 2>&1 |
1281 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1282 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1283 eval ac_new_set=\$ac_env_${ac_var}_set
1284 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1285 eval ac_new_val="\$ac_env_${ac_var}_value"
1286 case $ac_old_set,$ac_new_set in
1287 set,)
1288 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1289 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1290 ac_cache_corrupted=: ;;
1291 ,set)
1292 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1293 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1294 ac_cache_corrupted=: ;;
1295 ,);;
1296 *)
1297 if test "x$ac_old_val" != "x$ac_new_val"; then
1298 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1299 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1300 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1301 echo "$as_me: former value: $ac_old_val" >&2;}
1302 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1303 echo "$as_me: current value: $ac_new_val" >&2;}
1304 ac_cache_corrupted=:
1305 fi;;
1306 esac
1307 # Pass precious variables to config.status.
1308 if test "$ac_new_set" = set; then
1309 case $ac_new_val in
1310 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1311 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1312 *) ac_arg=$ac_var=$ac_new_val ;;
1313 esac
1314 case " $ac_configure_args " in
1315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1316 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1317 esac
1318 fi
1319 done
1320 if $ac_cache_corrupted; then
1321 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1322 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1323 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1324 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1325 { (exit 1); exit 1; }; }
1326 fi
1327
1328 ac_ext=c
1329 ac_cpp='$CPP $CPPFLAGS'
1330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361 am__api_version="1.9"
1362 ac_aux_dir=
1363 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1364 if test -f $ac_dir/install-sh; then
1365 ac_aux_dir=$ac_dir
1366 ac_install_sh="$ac_aux_dir/install-sh -c"
1367 break
1368 elif test -f $ac_dir/install.sh; then
1369 ac_aux_dir=$ac_dir
1370 ac_install_sh="$ac_aux_dir/install.sh -c"
1371 break
1372 elif test -f $ac_dir/shtool; then
1373 ac_aux_dir=$ac_dir
1374 ac_install_sh="$ac_aux_dir/shtool install -c"
1375 break
1376 fi
1377 done
1378 if test -z "$ac_aux_dir"; then
1379 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1380 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1381 { (exit 1); exit 1; }; }
1382 fi
1383 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1384 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1385 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1386
1387 # Find a good install program. We prefer a C program (faster),
1388 # so one script is as good as another. But avoid the broken or
1389 # incompatible versions:
1390 # SysV /etc/install, /usr/sbin/install
1391 # SunOS /usr/etc/install
1392 # IRIX /sbin/install
1393 # AIX /bin/install
1394 # AmigaOS /C/install, which installs bootblocks on floppy discs
1395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1398 # OS/2's system install, which has a completely different semantic
1399 # ./install, which can be erroneously created by make from ./install.sh.
1400 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1401 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1402 if test -z "$INSTALL"; then
1403 if test "${ac_cv_path_install+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 else
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1407 for as_dir in $PATH
1408 do
1409 IFS=$as_save_IFS
1410 test -z "$as_dir" && as_dir=.
1411 # Account for people who put trailing slashes in PATH elements.
1412 case $as_dir/ in
1413 ./ | .// | /cC/* | \
1414 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1415 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1416 /usr/ucb/* ) ;;
1417 *)
1418 # OSF1 and SCO ODT 3.0 have their own names for install.
1419 # Don't use installbsd from OSF since it installs stuff as root
1420 # by default.
1421 for ac_prog in ginstall scoinst install; do
1422 for ac_exec_ext in '' $ac_executable_extensions; do
1423 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1424 if test $ac_prog = install &&
1425 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1426 # AIX install. It has an incompatible calling convention.
1427 :
1428 elif test $ac_prog = install &&
1429 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1430 # program-specific install script used by HP pwplus--don't use.
1431 :
1432 else
1433 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1434 break 3
1435 fi
1436 fi
1437 done
1438 done
1439 ;;
1440 esac
1441 done
1442
1443
1444 fi
1445 if test "${ac_cv_path_install+set}" = set; then
1446 INSTALL=$ac_cv_path_install
1447 else
1448 # As a last resort, use the slow shell script. We don't cache a
1449 # path for INSTALL within a source directory, because that will
1450 # break other packages using the cache if that directory is
1451 # removed, or if the path is relative.
1452 INSTALL=$ac_install_sh
1453 fi
1454 fi
1455 echo "$as_me:$LINENO: result: $INSTALL" >&5
1456 echo "${ECHO_T}$INSTALL" >&6
1457
1458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1459 # It thinks the first close brace ends the variable substitution.
1460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1461
1462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1463
1464 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1465
1466 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1467 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1468 # Just in case
1469 sleep 1
1470 echo timestamp > conftest.file
1471 # Do `set' in a subshell so we don't clobber the current shell's
1472 # arguments. Must try -L first in case configure is actually a
1473 # symlink; some systems play weird games with the mod time of symlinks
1474 # (eg FreeBSD returns the mod time of the symlink's containing
1475 # directory).
1476 if (
1477 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1478 if test "$*" = "X"; then
1479 # -L didn't work.
1480 set X `ls -t $srcdir/configure conftest.file`
1481 fi
1482 rm -f conftest.file
1483 if test "$*" != "X $srcdir/configure conftest.file" \
1484 && test "$*" != "X conftest.file $srcdir/configure"; then
1485
1486 # If neither matched, then we have a broken ls. This can happen
1487 # if, for instance, CONFIG_SHELL is bash and it inherits a
1488 # broken ls alias from the environment. This has actually
1489 # happened. Such a system could not be considered "sane".
1490 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1491 alias in your environment" >&5
1492 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1493 alias in your environment" >&2;}
1494 { (exit 1); exit 1; }; }
1495 fi
1496
1497 test "$2" = conftest.file
1498 )
1499 then
1500 # Ok.
1501 :
1502 else
1503 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1504 Check your system clock" >&5
1505 echo "$as_me: error: newly created file is older than distributed files!
1506 Check your system clock" >&2;}
1507 { (exit 1); exit 1; }; }
1508 fi
1509 echo "$as_me:$LINENO: result: yes" >&5
1510 echo "${ECHO_T}yes" >&6
1511 test "$program_prefix" != NONE &&
1512 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1513 # Use a double $ so make ignores it.
1514 test "$program_suffix" != NONE &&
1515 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1516 # Double any \ or $. echo might interpret backslashes.
1517 # By default was `s,x,x', remove it if useless.
1518 cat <<\_ACEOF >conftest.sed
1519 s/[\\$]/&&/g;s/;s,x,x,$//
1520 _ACEOF
1521 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1522 rm conftest.sed
1523
1524 # expand $ac_aux_dir to an absolute path
1525 am_aux_dir=`cd $ac_aux_dir && pwd`
1526
1527 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1528 # Use eval to expand $SHELL
1529 if eval "$MISSING --run true"; then
1530 am_missing_run="$MISSING --run "
1531 else
1532 am_missing_run=
1533 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1534 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1535 fi
1536
1537 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1538 # We used to keeping the `.' as first argument, in order to
1539 # allow $(mkdir_p) to be used without argument. As in
1540 # $(mkdir_p) $(somedir)
1541 # where $(somedir) is conditionally defined. However this is wrong
1542 # for two reasons:
1543 # 1. if the package is installed by a user who cannot write `.'
1544 # make install will fail,
1545 # 2. the above comment should most certainly read
1546 # $(mkdir_p) $(DESTDIR)$(somedir)
1547 # so it does not work when $(somedir) is undefined and
1548 # $(DESTDIR) is not.
1549 # To support the latter case, we have to write
1550 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1551 # so the `.' trick is pointless.
1552 mkdir_p='mkdir -p --'
1553 else
1554 # On NextStep and OpenStep, the `mkdir' command does not
1555 # recognize any option. It will interpret all options as
1556 # directories to create, and then abort because `.' already
1557 # exists.
1558 for d in ./-p ./--version;
1559 do
1560 test -d $d && rmdir $d
1561 done
1562 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1563 if test -f "$ac_aux_dir/mkinstalldirs"; then
1564 mkdir_p='$(mkinstalldirs)'
1565 else
1566 mkdir_p='$(install_sh) -d'
1567 fi
1568 fi
1569
1570 for ac_prog in gawk mawk nawk awk
1571 do
1572 # Extract the first word of "$ac_prog", so it can be a program name with args.
1573 set dummy $ac_prog; ac_word=$2
1574 echo "$as_me:$LINENO: checking for $ac_word" >&5
1575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1576 if test "${ac_cv_prog_AWK+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 else
1579 if test -n "$AWK"; then
1580 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1581 else
1582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1583 for as_dir in $PATH
1584 do
1585 IFS=$as_save_IFS
1586 test -z "$as_dir" && as_dir=.
1587 for ac_exec_ext in '' $ac_executable_extensions; do
1588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1589 ac_cv_prog_AWK="$ac_prog"
1590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1591 break 2
1592 fi
1593 done
1594 done
1595
1596 fi
1597 fi
1598 AWK=$ac_cv_prog_AWK
1599 if test -n "$AWK"; then
1600 echo "$as_me:$LINENO: result: $AWK" >&5
1601 echo "${ECHO_T}$AWK" >&6
1602 else
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1605 fi
1606
1607 test -n "$AWK" && break
1608 done
1609
1610 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1611 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1612 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1613 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616 cat >conftest.make <<\_ACEOF
1617 all:
1618 @echo 'ac_maketemp="$(MAKE)"'
1619 _ACEOF
1620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1621 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1622 if test -n "$ac_maketemp"; then
1623 eval ac_cv_prog_make_${ac_make}_set=yes
1624 else
1625 eval ac_cv_prog_make_${ac_make}_set=no
1626 fi
1627 rm -f conftest.make
1628 fi
1629 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1630 echo "$as_me:$LINENO: result: yes" >&5
1631 echo "${ECHO_T}yes" >&6
1632 SET_MAKE=
1633 else
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1636 SET_MAKE="MAKE=${MAKE-make}"
1637 fi
1638
1639 rm -rf .tst 2>/dev/null
1640 mkdir .tst 2>/dev/null
1641 if test -d .tst; then
1642 am__leading_dot=.
1643 else
1644 am__leading_dot=_
1645 fi
1646 rmdir .tst 2>/dev/null
1647
1648 # test to see if srcdir already configured
1649 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1650 test -f $srcdir/config.status; then
1651 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1652 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1653 { (exit 1); exit 1; }; }
1654 fi
1655
1656 # test whether we have cygpath
1657 if test -z "$CYGPATH_W"; then
1658 if (cygpath --version) >/dev/null 2>/dev/null; then
1659 CYGPATH_W='cygpath -w'
1660 else
1661 CYGPATH_W=echo
1662 fi
1663 fi
1664
1665
1666 # Define the identity of the package.
1667 PACKAGE='gtkwave'
1668 VERSION='3.3.23'
1669
1670
1671 cat >>confdefs.h <<_ACEOF
1672 @%:@define PACKAGE "$PACKAGE"
1673 _ACEOF
1674
1675
1676 cat >>confdefs.h <<_ACEOF
1677 @%:@define VERSION "$VERSION"
1678 _ACEOF
1679
1680 # Some tools Automake needs.
1681
1682 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1683
1684
1685 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1686
1687
1688 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1689
1690
1691 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1692
1693
1694 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1695
1696 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1697
1698 # Installed binaries are usually stripped using `strip' when the user
1699 # run `make install-strip'. However `strip' might not be the right
1700 # tool to use in cross-compilation environments, therefore Automake
1701 # will honor the `STRIP' environment variable to overrule this program.
1702 if test "$cross_compiling" != no; then
1703 if test -n "$ac_tool_prefix"; then
1704 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1705 set dummy ${ac_tool_prefix}strip; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_STRIP+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 else
1711 if test -n "$STRIP"; then
1712 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1713 else
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 for as_dir in $PATH
1716 do
1717 IFS=$as_save_IFS
1718 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 break 2
1724 fi
1725 done
1726 done
1727
1728 fi
1729 fi
1730 STRIP=$ac_cv_prog_STRIP
1731 if test -n "$STRIP"; then
1732 echo "$as_me:$LINENO: result: $STRIP" >&5
1733 echo "${ECHO_T}$STRIP" >&6
1734 else
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1737 fi
1738
1739 fi
1740 if test -z "$ac_cv_prog_STRIP"; then
1741 ac_ct_STRIP=$STRIP
1742 # Extract the first word of "strip", so it can be a program name with args.
1743 set dummy strip; ac_word=$2
1744 echo "$as_me:$LINENO: checking for $ac_word" >&5
1745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1746 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1747 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 else
1749 if test -n "$ac_ct_STRIP"; then
1750 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1751 else
1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1753 for as_dir in $PATH
1754 do
1755 IFS=$as_save_IFS
1756 test -z "$as_dir" && as_dir=.
1757 for ac_exec_ext in '' $ac_executable_extensions; do
1758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1759 ac_cv_prog_ac_ct_STRIP="strip"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1761 break 2
1762 fi
1763 done
1764 done
1765
1766 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1767 fi
1768 fi
1769 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1770 if test -n "$ac_ct_STRIP"; then
1771 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1772 echo "${ECHO_T}$ac_ct_STRIP" >&6
1773 else
1774 echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6
1776 fi
1777
1778 STRIP=$ac_ct_STRIP
1779 else
1780 STRIP="$ac_cv_prog_STRIP"
1781 fi
1782
1783 fi
1784 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1785
1786 # We need awk for the "check" target. The system "awk" is bad on
1787 # some platforms.
1788 # Always define AMTAR for backward compatibility.
1789
1790 AMTAR=${AMTAR-"${am_missing_run}tar"}
1791
1792 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1793
1794
1795
1796
1797
1798 ac_config_headers="$ac_config_headers config.h"
1799
1800 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1801 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1802 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1803 if test "${enable_maintainer_mode+set}" = set; then
1804 enableval="$enable_maintainer_mode"
1805 USE_MAINTAINER_MODE=$enableval
1806 else
1807 USE_MAINTAINER_MODE=no
1808 fi;
1809 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1810 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1811
1812
1813 if test $USE_MAINTAINER_MODE = yes; then
1814 MAINTAINER_MODE_TRUE=
1815 MAINTAINER_MODE_FALSE='#'
1816 else
1817 MAINTAINER_MODE_TRUE='#'
1818 MAINTAINER_MODE_FALSE=
1819 fi
1820
1821 MAINT=$MAINTAINER_MODE_TRUE
1822
1823
1824
1825
1826 # ------------- Set simarama base -------------------
1827 if test "X$SIMARAMA_BASE" = "X" ; then
1828 SIMARAMA_BASE="/afs/awd/projects/simarama/releases/latest"
1829 fi
1830
1831 # Checks for build options
1832 # ------------- Inline -------------------
1833
1834 echo "$as_me:$LINENO: checking if inline assembly should be enabled" >&5
1835 echo $ECHO_N "checking if inline assembly should be enabled... $ECHO_C" >&6
1836
1837 INL=yes
1838 INLINE_ASM=-DUSE_INLINE_ASM
1839 # Check whether --enable-inline_asm or --disable-inline_asm was given.
1840 if test "${enable_inline_asm+set}" = set; then
1841 enableval="$enable_inline_asm"
1842
1843 if test "X$enable_inline_asm" = "Xno" ; then
1844 INL=no
1845 INLINE_ASM=
1846 fi
1847
1848 fi;
1849 echo "$as_me:$LINENO: result: $INL" >&5
1850 echo "${ECHO_T}$INL" >&6
1851
1852
1853
1854 # ------------- Structure Packing -------------------
1855
1856 echo "$as_me:$LINENO: checking if structure packing should be enabled" >&5
1857 echo $ECHO_N "checking if structure packing should be enabled... $ECHO_C" >&6
1858
1859 ESTP=no
1860 STRUCT_PACK=
1861 # Check whether --enable-struct_pack or --disable-struct_pack was given.
1862 if test "${enable_struct_pack+set}" = set; then
1863 enableval="$enable_struct_pack"
1864
1865 if test "X$enable_struct_pack" = "Xyes" ; then
1866 ESTP=yes
1867 STRUCT_PACK=-DWAVE_USE_STRUCT_PACKING
1868 fi
1869
1870 fi;
1871 echo "$as_me:$LINENO: result: $ESTP" >&5
1872 echo "${ECHO_T}$ESTP" >&6
1873
1874
1875
1876 # ------------- Tcl -------------------
1877
1878 echo "$as_me:$LINENO: checking if Tcl usage should be disabled" >&5
1879 echo $ECHO_N "checking if Tcl usage should be disabled... $ECHO_C" >&6
1880
1881 ETCL=yes
1882 DTCL=no
1883 # Check whether --enable-tcl or --disable-tcl was given.
1884 if test "${enable_tcl+set}" = set; then
1885 enableval="$enable_tcl"
1886
1887 if test "X$enable_tcl" = "Xno" ; then
1888 ETCL=no
1889 DTCL=yes
1890 else
1891 ETCL=yes
1892 DTCL=no
1893 fi
1894
1895 else
1896
1897 ETCL=yes
1898
1899 fi;
1900 echo "$as_me:$LINENO: result: $DTCL" >&5
1901 echo "${ECHO_T}$DTCL" >&6
1902
1903
1904 if test "X$ETCL" = "Xyes" ; then
1905
1906 #
1907 # Ok, lets find the tcl configuration
1908 # First, look for one uninstalled.
1909 # the alternative search directory is invoked by --with-tcl
1910 #
1911
1912 if test x"${no_tcl}" = x ; then
1913 # we reset no_tcl in case something fails here
1914 no_tcl=true
1915
1916 # Check whether --with-tcl or --without-tcl was given.
1917 if test "${with_tcl+set}" = set; then
1918 withval="$with_tcl"
1919 with_tclconfig="${withval}"
1920 fi;
1921 echo "$as_me:$LINENO: checking for Tcl configuration" >&5
1922 echo $ECHO_N "checking for Tcl configuration... $ECHO_C" >&6
1923 if test "${ac_cv_c_tclconfig+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 else
1926
1927
1928 # First check to see if --with-tcl was specified.
1929 if test x"${with_tclconfig}" != x ; then
1930 case "${with_tclconfig}" in
1931 */tclConfig.sh )
1932 if test -f "${with_tclconfig}"; then
1933 { echo "$as_me:$LINENO: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
1934 echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;}
1935 with_tclconfig="`echo "${with_tclconfig}" | sed 's!/tclConfig\.sh$!!'`"
1936 fi ;;
1937 esac
1938 if test -f "${with_tclconfig}/tclConfig.sh" ; then
1939 ac_cv_c_tclconfig="`(cd "${with_tclconfig}"; pwd)`"
1940 else
1941 { { echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
1942 echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
1943 { (exit 1); exit 1; }; }
1944 fi
1945 fi
1946
1947 # then check for a private Tcl installation
1948 if test x"${ac_cv_c_tclconfig}" = x ; then
1949 for i in \
1950 ../tcl \
1951 `ls -dr ../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
1952 `ls -dr ../tcl[8-9].[0-9] 2>/dev/null` \
1953 `ls -dr ../tcl[8-9].[0-9]* 2>/dev/null` \
1954 ../../tcl \
1955 `ls -dr ../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
1956 `ls -dr ../../tcl[8-9].[0-9] 2>/dev/null` \
1957 `ls -dr ../../tcl[8-9].[0-9]* 2>/dev/null` \
1958 ../../../tcl \
1959 `ls -dr ../../../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
1960 `ls -dr ../../../tcl[8-9].[0-9] 2>/dev/null` \
1961 `ls -dr ../../../tcl[8-9].[0-9]* 2>/dev/null` ; do
1962 if test -f "$i/unix/tclConfig.sh" ; then
1963 ac_cv_c_tclconfig="`(cd $i/unix; pwd)`"
1964 break
1965 fi
1966 done
1967 fi
1968
1969 # on Darwin, check in Framework installation locations
1970 if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tclconfig}" = x ; then
1971 for i in `ls -d ~/Library/Frameworks 2>/dev/null` \
1972 `ls -d /Library/Frameworks 2>/dev/null` \
1973 `ls -d /Network/Library/Frameworks 2>/dev/null` \
1974 `ls -d /System/Library/Frameworks 2>/dev/null` \
1975 ; do
1976 if test -f "$i/Tcl.framework/tclConfig.sh" ; then
1977 ac_cv_c_tclconfig="`(cd $i/Tcl.framework; pwd)`"
1978 break
1979 fi
1980 done
1981 fi
1982
1983 # check in a few common install locations
1984 if test x"${ac_cv_c_tclconfig}" = x ; then
1985 for i in `ls -d ${libdir} 2>/dev/null` \
1986 `ls -d ${exec_prefix}/lib 2>/dev/null` \
1987 `ls -d ${prefix}/lib 2>/dev/null` \
1988 `ls -d /usr/local/lib 2>/dev/null` \
1989 `ls -d /usr/contrib/lib 2>/dev/null` \
1990 `ls -d /usr/lib 2>/dev/null` \
1991 ; do
1992 if test -f "$i/tclConfig.sh" ; then
1993 ac_cv_c_tclconfig="`(cd $i; pwd)`"
1994 break
1995 fi
1996 done
1997 fi
1998
1999 # check in a few other private locations
2000 if test x"${ac_cv_c_tclconfig}" = x ; then
2001 for i in \
2002 ${srcdir}/../tcl \
2003 `ls -dr ${srcdir}/../tcl[8-9].[0-9].[0-9]* 2>/dev/null` \
2004 `ls -dr ${srcdir}/../tcl[8-9].[0-9] 2>/dev/null` \
2005 `ls -dr ${srcdir}/../tcl[8-9].[0-9]* 2>/dev/null` ; do
2006 if test -f "$i/unix/tclConfig.sh" ; then
2007 ac_cv_c_tclconfig="`(cd $i/unix; pwd)`"
2008 break
2009 fi
2010 done
2011 fi
2012
2013 fi
2014
2015
2016 if test x"${ac_cv_c_tclconfig}" = x ; then
2017 TCL_BIN_DIR="# no Tcl configs found" # (patch for gtkwave)
2018 # AC_MSG_WARN([Can't find Tcl configuration definitions]) (patch for gtkwave)
2019 # exit 0 (patch for gtkwave)
2020 else
2021 no_tcl=
2022 TCL_BIN_DIR="${ac_cv_c_tclconfig}"
2023 echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
2024 echo "${ECHO_T}found ${TCL_BIN_DIR}/tclConfig.sh" >&6
2025 fi
2026 fi
2027
2028 if test "X$TCL_BIN_DIR" = "X# no Tcl configs found" ; then
2029 { echo "$as_me:$LINENO: WARNING: Tcl not found, skipping." >&5
2030 echo "$as_me: WARNING: Tcl not found, skipping." >&2;}
2031 ETCL=no
2032 DTCL=yes
2033 else
2034
2035 echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
2036 echo $ECHO_N "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... $ECHO_C" >&6
2037
2038 if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
2039 echo "$as_me:$LINENO: result: loading" >&5
2040 echo "${ECHO_T}loading" >&6
2041 . "${TCL_BIN_DIR}/tclConfig.sh"
2042 else
2043 echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
2044 echo "${ECHO_T}could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6
2045 fi
2046
2047 # eval is required to do the TCL_DBGX substitution
2048 eval "TCL_LIB_FILE=\"${TCL_LIB_FILE}\""
2049 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
2050
2051 # If the TCL_BIN_DIR is the build directory (not the install directory),
2052 # then set the common variable name to the value of the build variables.
2053 # For example, the variable TCL_LIB_SPEC will be set to the value
2054 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC
2055 # instead of TCL_BUILD_LIB_SPEC since it will work with both an
2056 # installed and uninstalled version of Tcl.
2057 if test -f "${TCL_BIN_DIR}/Makefile" ; then
2058 TCL_LIB_SPEC="${TCL_BUILD_LIB_SPEC}"
2059 TCL_STUB_LIB_SPEC="${TCL_BUILD_STUB_LIB_SPEC}"
2060 TCL_STUB_LIB_PATH="${TCL_BUILD_STUB_LIB_PATH}"
2061 elif test "`uname -s`" = "Darwin"; then
2062 # If Tcl was built as a framework, attempt to use the libraries
2063 # from the framework at the given location so that linking works
2064 # against Tcl.framework installed in an arbitary location.
2065 case ${TCL_DEFS} in
2066 *TCL_FRAMEWORK*)
2067 if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then
2068 for i in "`cd "${TCL_BIN_DIR}"; pwd`" \
2069 "`cd "${TCL_BIN_DIR}"/../..; pwd`"; do
2070 if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework"; then
2071 TCL_LIB_SPEC="-F`dirname "$i" | sed -e 's/ /\\\\ /g'` -framework ${TCL_LIB_FILE}"
2072 break
2073 fi
2074 done
2075 fi
2076 if test -f "${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"; then
2077 TCL_STUB_LIB_SPEC="-L`echo "${TCL_BIN_DIR}" | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
2078 TCL_STUB_LIB_PATH="${TCL_BIN_DIR}/${TCL_STUB_LIB_FILE}"
2079 fi
2080 ;;
2081 esac
2082 fi
2083
2084 # eval is required to do the TCL_DBGX substitution
2085 eval "TCL_LIB_FLAG=\"${TCL_LIB_FLAG}\""
2086 eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
2087 eval "TCL_STUB_LIB_FLAG=\"${TCL_STUB_LIB_FLAG}\""
2088 eval "TCL_STUB_LIB_SPEC=\"${TCL_STUB_LIB_SPEC}\""
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109 if test "$TCL_MAJOR_VERSION" -lt "8" ; then
2110 { { echo "$as_me:$LINENO: error: Upgrade to at least Tcl version 8.4." >&5
2111 echo "$as_me: error: Upgrade to at least Tcl version 8.4." >&2;}
2112 { (exit 1); exit 1; }; }
2113 else
2114 if test "$TCL_MAJOR_VERSION" -eq "8" ; then
2115 if test "$TCL_MINOR_VERSION" -lt "4" ; then
2116 { { echo "$as_me:$LINENO: error: Upgrade to at least Tcl version 8.4." >&5
2117 echo "$as_me: error: Upgrade to at least Tcl version 8.4." >&2;}
2118 { (exit 1); exit 1; }; }
2119 fi
2120 fi
2121 fi
2122 fi
2123 fi
2124
2125 if test "X$ETCL" = "Xyes" ; then
2126
2127 #
2128 # Ok, lets find the tk configuration
2129 # First, look for one uninstalled.
2130 # the alternative search directory is invoked by --with-tk
2131 #
2132
2133 if test x"${no_tk}" = x ; then
2134 # we reset no_tk in case something fails here
2135 no_tk=true
2136
2137 # Check whether --with-tk or --without-tk was given.
2138 if test "${with_tk+set}" = set; then
2139 withval="$with_tk"
2140 with_tkconfig="${withval}"
2141 fi;
2142 echo "$as_me:$LINENO: checking for Tk configuration" >&5
2143 echo $ECHO_N "checking for Tk configuration... $ECHO_C" >&6
2144 if test "${ac_cv_c_tkconfig+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 else
2147
2148
2149 # First check to see if --with-tkconfig was specified.
2150 if test x"${with_tkconfig}" != x ; then
2151 case "${with_tkconfig}" in
2152 */tkConfig.sh )
2153 if test -f "${with_tkconfig}"; then
2154 { echo "$as_me:$LINENO: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&5
2155 echo "$as_me: WARNING: --with-tk argument should refer to directory containing tkConfig.sh, not to tkConfig.sh itself" >&2;}
2156 with_tkconfig="`echo "${with_tkconfig}" | sed 's!/tkConfig\.sh$!!'`"
2157 fi ;;
2158 esac
2159 if test -f "${with_tkconfig}/tkConfig.sh" ; then
2160 ac_cv_c_tkconfig="`(cd "${with_tkconfig}"; pwd)`"
2161 else
2162 { { echo "$as_me:$LINENO: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&5
2163 echo "$as_me: error: ${with_tkconfig} directory doesn't contain tkConfig.sh" >&2;}
2164 { (exit 1); exit 1; }; }
2165 fi
2166 fi
2167
2168 # then check for a private Tk library
2169 if test x"${ac_cv_c_tkconfig}" = x ; then
2170 for i in \
2171 ../tk \
2172 `ls -dr ../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
2173 `ls -dr ../tk[8-9].[0-9] 2>/dev/null` \
2174 `ls -dr ../tk[8-9].[0-9]* 2>/dev/null` \
2175 ../../tk \
2176 `ls -dr ../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
2177 `ls -dr ../../tk[8-9].[0-9] 2>/dev/null` \
2178 `ls -dr ../../tk[8-9].[0-9]* 2>/dev/null` \
2179 ../../../tk \
2180 `ls -dr ../../../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
2181 `ls -dr ../../../tk[8-9].[0-9] 2>/dev/null` \
2182 `ls -dr ../../../tk[8-9].[0-9]* 2>/dev/null` ; do
2183 if test -f "$i/unix/tkConfig.sh" ; then
2184 ac_cv_c_tkconfig="`(cd $i/unix; pwd)`"
2185 break
2186 fi
2187 done
2188 fi
2189
2190 # on Darwin, check in Framework installation locations
2191 if test "`uname -s`" = "Darwin" -a x"${ac_cv_c_tkconfig}" = x ; then
2192 for i in `ls -d ~/Library/Frameworks 2>/dev/null` \
2193 `ls -d /Library/Frameworks 2>/dev/null` \
2194 `ls -d /Network/Library/Frameworks 2>/dev/null` \
2195 `ls -d /System/Library/Frameworks 2>/dev/null` \
2196 ; do
2197 if test -f "$i/Tk.framework/tkConfig.sh" ; then
2198 ac_cv_c_tkconfig="`(cd $i/Tk.framework; pwd)`"
2199 break
2200 fi
2201 done
2202 fi
2203
2204 # check in a few common install locations
2205 if test x"${ac_cv_c_tkconfig}" = x ; then
2206 for i in `ls -d ${libdir} 2>/dev/null` \
2207 `ls -d ${exec_prefix}/lib 2>/dev/null` \
2208 `ls -d ${prefix}/lib 2>/dev/null` \
2209 `ls -d /usr/local/lib 2>/dev/null` \
2210 `ls -d /usr/contrib/lib 2>/dev/null` \
2211 `ls -d /usr/lib 2>/dev/null` \
2212 ; do
2213 if test -f "$i/tkConfig.sh" ; then
2214 ac_cv_c_tkconfig="`(cd $i; pwd)`"
2215 break
2216 fi
2217 done
2218 fi
2219
2220 # check in a few other private locations
2221 if test x"${ac_cv_c_tkconfig}" = x ; then
2222 for i in \
2223 ${srcdir}/../tk \
2224 `ls -dr ${srcdir}/../tk[8-9].[0-9].[0-9]* 2>/dev/null` \
2225 `ls -dr ${srcdir}/../tk[8-9].[0-9] 2>/dev/null` \
2226 `ls -dr ${srcdir}/../tk[8-9].[0-9]* 2>/dev/null` ; do
2227 if test -f "$i/unix/tkConfig.sh" ; then
2228 ac_cv_c_tkconfig="`(cd $i/unix; pwd)`"
2229 break
2230 fi
2231 done
2232 fi
2233
2234 fi
2235
2236
2237 if test x"${ac_cv_c_tkconfig}" = x ; then
2238 TK_BIN_DIR="# no Tk configs found"
2239 { echo "$as_me:$LINENO: WARNING: Can't find Tk configuration definitions" >&5
2240 echo "$as_me: WARNING: Can't find Tk configuration definitions" >&2;}
2241 exit 0
2242 else
2243 no_tk=
2244 TK_BIN_DIR="${ac_cv_c_tkconfig}"
2245 echo "$as_me:$LINENO: result: found ${TK_BIN_DIR}/tkConfig.sh" >&5
2246 echo "${ECHO_T}found ${TK_BIN_DIR}/tkConfig.sh" >&6
2247 fi
2248 fi
2249
2250 if test "X$TK_BIN_DIR" = "X# no Tk configs found" ; then
2251 { echo "$as_me:$LINENO: WARNING: Tk not found, skipping." >&5
2252 echo "$as_me: WARNING: Tk not found, skipping." >&2;}
2253 ETCL=no
2254 DTCL=yes
2255 else
2256
2257 echo "$as_me:$LINENO: checking for existence of ${TK_BIN_DIR}/tkConfig.sh" >&5
2258 echo $ECHO_N "checking for existence of ${TK_BIN_DIR}/tkConfig.sh... $ECHO_C" >&6
2259
2260 if test -f "${TK_BIN_DIR}/tkConfig.sh" ; then
2261 echo "$as_me:$LINENO: result: loading" >&5
2262 echo "${ECHO_T}loading" >&6
2263 . "${TK_BIN_DIR}/tkConfig.sh"
2264 else
2265 echo "$as_me:$LINENO: result: could not find ${TK_BIN_DIR}/tkConfig.sh" >&5
2266 echo "${ECHO_T}could not find ${TK_BIN_DIR}/tkConfig.sh" >&6
2267 fi
2268
2269 # eval is required to do the TK_DBGX substitution
2270 eval "TK_LIB_FILE=\"${TK_LIB_FILE}\""
2271 eval "TK_STUB_LIB_FILE=\"${TK_STUB_LIB_FILE}\""
2272
2273 # If the TK_BIN_DIR is the build directory (not the install directory),
2274 # then set the common variable name to the value of the build variables.
2275 # For example, the variable TK_LIB_SPEC will be set to the value
2276 # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC
2277 # instead of TK_BUILD_LIB_SPEC since it will work with both an
2278 # installed and uninstalled version of Tcl.
2279 if test -f "${TK_BIN_DIR}/Makefile" ; then
2280 TK_LIB_SPEC="${TK_BUILD_LIB_SPEC}"
2281 TK_STUB_LIB_SPEC="${TK_BUILD_STUB_LIB_SPEC}"
2282 TK_STUB_LIB_PATH="${TK_BUILD_STUB_LIB_PATH}"
2283 elif test "`uname -s`" = "Darwin"; then
2284 # If Tk was built as a framework, attempt to use the libraries
2285 # from the framework at the given location so that linking works
2286 # against Tk.framework installed in an arbitary location.
2287 case ${TK_DEFS} in
2288 *TK_FRAMEWORK*)
2289 if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then
2290 for i in "`cd "${TK_BIN_DIR}"; pwd`" \
2291 "`cd "${TK_BIN_DIR}"/../..; pwd`"; do
2292 if test "`basename "$i"`" = "${TK_LIB_FILE}.framework"; then
2293 TK_LIB_SPEC="-F`dirname "$i" | sed -e 's/ /\\\\ /g'` -framework ${TK_LIB_FILE}"
2294 break
2295 fi
2296 done
2297 fi
2298 if test -f "${TK_BIN_DIR}/${TK_STUB_LIB_FILE}"; then
2299 TK_STUB_LIB_SPEC="-L` echo "${TK_BIN_DIR}" | sed -e 's/ /\\\\ /g'` ${TK_STUB_LIB_FLAG}"
2300 TK_STUB_LIB_PATH="${TK_BIN_DIR}/${TK_STUB_LIB_FILE}"
2301 fi
2302 ;;
2303 esac
2304 fi
2305
2306 # eval is required to do the TK_DBGX substitution
2307 eval "TK_LIB_FLAG=\"${TK_LIB_FLAG}\""
2308 eval "TK_LIB_SPEC=\"${TK_LIB_SPEC}\""
2309 eval "TK_STUB_LIB_FLAG=\"${TK_STUB_LIB_FLAG}\""
2310 eval "TK_STUB_LIB_SPEC=\"${TK_STUB_LIB_SPEC}\""
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326 fi
2327 fi
2328
2329 echo "$as_me:$LINENO: checking if Tcl/Tk (if present) should be stubified" >&5
2330 echo $ECHO_N "checking if Tcl/Tk (if present) should be stubified... $ECHO_C" >&6
2331
2332 STUBIFY=no
2333 # Check whether --enable-stubify or --disable-stubify was given.
2334 if test "${enable_stubify+set}" = set; then
2335 enableval="$enable_stubify"
2336
2337 if test "X$enable_stubify" = "Xno" ; then
2338 STUBIFY=no
2339 else
2340 STUBIFY=yes
2341 fi
2342
2343 else
2344
2345 STUBIFY=no
2346
2347 fi;
2348
2349 echo "$as_me:$LINENO: result: $STUBIFY" >&5
2350 echo "${ECHO_T}$STUBIFY" >&6
2351
2352
2353 echo "$as_me:$LINENO: checking if gtk1 or gtk2 should be used" >&5
2354 echo $ECHO_N "checking if gtk1 or gtk2 should be used... $ECHO_C" >&6
2355
2356 GTK1=no
2357 # Check whether --enable-gtk1 or --disable-gtk1 was given.
2358 if test "${enable_gtk1+set}" = set; then
2359 enableval="$enable_gtk1"
2360
2361 if test "X$enable_gtk1" = "Xno" ; then
2362 GTK1=no
2363 else
2364 GTK1=yes
2365 fi
2366
2367 else
2368
2369 GTK1=no
2370
2371 fi;
2372
2373 if test "X$GTK1" = "Xyes" ; then
2374 echo "$as_me:$LINENO: result: gtk1" >&5
2375 echo "${ECHO_T}gtk1" >&6
2376 CPPFLAGS="$CPPFLAGS"
2377 else
2378 echo "$as_me:$LINENO: result: gtk2" >&5
2379 echo "${ECHO_T}gtk2" >&6
2380 CPPFLAGS="-DWAVE_USE_GTK2 $CPPFLAGS"
2381 fi
2382
2383
2384 # check for "fisher price" (simvision rendering style) mode
2385 echo "$as_me:$LINENO: checking if fatlines should be used" >&5
2386 echo $ECHO_N "checking if fatlines should be used... $ECHO_C" >&6
2387
2388 FLN=no
2389 # Check whether --enable-fatlines or --disable-fatlines was given.
2390 if test "${enable_fatlines+set}" = set; then
2391 enableval="$enable_fatlines"
2392
2393 if test "X$enable_fatlines" = "Xno" ; then
2394 FLN=no
2395 else
2396 FLN=yes
2397 fi
2398
2399 else
2400
2401 FLN=no
2402
2403 fi;
2404
2405 if test "X$FLN" = "Xno" ; then
2406 echo "$as_me:$LINENO: result: no" >&5
2407 echo "${ECHO_T}no" >&6
2408 else
2409 echo "$as_me:$LINENO: result: yes" >&5
2410 echo "${ECHO_T}yes" >&6
2411 CPPFLAGS="-DWAVE_DOUBLE_LINE_WIDTH_MODE $CPPFLAGS"
2412 fi
2413
2414
2415 echo "$as_me:$LINENO: checking if ae2 support should be used" >&5
2416 echo $ECHO_N "checking if ae2 support should be used... $ECHO_C" >&6
2417
2418 AE2_CFLAGS=
2419 AET2_LDADD=
2420 AE2=no
2421 # Check whether --enable-ae2 or --disable-ae2 was given.
2422 if test "${enable_ae2+set}" = set; then
2423 enableval="$enable_ae2"
2424
2425 if test "X$enable_ae2" = "Xno" ; then
2426 AE2=no
2427 else
2428 AE2=yes
2429 fi
2430
2431 else
2432
2433 AE2=no
2434
2435 fi;
2436
2437 if test "X$AE2" = "Xyes" ; then
2438 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libae2rw.so"" | $as_tr_sh`
2439 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libae2rw.so\"" >&5
2440 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libae2rw.so\"... $ECHO_C" >&6
2441 if eval "test \"\${$as_ac_File+set}\" = set"; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 else
2444 test "$cross_compiling" = yes &&
2445 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2446 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2447 { (exit 1); exit 1; }; }
2448 if test -r ""$SIMARAMA_BASE/libae2rw.so""; then
2449 eval "$as_ac_File=yes"
2450 else
2451 eval "$as_ac_File=no"
2452 fi
2453 fi
2454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2455 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2456 if test `eval echo '${'$as_ac_File'}'` = yes; then
2457 AET2_SO=yes
2458 else
2459 AET2_SO=no
2460 fi
2461
2462
2463 if test "X$AET2_SO" = "Xyes" ; then
2464 AET2_CFLAGS="-DAET2_IS_PRESENT -I$SIMARAMA_BASE"
2465 AET2_LDADD="$SIMARAMA_BASE/libae2rw.so"
2466 else
2467
2468 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libae2rw.a"" | $as_tr_sh`
2469 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libae2rw.a\"" >&5
2470 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libae2rw.a\"... $ECHO_C" >&6
2471 if eval "test \"\${$as_ac_File+set}\" = set"; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 else
2474 test "$cross_compiling" = yes &&
2475 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2476 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2477 { (exit 1); exit 1; }; }
2478 if test -r ""$SIMARAMA_BASE/libae2rw.a""; then
2479 eval "$as_ac_File=yes"
2480 else
2481 eval "$as_ac_File=no"
2482 fi
2483 fi
2484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2485 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2486 if test `eval echo '${'$as_ac_File'}'` = yes; then
2487 AET2_A=yes
2488 else
2489 AET2_A=no
2490 fi
2491
2492 if test "X$AET2_A" = "Xyes" ; then
2493 AET2_CFLAGS="-DAET2_IS_PRESENT -I$SIMARAMA_BASE"
2494 AET2_LDADD="$SIMARAMA_BASE/libae2rw.a"
2495 else
2496
2497 { echo "$as_me:$LINENO: WARNING: AET2 library not found, skipping." >&5
2498 echo "$as_me: WARNING: AET2 library not found, skipping." >&2;}
2499
2500 fi
2501 fi
2502
2503 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libaliasdb.so"" | $as_tr_sh`
2504 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libaliasdb.so\"" >&5
2505 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libaliasdb.so\"... $ECHO_C" >&6
2506 if eval "test \"\${$as_ac_File+set}\" = set"; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509 test "$cross_compiling" = yes &&
2510 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2511 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2512 { (exit 1); exit 1; }; }
2513 if test -r ""$SIMARAMA_BASE/libaliasdb.so""; then
2514 eval "$as_ac_File=yes"
2515 else
2516 eval "$as_ac_File=no"
2517 fi
2518 fi
2519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2520 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2521 if test `eval echo '${'$as_ac_File'}'` = yes; then
2522 AAET2_SO=yes
2523 else
2524 AAET2_SO=no
2525 fi
2526
2527
2528 if test "X$AAET2_SO" = "Xyes" ; then
2529 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/aliasdb.h"" | $as_tr_sh`
2530 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/aliasdb.h\"" >&5
2531 echo $ECHO_N "checking for \"$SIMARAMA_BASE/aliasdb.h\"... $ECHO_C" >&6
2532 if eval "test \"\${$as_ac_File+set}\" = set"; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535 test "$cross_compiling" = yes &&
2536 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2537 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2538 { (exit 1); exit 1; }; }
2539 if test -r ""$SIMARAMA_BASE/aliasdb.h""; then
2540 eval "$as_ac_File=yes"
2541 else
2542 eval "$as_ac_File=no"
2543 fi
2544 fi
2545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2546 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2547 if test `eval echo '${'$as_ac_File'}'` = yes; then
2548 AAET2_SOY=yes
2549 else
2550 AAET2_SOY=no
2551 fi
2552
2553 if test "X$AAET2_SOY" = "Xyes" ; then
2554 AET2_CFLAGS="-DAET2_ALIASDB_IS_PRESENT $AET2_CFLAGS"
2555 AET2_LDADD="$SIMARAMA_BASE/libaliasdb.so $AET2_LDADD"
2556 else
2557 { echo "$as_me:$LINENO: WARNING: AET2 alias header not found, skipping." >&5
2558 echo "$as_me: WARNING: AET2 alias header not found, skipping." >&2;}
2559 fi
2560 else
2561
2562 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/libaliasdb.a"" | $as_tr_sh`
2563 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/libaliasdb.a\"" >&5
2564 echo $ECHO_N "checking for \"$SIMARAMA_BASE/libaliasdb.a\"... $ECHO_C" >&6
2565 if eval "test \"\${$as_ac_File+set}\" = set"; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 else
2568 test "$cross_compiling" = yes &&
2569 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2570 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2571 { (exit 1); exit 1; }; }
2572 if test -r ""$SIMARAMA_BASE/libaliasdb.a""; then
2573 eval "$as_ac_File=yes"
2574 else
2575 eval "$as_ac_File=no"
2576 fi
2577 fi
2578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2579 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2580 if test `eval echo '${'$as_ac_File'}'` = yes; then
2581 AET2_A=yes
2582 else
2583 AET2_A=no
2584 fi
2585
2586 if test "X$AAET2_A" = "Xyes" ; then
2587 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/aliasdb.h"" | $as_tr_sh`
2588 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/aliasdb.h\"" >&5
2589 echo $ECHO_N "checking for \"$SIMARAMA_BASE/aliasdb.h\"... $ECHO_C" >&6
2590 if eval "test \"\${$as_ac_File+set}\" = set"; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 else
2593 test "$cross_compiling" = yes &&
2594 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2595 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2596 { (exit 1); exit 1; }; }
2597 if test -r ""$SIMARAMA_BASE/aliasdb.h""; then
2598 eval "$as_ac_File=yes"
2599 else
2600 eval "$as_ac_File=no"
2601 fi
2602 fi
2603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2604 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2605 if test `eval echo '${'$as_ac_File'}'` = yes; then
2606 AAET2_SOY=yes
2607 else
2608 AAET2_SOY=no
2609 fi
2610
2611 if test "X$AAET2_SOY" = "Xyes" ; then
2612 AET2_CFLAGS="-DAET2_ALIASDB_IS_PRESENT $AET2_CFLAGS"
2613 AET2_LDADD="$SIMARAMA_BASE/libaliasdb.a $AET2_LDADD"
2614 else
2615 { echo "$as_me:$LINENO: WARNING: AET2 alias header not found, skipping." >&5
2616 echo "$as_me: WARNING: AET2 alias header not found, skipping." >&2;}
2617 fi
2618 else
2619
2620 { echo "$as_me:$LINENO: WARNING: AET2 alias library not found, skipping." >&5
2621 echo "$as_me: WARNING: AET2 alias library not found, skipping." >&2;}
2622
2623 fi
2624 fi
2625
2626 as_ac_File=`echo "ac_cv_file_"$SIMARAMA_BASE/ae2rw.h"" | $as_tr_sh`
2627 echo "$as_me:$LINENO: checking for \"$SIMARAMA_BASE/ae2rw.h\"" >&5
2628 echo $ECHO_N "checking for \"$SIMARAMA_BASE/ae2rw.h\"... $ECHO_C" >&6
2629 if eval "test \"\${$as_ac_File+set}\" = set"; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 test "$cross_compiling" = yes &&
2633 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2634 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2635 { (exit 1); exit 1; }; }
2636 if test -r ""$SIMARAMA_BASE/ae2rw.h""; then
2637 eval "$as_ac_File=yes"
2638 else
2639 eval "$as_ac_File=no"
2640 fi
2641 fi
2642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
2643 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
2644 if test `eval echo '${'$as_ac_File'}'` = yes; then
2645 AET2_SOY=yes
2646 else
2647 AET2_SOY=no
2648 fi
2649
2650 if test "X$AET2_SOY" = "Xno" ; then
2651 AET2_CFLAGS=
2652 AET2_LDADD=
2653 { echo "$as_me:$LINENO: WARNING: AET2 header not found, skipping." >&5
2654 echo "$as_me: WARNING: AET2 header not found, skipping." >&2;}
2655 fi
2656
2657 else
2658 echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6
2660 fi
2661
2662
2663
2664
2665
2666 # Checks for programs.
2667 # AC_PROG_CXX # not needed as gtkwave and related programs don't use c++
2668 for ac_prog in gawk mawk nawk awk
2669 do
2670 # Extract the first word of "$ac_prog", so it can be a program name with args.
2671 set dummy $ac_prog; ac_word=$2
2672 echo "$as_me:$LINENO: checking for $ac_word" >&5
2673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2674 if test "${ac_cv_prog_AWK+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 else
2677 if test -n "$AWK"; then
2678 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2679 else
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 for as_dir in $PATH
2682 do
2683 IFS=$as_save_IFS
2684 test -z "$as_dir" && as_dir=.
2685 for ac_exec_ext in '' $ac_executable_extensions; do
2686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2687 ac_cv_prog_AWK="$ac_prog"
2688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 break 2
2690 fi
2691 done
2692 done
2693
2694 fi
2695 fi
2696 AWK=$ac_cv_prog_AWK
2697 if test -n "$AWK"; then
2698 echo "$as_me:$LINENO: result: $AWK" >&5
2699 echo "${ECHO_T}$AWK" >&6
2700 else
2701 echo "$as_me:$LINENO: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2703 fi
2704
2705 test -n "$AWK" && break
2706 done
2707
2708 ac_ext=c
2709 ac_cpp='$CPP $CPPFLAGS'
2710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2713 if test -n "$ac_tool_prefix"; then
2714 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2715 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2716 echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2718 if test "${ac_cv_prog_CC+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2720 else
2721 if test -n "$CC"; then
2722 ac_cv_prog_CC="$CC" # Let the user override the test.
2723 else
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 for as_dir in $PATH
2726 do
2727 IFS=$as_save_IFS
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 break 2
2734 fi
2735 done
2736 done
2737
2738 fi
2739 fi
2740 CC=$ac_cv_prog_CC
2741 if test -n "$CC"; then
2742 echo "$as_me:$LINENO: result: $CC" >&5
2743 echo "${ECHO_T}$CC" >&6
2744 else
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2747 fi
2748
2749 fi
2750 if test -z "$ac_cv_prog_CC"; then
2751 ac_ct_CC=$CC
2752 # Extract the first word of "gcc", so it can be a program name with args.
2753 set dummy gcc; ac_word=$2
2754 echo "$as_me:$LINENO: checking for $ac_word" >&5
2755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 else
2759 if test -n "$ac_ct_CC"; then
2760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2761 else
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2764 do
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 for ac_exec_ext in '' $ac_executable_extensions; do
2768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2769 ac_cv_prog_ac_ct_CC="gcc"
2770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2771 break 2
2772 fi
2773 done
2774 done
2775
2776 fi
2777 fi
2778 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2779 if test -n "$ac_ct_CC"; then
2780 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2781 echo "${ECHO_T}$ac_ct_CC" >&6
2782 else
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2785 fi
2786
2787 CC=$ac_ct_CC
2788 else
2789 CC="$ac_cv_prog_CC"
2790 fi
2791
2792 if test -z "$CC"; then
2793 if test -n "$ac_tool_prefix"; then
2794 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2795 set dummy ${ac_tool_prefix}cc; ac_word=$2
2796 echo "$as_me:$LINENO: checking for $ac_word" >&5
2797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2798 if test "${ac_cv_prog_CC+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2800 else
2801 if test -n "$CC"; then
2802 ac_cv_prog_CC="$CC" # Let the user override the test.
2803 else
2804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 for as_dir in $PATH
2806 do
2807 IFS=$as_save_IFS
2808 test -z "$as_dir" && as_dir=.
2809 for ac_exec_ext in '' $ac_executable_extensions; do
2810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2811 ac_cv_prog_CC="${ac_tool_prefix}cc"
2812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2813 break 2
2814 fi
2815 done
2816 done
2817
2818 fi
2819 fi
2820 CC=$ac_cv_prog_CC
2821 if test -n "$CC"; then
2822 echo "$as_me:$LINENO: result: $CC" >&5
2823 echo "${ECHO_T}$CC" >&6
2824 else
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2827 fi
2828
2829 fi
2830 if test -z "$ac_cv_prog_CC"; then
2831 ac_ct_CC=$CC
2832 # Extract the first word of "cc", so it can be a program name with args.
2833 set dummy cc; ac_word=$2
2834 echo "$as_me:$LINENO: checking for $ac_word" >&5
2835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2837 echo $ECHO_N "(cached) $ECHO_C" >&6
2838 else
2839 if test -n "$ac_ct_CC"; then
2840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2841 else
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 for as_dir in $PATH
2844 do
2845 IFS=$as_save_IFS
2846 test -z "$as_dir" && as_dir=.
2847 for ac_exec_ext in '' $ac_executable_extensions; do
2848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2849 ac_cv_prog_ac_ct_CC="cc"
2850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 break 2
2852 fi
2853 done
2854 done
2855
2856 fi
2857 fi
2858 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2859 if test -n "$ac_ct_CC"; then
2860 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2861 echo "${ECHO_T}$ac_ct_CC" >&6
2862 else
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 fi
2866
2867 CC=$ac_ct_CC
2868 else
2869 CC="$ac_cv_prog_CC"
2870 fi
2871
2872 fi
2873 if test -z "$CC"; then
2874 # Extract the first word of "cc", so it can be a program name with args.
2875 set dummy cc; ac_word=$2
2876 echo "$as_me:$LINENO: checking for $ac_word" >&5
2877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2878 if test "${ac_cv_prog_CC+set}" = set; then
2879 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 else
2881 if test -n "$CC"; then
2882 ac_cv_prog_CC="$CC" # Let the user override the test.
2883 else
2884 ac_prog_rejected=no
2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 for as_dir in $PATH
2887 do
2888 IFS=$as_save_IFS
2889 test -z "$as_dir" && as_dir=.
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2892 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2893 ac_prog_rejected=yes
2894 continue
2895 fi
2896 ac_cv_prog_CC="cc"
2897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 break 2
2899 fi
2900 done
2901 done
2902
2903 if test $ac_prog_rejected = yes; then
2904 # We found a bogon in the path, so make sure we never use it.
2905 set dummy $ac_cv_prog_CC
2906 shift
2907 if test $@%:@ != 0; then
2908 # We chose a different compiler from the bogus one.
2909 # However, it has the same basename, so the bogon will be chosen
2910 # first if we set CC to just the basename; use the full file name.
2911 shift
2912 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2913 fi
2914 fi
2915 fi
2916 fi
2917 CC=$ac_cv_prog_CC
2918 if test -n "$CC"; then
2919 echo "$as_me:$LINENO: result: $CC" >&5
2920 echo "${ECHO_T}$CC" >&6
2921 else
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 fi
2925
2926 fi
2927 if test -z "$CC"; then
2928 if test -n "$ac_tool_prefix"; then
2929 for ac_prog in cl
2930 do
2931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2932 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2933 echo "$as_me:$LINENO: checking for $ac_word" >&5
2934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2935 if test "${ac_cv_prog_CC+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 else
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC="$CC" # Let the user override the test.
2940 else
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 for as_dir in $PATH
2943 do
2944 IFS=$as_save_IFS
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2950 break 2
2951 fi
2952 done
2953 done
2954
2955 fi
2956 fi
2957 CC=$ac_cv_prog_CC
2958 if test -n "$CC"; then
2959 echo "$as_me:$LINENO: result: $CC" >&5
2960 echo "${ECHO_T}$CC" >&6
2961 else
2962 echo "$as_me:$LINENO: result: no" >&5
2963 echo "${ECHO_T}no" >&6
2964 fi
2965
2966 test -n "$CC" && break
2967 done
2968 fi
2969 if test -z "$CC"; then
2970 ac_ct_CC=$CC
2971 for ac_prog in cl
2972 do
2973 # Extract the first word of "$ac_prog", so it can be a program name with args.
2974 set dummy $ac_prog; ac_word=$2
2975 echo "$as_me:$LINENO: checking for $ac_word" >&5
2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2977 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 else
2980 if test -n "$ac_ct_CC"; then
2981 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2982 else
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 for as_dir in $PATH
2985 do
2986 IFS=$as_save_IFS
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2990 ac_cv_prog_ac_ct_CC="$ac_prog"
2991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 break 2
2993 fi
2994 done
2995 done
2996
2997 fi
2998 fi
2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3000 if test -n "$ac_ct_CC"; then
3001 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3002 echo "${ECHO_T}$ac_ct_CC" >&6
3003 else
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 fi
3007
3008 test -n "$ac_ct_CC" && break
3009 done
3010
3011 CC=$ac_ct_CC
3012 fi
3013
3014 fi
3015
3016
3017 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3018 See \`config.log' for more details." >&5
3019 echo "$as_me: error: no acceptable C compiler found in \$PATH
3020 See \`config.log' for more details." >&2;}
3021 { (exit 1); exit 1; }; }
3022
3023 # Provide some information about the compiler.
3024 echo "$as_me:$LINENO:" \
3025 "checking for C compiler version" >&5
3026 ac_compiler=`set X $ac_compile; echo $2`
3027 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3028 (eval $ac_compiler --version </dev/null >&5) 2>&5
3029 ac_status=$?
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }
3032 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3033 (eval $ac_compiler -v </dev/null >&5) 2>&5
3034 ac_status=$?
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }
3037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3038 (eval $ac_compiler -V </dev/null >&5) 2>&5
3039 ac_status=$?
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }
3042
3043 cat >conftest.$ac_ext <<_ACEOF
3044 /* confdefs.h. */
3045 _ACEOF
3046 cat confdefs.h >>conftest.$ac_ext
3047 cat >>conftest.$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3049
3050 int
3051 main ()
3052 {
3053
3054 ;
3055 return 0;
3056 }
3057 _ACEOF
3058 ac_clean_files_save=$ac_clean_files
3059 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3060 # Try to create an executable without -o first, disregard a.out.
3061 # It will help us diagnose broken compilers, and finding out an intuition
3062 # of exeext.
3063 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3064 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
3065 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3066 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
3067 (eval $ac_link_default) 2>&5
3068 ac_status=$?
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; then
3071 # Find the output, starting from the most likely. This scheme is
3072 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
3073 # resort.
3074
3075 # Be careful to initialize this variable, since it used to be cached.
3076 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
3077 ac_cv_exeext=
3078 # b.out is created by i960 compilers.
3079 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
3080 do
3081 test -f "$ac_file" || continue
3082 case $ac_file in
3083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
3084 ;;
3085 conftest.$ac_ext )
3086 # This is the source file.
3087 ;;
3088 [ab].out )
3089 # We found the default executable, but exeext='' is most
3090 # certainly right.
3091 break;;
3092 *.* )
3093 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3094 # FIXME: I believe we export ac_cv_exeext for Libtool,
3095 # but it would be cool to find out if it's true. Does anybody
3096 # maintain Libtool? --akim.
3097 export ac_cv_exeext
3098 break;;
3099 * )
3100 break;;
3101 esac
3102 done
3103 else
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3106
3107 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3108 See \`config.log' for more details." >&5
3109 echo "$as_me: error: C compiler cannot create executables
3110 See \`config.log' for more details." >&2;}
3111 { (exit 77); exit 77; }; }
3112 fi
3113
3114 ac_exeext=$ac_cv_exeext
3115 echo "$as_me:$LINENO: result: $ac_file" >&5
3116 echo "${ECHO_T}$ac_file" >&6
3117
3118 # Check the compiler produces executables we can run. If not, either
3119 # the compiler is broken, or we cross compile.
3120 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3121 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
3122 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3123 # If not cross compiling, check that we can run a simple program.
3124 if test "$cross_compiling" != yes; then
3125 if { ac_try='./$ac_file'
3126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127 (eval $ac_try) 2>&5
3128 ac_status=$?
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }; }; then
3131 cross_compiling=no
3132 else
3133 if test "$cross_compiling" = maybe; then
3134 cross_compiling=yes
3135 else
3136 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3137 If you meant to cross compile, use \`--host'.
3138 See \`config.log' for more details." >&5
3139 echo "$as_me: error: cannot run C compiled programs.
3140 If you meant to cross compile, use \`--host'.
3141 See \`config.log' for more details." >&2;}
3142 { (exit 1); exit 1; }; }
3143 fi
3144 fi
3145 fi
3146 echo "$as_me:$LINENO: result: yes" >&5
3147 echo "${ECHO_T}yes" >&6
3148
3149 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3150 ac_clean_files=$ac_clean_files_save
3151 # Check the compiler produces executables we can run. If not, either
3152 # the compiler is broken, or we cross compile.
3153 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3154 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3155 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3156 echo "${ECHO_T}$cross_compiling" >&6
3157
3158 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3159 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3161 (eval $ac_link) 2>&5
3162 ac_status=$?
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; then
3165 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3166 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3167 # work properly (i.e., refer to `conftest.exe'), while it won't with
3168 # `rm'.
3169 for ac_file in conftest.exe conftest conftest.*; do
3170 test -f "$ac_file" || continue
3171 case $ac_file in
3172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3173 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3174 export ac_cv_exeext
3175 break;;
3176 * ) break;;
3177 esac
3178 done
3179 else
3180 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3181 See \`config.log' for more details." >&5
3182 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3183 See \`config.log' for more details." >&2;}
3184 { (exit 1); exit 1; }; }
3185 fi
3186
3187 rm -f conftest$ac_cv_exeext
3188 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3189 echo "${ECHO_T}$ac_cv_exeext" >&6
3190
3191 rm -f conftest.$ac_ext
3192 EXEEXT=$ac_cv_exeext
3193 ac_exeext=$EXEEXT
3194 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3195 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3196 if test "${ac_cv_objext+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 else
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
3206 int
3207 main ()
3208 {
3209
3210 ;
3211 return 0;
3212 }
3213 _ACEOF
3214 rm -f conftest.o conftest.obj
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216 (eval $ac_compile) 2>&5
3217 ac_status=$?
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; then
3220 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3221 case $ac_file in
3222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3223 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3224 break;;
3225 esac
3226 done
3227 else
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3230
3231 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3232 See \`config.log' for more details." >&5
3233 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3234 See \`config.log' for more details." >&2;}
3235 { (exit 1); exit 1; }; }
3236 fi
3237
3238 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3239 fi
3240 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3241 echo "${ECHO_T}$ac_cv_objext" >&6
3242 OBJEXT=$ac_cv_objext
3243 ac_objext=$OBJEXT
3244 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3245 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3246 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 else
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3255
3256 int
3257 main ()
3258 {
3259 #ifndef __GNUC__
3260 choke me
3261 #endif
3262
3263 ;
3264 return 0;
3265 }
3266 _ACEOF
3267 rm -f conftest.$ac_objext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269 (eval $ac_compile) 2>conftest.er1
3270 ac_status=$?
3271 grep -v '^ *+' conftest.er1 >conftest.err
3272 rm -f conftest.er1
3273 cat conftest.err >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } &&
3276 { ac_try='test -z "$ac_c_werror_flag"
3277 || test ! -s conftest.err'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279 (eval $ac_try) 2>&5
3280 ac_status=$?
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; } &&
3283 { ac_try='test -s conftest.$ac_objext'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5
3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then
3289 ac_compiler_gnu=yes
3290 else
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3293
3294 ac_compiler_gnu=no
3295 fi
3296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3298
3299 fi
3300 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3301 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3302 GCC=`test $ac_compiler_gnu = yes && echo yes`
3303 ac_test_CFLAGS=${CFLAGS+set}
3304 ac_save_CFLAGS=$CFLAGS
3305 CFLAGS="-g"
3306 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3307 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3308 if test "${ac_cv_prog_cc_g+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 else
3311 cat >conftest.$ac_ext <<_ACEOF
3312 /* confdefs.h. */
3313 _ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3317
3318 int
3319 main ()
3320 {
3321
3322 ;
3323 return 0;
3324 }
3325 _ACEOF
3326 rm -f conftest.$ac_objext
3327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3328 (eval $ac_compile) 2>conftest.er1
3329 ac_status=$?
3330 grep -v '^ *+' conftest.er1 >conftest.err
3331 rm -f conftest.er1
3332 cat conftest.err >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } &&
3335 { ac_try='test -z "$ac_c_werror_flag"
3336 || test ! -s conftest.err'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 (eval $ac_try) 2>&5
3339 ac_status=$?
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; } &&
3342 { ac_try='test -s conftest.$ac_objext'
3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 (eval $ac_try) 2>&5
3345 ac_status=$?
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; }; then
3348 ac_cv_prog_cc_g=yes
3349 else
3350 echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3352
3353 ac_cv_prog_cc_g=no
3354 fi
3355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3356 fi
3357 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3358 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3359 if test "$ac_test_CFLAGS" = set; then
3360 CFLAGS=$ac_save_CFLAGS
3361 elif test $ac_cv_prog_cc_g = yes; then
3362 if test "$GCC" = yes; then
3363 CFLAGS="-g -O2"
3364 else
3365 CFLAGS="-g"
3366 fi
3367 else
3368 if test "$GCC" = yes; then
3369 CFLAGS="-O2"
3370 else
3371 CFLAGS=
3372 fi
3373 fi
3374 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3375 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3376 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 else
3379 ac_cv_prog_cc_stdc=no
3380 ac_save_CC=$CC
3381 cat >conftest.$ac_ext <<_ACEOF
3382 /* confdefs.h. */
3383 _ACEOF
3384 cat confdefs.h >>conftest.$ac_ext
3385 cat >>conftest.$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3387 #include <stdarg.h>
3388 #include <stdio.h>
3389 #include <sys/types.h>
3390 #include <sys/stat.h>
3391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3392 struct buf { int x; };
3393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3394 static char *e (p, i)
3395 char **p;
3396 int i;
3397 {
3398 return p[i];
3399 }
3400 static char *f (char * (*g) (char **, int), char **p, ...)
3401 {
3402 char *s;
3403 va_list v;
3404 va_start (v,p);
3405 s = g (p, va_arg (v,int));
3406 va_end (v);
3407 return s;
3408 }
3409
3410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3411 function prototypes and stuff, but not '\xHH' hex character constants.
3412 These don't provoke an error unfortunately, instead are silently treated
3413 as 'x'. The following induces an error, until -std1 is added to get
3414 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3415 array size at least. It's necessary to write '\x00'==0 to get something
3416 that's true only with -std1. */
3417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3418
3419 int test (int i, double x);
3420 struct s1 {int (*f) (int a);};
3421 struct s2 {int (*f) (double a);};
3422 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3423 int argc;
3424 char **argv;
3425 int
3426 main ()
3427 {
3428 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3429 ;
3430 return 0;
3431 }
3432 _ACEOF
3433 # Don't try gcc -ansi; that turns off useful extensions and
3434 # breaks some systems' header files.
3435 # AIX -qlanglvl=ansi
3436 # Ultrix and OSF/1 -std1
3437 # HP-UX 10.20 and later -Ae
3438 # HP-UX older versions -Aa -D_HPUX_SOURCE
3439 # SVR4 -Xc -D__EXTENSIONS__
3440 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3441 do
3442 CC="$ac_save_CC $ac_arg"
3443 rm -f conftest.$ac_objext
3444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3445 (eval $ac_compile) 2>conftest.er1
3446 ac_status=$?
3447 grep -v '^ *+' conftest.er1 >conftest.err
3448 rm -f conftest.er1
3449 cat conftest.err >&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } &&
3452 { ac_try='test -z "$ac_c_werror_flag"
3453 || test ! -s conftest.err'
3454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3455 (eval $ac_try) 2>&5
3456 ac_status=$?
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }; } &&
3459 { ac_try='test -s conftest.$ac_objext'
3460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 (eval $ac_try) 2>&5
3462 ac_status=$?
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; }; then
3465 ac_cv_prog_cc_stdc=$ac_arg
3466 break
3467 else
3468 echo "$as_me: failed program was:" >&5
3469 sed 's/^/| /' conftest.$ac_ext >&5
3470
3471 fi
3472 rm -f conftest.err conftest.$ac_objext
3473 done
3474 rm -f conftest.$ac_ext conftest.$ac_objext
3475 CC=$ac_save_CC
3476
3477 fi
3478
3479 case "x$ac_cv_prog_cc_stdc" in
3480 x|xno)
3481 echo "$as_me:$LINENO: result: none needed" >&5
3482 echo "${ECHO_T}none needed" >&6 ;;
3483 *)
3484 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3485 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3486 CC="$CC $ac_cv_prog_cc_stdc" ;;
3487 esac
3488
3489 # Some people use a C++ compiler to compile C. Since we use `exit',
3490 # in C++ we need to declare it. In case someone uses the same compiler
3491 # for both compiling C and C++ we need to have the C++ compiler decide
3492 # the declaration of exit, since it's the most demanding environment.
3493 cat >conftest.$ac_ext <<_ACEOF
3494 @%:@ifndef __cplusplus
3495 choke me
3496 @%:@endif
3497 _ACEOF
3498 rm -f conftest.$ac_objext
3499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3500 (eval $ac_compile) 2>conftest.er1
3501 ac_status=$?
3502 grep -v '^ *+' conftest.er1 >conftest.err
3503 rm -f conftest.er1
3504 cat conftest.err >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); } &&
3507 { ac_try='test -z "$ac_c_werror_flag"
3508 || test ! -s conftest.err'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510 (eval $ac_try) 2>&5
3511 ac_status=$?
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; } &&
3514 { ac_try='test -s conftest.$ac_objext'
3515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 (eval $ac_try) 2>&5
3517 ac_status=$?
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); }; }; then
3520 for ac_declaration in \
3521 '' \
3522 'extern "C" void std::exit (int) throw (); using std::exit;' \
3523 'extern "C" void std::exit (int); using std::exit;' \
3524 'extern "C" void exit (int) throw ();' \
3525 'extern "C" void exit (int);' \
3526 'void exit (int);'
3527 do
3528 cat >conftest.$ac_ext <<_ACEOF
3529 /* confdefs.h. */
3530 _ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 $ac_declaration
3535 @%:@include <stdlib.h>
3536 int
3537 main ()
3538 {
3539 exit (42);
3540 ;
3541 return 0;
3542 }
3543 _ACEOF
3544 rm -f conftest.$ac_objext
3545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3546 (eval $ac_compile) 2>conftest.er1
3547 ac_status=$?
3548 grep -v '^ *+' conftest.er1 >conftest.err
3549 rm -f conftest.er1
3550 cat conftest.err >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); } &&
3553 { ac_try='test -z "$ac_c_werror_flag"
3554 || test ! -s conftest.err'
3555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 (eval $ac_try) 2>&5
3557 ac_status=$?
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }; } &&
3560 { ac_try='test -s conftest.$ac_objext'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 (eval $ac_try) 2>&5
3563 ac_status=$?
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; }; then
3566 :
3567 else
3568 echo "$as_me: failed program was:" >&5
3569 sed 's/^/| /' conftest.$ac_ext >&5
3570
3571 continue
3572 fi
3573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3574 cat >conftest.$ac_ext <<_ACEOF
3575 /* confdefs.h. */
3576 _ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3580 $ac_declaration
3581 int
3582 main ()
3583 {
3584 exit (42);
3585 ;
3586 return 0;
3587 }
3588 _ACEOF
3589 rm -f conftest.$ac_objext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3591 (eval $ac_compile) 2>conftest.er1
3592 ac_status=$?
3593 grep -v '^ *+' conftest.er1 >conftest.err
3594 rm -f conftest.er1
3595 cat conftest.err >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try='test -z "$ac_c_werror_flag"
3599 || test ! -s conftest.err'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601 (eval $ac_try) 2>&5
3602 ac_status=$?
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; } &&
3605 { ac_try='test -s conftest.$ac_objext'
3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607 (eval $ac_try) 2>&5
3608 ac_status=$?
3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); }; }; then
3611 break
3612 else
3613 echo "$as_me: failed program was:" >&5
3614 sed 's/^/| /' conftest.$ac_ext >&5
3615
3616 fi
3617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3618 done
3619 rm -f conftest*
3620 if test -n "$ac_declaration"; then
3621 echo '#ifdef __cplusplus' >>confdefs.h
3622 echo $ac_declaration >>confdefs.h
3623 echo '#endif' >>confdefs.h
3624 fi
3625
3626 else
3627 echo "$as_me: failed program was:" >&5
3628 sed 's/^/| /' conftest.$ac_ext >&5
3629
3630 fi
3631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3632 ac_ext=c
3633 ac_cpp='$CPP $CPPFLAGS'
3634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3637 DEPDIR="${am__leading_dot}deps"
3638
3639 ac_config_commands="$ac_config_commands depfiles"
3640
3641
3642 am_make=${MAKE-make}
3643 cat > confinc << 'END'
3644 am__doit:
3645 @echo done
3646 .PHONY: am__doit
3647 END
3648 # If we don't find an include directive, just comment out the code.
3649 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3650 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3651 am__include="#"
3652 am__quote=
3653 _am_result=none
3654 # First try GNU make style include.
3655 echo "include confinc" > confmf
3656 # We grep out `Entering directory' and `Leaving directory'
3657 # messages which can occur if `w' ends up in MAKEFLAGS.
3658 # In particular we don't look at `^make:' because GNU make might
3659 # be invoked under some other name (usually "gmake"), in which
3660 # case it prints its new name instead of `make'.
3661 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3662 am__include=include
3663 am__quote=
3664 _am_result=GNU
3665 fi
3666 # Now try BSD make style include.
3667 if test "$am__include" = "#"; then
3668 echo '.include "confinc"' > confmf
3669 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3670 am__include=.include
3671 am__quote="\""
3672 _am_result=BSD
3673 fi
3674 fi
3675
3676
3677 echo "$as_me:$LINENO: result: $_am_result" >&5
3678 echo "${ECHO_T}$_am_result" >&6
3679 rm -f confinc confmf
3680
3681 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3682 if test "${enable_dependency_tracking+set}" = set; then
3683 enableval="$enable_dependency_tracking"
3684
3685 fi;
3686 if test "x$enable_dependency_tracking" != xno; then
3687 am_depcomp="$ac_aux_dir/depcomp"
3688 AMDEPBACKSLASH='\'
3689 fi
3690
3691
3692 if test "x$enable_dependency_tracking" != xno; then
3693 AMDEP_TRUE=
3694 AMDEP_FALSE='#'
3695 else
3696 AMDEP_TRUE='#'
3697 AMDEP_FALSE=
3698 fi
3699
3700
3701
3702
3703 depcc="$CC" am_compiler_list=
3704
3705 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3706 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3707 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 else
3710 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3711 # We make a subdir and do the tests there. Otherwise we can end up
3712 # making bogus files that we don't know about and never remove. For
3713 # instance it was reported that on HP-UX the gcc test will end up
3714 # making a dummy file named `D' -- because `-MD' means `put the output
3715 # in D'.
3716 mkdir conftest.dir
3717 # Copy depcomp to subdir because otherwise we won't find it if we're
3718 # using a relative directory.
3719 cp "$am_depcomp" conftest.dir
3720 cd conftest.dir
3721 # We will build objects and dependencies in a subdirectory because
3722 # it helps to detect inapplicable dependency modes. For instance
3723 # both Tru64's cc and ICC support -MD to output dependencies as a
3724 # side effect of compilation, but ICC will put the dependencies in
3725 # the current directory while Tru64 will put them in the object
3726 # directory.
3727 mkdir sub
3728
3729 am_cv_CC_dependencies_compiler_type=none
3730 if test "$am_compiler_list" = ""; then
3731 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3732 fi
3733 for depmode in $am_compiler_list; do
3734 # Setup a source with many dependencies, because some compilers
3735 # like to wrap large dependency lists on column 80 (with \), and
3736 # we should not choose a depcomp mode which is confused by this.
3737 #
3738 # We need to recreate these files for each test, as the compiler may
3739 # overwrite some of them when testing with obscure command lines.
3740 # This happens at least with the AIX C compiler.
3741 : > sub/conftest.c
3742 for i in 1 2 3 4 5 6; do
3743 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3744 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3745 # Solaris 8's {/usr,}/bin/sh.
3746 touch sub/conftst$i.h
3747 done
3748 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3749
3750 case $depmode in
3751 nosideeffect)
3752 # after this tag, mechanisms are not by side-effect, so they'll
3753 # only be used when explicitly requested
3754 if test "x$enable_dependency_tracking" = xyes; then
3755 continue
3756 else
3757 break
3758 fi
3759 ;;
3760 none) break ;;
3761 esac
3762 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3763 # mode. It turns out that the SunPro C++ compiler does not properly
3764 # handle `-M -o', and we need to detect this.
3765 if depmode=$depmode \
3766 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3767 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3768 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3769 >/dev/null 2>conftest.err &&
3770 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3771 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3772 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3773 # icc doesn't choke on unknown options, it will just issue warnings
3774 # or remarks (even with -Werror). So we grep stderr for any message
3775 # that says an option was ignored or not supported.
3776 # When given -MP, icc 7.0 and 7.1 complain thusly:
3777 # icc: Command line warning: ignoring option '-M'; no argument required
3778 # The diagnosis changed in icc 8.0:
3779 # icc: Command line remark: option '-MP' not supported
3780 if (grep 'ignoring option' conftest.err ||
3781 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3782 am_cv_CC_dependencies_compiler_type=$depmode
3783 break
3784 fi
3785 fi
3786 done
3787
3788 cd ..
3789 rm -rf conftest.dir
3790 else
3791 am_cv_CC_dependencies_compiler_type=none
3792 fi
3793
3794 fi
3795 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3796 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3797 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3798
3799
3800
3801 if
3802 test "x$enable_dependency_tracking" != xno \
3803 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3804 am__fastdepCC_TRUE=
3805 am__fastdepCC_FALSE='#'
3806 else
3807 am__fastdepCC_TRUE='#'
3808 am__fastdepCC_FALSE=
3809 fi
3810
3811
3812 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3813 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3814 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3815 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3816 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 else
3818 cat >conftest.make <<\_ACEOF
3819 all:
3820 @echo 'ac_maketemp="$(MAKE)"'
3821 _ACEOF
3822 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3823 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3824 if test -n "$ac_maketemp"; then
3825 eval ac_cv_prog_make_${ac_make}_set=yes
3826 else
3827 eval ac_cv_prog_make_${ac_make}_set=no
3828 fi
3829 rm -f conftest.make
3830 fi
3831 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3832 echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6
3834 SET_MAKE=
3835 else
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3838 SET_MAKE="MAKE=${MAKE-make}"
3839 fi
3840
3841
3842 for ac_prog in flex lex
3843 do
3844 # Extract the first word of "$ac_prog", so it can be a program name with args.
3845 set dummy $ac_prog; ac_word=$2
3846 echo "$as_me:$LINENO: checking for $ac_word" >&5
3847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3848 if test "${ac_cv_prog_LEX+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 else
3851 if test -n "$LEX"; then
3852 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3853 else
3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3855 for as_dir in $PATH
3856 do
3857 IFS=$as_save_IFS
3858 test -z "$as_dir" && as_dir=.
3859 for ac_exec_ext in '' $ac_executable_extensions; do
3860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3861 ac_cv_prog_LEX="$ac_prog"
3862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 break 2
3864 fi
3865 done
3866 done
3867
3868 fi
3869 fi
3870 LEX=$ac_cv_prog_LEX
3871 if test -n "$LEX"; then
3872 echo "$as_me:$LINENO: result: $LEX" >&5
3873 echo "${ECHO_T}$LEX" >&6
3874 else
3875 echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
3877 fi
3878
3879 test -n "$LEX" && break
3880 done
3881 test -n "$LEX" || LEX=":"
3882
3883 if test -z "$LEXLIB"
3884 then
3885 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3886 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3887 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 else
3890 ac_check_lib_save_LIBS=$LIBS
3891 LIBS="-lfl $LIBS"
3892 cat >conftest.$ac_ext <<_ACEOF
3893 /* confdefs.h. */
3894 _ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3898
3899 /* Override any gcc2 internal prototype to avoid an error. */
3900 #ifdef __cplusplus
3901 extern "C"
3902 #endif
3903 /* We use char because int might match the return type of a gcc2
3904 builtin and then its argument prototype would still apply. */
3905 char yywrap ();
3906 int
3907 main ()
3908 {
3909 yywrap ();
3910 ;
3911 return 0;
3912 }
3913 _ACEOF
3914 rm -f conftest.$ac_objext conftest$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>conftest.er1
3917 ac_status=$?
3918 grep -v '^ *+' conftest.er1 >conftest.err
3919 rm -f conftest.er1
3920 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try='test -z "$ac_c_werror_flag"
3924 || test ! -s conftest.err'
3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3926 (eval $ac_try) 2>&5
3927 ac_status=$?
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; } &&
3930 { ac_try='test -s conftest$ac_exeext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 (eval $ac_try) 2>&5
3933 ac_status=$?
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_lib_fl_yywrap=yes
3937 else
3938 echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3940
3941 ac_cv_lib_fl_yywrap=no
3942 fi
3943 rm -f conftest.err conftest.$ac_objext \
3944 conftest$ac_exeext conftest.$ac_ext
3945 LIBS=$ac_check_lib_save_LIBS
3946 fi
3947 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3948 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3949 if test $ac_cv_lib_fl_yywrap = yes; then
3950 LEXLIB="-lfl"
3951 else
3952 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3953 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3954 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 else
3957 ac_check_lib_save_LIBS=$LIBS
3958 LIBS="-ll $LIBS"
3959 cat >conftest.$ac_ext <<_ACEOF
3960 /* confdefs.h. */
3961 _ACEOF
3962 cat confdefs.h >>conftest.$ac_ext
3963 cat >>conftest.$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3965
3966 /* Override any gcc2 internal prototype to avoid an error. */
3967 #ifdef __cplusplus
3968 extern "C"
3969 #endif
3970 /* We use char because int might match the return type of a gcc2
3971 builtin and then its argument prototype would still apply. */
3972 char yywrap ();
3973 int
3974 main ()
3975 {
3976 yywrap ();
3977 ;
3978 return 0;
3979 }
3980 _ACEOF
3981 rm -f conftest.$ac_objext conftest$ac_exeext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3983 (eval $ac_link) 2>conftest.er1
3984 ac_status=$?
3985 grep -v '^ *+' conftest.er1 >conftest.err
3986 rm -f conftest.er1
3987 cat conftest.err >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } &&
3990 { ac_try='test -z "$ac_c_werror_flag"
3991 || test ! -s conftest.err'
3992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993 (eval $ac_try) 2>&5
3994 ac_status=$?
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); }; } &&
3997 { ac_try='test -s conftest$ac_exeext'
3998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3999 (eval $ac_try) 2>&5
4000 ac_status=$?
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); }; }; then
4003 ac_cv_lib_l_yywrap=yes
4004 else
4005 echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.$ac_ext >&5
4007
4008 ac_cv_lib_l_yywrap=no
4009 fi
4010 rm -f conftest.err conftest.$ac_objext \
4011 conftest$ac_exeext conftest.$ac_ext
4012 LIBS=$ac_check_lib_save_LIBS
4013 fi
4014 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4015 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4016 if test $ac_cv_lib_l_yywrap = yes; then
4017 LEXLIB="-ll"
4018 fi
4019
4020 fi
4021
4022 fi
4023
4024 if test "x$LEX" != "x:"; then
4025 echo "$as_me:$LINENO: checking lex output file root" >&5
4026 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4027 if test "${ac_cv_prog_lex_root+set}" = set; then
4028 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 else
4030 # The minimal lex program is just a single line: %%. But some broken lexes
4031 # (Solaris, I think it was) want two %% lines, so accommodate them.
4032 cat >conftest.l <<_ACEOF
4033 %%
4034 %%
4035 _ACEOF
4036 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4037 (eval $LEX conftest.l) 2>&5
4038 ac_status=$?
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }
4041 if test -f lex.yy.c; then
4042 ac_cv_prog_lex_root=lex.yy
4043 elif test -f lexyy.c; then
4044 ac_cv_prog_lex_root=lexyy
4045 else
4046 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4047 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4048 { (exit 1); exit 1; }; }
4049 fi
4050 fi
4051 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4052 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4053 rm -f conftest.l
4054 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4055
4056 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4057 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4058 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 else
4061 # POSIX says lex can declare yytext either as a pointer or an array; the
4062 # default is implementation-dependent. Figure out which it is, since
4063 # not all implementations provide the %pointer and %array declarations.
4064 ac_cv_prog_lex_yytext_pointer=no
4065 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4066 ac_save_LIBS=$LIBS
4067 LIBS="$LIBS $LEXLIB"
4068 cat >conftest.$ac_ext <<_ACEOF
4069 `cat $LEX_OUTPUT_ROOT.c`
4070 _ACEOF
4071 rm -f conftest.$ac_objext conftest$ac_exeext
4072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4073 (eval $ac_link) 2>conftest.er1
4074 ac_status=$?
4075 grep -v '^ *+' conftest.er1 >conftest.err
4076 rm -f conftest.er1
4077 cat conftest.err >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } &&
4080 { ac_try='test -z "$ac_c_werror_flag"
4081 || test ! -s conftest.err'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083 (eval $ac_try) 2>&5
4084 ac_status=$?
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; } &&
4087 { ac_try='test -s conftest$ac_exeext'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4089 (eval $ac_try) 2>&5
4090 ac_status=$?
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 ac_cv_prog_lex_yytext_pointer=yes
4094 else
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4097
4098 fi
4099 rm -f conftest.err conftest.$ac_objext \
4100 conftest$ac_exeext conftest.$ac_ext
4101 LIBS=$ac_save_LIBS
4102 rm -f "${LEX_OUTPUT_ROOT}.c"
4103
4104 fi
4105 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4106 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4107 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4108
4109 cat >>confdefs.h <<\_ACEOF
4110 @%:@define YYTEXT_POINTER 1
4111 _ACEOF
4112
4113 fi
4114
4115 fi
4116 if test -n "$ac_tool_prefix"; then
4117 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4118 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_prog_RANLIB+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 else
4124 if test -n "$RANLIB"; then
4125 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4126 else
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 for as_dir in $PATH
4129 do
4130 IFS=$as_save_IFS
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 break 2
4137 fi
4138 done
4139 done
4140
4141 fi
4142 fi
4143 RANLIB=$ac_cv_prog_RANLIB
4144 if test -n "$RANLIB"; then
4145 echo "$as_me:$LINENO: result: $RANLIB" >&5
4146 echo "${ECHO_T}$RANLIB" >&6
4147 else
4148 echo "$as_me:$LINENO: result: no" >&5
4149 echo "${ECHO_T}no" >&6
4150 fi
4151
4152 fi
4153 if test -z "$ac_cv_prog_RANLIB"; then
4154 ac_ct_RANLIB=$RANLIB
4155 # Extract the first word of "ranlib", so it can be a program name with args.
4156 set dummy ranlib; ac_word=$2
4157 echo "$as_me:$LINENO: checking for $ac_word" >&5
4158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4159 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 else
4162 if test -n "$ac_ct_RANLIB"; then
4163 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4164 else
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4167 do
4168 IFS=$as_save_IFS
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_RANLIB="ranlib"
4173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 break 2
4175 fi
4176 done
4177 done
4178
4179 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4180 fi
4181 fi
4182 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4183 if test -n "$ac_ct_RANLIB"; then
4184 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4185 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4186 else
4187 echo "$as_me:$LINENO: result: no" >&5
4188 echo "${ECHO_T}no" >&6
4189 fi
4190
4191 RANLIB=$ac_ct_RANLIB
4192 else
4193 RANLIB="$ac_cv_prog_RANLIB"
4194 fi
4195
4196
4197 #
4198 # only needed if user wishes to process various files with an external reader
4199 #
4200 # Extract the first word of "fsdbdebug", so it can be a program name with args.
4201 set dummy fsdbdebug; ac_word=$2
4202 echo "$as_me:$LINENO: checking for $ac_word" >&5
4203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4204 if test "${ac_cv_path_EXTDEBUG+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 else
4207 case $EXTDEBUG in
4208 [\\/]* | ?:[\\/]*)
4209 ac_cv_path_EXTDEBUG="$EXTDEBUG" # Let the user override the test with a path.
4210 ;;
4211 *)
4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 for as_dir in $PATH
4214 do
4215 IFS=$as_save_IFS
4216 test -z "$as_dir" && as_dir=.
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219 ac_cv_path_EXTDEBUG="$as_dir/$ac_word$ac_exec_ext"
4220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 break 2
4222 fi
4223 done
4224 done
4225
4226 test -z "$ac_cv_path_EXTDEBUG" && ac_cv_path_EXTDEBUG="notfound"
4227 ;;
4228 esac
4229 fi
4230 EXTDEBUG=$ac_cv_path_EXTDEBUG
4231
4232 if test -n "$EXTDEBUG"; then
4233 echo "$as_me:$LINENO: result: $EXTDEBUG" >&5
4234 echo "${ECHO_T}$EXTDEBUG" >&6
4235 else
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4238 fi
4239
4240 if test "$EXTDEBUG" = "notfound" ; then
4241 EXTLOAD_CFLAGS=
4242 else
4243 EXTLOAD_CFLAGS="-DEXTLOAD_PATH=\\\"$EXTDEBUG\\\" -DEXTLOAD_SUFFIX=\\\"fsdb\\\""
4244 fi
4245
4246
4247
4248 #
4249 # gperf only needed if the user updates the gperf data
4250 # files which only developers will be doing...
4251 #
4252 # Extract the first word of "gperf", so it can be a program name with args.
4253 set dummy gperf; ac_word=$2
4254 echo "$as_me:$LINENO: checking for $ac_word" >&5
4255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4256 if test "${ac_cv_path_GPERF+set}" = set; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4258 else
4259 case $GPERF in
4260 [\\/]* | ?:[\\/]*)
4261 ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
4262 ;;
4263 *)
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 for as_dir in $PATH
4266 do
4267 IFS=$as_save_IFS
4268 test -z "$as_dir" && as_dir=.
4269 for ac_exec_ext in '' $ac_executable_extensions; do
4270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4271 ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
4272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 break 2
4274 fi
4275 done
4276 done
4277
4278 test -z "$ac_cv_path_GPERF" && ac_cv_path_GPERF="notfound"
4279 ;;
4280 esac
4281 fi
4282 GPERF=$ac_cv_path_GPERF
4283
4284 if test -n "$GPERF"; then
4285 echo "$as_me:$LINENO: result: $GPERF" >&5
4286 echo "${ECHO_T}$GPERF" >&6
4287 else
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4290 fi
4291
4292 if test "$GPERF" = "notfound" ; then
4293 { { echo "$as_me:$LINENO: error: Couldn't find a usable gperf program.
4294 Please install gperf which is available from
4295 ftp://ftp.gnu.org/pub/gnu/gperf/
4296 " >&5
4297 echo "$as_me: error: Couldn't find a usable gperf program.
4298 Please install gperf which is available from
4299 ftp://ftp.gnu.org/pub/gnu/gperf/
4300 " >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303
4304 # Checks for libraries.
4305
4306 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4307 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4308 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 else
4311 ac_check_lib_save_LIBS=$LIBS
4312 LIBS="-ldl $LIBS"
4313 cat >conftest.$ac_ext <<_ACEOF
4314 /* confdefs.h. */
4315 _ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4319
4320 /* Override any gcc2 internal prototype to avoid an error. */
4321 #ifdef __cplusplus
4322 extern "C"
4323 #endif
4324 /* We use char because int might match the return type of a gcc2
4325 builtin and then its argument prototype would still apply. */
4326 char dlopen ();
4327 int
4328 main ()
4329 {
4330 dlopen ();
4331 ;
4332 return 0;
4333 }
4334 _ACEOF
4335 rm -f conftest.$ac_objext conftest$ac_exeext
4336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4337 (eval $ac_link) 2>conftest.er1
4338 ac_status=$?
4339 grep -v '^ *+' conftest.er1 >conftest.err
4340 rm -f conftest.er1
4341 cat conftest.err >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } &&
4344 { ac_try='test -z "$ac_c_werror_flag"
4345 || test ! -s conftest.err'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347 (eval $ac_try) 2>&5
4348 ac_status=$?
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; } &&
4351 { ac_try='test -s conftest$ac_exeext'
4352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 (eval $ac_try) 2>&5
4354 ac_status=$?
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; }; then
4357 ac_cv_lib_dl_dlopen=yes
4358 else
4359 echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.$ac_ext >&5
4361
4362 ac_cv_lib_dl_dlopen=no
4363 fi
4364 rm -f conftest.err conftest.$ac_objext \
4365 conftest$ac_exeext conftest.$ac_ext
4366 LIBS=$ac_check_lib_save_LIBS
4367 fi
4368 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4369 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4370 if test $ac_cv_lib_dl_dlopen = yes; then
4371 cat >>confdefs.h <<_ACEOF
4372 @%:@define HAVE_LIBDL 1
4373 _ACEOF
4374
4375 LIBS="-ldl $LIBS"
4376
4377 fi
4378
4379
4380 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
4381 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
4382 if test "${ac_cv_lib_m_sqrt+set}" = set; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 else
4385 ac_check_lib_save_LIBS=$LIBS
4386 LIBS="-lm $LIBS"
4387 cat >conftest.$ac_ext <<_ACEOF
4388 /* confdefs.h. */
4389 _ACEOF
4390 cat confdefs.h >>conftest.$ac_ext
4391 cat >>conftest.$ac_ext <<_ACEOF
4392 /* end confdefs.h. */
4393
4394 /* Override any gcc2 internal prototype to avoid an error. */
4395 #ifdef __cplusplus
4396 extern "C"
4397 #endif
4398 /* We use char because int might match the return type of a gcc2
4399 builtin and then its argument prototype would still apply. */
4400 char sqrt ();
4401 int
4402 main ()
4403 {
4404 sqrt ();
4405 ;
4406 return 0;
4407 }
4408 _ACEOF
4409 rm -f conftest.$ac_objext conftest$ac_exeext
4410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4411 (eval $ac_link) 2>conftest.er1
4412 ac_status=$?
4413 grep -v '^ *+' conftest.er1 >conftest.err
4414 rm -f conftest.er1
4415 cat conftest.err >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } &&
4418 { ac_try='test -z "$ac_c_werror_flag"
4419 || test ! -s conftest.err'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 (eval $ac_try) 2>&5
4422 ac_status=$?
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; } &&
4425 { ac_try='test -s conftest$ac_exeext'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 (eval $ac_try) 2>&5
4428 ac_status=$?
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; }; then
4431 ac_cv_lib_m_sqrt=yes
4432 else
4433 echo "$as_me: failed program was:" >&5
4434 sed 's/^/| /' conftest.$ac_ext >&5
4435
4436 ac_cv_lib_m_sqrt=no
4437 fi
4438 rm -f conftest.err conftest.$ac_objext \
4439 conftest$ac_exeext conftest.$ac_ext
4440 LIBS=$ac_check_lib_save_LIBS
4441 fi
4442 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
4443 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
4444 if test $ac_cv_lib_m_sqrt = yes; then
4445 cat >>confdefs.h <<_ACEOF
4446 @%:@define HAVE_LIBM 1
4447 _ACEOF
4448
4449 LIBS="-lm $LIBS"
4450
4451 fi
4452
4453
4454 echo "$as_me:$LINENO: checking for main in -lpthread" >&5
4455 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
4456 if test "${ac_cv_lib_pthread_main+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 else
4459 ac_check_lib_save_LIBS=$LIBS
4460 LIBS="-lpthread $LIBS"
4461 cat >conftest.$ac_ext <<_ACEOF
4462 /* confdefs.h. */
4463 _ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4467
4468
4469 int
4470 main ()
4471 {
4472 main ();
4473 ;
4474 return 0;
4475 }
4476 _ACEOF
4477 rm -f conftest.$ac_objext conftest$ac_exeext
4478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4479 (eval $ac_link) 2>conftest.er1
4480 ac_status=$?
4481 grep -v '^ *+' conftest.er1 >conftest.err
4482 rm -f conftest.er1
4483 cat conftest.err >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } &&
4486 { ac_try='test -z "$ac_c_werror_flag"
4487 || test ! -s conftest.err'
4488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 (eval $ac_try) 2>&5
4490 ac_status=$?
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }; } &&
4493 { ac_try='test -s conftest$ac_exeext'
4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 (eval $ac_try) 2>&5
4496 ac_status=$?
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); }; }; then
4499 ac_cv_lib_pthread_main=yes
4500 else
4501 echo "$as_me: failed program was:" >&5
4502 sed 's/^/| /' conftest.$ac_ext >&5
4503
4504 ac_cv_lib_pthread_main=no
4505 fi
4506 rm -f conftest.err conftest.$ac_objext \
4507 conftest$ac_exeext conftest.$ac_ext
4508 LIBS=$ac_check_lib_save_LIBS
4509 fi
4510 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
4511 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
4512 if test $ac_cv_lib_pthread_main = yes; then
4513 cat >>confdefs.h <<_ACEOF
4514 @%:@define HAVE_LIBPTHREAD 1
4515 _ACEOF
4516
4517 LIBS="-lpthread $LIBS"
4518
4519 fi
4520
4521
4522 # included or system libz and libbz2. By default, we search for the
4523 # system libz and libbz2. If not found, build the included ones.
4524 # The --enable-local-libz and --enable-local_libbz2 arguments can be
4525 # used to force the use of the included libs. --disable-local-libz
4526 # and --disable-local-libbz2 can be used to force the use of system
4527 # libs
4528 # Check whether --enable-local-libz or --disable-local-libz was given.
4529 if test "${enable_local_libz+set}" = set; then
4530 enableval="$enable_local_libz"
4531
4532 if test "X$enable_local_libz" = "Xno" ; then
4533 force_system_libz=yes
4534 else
4535 force_bundled_libz=yes
4536 fi
4537
4538 fi;
4539
4540 need_libz=no
4541 LIBZ_LDADD=
4542 LIBZ_CFLAGS=
4543 if test "X$force_bundled_libz" != "Xyes" ; then
4544 cat >conftest.$ac_ext <<_ACEOF
4545 /* confdefs.h. */
4546 _ACEOF
4547 cat confdefs.h >>conftest.$ac_ext
4548 cat >>conftest.$ac_ext <<_ACEOF
4549 /* end confdefs.h. */
4550 #include <zlib.h>
4551 int
4552 main ()
4553 {
4554 gzdopen(0,"rb");
4555 ;
4556 return 0;
4557 }
4558 _ACEOF
4559 rm -f conftest.$ac_objext
4560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4561 (eval $ac_compile) 2>conftest.er1
4562 ac_status=$?
4563 grep -v '^ *+' conftest.er1 >conftest.err
4564 rm -f conftest.er1
4565 cat conftest.err >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } &&
4568 { ac_try='test -z "$ac_c_werror_flag"
4569 || test ! -s conftest.err'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 (eval $ac_try) 2>&5
4572 ac_status=$?
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; } &&
4575 { ac_try='test -s conftest.$ac_objext'
4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 (eval $ac_try) 2>&5
4578 ac_status=$?
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; }; then
4581 :
4582 else
4583 echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.$ac_ext >&5
4585
4586 need_libz=yes
4587 fi
4588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4589 if test "$need_libz" = "yes" -a "X$force_system_libz" = "Xyes" ; then
4590 { { echo "$as_me:$LINENO: error:
4591 You have disabled building the bundled libz but no system libz headers
4592 could be found. Either allow building the bundled libz (by not using
4593 --disable-local-libz) or make sure your system has a libz installed" >&5
4594 echo "$as_me: error:
4595 You have disabled building the bundled libz but no system libz headers
4596 could be found. Either allow building the bundled libz (by not using
4597 --disable-local-libz) or make sure your system has a libz installed" >&2;}
4598 { (exit 1); exit 1; }; }
4599 fi
4600 echo "$as_me:$LINENO: checking for gzread in -lz" >&5
4601 echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6
4602 if test "${ac_cv_lib_z_gzread+set}" = set; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 else
4605 ac_check_lib_save_LIBS=$LIBS
4606 LIBS="-lz $LIBS"
4607 cat >conftest.$ac_ext <<_ACEOF
4608 /* confdefs.h. */
4609 _ACEOF
4610 cat confdefs.h >>conftest.$ac_ext
4611 cat >>conftest.$ac_ext <<_ACEOF
4612 /* end confdefs.h. */
4613
4614 /* Override any gcc2 internal prototype to avoid an error. */
4615 #ifdef __cplusplus
4616 extern "C"
4617 #endif
4618 /* We use char because int might match the return type of a gcc2
4619 builtin and then its argument prototype would still apply. */
4620 char gzread ();
4621 int
4622 main ()
4623 {
4624 gzread ();
4625 ;
4626 return 0;
4627 }
4628 _ACEOF
4629 rm -f conftest.$ac_objext conftest$ac_exeext
4630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4631 (eval $ac_link) 2>conftest.er1
4632 ac_status=$?
4633 grep -v '^ *+' conftest.er1 >conftest.err
4634 rm -f conftest.er1
4635 cat conftest.err >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } &&
4638 { ac_try='test -z "$ac_c_werror_flag"
4639 || test ! -s conftest.err'
4640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 (eval $ac_try) 2>&5
4642 ac_status=$?
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; } &&
4645 { ac_try='test -s conftest$ac_exeext'
4646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 (eval $ac_try) 2>&5
4648 ac_status=$?
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; }; then
4651 ac_cv_lib_z_gzread=yes
4652 else
4653 echo "$as_me: failed program was:" >&5
4654 sed 's/^/| /' conftest.$ac_ext >&5
4655
4656 ac_cv_lib_z_gzread=no
4657 fi
4658 rm -f conftest.err conftest.$ac_objext \
4659 conftest$ac_exeext conftest.$ac_ext
4660 LIBS=$ac_check_lib_save_LIBS
4661 fi
4662 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
4663 echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6
4664 if test $ac_cv_lib_z_gzread = yes; then
4665 LIBZ_LDADD=-lz
4666 else
4667 need_libz=yes
4668 fi
4669
4670 if test "$need_libz" = "yes" -a "X$force_system_libz" = "Xyes" ; then
4671 { { echo "$as_me:$LINENO: error:
4672 You have disabled building the bundled libz but no system libz could
4673 be found. Either allow building the bundled libz (by not using
4674 --disable-local-libz) or make sure your system has a libz installed" >&5
4675 echo "$as_me: error:
4676 You have disabled building the bundled libz but no system libz could
4677 be found. Either allow building the bundled libz (by not using
4678 --disable-local-libz) or make sure your system has a libz installed" >&2;}
4679 { (exit 1); exit 1; }; }
4680 fi
4681 else
4682 need_libz=yes
4683 fi
4684
4685 # Check whether --enable-local-libbz2 or --disable-local-libbz2 was given.
4686 if test "${enable_local_libbz2+set}" = set; then
4687 enableval="$enable_local_libbz2"
4688
4689 if test "X$enable_local_libbz2" = "Xno" ; then
4690 force_system_libbz2=yes
4691 else
4692 force_bundled_libbz2=yes
4693 fi
4694
4695 fi;
4696
4697 need_libbz2=no
4698 LIBBZ2_LDADD=
4699 LIBBZ2_CFLAGS=
4700 if test "X$force_bundled_libbz2" != "Xyes" ; then
4701 cat >conftest.$ac_ext <<_ACEOF
4702 /* confdefs.h. */
4703 _ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4707 #include <bzlib.h>
4708 int
4709 main ()
4710 {
4711 BZ2_bzdopen(0,"rb");
4712 ;
4713 return 0;
4714 }
4715 _ACEOF
4716 rm -f conftest.$ac_objext
4717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4718 (eval $ac_compile) 2>conftest.er1
4719 ac_status=$?
4720 grep -v '^ *+' conftest.er1 >conftest.err
4721 rm -f conftest.er1
4722 cat conftest.err >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } &&
4725 { ac_try='test -z "$ac_c_werror_flag"
4726 || test ! -s conftest.err'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4728 (eval $ac_try) 2>&5
4729 ac_status=$?
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; } &&
4732 { ac_try='test -s conftest.$ac_objext'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 (eval $ac_try) 2>&5
4735 ac_status=$?
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then
4738 :
4739 else
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.$ac_ext >&5
4742
4743 need_libbz2=yes
4744 fi
4745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4746 if test "$need_libbz2" = "yes" -a "X$force_system_libbz2" = "Xyes" ; then
4747 { { echo "$as_me:$LINENO: error:
4748 You have disabled building the bundled libbz2 but no system libbz2 headers
4749 could be found. Either allow building the bundled libbz2 (by not using
4750 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&5
4751 echo "$as_me: error:
4752 You have disabled building the bundled libbz2 but no system libbz2 headers
4753 could be found. Either allow building the bundled libbz2 (by not using
4754 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&2;}
4755 { (exit 1); exit 1; }; }
4756 fi
4757 echo "$as_me:$LINENO: checking for BZ2_bzread in -lbz2" >&5
4758 echo $ECHO_N "checking for BZ2_bzread in -lbz2... $ECHO_C" >&6
4759 if test "${ac_cv_lib_bz2_BZ2_bzread+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 else
4762 ac_check_lib_save_LIBS=$LIBS
4763 LIBS="-lbz2 $LIBS"
4764 cat >conftest.$ac_ext <<_ACEOF
4765 /* confdefs.h. */
4766 _ACEOF
4767 cat confdefs.h >>conftest.$ac_ext
4768 cat >>conftest.$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4770
4771 /* Override any gcc2 internal prototype to avoid an error. */
4772 #ifdef __cplusplus
4773 extern "C"
4774 #endif
4775 /* We use char because int might match the return type of a gcc2
4776 builtin and then its argument prototype would still apply. */
4777 char BZ2_bzread ();
4778 int
4779 main ()
4780 {
4781 BZ2_bzread ();
4782 ;
4783 return 0;
4784 }
4785 _ACEOF
4786 rm -f conftest.$ac_objext conftest$ac_exeext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4788 (eval $ac_link) 2>conftest.er1
4789 ac_status=$?
4790 grep -v '^ *+' conftest.er1 >conftest.err
4791 rm -f conftest.er1
4792 cat conftest.err >&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } &&
4795 { ac_try='test -z "$ac_c_werror_flag"
4796 || test ! -s conftest.err'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 (eval $ac_try) 2>&5
4799 ac_status=$?
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; } &&
4802 { ac_try='test -s conftest$ac_exeext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 (eval $ac_try) 2>&5
4805 ac_status=$?
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 ac_cv_lib_bz2_BZ2_bzread=yes
4809 else
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.$ac_ext >&5
4812
4813 ac_cv_lib_bz2_BZ2_bzread=no
4814 fi
4815 rm -f conftest.err conftest.$ac_objext \
4816 conftest$ac_exeext conftest.$ac_ext
4817 LIBS=$ac_check_lib_save_LIBS
4818 fi
4819 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzread" >&5
4820 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzread" >&6
4821 if test $ac_cv_lib_bz2_BZ2_bzread = yes; then
4822 LIBBZ2_LDADD=-lbz2
4823 else
4824 need_libbz2=yes
4825 fi
4826
4827 if test "$need_libbz2" = "yes" -a "X$force_system_libbz2" = "Xyes" ; then
4828 { { echo "$as_me:$LINENO: error:
4829 You have disabled building the bundled libbz2 but no system libbz2 could
4830 be found. Either allow building the bundled libbz2 (by not using
4831 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&5
4832 echo "$as_me: error:
4833 You have disabled building the bundled libbz2 but no system libbz2 could
4834 be found. Either allow building the bundled libbz2 (by not using
4835 --disable-local-libbz2) or make sure your system has a libbz2 installed" >&2;}
4836 { (exit 1); exit 1; }; }
4837 fi
4838 else
4839 need_libbz2=yes
4840 fi
4841
4842 LIBZ_DIR=
4843 if test "$need_libz" = "yes" ; then
4844 LIBZ_CFLAGS='-I$(top_srcdir)/src/libz'
4845 LIBZ_LDADD='$(top_builddir)/src/libz/libz.a'
4846 LIBZ_DIR=libz
4847 fi
4848
4849
4850
4851
4852 LIBBZ2_DIR=
4853 if test "$need_libbz2" = "yes" ; then
4854 LIBBZ2_CFLAGS='-I$(top_srcdir)/src/libbz2'
4855 LIBBZ2_LDADD='$(top_builddir)/src/libbz2/libbz2.a'
4856 LIBBZ2_DIR=libbz2
4857 fi
4858
4859
4860
4861
4862 # ------------- LZMA / XZ -------------------
4863
4864 echo "$as_me:$LINENO: checking if XZ should be enabled" >&5
4865 echo $ECHO_N "checking if XZ should be enabled... $ECHO_C" >&6
4866
4867 EXZ=yes
4868 # Check whether --enable-xz or --disable-xz was given.
4869 if test "${enable_xz+set}" = set; then
4870 enableval="$enable_xz"
4871
4872 if test "X$enable_xz" = "Xno" ; then
4873 EXZ=no
4874 fi
4875
4876 fi;
4877 echo "$as_me:$LINENO: result: $EXZ" >&5
4878 echo "${ECHO_T}$EXZ" >&6
4879
4880 LIBXZ_LDADD=
4881 LIBXZ_CFLAGS=
4882 if test "X$EXZ" == "Xyes"; then
4883 have_liblzma=no
4884 cat >conftest.$ac_ext <<_ACEOF
4885 /* confdefs.h. */
4886 _ACEOF
4887 cat confdefs.h >>conftest.$ac_ext
4888 cat >>conftest.$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 #include <lzma.h>
4891 int
4892 main ()
4893 {
4894 lzma_end(NULL);
4895 ;
4896 return 0;
4897 }
4898 _ACEOF
4899 rm -f conftest.$ac_objext
4900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4901 (eval $ac_compile) 2>conftest.er1
4902 ac_status=$?
4903 grep -v '^ *+' conftest.er1 >conftest.err
4904 rm -f conftest.er1
4905 cat conftest.err >&5
4906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } &&
4908 { ac_try='test -z "$ac_c_werror_flag"
4909 || test ! -s conftest.err'
4910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911 (eval $ac_try) 2>&5
4912 ac_status=$?
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); }; } &&
4915 { ac_try='test -s conftest.$ac_objext'
4916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 (eval $ac_try) 2>&5
4918 ac_status=$?
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; }; then
4921 :
4922 else
4923 echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4925
4926 have_liblzma=yes
4927 fi
4928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4929 echo "$as_me:$LINENO: checking for lzma_end in -llzma" >&5
4930 echo $ECHO_N "checking for lzma_end in -llzma... $ECHO_C" >&6
4931 if test "${ac_cv_lib_lzma_lzma_end+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4933 else
4934 ac_check_lib_save_LIBS=$LIBS
4935 LIBS="-llzma $LIBS"
4936 cat >conftest.$ac_ext <<_ACEOF
4937 /* confdefs.h. */
4938 _ACEOF
4939 cat confdefs.h >>conftest.$ac_ext
4940 cat >>conftest.$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4942
4943 /* Override any gcc2 internal prototype to avoid an error. */
4944 #ifdef __cplusplus
4945 extern "C"
4946 #endif
4947 /* We use char because int might match the return type of a gcc2
4948 builtin and then its argument prototype would still apply. */
4949 char lzma_end ();
4950 int
4951 main ()
4952 {
4953 lzma_end ();
4954 ;
4955 return 0;
4956 }
4957 _ACEOF
4958 rm -f conftest.$ac_objext conftest$ac_exeext
4959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4960 (eval $ac_link) 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try='test -z "$ac_c_werror_flag"
4968 || test ! -s conftest.err'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4970 (eval $ac_try) 2>&5
4971 ac_status=$?
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; } &&
4974 { ac_try='test -s conftest$ac_exeext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4976 (eval $ac_try) 2>&5
4977 ac_status=$?
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_cv_lib_lzma_lzma_end=yes
4981 else
4982 echo "$as_me: failed program was:" >&5
4983 sed 's/^/| /' conftest.$ac_ext >&5
4984
4985 ac_cv_lib_lzma_lzma_end=no
4986 fi
4987 rm -f conftest.err conftest.$ac_objext \
4988 conftest$ac_exeext conftest.$ac_ext
4989 LIBS=$ac_check_lib_save_LIBS
4990 fi
4991 echo "$as_me:$LINENO: result: $ac_cv_lib_lzma_lzma_end" >&5
4992 echo "${ECHO_T}$ac_cv_lib_lzma_lzma_end" >&6
4993 if test $ac_cv_lib_lzma_lzma_end = yes; then
4994 LIBLZMA_LDADD=-llzma
4995 else
4996 have_liblzma=yes
4997 fi
4998
4999 if test "$have_liblzma" = "yes" ; then
5000 { { echo "$as_me:$LINENO: error: LZMA support for VZT is enabled, but xz could not be found.
5001 Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag." >&5
5002 echo "$as_me: error: LZMA support for VZT is enabled, but xz could not be found.
5003 Please install xz, see the http://tukaani.org/xz website or use the --disable-xz flag." >&2;}
5004 { (exit 1); exit 1; }; }
5005 fi
5006 LIBXZ_LDADD='-llzma'
5007 LIBXZ_CFLAGS='-D_WAVE_HAVE_XZ'
5008 fi
5009
5010
5011
5012 # ------------- Fast Tree -------------------
5013
5014 echo "$as_me:$LINENO: checking if Fast SST Tree should be enabled" >&5
5015 echo $ECHO_N "checking if Fast SST Tree should be enabled... $ECHO_C" >&6
5016
5017 FASTTREE=yes
5018 # Check whether --enable-fasttree or --disable-fasttree was given.
5019 if test "${enable_fasttree+set}" = set; then
5020 enableval="$enable_fasttree"
5021
5022 if test "X$enable_fasttree" = "Xno" ; then
5023 FASTTREE=no
5024 fi
5025
5026 fi;
5027 echo "$as_me:$LINENO: result: $FASTTREE" >&5
5028 echo "${ECHO_T}$FASTTREE" >&6
5029
5030 FASTTREE_CFLAGS=
5031 if test "X$FASTTREE" == "Xno"; then
5032 FASTTREE_CFLAGS='-DWAVE_DISABLE_FAST_TREE'
5033 fi
5034
5035
5036 # ------------- Judy -------------------
5037
5038 echo "$as_me:$LINENO: checking if Judy array support should be enabled" >&5
5039 echo $ECHO_N "checking if Judy array support should be enabled... $ECHO_C" >&6
5040
5041 EJUDY=no
5042 # Check whether --enable-judy or --disable-judy was given.
5043 if test "${enable_judy+set}" = set; then
5044 enableval="$enable_judy"
5045
5046 if test "X$enable_judy" = "Xno" ; then
5047 EJUDY=no
5048 else
5049 EJUDY=yes
5050 fi
5051
5052 fi;
5053 echo "$as_me:$LINENO: result: $EJUDY" >&5
5054 echo "${ECHO_T}$EJUDY" >&6
5055
5056 LIBJUDY_LDADD=
5057 LIBJUDY_CFLAGS=
5058 if test "X$EJUDY" == "Xyes"; then
5059 have_libjudy=no
5060 cat >conftest.$ac_ext <<_ACEOF
5061 /* confdefs.h. */
5062 _ACEOF
5063 cat confdefs.h >>conftest.$ac_ext
5064 cat >>conftest.$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5066 #include <Judy.h>
5067 int
5068 main ()
5069 {
5070 JudySLIns (NULL, NULL, NULL);
5071 ;
5072 return 0;
5073 }
5074 _ACEOF
5075 rm -f conftest.$ac_objext
5076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5077 (eval $ac_compile) 2>conftest.er1
5078 ac_status=$?
5079 grep -v '^ *+' conftest.er1 >conftest.err
5080 rm -f conftest.er1
5081 cat conftest.err >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); } &&
5084 { ac_try='test -z "$ac_c_werror_flag"
5085 || test ! -s conftest.err'
5086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 (eval $ac_try) 2>&5
5088 ac_status=$?
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); }; } &&
5091 { ac_try='test -s conftest.$ac_objext'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093 (eval $ac_try) 2>&5
5094 ac_status=$?
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; }; then
5097 :
5098 else
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.$ac_ext >&5
5101
5102 have_libjudy=yes
5103 fi
5104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5105 echo "$as_me:$LINENO: checking for JudySLIns in -lJudy" >&5
5106 echo $ECHO_N "checking for JudySLIns in -lJudy... $ECHO_C" >&6
5107 if test "${ac_cv_lib_Judy_JudySLIns+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 else
5110 ac_check_lib_save_LIBS=$LIBS
5111 LIBS="-lJudy $LIBS"
5112 cat >conftest.$ac_ext <<_ACEOF
5113 /* confdefs.h. */
5114 _ACEOF
5115 cat confdefs.h >>conftest.$ac_ext
5116 cat >>conftest.$ac_ext <<_ACEOF
5117 /* end confdefs.h. */
5118
5119 /* Override any gcc2 internal prototype to avoid an error. */
5120 #ifdef __cplusplus
5121 extern "C"
5122 #endif
5123 /* We use char because int might match the return type of a gcc2
5124 builtin and then its argument prototype would still apply. */
5125 char JudySLIns ();
5126 int
5127 main ()
5128 {
5129 JudySLIns ();
5130 ;
5131 return 0;
5132 }
5133 _ACEOF
5134 rm -f conftest.$ac_objext conftest$ac_exeext
5135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5136 (eval $ac_link) 2>conftest.er1
5137 ac_status=$?
5138 grep -v '^ *+' conftest.er1 >conftest.err
5139 rm -f conftest.er1
5140 cat conftest.err >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); } &&
5143 { ac_try='test -z "$ac_c_werror_flag"
5144 || test ! -s conftest.err'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5146 (eval $ac_try) 2>&5
5147 ac_status=$?
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; } &&
5150 { ac_try='test -s conftest$ac_exeext'
5151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5152 (eval $ac_try) 2>&5
5153 ac_status=$?
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); }; }; then
5156 ac_cv_lib_Judy_JudySLIns=yes
5157 else
5158 echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.$ac_ext >&5
5160
5161 ac_cv_lib_Judy_JudySLIns=no
5162 fi
5163 rm -f conftest.err conftest.$ac_objext \
5164 conftest$ac_exeext conftest.$ac_ext
5165 LIBS=$ac_check_lib_save_LIBS
5166 fi
5167 echo "$as_me:$LINENO: result: $ac_cv_lib_Judy_JudySLIns" >&5
5168 echo "${ECHO_T}$ac_cv_lib_Judy_JudySLIns" >&6
5169 if test $ac_cv_lib_Judy_JudySLIns = yes; then
5170 LIBJUDY_LDADD=-lJudy
5171 else
5172 have_libjudy=yes
5173 fi
5174
5175 if test "$have_libjudy" = "yes" ; then
5176 { { echo "$as_me:$LINENO: error: Judy support is enabled, but could not be found.
5177 Please install Judy, see the http://judy.sourceforge.net website or use the --disable-judy flag." >&5
5178 echo "$as_me: error: Judy support is enabled, but could not be found.
5179 Please install Judy, see the http://judy.sourceforge.net website or use the --disable-judy flag." >&2;}
5180 { (exit 1); exit 1; }; }
5181 fi
5182 LIBJUDY_LDADD='-lJudy'
5183 LIBJUDY_CFLAGS='-D_WAVE_HAVE_JUDY'
5184 fi
5185
5186
5187
5188 # ------------- GTK -------------------
5189 if test "X$GTK1" = "Xyes" ; then
5190 # Extract the first word of "gtk-config", so it can be a program name with args.
5191 set dummy gtk-config; ac_word=$2
5192 echo "$as_me:$LINENO: checking for $ac_word" >&5
5193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5194 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
5195 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 else
5197 case $GTK_CONFIG in
5198 [\\/]* | ?:[\\/]*)
5199 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
5200 ;;
5201 *)
5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5203 for as_dir in $PATH
5204 do
5205 IFS=$as_save_IFS
5206 test -z "$as_dir" && as_dir=.
5207 for ac_exec_ext in '' $ac_executable_extensions; do
5208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5209 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 break 2
5212 fi
5213 done
5214 done
5215
5216 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="notfound"
5217 ;;
5218 esac
5219 fi
5220 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
5221
5222 if test -n "$GTK_CONFIG"; then
5223 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
5224 echo "${ECHO_T}$GTK_CONFIG" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5228 fi
5229
5230 if test "$GTK_CONFIG" = "notfound"; then
5231 { { echo "$as_me:$LINENO: error: You must have gtk installed on your system" >&5
5232 echo "$as_me: error: You must have gtk installed on your system" >&2;}
5233 { (exit 1); exit 1; }; }
5234 else
5235 echo "$as_me:$LINENO: checking gtk1 version" >&5
5236 echo $ECHO_N "checking gtk1 version... $ECHO_C" >&6
5237 GTK_VER=`$GTK_CONFIG --version`
5238 echo "$as_me:$LINENO: result: $GTK_VER" >&5
5239 echo "${ECHO_T}$GTK_VER" >&6
5240
5241 case $GTK_VER in
5242 1.2.* )
5243 echo "$as_me:$LINENO: checking for gtk1 CFLAGS" >&5
5244 echo $ECHO_N "checking for gtk1 CFLAGS... $ECHO_C" >&6
5245 GTK_CFLAGS=`$GTK_CONFIG --cflags`
5246 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
5247 echo "${ECHO_T}$GTK_CFLAGS" >&6
5248 echo "$as_me:$LINENO: checking for gtk1 libs" >&5
5249 echo $ECHO_N "checking for gtk1 libs... $ECHO_C" >&6
5250 GTK_LIBS=`$GTK_CONFIG --libs`
5251 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
5252 echo "${ECHO_T}$GTK_LIBS" >&6
5253 ;;
5254
5255 * )
5256 { { echo "$as_me:$LINENO: error: when building with gtk1, you need version 1.2.*" >&5
5257 echo "$as_me: error: when building with gtk1, you need version 1.2.*" >&2;}
5258 { (exit 1); exit 1; }; }
5259 ;;
5260 esac
5261 fi
5262 else
5263
5264
5265 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5266 if test -n "$ac_tool_prefix"; then
5267 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5268 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5269 echo "$as_me:$LINENO: checking for $ac_word" >&5
5270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5271 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5272 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 else
5274 case $PKG_CONFIG in
5275 [\\/]* | ?:[\\/]*)
5276 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5277 ;;
5278 *)
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5281 do
5282 IFS=$as_save_IFS
5283 test -z "$as_dir" && as_dir=.
5284 for ac_exec_ext in '' $ac_executable_extensions; do
5285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5286 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 break 2
5289 fi
5290 done
5291 done
5292
5293 ;;
5294 esac
5295 fi
5296 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5297
5298 if test -n "$PKG_CONFIG"; then
5299 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5300 echo "${ECHO_T}$PKG_CONFIG" >&6
5301 else
5302 echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6
5304 fi
5305
5306 fi
5307 if test -z "$ac_cv_path_PKG_CONFIG"; then
5308 ac_pt_PKG_CONFIG=$PKG_CONFIG
5309 # Extract the first word of "pkg-config", so it can be a program name with args.
5310 set dummy pkg-config; ac_word=$2
5311 echo "$as_me:$LINENO: checking for $ac_word" >&5
5312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5313 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 else
5316 case $ac_pt_PKG_CONFIG in
5317 [\\/]* | ?:[\\/]*)
5318 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5319 ;;
5320 *)
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5323 do
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 break 2
5331 fi
5332 done
5333 done
5334
5335 ;;
5336 esac
5337 fi
5338 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5339
5340 if test -n "$ac_pt_PKG_CONFIG"; then
5341 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5342 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
5343 else
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5346 fi
5347
5348 PKG_CONFIG=$ac_pt_PKG_CONFIG
5349 else
5350 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5351 fi
5352
5353 fi
5354 if test -n "$PKG_CONFIG"; then
5355 _pkg_min_version=0.9.0
5356 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5357 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
5358 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5359 echo "$as_me:$LINENO: result: yes" >&5
5360 echo "${ECHO_T}yes" >&6
5361 else
5362 echo "$as_me:$LINENO: result: no" >&5
5363 echo "${ECHO_T}no" >&6
5364 PKG_CONFIG=""
5365 fi
5366
5367 fi
5368
5369 pkg_failed=no
5370 echo "$as_me:$LINENO: checking for GTK" >&5
5371 echo $ECHO_N "checking for GTK... $ECHO_C" >&6
5372
5373 if test -n "$PKG_CONFIG"; then
5374 if test -n "$GTK_CFLAGS"; then
5375 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
5376 else
5377 if test -n "$PKG_CONFIG" && \
5378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
5379 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
5380 ac_status=$?
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }; then
5383 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0" 2>/dev/null`
5384 else
5385 pkg_failed=yes
5386 fi
5387 fi
5388 else
5389 pkg_failed=untried
5390 fi
5391 if test -n "$PKG_CONFIG"; then
5392 if test -n "$GTK_LIBS"; then
5393 pkg_cv_GTK_LIBS="$GTK_LIBS"
5394 else
5395 if test -n "$PKG_CONFIG" && \
5396 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.2.0\"") >&5
5397 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.2.0") 2>&5
5398 ac_status=$?
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; then
5401 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0" 2>/dev/null`
5402 else
5403 pkg_failed=yes
5404 fi
5405 fi
5406 else
5407 pkg_failed=untried
5408 fi
5409
5410
5411
5412 if test $pkg_failed = yes; then
5413
5414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5415 _pkg_short_errors_supported=yes
5416 else
5417 _pkg_short_errors_supported=no
5418 fi
5419 if test $_pkg_short_errors_supported = yes; then
5420 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
5421 else
5422 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
5423 fi
5424 # Put the nasty error message in config.log where it belongs
5425 echo "$GTK_PKG_ERRORS" >&5
5426
5427 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.2.0) were not met:
5428
5429 $GTK_PKG_ERRORS
5430
5431 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5432 installed software in a non-standard prefix.
5433
5434 Alternatively, you may set the environment variables GTK_CFLAGS
5435 and GTK_LIBS to avoid the need to call pkg-config.
5436 See the pkg-config man page for more details.
5437 " >&5
5438 echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.2.0) were not met:
5439
5440 $GTK_PKG_ERRORS
5441
5442 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5443 installed software in a non-standard prefix.
5444
5445 Alternatively, you may set the environment variables GTK_CFLAGS
5446 and GTK_LIBS to avoid the need to call pkg-config.
5447 See the pkg-config man page for more details.
5448 " >&2;}
5449 { (exit 1); exit 1; }; }
5450 elif test $pkg_failed = untried; then
5451 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5452 is in your PATH or set the PKG_CONFIG environment variable to the full
5453 path to pkg-config.
5454
5455 Alternatively, you may set the environment variables GTK_CFLAGS
5456 and GTK_LIBS to avoid the need to call pkg-config.
5457 See the pkg-config man page for more details.
5458
5459 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5460 See \`config.log' for more details." >&5
5461 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5462 is in your PATH or set the PKG_CONFIG environment variable to the full
5463 path to pkg-config.
5464
5465 Alternatively, you may set the environment variables GTK_CFLAGS
5466 and GTK_LIBS to avoid the need to call pkg-config.
5467 See the pkg-config man page for more details.
5468
5469 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
5470 See \`config.log' for more details." >&2;}
5471 { (exit 1); exit 1; }; }
5472 else
5473 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
5474 GTK_LIBS=$pkg_cv_GTK_LIBS
5475 echo "$as_me:$LINENO: result: yes" >&5
5476 echo "${ECHO_T}yes" >&6
5477 :
5478 fi
5479 GTK_VER=`$PKG_CONFIG gtk+-2.0 --modversion`
5480 fi
5481
5482 # Checks for header files.
5483 ac_ext=c
5484 ac_cpp='$CPP $CPPFLAGS'
5485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5488 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5489 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5490 # On Suns, sometimes $CPP names a directory.
5491 if test -n "$CPP" && test -d "$CPP"; then
5492 CPP=
5493 fi
5494 if test -z "$CPP"; then
5495 if test "${ac_cv_prog_CPP+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 else
5498 # Double quotes because CPP needs to be expanded
5499 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5500 do
5501 ac_preproc_ok=false
5502 for ac_c_preproc_warn_flag in '' yes
5503 do
5504 # Use a header file that comes with gcc, so configuring glibc
5505 # with a fresh cross-compiler works.
5506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5507 # <limits.h> exists even on freestanding compilers.
5508 # On the NeXT, cc -E runs the code through the compiler's parser,
5509 # not just through cpp. "Syntax error" is here to catch this case.
5510 cat >conftest.$ac_ext <<_ACEOF
5511 /* confdefs.h. */
5512 _ACEOF
5513 cat confdefs.h >>conftest.$ac_ext
5514 cat >>conftest.$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 @%:@ifdef __STDC__
5517 @%:@ include <limits.h>
5518 @%:@else
5519 @%:@ include <assert.h>
5520 @%:@endif
5521 Syntax error
5522 _ACEOF
5523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5525 ac_status=$?
5526 grep -v '^ *+' conftest.er1 >conftest.err
5527 rm -f conftest.er1
5528 cat conftest.err >&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } >/dev/null; then
5531 if test -s conftest.err; then
5532 ac_cpp_err=$ac_c_preproc_warn_flag
5533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5534 else
5535 ac_cpp_err=
5536 fi
5537 else
5538 ac_cpp_err=yes
5539 fi
5540 if test -z "$ac_cpp_err"; then
5541 :
5542 else
5543 echo "$as_me: failed program was:" >&5
5544 sed 's/^/| /' conftest.$ac_ext >&5
5545
5546 # Broken: fails on valid input.
5547 continue
5548 fi
5549 rm -f conftest.err conftest.$ac_ext
5550
5551 # OK, works on sane cases. Now check whether non-existent headers
5552 # can be detected and how.
5553 cat >conftest.$ac_ext <<_ACEOF
5554 /* confdefs.h. */
5555 _ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 @%:@include <ac_nonexistent.h>
5560 _ACEOF
5561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5563 ac_status=$?
5564 grep -v '^ *+' conftest.er1 >conftest.err
5565 rm -f conftest.er1
5566 cat conftest.err >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } >/dev/null; then
5569 if test -s conftest.err; then
5570 ac_cpp_err=$ac_c_preproc_warn_flag
5571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5572 else
5573 ac_cpp_err=
5574 fi
5575 else
5576 ac_cpp_err=yes
5577 fi
5578 if test -z "$ac_cpp_err"; then
5579 # Broken: success on invalid input.
5580 continue
5581 else
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5584
5585 # Passes both tests.
5586 ac_preproc_ok=:
5587 break
5588 fi
5589 rm -f conftest.err conftest.$ac_ext
5590
5591 done
5592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5593 rm -f conftest.err conftest.$ac_ext
5594 if $ac_preproc_ok; then
5595 break
5596 fi
5597
5598 done
5599 ac_cv_prog_CPP=$CPP
5600
5601 fi
5602 CPP=$ac_cv_prog_CPP
5603 else
5604 ac_cv_prog_CPP=$CPP
5605 fi
5606 echo "$as_me:$LINENO: result: $CPP" >&5
5607 echo "${ECHO_T}$CPP" >&6
5608 ac_preproc_ok=false
5609 for ac_c_preproc_warn_flag in '' yes
5610 do
5611 # Use a header file that comes with gcc, so configuring glibc
5612 # with a fresh cross-compiler works.
5613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5614 # <limits.h> exists even on freestanding compilers.
5615 # On the NeXT, cc -E runs the code through the compiler's parser,
5616 # not just through cpp. "Syntax error" is here to catch this case.
5617 cat >conftest.$ac_ext <<_ACEOF
5618 /* confdefs.h. */
5619 _ACEOF
5620 cat confdefs.h >>conftest.$ac_ext
5621 cat >>conftest.$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 @%:@ifdef __STDC__
5624 @%:@ include <limits.h>
5625 @%:@else
5626 @%:@ include <assert.h>
5627 @%:@endif
5628 Syntax error
5629 _ACEOF
5630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5631 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5632 ac_status=$?
5633 grep -v '^ *+' conftest.er1 >conftest.err
5634 rm -f conftest.er1
5635 cat conftest.err >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); } >/dev/null; then
5638 if test -s conftest.err; then
5639 ac_cpp_err=$ac_c_preproc_warn_flag
5640 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5641 else
5642 ac_cpp_err=
5643 fi
5644 else
5645 ac_cpp_err=yes
5646 fi
5647 if test -z "$ac_cpp_err"; then
5648 :
5649 else
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.$ac_ext >&5
5652
5653 # Broken: fails on valid input.
5654 continue
5655 fi
5656 rm -f conftest.err conftest.$ac_ext
5657
5658 # OK, works on sane cases. Now check whether non-existent headers
5659 # can be detected and how.
5660 cat >conftest.$ac_ext <<_ACEOF
5661 /* confdefs.h. */
5662 _ACEOF
5663 cat confdefs.h >>conftest.$ac_ext
5664 cat >>conftest.$ac_ext <<_ACEOF
5665 /* end confdefs.h. */
5666 @%:@include <ac_nonexistent.h>
5667 _ACEOF
5668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5670 ac_status=$?
5671 grep -v '^ *+' conftest.er1 >conftest.err
5672 rm -f conftest.er1
5673 cat conftest.err >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); } >/dev/null; then
5676 if test -s conftest.err; then
5677 ac_cpp_err=$ac_c_preproc_warn_flag
5678 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5679 else
5680 ac_cpp_err=
5681 fi
5682 else
5683 ac_cpp_err=yes
5684 fi
5685 if test -z "$ac_cpp_err"; then
5686 # Broken: success on invalid input.
5687 continue
5688 else
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.$ac_ext >&5
5691
5692 # Passes both tests.
5693 ac_preproc_ok=:
5694 break
5695 fi
5696 rm -f conftest.err conftest.$ac_ext
5697
5698 done
5699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5700 rm -f conftest.err conftest.$ac_ext
5701 if $ac_preproc_ok; then
5702 :
5703 else
5704 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5705 See \`config.log' for more details." >&5
5706 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5707 See \`config.log' for more details." >&2;}
5708 { (exit 1); exit 1; }; }
5709 fi
5710
5711 ac_ext=c
5712 ac_cpp='$CPP $CPPFLAGS'
5713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5716
5717
5718 echo "$as_me:$LINENO: checking for egrep" >&5
5719 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5720 if test "${ac_cv_prog_egrep+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 else
5723 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5724 then ac_cv_prog_egrep='grep -E'
5725 else ac_cv_prog_egrep='egrep'
5726 fi
5727 fi
5728 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5729 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5730 EGREP=$ac_cv_prog_egrep
5731
5732
5733 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5734 # for constant arguments. Useless!
5735 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5736 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5737 if test "${ac_cv_working_alloca_h+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 else
5740 cat >conftest.$ac_ext <<_ACEOF
5741 /* confdefs.h. */
5742 _ACEOF
5743 cat confdefs.h >>conftest.$ac_ext
5744 cat >>conftest.$ac_ext <<_ACEOF
5745 /* end confdefs.h. */
5746 @%:@include <alloca.h>
5747 int
5748 main ()
5749 {
5750 char *p = (char *) alloca (2 * sizeof (int));
5751 ;
5752 return 0;
5753 }
5754 _ACEOF
5755 rm -f conftest.$ac_objext conftest$ac_exeext
5756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5757 (eval $ac_link) 2>conftest.er1
5758 ac_status=$?
5759 grep -v '^ *+' conftest.er1 >conftest.err
5760 rm -f conftest.er1
5761 cat conftest.err >&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); } &&
5764 { ac_try='test -z "$ac_c_werror_flag"
5765 || test ! -s conftest.err'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5767 (eval $ac_try) 2>&5
5768 ac_status=$?
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; } &&
5771 { ac_try='test -s conftest$ac_exeext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 (eval $ac_try) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 ac_cv_working_alloca_h=yes
5778 else
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.$ac_ext >&5
5781
5782 ac_cv_working_alloca_h=no
5783 fi
5784 rm -f conftest.err conftest.$ac_objext \
5785 conftest$ac_exeext conftest.$ac_ext
5786 fi
5787 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5788 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5789 if test $ac_cv_working_alloca_h = yes; then
5790
5791 cat >>confdefs.h <<\_ACEOF
5792 @%:@define HAVE_ALLOCA_H 1
5793 _ACEOF
5794
5795 fi
5796
5797 echo "$as_me:$LINENO: checking for alloca" >&5
5798 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5799 if test "${ac_cv_func_alloca_works+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 else
5802 cat >conftest.$ac_ext <<_ACEOF
5803 /* confdefs.h. */
5804 _ACEOF
5805 cat confdefs.h >>conftest.$ac_ext
5806 cat >>conftest.$ac_ext <<_ACEOF
5807 /* end confdefs.h. */
5808 #ifdef __GNUC__
5809 # define alloca __builtin_alloca
5810 #else
5811 # ifdef _MSC_VER
5812 # include <malloc.h>
5813 # define alloca _alloca
5814 # else
5815 # if HAVE_ALLOCA_H
5816 # include <alloca.h>
5817 # else
5818 # ifdef _AIX
5819 #pragma alloca
5820 # else
5821 # ifndef alloca /* predefined by HP cc +Olibcalls */
5822 char *alloca ();
5823 # endif
5824 # endif
5825 # endif
5826 # endif
5827 #endif
5828
5829 int
5830 main ()
5831 {
5832 char *p = (char *) alloca (1);
5833 ;
5834 return 0;
5835 }
5836 _ACEOF
5837 rm -f conftest.$ac_objext conftest$ac_exeext
5838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5839 (eval $ac_link) 2>conftest.er1
5840 ac_status=$?
5841 grep -v '^ *+' conftest.er1 >conftest.err
5842 rm -f conftest.er1
5843 cat conftest.err >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } &&
5846 { ac_try='test -z "$ac_c_werror_flag"
5847 || test ! -s conftest.err'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 (eval $ac_try) 2>&5
5850 ac_status=$?
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; } &&
5853 { ac_try='test -s conftest$ac_exeext'
5854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 (eval $ac_try) 2>&5
5856 ac_status=$?
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); }; }; then
5859 ac_cv_func_alloca_works=yes
5860 else
5861 echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.$ac_ext >&5
5863
5864 ac_cv_func_alloca_works=no
5865 fi
5866 rm -f conftest.err conftest.$ac_objext \
5867 conftest$ac_exeext conftest.$ac_ext
5868 fi
5869 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5870 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5871
5872 if test $ac_cv_func_alloca_works = yes; then
5873
5874 cat >>confdefs.h <<\_ACEOF
5875 @%:@define HAVE_ALLOCA 1
5876 _ACEOF
5877
5878 else
5879 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5880 # that cause trouble. Some versions do not even contain alloca or
5881 # contain a buggy version. If you still want to use their alloca,
5882 # use ar to extract alloca.o from them instead of compiling alloca.c.
5883
5884 ALLOCA=alloca.$ac_objext
5885
5886 cat >>confdefs.h <<\_ACEOF
5887 @%:@define C_ALLOCA 1
5888 _ACEOF
5889
5890
5891 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5892 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5893 if test "${ac_cv_os_cray+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 else
5896 cat >conftest.$ac_ext <<_ACEOF
5897 /* confdefs.h. */
5898 _ACEOF
5899 cat confdefs.h >>conftest.$ac_ext
5900 cat >>conftest.$ac_ext <<_ACEOF
5901 /* end confdefs.h. */
5902 #if defined(CRAY) && ! defined(CRAY2)
5903 webecray
5904 #else
5905 wenotbecray
5906 #endif
5907
5908 _ACEOF
5909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5910 $EGREP "webecray" >/dev/null 2>&1; then
5911 ac_cv_os_cray=yes
5912 else
5913 ac_cv_os_cray=no
5914 fi
5915 rm -f conftest*
5916
5917 fi
5918 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5919 echo "${ECHO_T}$ac_cv_os_cray" >&6
5920 if test $ac_cv_os_cray = yes; then
5921 for ac_func in _getb67 GETB67 getb67; do
5922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5923 echo "$as_me:$LINENO: checking for $ac_func" >&5
5924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5925 if eval "test \"\${$as_ac_var+set}\" = set"; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 cat >conftest.$ac_ext <<_ACEOF
5929 /* confdefs.h. */
5930 _ACEOF
5931 cat confdefs.h >>conftest.$ac_ext
5932 cat >>conftest.$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5936 #define $ac_func innocuous_$ac_func
5937
5938 /* System header to define __stub macros and hopefully few prototypes,
5939 which can conflict with char $ac_func (); below.
5940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5941 <limits.h> exists even on freestanding compilers. */
5942
5943 #ifdef __STDC__
5944 # include <limits.h>
5945 #else
5946 # include <assert.h>
5947 #endif
5948
5949 #undef $ac_func
5950
5951 /* Override any gcc2 internal prototype to avoid an error. */
5952 #ifdef __cplusplus
5953 extern "C"
5954 {
5955 #endif
5956 /* We use char because int might match the return type of a gcc2
5957 builtin and then its argument prototype would still apply. */
5958 char $ac_func ();
5959 /* The GNU C library defines this for functions which it implements
5960 to always fail with ENOSYS. Some functions are actually named
5961 something starting with __ and the normal name is an alias. */
5962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5963 choke me
5964 #else
5965 char (*f) () = $ac_func;
5966 #endif
5967 #ifdef __cplusplus
5968 }
5969 #endif
5970
5971 int
5972 main ()
5973 {
5974 return f != $ac_func;
5975 ;
5976 return 0;
5977 }
5978 _ACEOF
5979 rm -f conftest.$ac_objext conftest$ac_exeext
5980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5981 (eval $ac_link) 2>conftest.er1
5982 ac_status=$?
5983 grep -v '^ *+' conftest.er1 >conftest.err
5984 rm -f conftest.er1
5985 cat conftest.err >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } &&
5988 { ac_try='test -z "$ac_c_werror_flag"
5989 || test ! -s conftest.err'
5990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5991 (eval $ac_try) 2>&5
5992 ac_status=$?
5993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5994 (exit $ac_status); }; } &&
5995 { ac_try='test -s conftest$ac_exeext'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5997 (eval $ac_try) 2>&5
5998 ac_status=$?
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; }; then
6001 eval "$as_ac_var=yes"
6002 else
6003 echo "$as_me: failed program was:" >&5
6004 sed 's/^/| /' conftest.$ac_ext >&5
6005
6006 eval "$as_ac_var=no"
6007 fi
6008 rm -f conftest.err conftest.$ac_objext \
6009 conftest$ac_exeext conftest.$ac_ext
6010 fi
6011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6013 if test `eval echo '${'$as_ac_var'}'` = yes; then
6014
6015 cat >>confdefs.h <<_ACEOF
6016 @%:@define CRAY_STACKSEG_END $ac_func
6017 _ACEOF
6018
6019 break
6020 fi
6021
6022 done
6023 fi
6024
6025 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6026 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6027 if test "${ac_cv_c_stack_direction+set}" = set; then
6028 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 else
6030 if test "$cross_compiling" = yes; then
6031 ac_cv_c_stack_direction=0
6032 else
6033 cat >conftest.$ac_ext <<_ACEOF
6034 /* confdefs.h. */
6035 _ACEOF
6036 cat confdefs.h >>conftest.$ac_ext
6037 cat >>conftest.$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6039 int
6040 find_stack_direction ()
6041 {
6042 static char *addr = 0;
6043 auto char dummy;
6044 if (addr == 0)
6045 {
6046 addr = &dummy;
6047 return find_stack_direction ();
6048 }
6049 else
6050 return (&dummy > addr) ? 1 : -1;
6051 }
6052
6053 int
6054 main ()
6055 {
6056 exit (find_stack_direction () < 0);
6057 }
6058 _ACEOF
6059 rm -f conftest$ac_exeext
6060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6061 (eval $ac_link) 2>&5
6062 ac_status=$?
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6066 (eval $ac_try) 2>&5
6067 ac_status=$?
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); }; }; then
6070 ac_cv_c_stack_direction=1
6071 else
6072 echo "$as_me: program exited with status $ac_status" >&5
6073 echo "$as_me: failed program was:" >&5
6074 sed 's/^/| /' conftest.$ac_ext >&5
6075
6076 ( exit $ac_status )
6077 ac_cv_c_stack_direction=-1
6078 fi
6079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6080 fi
6081 fi
6082 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6083 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6084
6085 cat >>confdefs.h <<_ACEOF
6086 @%:@define STACK_DIRECTION $ac_cv_c_stack_direction
6087 _ACEOF
6088
6089
6090 fi
6091
6092
6093
6094
6095
6096
6097 ac_header_dirent=no
6098 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6099 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6100 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6101 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 else
6105 cat >conftest.$ac_ext <<_ACEOF
6106 /* confdefs.h. */
6107 _ACEOF
6108 cat confdefs.h >>conftest.$ac_ext
6109 cat >>conftest.$ac_ext <<_ACEOF
6110 /* end confdefs.h. */
6111 #include <sys/types.h>
6112 #include <$ac_hdr>
6113
6114 int
6115 main ()
6116 {
6117 if ((DIR *) 0)
6118 return 0;
6119 ;
6120 return 0;
6121 }
6122 _ACEOF
6123 rm -f conftest.$ac_objext
6124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6125 (eval $ac_compile) 2>conftest.er1
6126 ac_status=$?
6127 grep -v '^ *+' conftest.er1 >conftest.err
6128 rm -f conftest.er1
6129 cat conftest.err >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); } &&
6132 { ac_try='test -z "$ac_c_werror_flag"
6133 || test ! -s conftest.err'
6134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6135 (eval $ac_try) 2>&5
6136 ac_status=$?
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }; } &&
6139 { ac_try='test -s conftest.$ac_objext'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6141 (eval $ac_try) 2>&5
6142 ac_status=$?
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; }; then
6145 eval "$as_ac_Header=yes"
6146 else
6147 echo "$as_me: failed program was:" >&5
6148 sed 's/^/| /' conftest.$ac_ext >&5
6149
6150 eval "$as_ac_Header=no"
6151 fi
6152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6153 fi
6154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6157 cat >>confdefs.h <<_ACEOF
6158 @%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6159 _ACEOF
6160
6161 ac_header_dirent=$ac_hdr; break
6162 fi
6163
6164 done
6165 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6166 if test $ac_header_dirent = dirent.h; then
6167 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6168 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6169 if test "${ac_cv_search_opendir+set}" = set; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6171 else
6172 ac_func_search_save_LIBS=$LIBS
6173 ac_cv_search_opendir=no
6174 cat >conftest.$ac_ext <<_ACEOF
6175 /* confdefs.h. */
6176 _ACEOF
6177 cat confdefs.h >>conftest.$ac_ext
6178 cat >>conftest.$ac_ext <<_ACEOF
6179 /* end confdefs.h. */
6180
6181 /* Override any gcc2 internal prototype to avoid an error. */
6182 #ifdef __cplusplus
6183 extern "C"
6184 #endif
6185 /* We use char because int might match the return type of a gcc2
6186 builtin and then its argument prototype would still apply. */
6187 char opendir ();
6188 int
6189 main ()
6190 {
6191 opendir ();
6192 ;
6193 return 0;
6194 }
6195 _ACEOF
6196 rm -f conftest.$ac_objext conftest$ac_exeext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6198 (eval $ac_link) 2>conftest.er1
6199 ac_status=$?
6200 grep -v '^ *+' conftest.er1 >conftest.err
6201 rm -f conftest.er1
6202 cat conftest.err >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } &&
6205 { ac_try='test -z "$ac_c_werror_flag"
6206 || test ! -s conftest.err'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6208 (eval $ac_try) 2>&5
6209 ac_status=$?
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; } &&
6212 { ac_try='test -s conftest$ac_exeext'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 (eval $ac_try) 2>&5
6215 ac_status=$?
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 ac_cv_search_opendir="none required"
6219 else
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6222
6223 fi
6224 rm -f conftest.err conftest.$ac_objext \
6225 conftest$ac_exeext conftest.$ac_ext
6226 if test "$ac_cv_search_opendir" = no; then
6227 for ac_lib in dir; do
6228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6229 cat >conftest.$ac_ext <<_ACEOF
6230 /* confdefs.h. */
6231 _ACEOF
6232 cat confdefs.h >>conftest.$ac_ext
6233 cat >>conftest.$ac_ext <<_ACEOF
6234 /* end confdefs.h. */
6235
6236 /* Override any gcc2 internal prototype to avoid an error. */
6237 #ifdef __cplusplus
6238 extern "C"
6239 #endif
6240 /* We use char because int might match the return type of a gcc2
6241 builtin and then its argument prototype would still apply. */
6242 char opendir ();
6243 int
6244 main ()
6245 {
6246 opendir ();
6247 ;
6248 return 0;
6249 }
6250 _ACEOF
6251 rm -f conftest.$ac_objext conftest$ac_exeext
6252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6253 (eval $ac_link) 2>conftest.er1
6254 ac_status=$?
6255 grep -v '^ *+' conftest.er1 >conftest.err
6256 rm -f conftest.er1
6257 cat conftest.err >&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); } &&
6260 { ac_try='test -z "$ac_c_werror_flag"
6261 || test ! -s conftest.err'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6263 (eval $ac_try) 2>&5
6264 ac_status=$?
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; } &&
6267 { ac_try='test -s conftest$ac_exeext'
6268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269 (eval $ac_try) 2>&5
6270 ac_status=$?
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); }; }; then
6273 ac_cv_search_opendir="-l$ac_lib"
6274 break
6275 else
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6278
6279 fi
6280 rm -f conftest.err conftest.$ac_objext \
6281 conftest$ac_exeext conftest.$ac_ext
6282 done
6283 fi
6284 LIBS=$ac_func_search_save_LIBS
6285 fi
6286 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6287 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6288 if test "$ac_cv_search_opendir" != no; then
6289 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6290
6291 fi
6292
6293 else
6294 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6295 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6296 if test "${ac_cv_search_opendir+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 else
6299 ac_func_search_save_LIBS=$LIBS
6300 ac_cv_search_opendir=no
6301 cat >conftest.$ac_ext <<_ACEOF
6302 /* confdefs.h. */
6303 _ACEOF
6304 cat confdefs.h >>conftest.$ac_ext
6305 cat >>conftest.$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6307
6308 /* Override any gcc2 internal prototype to avoid an error. */
6309 #ifdef __cplusplus
6310 extern "C"
6311 #endif
6312 /* We use char because int might match the return type of a gcc2
6313 builtin and then its argument prototype would still apply. */
6314 char opendir ();
6315 int
6316 main ()
6317 {
6318 opendir ();
6319 ;
6320 return 0;
6321 }
6322 _ACEOF
6323 rm -f conftest.$ac_objext conftest$ac_exeext
6324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6325 (eval $ac_link) 2>conftest.er1
6326 ac_status=$?
6327 grep -v '^ *+' conftest.er1 >conftest.err
6328 rm -f conftest.er1
6329 cat conftest.err >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } &&
6332 { ac_try='test -z "$ac_c_werror_flag"
6333 || test ! -s conftest.err'
6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6335 (eval $ac_try) 2>&5
6336 ac_status=$?
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); }; } &&
6339 { ac_try='test -s conftest$ac_exeext'
6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6341 (eval $ac_try) 2>&5
6342 ac_status=$?
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; }; then
6345 ac_cv_search_opendir="none required"
6346 else
6347 echo "$as_me: failed program was:" >&5
6348 sed 's/^/| /' conftest.$ac_ext >&5
6349
6350 fi
6351 rm -f conftest.err conftest.$ac_objext \
6352 conftest$ac_exeext conftest.$ac_ext
6353 if test "$ac_cv_search_opendir" = no; then
6354 for ac_lib in x; do
6355 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6356 cat >conftest.$ac_ext <<_ACEOF
6357 /* confdefs.h. */
6358 _ACEOF
6359 cat confdefs.h >>conftest.$ac_ext
6360 cat >>conftest.$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6362
6363 /* Override any gcc2 internal prototype to avoid an error. */
6364 #ifdef __cplusplus
6365 extern "C"
6366 #endif
6367 /* We use char because int might match the return type of a gcc2
6368 builtin and then its argument prototype would still apply. */
6369 char opendir ();
6370 int
6371 main ()
6372 {
6373 opendir ();
6374 ;
6375 return 0;
6376 }
6377 _ACEOF
6378 rm -f conftest.$ac_objext conftest$ac_exeext
6379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6380 (eval $ac_link) 2>conftest.er1
6381 ac_status=$?
6382 grep -v '^ *+' conftest.er1 >conftest.err
6383 rm -f conftest.er1
6384 cat conftest.err >&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } &&
6387 { ac_try='test -z "$ac_c_werror_flag"
6388 || test ! -s conftest.err'
6389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6390 (eval $ac_try) 2>&5
6391 ac_status=$?
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); }; } &&
6394 { ac_try='test -s conftest$ac_exeext'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 (eval $ac_try) 2>&5
6397 ac_status=$?
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; }; then
6400 ac_cv_search_opendir="-l$ac_lib"
6401 break
6402 else
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6405
6406 fi
6407 rm -f conftest.err conftest.$ac_objext \
6408 conftest$ac_exeext conftest.$ac_ext
6409 done
6410 fi
6411 LIBS=$ac_func_search_save_LIBS
6412 fi
6413 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6414 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6415 if test "$ac_cv_search_opendir" != no; then
6416 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6417
6418 fi
6419
6420 fi
6421
6422 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6423 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6424 if test "${ac_cv_header_stdc+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 else
6427 cat >conftest.$ac_ext <<_ACEOF
6428 /* confdefs.h. */
6429 _ACEOF
6430 cat confdefs.h >>conftest.$ac_ext
6431 cat >>conftest.$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6433 #include <stdlib.h>
6434 #include <stdarg.h>
6435 #include <string.h>
6436 #include <float.h>
6437
6438 int
6439 main ()
6440 {
6441
6442 ;
6443 return 0;
6444 }
6445 _ACEOF
6446 rm -f conftest.$ac_objext
6447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6448 (eval $ac_compile) 2>conftest.er1
6449 ac_status=$?
6450 grep -v '^ *+' conftest.er1 >conftest.err
6451 rm -f conftest.er1
6452 cat conftest.err >&5
6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6454 (exit $ac_status); } &&
6455 { ac_try='test -z "$ac_c_werror_flag"
6456 || test ! -s conftest.err'
6457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 (eval $ac_try) 2>&5
6459 ac_status=$?
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); }; } &&
6462 { ac_try='test -s conftest.$ac_objext'
6463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 (eval $ac_try) 2>&5
6465 ac_status=$?
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); }; }; then
6468 ac_cv_header_stdc=yes
6469 else
6470 echo "$as_me: failed program was:" >&5
6471 sed 's/^/| /' conftest.$ac_ext >&5
6472
6473 ac_cv_header_stdc=no
6474 fi
6475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6476
6477 if test $ac_cv_header_stdc = yes; then
6478 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6479 cat >conftest.$ac_ext <<_ACEOF
6480 /* confdefs.h. */
6481 _ACEOF
6482 cat confdefs.h >>conftest.$ac_ext
6483 cat >>conftest.$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 #include <string.h>
6486
6487 _ACEOF
6488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6489 $EGREP "memchr" >/dev/null 2>&1; then
6490 :
6491 else
6492 ac_cv_header_stdc=no
6493 fi
6494 rm -f conftest*
6495
6496 fi
6497
6498 if test $ac_cv_header_stdc = yes; then
6499 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6500 cat >conftest.$ac_ext <<_ACEOF
6501 /* confdefs.h. */
6502 _ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6506 #include <stdlib.h>
6507
6508 _ACEOF
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510 $EGREP "free" >/dev/null 2>&1; then
6511 :
6512 else
6513 ac_cv_header_stdc=no
6514 fi
6515 rm -f conftest*
6516
6517 fi
6518
6519 if test $ac_cv_header_stdc = yes; then
6520 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6521 if test "$cross_compiling" = yes; then
6522 :
6523 else
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <ctype.h>
6531 #if ((' ' & 0x0FF) == 0x020)
6532 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6533 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6534 #else
6535 # define ISLOWER(c) \
6536 (('a' <= (c) && (c) <= 'i') \
6537 || ('j' <= (c) && (c) <= 'r') \
6538 || ('s' <= (c) && (c) <= 'z'))
6539 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6540 #endif
6541
6542 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6543 int
6544 main ()
6545 {
6546 int i;
6547 for (i = 0; i < 256; i++)
6548 if (XOR (islower (i), ISLOWER (i))
6549 || toupper (i) != TOUPPER (i))
6550 exit(2);
6551 exit (0);
6552 }
6553 _ACEOF
6554 rm -f conftest$ac_exeext
6555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6556 (eval $ac_link) 2>&5
6557 ac_status=$?
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 (eval $ac_try) 2>&5
6562 ac_status=$?
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; }; then
6565 :
6566 else
6567 echo "$as_me: program exited with status $ac_status" >&5
6568 echo "$as_me: failed program was:" >&5
6569 sed 's/^/| /' conftest.$ac_ext >&5
6570
6571 ( exit $ac_status )
6572 ac_cv_header_stdc=no
6573 fi
6574 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6575 fi
6576 fi
6577 fi
6578 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6579 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6580 if test $ac_cv_header_stdc = yes; then
6581
6582 cat >>confdefs.h <<\_ACEOF
6583 @%:@define STDC_HEADERS 1
6584 _ACEOF
6585
6586 fi
6587
6588 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6589 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6590 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6591 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 else
6593 cat >conftest.$ac_ext <<_ACEOF
6594 /* confdefs.h. */
6595 _ACEOF
6596 cat confdefs.h >>conftest.$ac_ext
6597 cat >>conftest.$ac_ext <<_ACEOF
6598 /* end confdefs.h. */
6599 #include <sys/types.h>
6600 #include <sys/wait.h>
6601 #ifndef WEXITSTATUS
6602 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6603 #endif
6604 #ifndef WIFEXITED
6605 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6606 #endif
6607
6608 int
6609 main ()
6610 {
6611 int s;
6612 wait (&s);
6613 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6614 ;
6615 return 0;
6616 }
6617 _ACEOF
6618 rm -f conftest.$ac_objext
6619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6620 (eval $ac_compile) 2>conftest.er1
6621 ac_status=$?
6622 grep -v '^ *+' conftest.er1 >conftest.err
6623 rm -f conftest.er1
6624 cat conftest.err >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } &&
6627 { ac_try='test -z "$ac_c_werror_flag"
6628 || test ! -s conftest.err'
6629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 (eval $ac_try) 2>&5
6631 ac_status=$?
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); }; } &&
6634 { ac_try='test -s conftest.$ac_objext'
6635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 (eval $ac_try) 2>&5
6637 ac_status=$?
6638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6639 (exit $ac_status); }; }; then
6640 ac_cv_header_sys_wait_h=yes
6641 else
6642 echo "$as_me: failed program was:" >&5
6643 sed 's/^/| /' conftest.$ac_ext >&5
6644
6645 ac_cv_header_sys_wait_h=no
6646 fi
6647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6648 fi
6649 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6650 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6651 if test $ac_cv_header_sys_wait_h = yes; then
6652
6653 cat >>confdefs.h <<\_ACEOF
6654 @%:@define HAVE_SYS_WAIT_H 1
6655 _ACEOF
6656
6657 fi
6658
6659 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6670 inttypes.h stdint.h unistd.h
6671 do
6672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6673 echo "$as_me:$LINENO: checking for $ac_header" >&5
6674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6676 echo $ECHO_N "(cached) $ECHO_C" >&6
6677 else
6678 cat >conftest.$ac_ext <<_ACEOF
6679 /* confdefs.h. */
6680 _ACEOF
6681 cat confdefs.h >>conftest.$ac_ext
6682 cat >>conftest.$ac_ext <<_ACEOF
6683 /* end confdefs.h. */
6684 $ac_includes_default
6685
6686 @%:@include <$ac_header>
6687 _ACEOF
6688 rm -f conftest.$ac_objext
6689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6690 (eval $ac_compile) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } &&
6697 { ac_try='test -z "$ac_c_werror_flag"
6698 || test ! -s conftest.err'
6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700 (eval $ac_try) 2>&5
6701 ac_status=$?
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); }; } &&
6704 { ac_try='test -s conftest.$ac_objext'
6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706 (eval $ac_try) 2>&5
6707 ac_status=$?
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); }; }; then
6710 eval "$as_ac_Header=yes"
6711 else
6712 echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.$ac_ext >&5
6714
6715 eval "$as_ac_Header=no"
6716 fi
6717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6718 fi
6719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6722 cat >>confdefs.h <<_ACEOF
6723 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6724 _ACEOF
6725
6726 fi
6727
6728 done
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746 for ac_header in fcntl.h inttypes.h libintl.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h wchar.h wctype.h getopt.h
6747 do
6748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6750 echo "$as_me:$LINENO: checking for $ac_header" >&5
6751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6753 echo $ECHO_N "(cached) $ECHO_C" >&6
6754 fi
6755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6757 else
6758 # Is the header compilable?
6759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6761 cat >conftest.$ac_ext <<_ACEOF
6762 /* confdefs.h. */
6763 _ACEOF
6764 cat confdefs.h >>conftest.$ac_ext
6765 cat >>conftest.$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 $ac_includes_default
6768 @%:@include <$ac_header>
6769 _ACEOF
6770 rm -f conftest.$ac_objext
6771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6772 (eval $ac_compile) 2>conftest.er1
6773 ac_status=$?
6774 grep -v '^ *+' conftest.er1 >conftest.err
6775 rm -f conftest.er1
6776 cat conftest.err >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } &&
6779 { ac_try='test -z "$ac_c_werror_flag"
6780 || test ! -s conftest.err'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 (eval $ac_try) 2>&5
6783 ac_status=$?
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; } &&
6786 { ac_try='test -s conftest.$ac_objext'
6787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6788 (eval $ac_try) 2>&5
6789 ac_status=$?
6790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6791 (exit $ac_status); }; }; then
6792 ac_header_compiler=yes
6793 else
6794 echo "$as_me: failed program was:" >&5
6795 sed 's/^/| /' conftest.$ac_ext >&5
6796
6797 ac_header_compiler=no
6798 fi
6799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6801 echo "${ECHO_T}$ac_header_compiler" >&6
6802
6803 # Is the header present?
6804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6806 cat >conftest.$ac_ext <<_ACEOF
6807 /* confdefs.h. */
6808 _ACEOF
6809 cat confdefs.h >>conftest.$ac_ext
6810 cat >>conftest.$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6812 @%:@include <$ac_header>
6813 _ACEOF
6814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6816 ac_status=$?
6817 grep -v '^ *+' conftest.er1 >conftest.err
6818 rm -f conftest.er1
6819 cat conftest.err >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } >/dev/null; then
6822 if test -s conftest.err; then
6823 ac_cpp_err=$ac_c_preproc_warn_flag
6824 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6825 else
6826 ac_cpp_err=
6827 fi
6828 else
6829 ac_cpp_err=yes
6830 fi
6831 if test -z "$ac_cpp_err"; then
6832 ac_header_preproc=yes
6833 else
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6836
6837 ac_header_preproc=no
6838 fi
6839 rm -f conftest.err conftest.$ac_ext
6840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6841 echo "${ECHO_T}$ac_header_preproc" >&6
6842
6843 # So? What about this header?
6844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6845 yes:no: )
6846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6850 ac_header_preproc=yes
6851 ;;
6852 no:yes:* )
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6865 (
6866 cat <<\_ASBOX
6867 @%:@@%:@ ------------------------------- @%:@@%:@
6868 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
6869 @%:@@%:@ ------------------------------- @%:@@%:@
6870 _ASBOX
6871 ) |
6872 sed "s/^/$as_me: WARNING: /" >&2
6873 ;;
6874 esac
6875 echo "$as_me:$LINENO: checking for $ac_header" >&5
6876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6878 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 else
6880 eval "$as_ac_Header=\$ac_header_preproc"
6881 fi
6882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6884
6885 fi
6886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6887 cat >>confdefs.h <<_ACEOF
6888 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6889 _ACEOF
6890
6891 fi
6892
6893 done
6894
6895
6896 # rpc workaround for cygwin
6897
6898
6899 for ac_header in rpc/types.h rpc/xdr.h
6900 do
6901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6902 echo "$as_me:$LINENO: checking for $ac_header" >&5
6903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6905 echo $ECHO_N "(cached) $ECHO_C" >&6
6906 else
6907 cat >conftest.$ac_ext <<_ACEOF
6908 /* confdefs.h. */
6909 _ACEOF
6910 cat confdefs.h >>conftest.$ac_ext
6911 cat >>conftest.$ac_ext <<_ACEOF
6912 /* end confdefs.h. */
6913 #ifdef HAVE_RPC_TYPES_H
6914 # include <rpc/types.h>
6915 #endif
6916
6917
6918 @%:@include <$ac_header>
6919 _ACEOF
6920 rm -f conftest.$ac_objext
6921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6922 (eval $ac_compile) 2>conftest.er1
6923 ac_status=$?
6924 grep -v '^ *+' conftest.er1 >conftest.err
6925 rm -f conftest.er1
6926 cat conftest.err >&5
6927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6928 (exit $ac_status); } &&
6929 { ac_try='test -z "$ac_c_werror_flag"
6930 || test ! -s conftest.err'
6931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6932 (eval $ac_try) 2>&5
6933 ac_status=$?
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); }; } &&
6936 { ac_try='test -s conftest.$ac_objext'
6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6938 (eval $ac_try) 2>&5
6939 ac_status=$?
6940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 (exit $ac_status); }; }; then
6942 eval "$as_ac_Header=yes"
6943 else
6944 echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.$ac_ext >&5
6946
6947 eval "$as_ac_Header=no"
6948 fi
6949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6950 fi
6951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6954 cat >>confdefs.h <<_ACEOF
6955 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6956 _ACEOF
6957
6958 fi
6959
6960 done
6961
6962
6963
6964 # Checks for operand sizes.
6965 echo "$as_me:$LINENO: checking for void *" >&5
6966 echo $ECHO_N "checking for void *... $ECHO_C" >&6
6967 if test "${ac_cv_type_void_p+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 else
6970 cat >conftest.$ac_ext <<_ACEOF
6971 /* confdefs.h. */
6972 _ACEOF
6973 cat confdefs.h >>conftest.$ac_ext
6974 cat >>conftest.$ac_ext <<_ACEOF
6975 /* end confdefs.h. */
6976 $ac_includes_default
6977 int
6978 main ()
6979 {
6980 if ((void * *) 0)
6981 return 0;
6982 if (sizeof (void *))
6983 return 0;
6984 ;
6985 return 0;
6986 }
6987 _ACEOF
6988 rm -f conftest.$ac_objext
6989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6990 (eval $ac_compile) 2>conftest.er1
6991 ac_status=$?
6992 grep -v '^ *+' conftest.er1 >conftest.err
6993 rm -f conftest.er1
6994 cat conftest.err >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); } &&
6997 { ac_try='test -z "$ac_c_werror_flag"
6998 || test ! -s conftest.err'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; } &&
7004 { ac_try='test -s conftest.$ac_objext'
7005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006 (eval $ac_try) 2>&5
7007 ac_status=$?
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); }; }; then
7010 ac_cv_type_void_p=yes
7011 else
7012 echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.$ac_ext >&5
7014
7015 ac_cv_type_void_p=no
7016 fi
7017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7018 fi
7019 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
7020 echo "${ECHO_T}$ac_cv_type_void_p" >&6
7021
7022 echo "$as_me:$LINENO: checking size of void *" >&5
7023 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
7024 if test "${ac_cv_sizeof_void_p+set}" = set; then
7025 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 else
7027 if test "$ac_cv_type_void_p" = yes; then
7028 # The cast to unsigned long works around a bug in the HP C Compiler
7029 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7030 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7031 # This bug is HP SR number 8606223364.
7032 if test "$cross_compiling" = yes; then
7033 # Depending upon the size, compute the lo and hi bounds.
7034 cat >conftest.$ac_ext <<_ACEOF
7035 /* confdefs.h. */
7036 _ACEOF
7037 cat confdefs.h >>conftest.$ac_ext
7038 cat >>conftest.$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7040 $ac_includes_default
7041 int
7042 main ()
7043 {
7044 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) >= 0)@:>@;
7045 test_array @<:@0@:>@ = 0
7046
7047 ;
7048 return 0;
7049 }
7050 _ACEOF
7051 rm -f conftest.$ac_objext
7052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7053 (eval $ac_compile) 2>conftest.er1
7054 ac_status=$?
7055 grep -v '^ *+' conftest.er1 >conftest.err
7056 rm -f conftest.er1
7057 cat conftest.err >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } &&
7060 { ac_try='test -z "$ac_c_werror_flag"
7061 || test ! -s conftest.err'
7062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063 (eval $ac_try) 2>&5
7064 ac_status=$?
7065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7066 (exit $ac_status); }; } &&
7067 { ac_try='test -s conftest.$ac_objext'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 (eval $ac_try) 2>&5
7070 ac_status=$?
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; }; then
7073 ac_lo=0 ac_mid=0
7074 while :; do
7075 cat >conftest.$ac_ext <<_ACEOF
7076 /* confdefs.h. */
7077 _ACEOF
7078 cat confdefs.h >>conftest.$ac_ext
7079 cat >>conftest.$ac_ext <<_ACEOF
7080 /* end confdefs.h. */
7081 $ac_includes_default
7082 int
7083 main ()
7084 {
7085 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)@:>@;
7086 test_array @<:@0@:>@ = 0
7087
7088 ;
7089 return 0;
7090 }
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7095 ac_status=$?
7096 grep -v '^ *+' conftest.er1 >conftest.err
7097 rm -f conftest.er1
7098 cat conftest.err >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try='test -z "$ac_c_werror_flag"
7102 || test ! -s conftest.err'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 (eval $ac_try) 2>&5
7105 ac_status=$?
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; } &&
7108 { ac_try='test -s conftest.$ac_objext'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 (eval $ac_try) 2>&5
7111 ac_status=$?
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_hi=$ac_mid; break
7115 else
7116 echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7118
7119 ac_lo=`expr $ac_mid + 1`
7120 if test $ac_lo -le $ac_mid; then
7121 ac_lo= ac_hi=
7122 break
7123 fi
7124 ac_mid=`expr 2 '*' $ac_mid + 1`
7125 fi
7126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7127 done
7128 else
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7131
7132 cat >conftest.$ac_ext <<_ACEOF
7133 /* confdefs.h. */
7134 _ACEOF
7135 cat confdefs.h >>conftest.$ac_ext
7136 cat >>conftest.$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 $ac_includes_default
7139 int
7140 main ()
7141 {
7142 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) < 0)@:>@;
7143 test_array @<:@0@:>@ = 0
7144
7145 ;
7146 return 0;
7147 }
7148 _ACEOF
7149 rm -f conftest.$ac_objext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7151 (eval $ac_compile) 2>conftest.er1
7152 ac_status=$?
7153 grep -v '^ *+' conftest.er1 >conftest.err
7154 rm -f conftest.er1
7155 cat conftest.err >&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try='test -z "$ac_c_werror_flag"
7159 || test ! -s conftest.err'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7161 (eval $ac_try) 2>&5
7162 ac_status=$?
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; } &&
7165 { ac_try='test -s conftest.$ac_objext'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 (eval $ac_try) 2>&5
7168 ac_status=$?
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then
7171 ac_hi=-1 ac_mid=-1
7172 while :; do
7173 cat >conftest.$ac_ext <<_ACEOF
7174 /* confdefs.h. */
7175 _ACEOF
7176 cat confdefs.h >>conftest.$ac_ext
7177 cat >>conftest.$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7179 $ac_includes_default
7180 int
7181 main ()
7182 {
7183 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)@:>@;
7184 test_array @<:@0@:>@ = 0
7185
7186 ;
7187 return 0;
7188 }
7189 _ACEOF
7190 rm -f conftest.$ac_objext
7191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7192 (eval $ac_compile) 2>conftest.er1
7193 ac_status=$?
7194 grep -v '^ *+' conftest.er1 >conftest.err
7195 rm -f conftest.er1
7196 cat conftest.err >&5
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); } &&
7199 { ac_try='test -z "$ac_c_werror_flag"
7200 || test ! -s conftest.err'
7201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7202 (eval $ac_try) 2>&5
7203 ac_status=$?
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); }; } &&
7206 { ac_try='test -s conftest.$ac_objext'
7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7208 (eval $ac_try) 2>&5
7209 ac_status=$?
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); }; }; then
7212 ac_lo=$ac_mid; break
7213 else
7214 echo "$as_me: failed program was:" >&5
7215 sed 's/^/| /' conftest.$ac_ext >&5
7216
7217 ac_hi=`expr '(' $ac_mid ')' - 1`
7218 if test $ac_mid -le $ac_hi; then
7219 ac_lo= ac_hi=
7220 break
7221 fi
7222 ac_mid=`expr 2 '*' $ac_mid`
7223 fi
7224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7225 done
7226 else
7227 echo "$as_me: failed program was:" >&5
7228 sed 's/^/| /' conftest.$ac_ext >&5
7229
7230 ac_lo= ac_hi=
7231 fi
7232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7233 fi
7234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7235 # Binary search between lo and hi bounds.
7236 while test "x$ac_lo" != "x$ac_hi"; do
7237 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7238 cat >conftest.$ac_ext <<_ACEOF
7239 /* confdefs.h. */
7240 _ACEOF
7241 cat confdefs.h >>conftest.$ac_ext
7242 cat >>conftest.$ac_ext <<_ACEOF
7243 /* end confdefs.h. */
7244 $ac_includes_default
7245 int
7246 main ()
7247 {
7248 static int test_array @<:@1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)@:>@;
7249 test_array @<:@0@:>@ = 0
7250
7251 ;
7252 return 0;
7253 }
7254 _ACEOF
7255 rm -f conftest.$ac_objext
7256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7257 (eval $ac_compile) 2>conftest.er1
7258 ac_status=$?
7259 grep -v '^ *+' conftest.er1 >conftest.err
7260 rm -f conftest.er1
7261 cat conftest.err >&5
7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7263 (exit $ac_status); } &&
7264 { ac_try='test -z "$ac_c_werror_flag"
7265 || test ! -s conftest.err'
7266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7267 (eval $ac_try) 2>&5
7268 ac_status=$?
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); }; } &&
7271 { ac_try='test -s conftest.$ac_objext'
7272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7273 (eval $ac_try) 2>&5
7274 ac_status=$?
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); }; }; then
7277 ac_hi=$ac_mid
7278 else
7279 echo "$as_me: failed program was:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7281
7282 ac_lo=`expr '(' $ac_mid ')' + 1`
7283 fi
7284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7285 done
7286 case $ac_lo in
7287 ?*) ac_cv_sizeof_void_p=$ac_lo;;
7288 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7289 See \`config.log' for more details." >&5
7290 echo "$as_me: error: cannot compute sizeof (void *), 77
7291 See \`config.log' for more details." >&2;}
7292 { (exit 1); exit 1; }; } ;;
7293 esac
7294 else
7295 if test "$cross_compiling" = yes; then
7296 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7297 See \`config.log' for more details." >&5
7298 echo "$as_me: error: cannot run test program while cross compiling
7299 See \`config.log' for more details." >&2;}
7300 { (exit 1); exit 1; }; }
7301 else
7302 cat >conftest.$ac_ext <<_ACEOF
7303 /* confdefs.h. */
7304 _ACEOF
7305 cat confdefs.h >>conftest.$ac_ext
7306 cat >>conftest.$ac_ext <<_ACEOF
7307 /* end confdefs.h. */
7308 $ac_includes_default
7309 long longval () { return (long) (sizeof (void *)); }
7310 unsigned long ulongval () { return (long) (sizeof (void *)); }
7311 @%:@include <stdio.h>
7312 @%:@include <stdlib.h>
7313 int
7314 main ()
7315 {
7316
7317 FILE *f = fopen ("conftest.val", "w");
7318 if (! f)
7319 exit (1);
7320 if (((long) (sizeof (void *))) < 0)
7321 {
7322 long i = longval ();
7323 if (i != ((long) (sizeof (void *))))
7324 exit (1);
7325 fprintf (f, "%ld\n", i);
7326 }
7327 else
7328 {
7329 unsigned long i = ulongval ();
7330 if (i != ((long) (sizeof (void *))))
7331 exit (1);
7332 fprintf (f, "%lu\n", i);
7333 }
7334 exit (ferror (f) || fclose (f) != 0);
7335
7336 ;
7337 return 0;
7338 }
7339 _ACEOF
7340 rm -f conftest$ac_exeext
7341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7342 (eval $ac_link) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 (eval $ac_try) 2>&5
7348 ac_status=$?
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); }; }; then
7351 ac_cv_sizeof_void_p=`cat conftest.val`
7352 else
7353 echo "$as_me: program exited with status $ac_status" >&5
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.$ac_ext >&5
7356
7357 ( exit $ac_status )
7358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
7359 See \`config.log' for more details." >&5
7360 echo "$as_me: error: cannot compute sizeof (void *), 77
7361 See \`config.log' for more details." >&2;}
7362 { (exit 1); exit 1; }; }
7363 fi
7364 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7365 fi
7366 fi
7367 rm -f conftest.val
7368 else
7369 ac_cv_sizeof_void_p=0
7370 fi
7371 fi
7372 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
7373 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
7374 cat >>confdefs.h <<_ACEOF
7375 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
7376 _ACEOF
7377
7378
7379 echo "$as_me:$LINENO: checking for double" >&5
7380 echo $ECHO_N "checking for double... $ECHO_C" >&6
7381 if test "${ac_cv_type_double+set}" = set; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7383 else
7384 cat >conftest.$ac_ext <<_ACEOF
7385 /* confdefs.h. */
7386 _ACEOF
7387 cat confdefs.h >>conftest.$ac_ext
7388 cat >>conftest.$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 $ac_includes_default
7391 int
7392 main ()
7393 {
7394 if ((double *) 0)
7395 return 0;
7396 if (sizeof (double))
7397 return 0;
7398 ;
7399 return 0;
7400 }
7401 _ACEOF
7402 rm -f conftest.$ac_objext
7403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7404 (eval $ac_compile) 2>conftest.er1
7405 ac_status=$?
7406 grep -v '^ *+' conftest.er1 >conftest.err
7407 rm -f conftest.er1
7408 cat conftest.err >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); } &&
7411 { ac_try='test -z "$ac_c_werror_flag"
7412 || test ! -s conftest.err'
7413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 (eval $ac_try) 2>&5
7415 ac_status=$?
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); }; } &&
7418 { ac_try='test -s conftest.$ac_objext'
7419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 (eval $ac_try) 2>&5
7421 ac_status=$?
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); }; }; then
7424 ac_cv_type_double=yes
7425 else
7426 echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.$ac_ext >&5
7428
7429 ac_cv_type_double=no
7430 fi
7431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7432 fi
7433 echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
7434 echo "${ECHO_T}$ac_cv_type_double" >&6
7435
7436 echo "$as_me:$LINENO: checking size of double" >&5
7437 echo $ECHO_N "checking size of double... $ECHO_C" >&6
7438 if test "${ac_cv_sizeof_double+set}" = set; then
7439 echo $ECHO_N "(cached) $ECHO_C" >&6
7440 else
7441 if test "$ac_cv_type_double" = yes; then
7442 # The cast to unsigned long works around a bug in the HP C Compiler
7443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7445 # This bug is HP SR number 8606223364.
7446 if test "$cross_compiling" = yes; then
7447 # Depending upon the size, compute the lo and hi bounds.
7448 cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h. */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 $ac_includes_default
7455 int
7456 main ()
7457 {
7458 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) >= 0)@:>@;
7459 test_array @<:@0@:>@ = 0
7460
7461 ;
7462 return 0;
7463 }
7464 _ACEOF
7465 rm -f conftest.$ac_objext
7466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7467 (eval $ac_compile) 2>conftest.er1
7468 ac_status=$?
7469 grep -v '^ *+' conftest.er1 >conftest.err
7470 rm -f conftest.er1
7471 cat conftest.err >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); } &&
7474 { ac_try='test -z "$ac_c_werror_flag"
7475 || test ! -s conftest.err'
7476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 (eval $ac_try) 2>&5
7478 ac_status=$?
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); }; } &&
7481 { ac_try='test -s conftest.$ac_objext'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7483 (eval $ac_try) 2>&5
7484 ac_status=$?
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; }; then
7487 ac_lo=0 ac_mid=0
7488 while :; do
7489 cat >conftest.$ac_ext <<_ACEOF
7490 /* confdefs.h. */
7491 _ACEOF
7492 cat confdefs.h >>conftest.$ac_ext
7493 cat >>conftest.$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7495 $ac_includes_default
7496 int
7497 main ()
7498 {
7499 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)@:>@;
7500 test_array @<:@0@:>@ = 0
7501
7502 ;
7503 return 0;
7504 }
7505 _ACEOF
7506 rm -f conftest.$ac_objext
7507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7508 (eval $ac_compile) 2>conftest.er1
7509 ac_status=$?
7510 grep -v '^ *+' conftest.er1 >conftest.err
7511 rm -f conftest.er1
7512 cat conftest.err >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } &&
7515 { ac_try='test -z "$ac_c_werror_flag"
7516 || test ! -s conftest.err'
7517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 (eval $ac_try) 2>&5
7519 ac_status=$?
7520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); }; } &&
7522 { ac_try='test -s conftest.$ac_objext'
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524 (eval $ac_try) 2>&5
7525 ac_status=$?
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); }; }; then
7528 ac_hi=$ac_mid; break
7529 else
7530 echo "$as_me: failed program was:" >&5
7531 sed 's/^/| /' conftest.$ac_ext >&5
7532
7533 ac_lo=`expr $ac_mid + 1`
7534 if test $ac_lo -le $ac_mid; then
7535 ac_lo= ac_hi=
7536 break
7537 fi
7538 ac_mid=`expr 2 '*' $ac_mid + 1`
7539 fi
7540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7541 done
7542 else
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.$ac_ext >&5
7545
7546 cat >conftest.$ac_ext <<_ACEOF
7547 /* confdefs.h. */
7548 _ACEOF
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7552 $ac_includes_default
7553 int
7554 main ()
7555 {
7556 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) < 0)@:>@;
7557 test_array @<:@0@:>@ = 0
7558
7559 ;
7560 return 0;
7561 }
7562 _ACEOF
7563 rm -f conftest.$ac_objext
7564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7565 (eval $ac_compile) 2>conftest.er1
7566 ac_status=$?
7567 grep -v '^ *+' conftest.er1 >conftest.err
7568 rm -f conftest.er1
7569 cat conftest.err >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); } &&
7572 { ac_try='test -z "$ac_c_werror_flag"
7573 || test ! -s conftest.err'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 (eval $ac_try) 2>&5
7576 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; } &&
7579 { ac_try='test -s conftest.$ac_objext'
7580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7581 (eval $ac_try) 2>&5
7582 ac_status=$?
7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7584 (exit $ac_status); }; }; then
7585 ac_hi=-1 ac_mid=-1
7586 while :; do
7587 cat >conftest.$ac_ext <<_ACEOF
7588 /* confdefs.h. */
7589 _ACEOF
7590 cat confdefs.h >>conftest.$ac_ext
7591 cat >>conftest.$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 $ac_includes_default
7594 int
7595 main ()
7596 {
7597 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)@:>@;
7598 test_array @<:@0@:>@ = 0
7599
7600 ;
7601 return 0;
7602 }
7603 _ACEOF
7604 rm -f conftest.$ac_objext
7605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7606 (eval $ac_compile) 2>conftest.er1
7607 ac_status=$?
7608 grep -v '^ *+' conftest.er1 >conftest.err
7609 rm -f conftest.er1
7610 cat conftest.err >&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); } &&
7613 { ac_try='test -z "$ac_c_werror_flag"
7614 || test ! -s conftest.err'
7615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 (eval $ac_try) 2>&5
7617 ac_status=$?
7618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 (exit $ac_status); }; } &&
7620 { ac_try='test -s conftest.$ac_objext'
7621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7622 (eval $ac_try) 2>&5
7623 ac_status=$?
7624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625 (exit $ac_status); }; }; then
7626 ac_lo=$ac_mid; break
7627 else
7628 echo "$as_me: failed program was:" >&5
7629 sed 's/^/| /' conftest.$ac_ext >&5
7630
7631 ac_hi=`expr '(' $ac_mid ')' - 1`
7632 if test $ac_mid -le $ac_hi; then
7633 ac_lo= ac_hi=
7634 break
7635 fi
7636 ac_mid=`expr 2 '*' $ac_mid`
7637 fi
7638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7639 done
7640 else
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.$ac_ext >&5
7643
7644 ac_lo= ac_hi=
7645 fi
7646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7647 fi
7648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7649 # Binary search between lo and hi bounds.
7650 while test "x$ac_lo" != "x$ac_hi"; do
7651 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7652 cat >conftest.$ac_ext <<_ACEOF
7653 /* confdefs.h. */
7654 _ACEOF
7655 cat confdefs.h >>conftest.$ac_ext
7656 cat >>conftest.$ac_ext <<_ACEOF
7657 /* end confdefs.h. */
7658 $ac_includes_default
7659 int
7660 main ()
7661 {
7662 static int test_array @<:@1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)@:>@;
7663 test_array @<:@0@:>@ = 0
7664
7665 ;
7666 return 0;
7667 }
7668 _ACEOF
7669 rm -f conftest.$ac_objext
7670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7671 (eval $ac_compile) 2>conftest.er1
7672 ac_status=$?
7673 grep -v '^ *+' conftest.er1 >conftest.err
7674 rm -f conftest.er1
7675 cat conftest.err >&5
7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677 (exit $ac_status); } &&
7678 { ac_try='test -z "$ac_c_werror_flag"
7679 || test ! -s conftest.err'
7680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681 (eval $ac_try) 2>&5
7682 ac_status=$?
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); }; } &&
7685 { ac_try='test -s conftest.$ac_objext'
7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 (eval $ac_try) 2>&5
7688 ac_status=$?
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); }; }; then
7691 ac_hi=$ac_mid
7692 else
7693 echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.$ac_ext >&5
7695
7696 ac_lo=`expr '(' $ac_mid ')' + 1`
7697 fi
7698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7699 done
7700 case $ac_lo in
7701 ?*) ac_cv_sizeof_double=$ac_lo;;
7702 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
7703 See \`config.log' for more details." >&5
7704 echo "$as_me: error: cannot compute sizeof (double), 77
7705 See \`config.log' for more details." >&2;}
7706 { (exit 1); exit 1; }; } ;;
7707 esac
7708 else
7709 if test "$cross_compiling" = yes; then
7710 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7711 See \`config.log' for more details." >&5
7712 echo "$as_me: error: cannot run test program while cross compiling
7713 See \`config.log' for more details." >&2;}
7714 { (exit 1); exit 1; }; }
7715 else
7716 cat >conftest.$ac_ext <<_ACEOF
7717 /* confdefs.h. */
7718 _ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7722 $ac_includes_default
7723 long longval () { return (long) (sizeof (double)); }
7724 unsigned long ulongval () { return (long) (sizeof (double)); }
7725 @%:@include <stdio.h>
7726 @%:@include <stdlib.h>
7727 int
7728 main ()
7729 {
7730
7731 FILE *f = fopen ("conftest.val", "w");
7732 if (! f)
7733 exit (1);
7734 if (((long) (sizeof (double))) < 0)
7735 {
7736 long i = longval ();
7737 if (i != ((long) (sizeof (double))))
7738 exit (1);
7739 fprintf (f, "%ld\n", i);
7740 }
7741 else
7742 {
7743 unsigned long i = ulongval ();
7744 if (i != ((long) (sizeof (double))))
7745 exit (1);
7746 fprintf (f, "%lu\n", i);
7747 }
7748 exit (ferror (f) || fclose (f) != 0);
7749
7750 ;
7751 return 0;
7752 }
7753 _ACEOF
7754 rm -f conftest$ac_exeext
7755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7756 (eval $ac_link) 2>&5
7757 ac_status=$?
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7761 (eval $ac_try) 2>&5
7762 ac_status=$?
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); }; }; then
7765 ac_cv_sizeof_double=`cat conftest.val`
7766 else
7767 echo "$as_me: program exited with status $ac_status" >&5
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.$ac_ext >&5
7770
7771 ( exit $ac_status )
7772 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
7773 See \`config.log' for more details." >&5
7774 echo "$as_me: error: cannot compute sizeof (double), 77
7775 See \`config.log' for more details." >&2;}
7776 { (exit 1); exit 1; }; }
7777 fi
7778 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7779 fi
7780 fi
7781 rm -f conftest.val
7782 else
7783 ac_cv_sizeof_double=0
7784 fi
7785 fi
7786 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
7787 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
7788 cat >>confdefs.h <<_ACEOF
7789 @%:@define SIZEOF_DOUBLE $ac_cv_sizeof_double
7790 _ACEOF
7791
7792
7793 echo "$as_me:$LINENO: checking for long" >&5
7794 echo $ECHO_N "checking for long... $ECHO_C" >&6
7795 if test "${ac_cv_type_long+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7797 else
7798 cat >conftest.$ac_ext <<_ACEOF
7799 /* confdefs.h. */
7800 _ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7804 $ac_includes_default
7805 int
7806 main ()
7807 {
7808 if ((long *) 0)
7809 return 0;
7810 if (sizeof (long))
7811 return 0;
7812 ;
7813 return 0;
7814 }
7815 _ACEOF
7816 rm -f conftest.$ac_objext
7817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7818 (eval $ac_compile) 2>conftest.er1
7819 ac_status=$?
7820 grep -v '^ *+' conftest.er1 >conftest.err
7821 rm -f conftest.er1
7822 cat conftest.err >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } &&
7825 { ac_try='test -z "$ac_c_werror_flag"
7826 || test ! -s conftest.err'
7827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7828 (eval $ac_try) 2>&5
7829 ac_status=$?
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; } &&
7832 { ac_try='test -s conftest.$ac_objext'
7833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834 (eval $ac_try) 2>&5
7835 ac_status=$?
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; }; then
7838 ac_cv_type_long=yes
7839 else
7840 echo "$as_me: failed program was:" >&5
7841 sed 's/^/| /' conftest.$ac_ext >&5
7842
7843 ac_cv_type_long=no
7844 fi
7845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7846 fi
7847 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
7848 echo "${ECHO_T}$ac_cv_type_long" >&6
7849
7850 echo "$as_me:$LINENO: checking size of long" >&5
7851 echo $ECHO_N "checking size of long... $ECHO_C" >&6
7852 if test "${ac_cv_sizeof_long+set}" = set; then
7853 echo $ECHO_N "(cached) $ECHO_C" >&6
7854 else
7855 if test "$ac_cv_type_long" = yes; then
7856 # The cast to unsigned long works around a bug in the HP C Compiler
7857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7859 # This bug is HP SR number 8606223364.
7860 if test "$cross_compiling" = yes; then
7861 # Depending upon the size, compute the lo and hi bounds.
7862 cat >conftest.$ac_ext <<_ACEOF
7863 /* confdefs.h. */
7864 _ACEOF
7865 cat confdefs.h >>conftest.$ac_ext
7866 cat >>conftest.$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7868 $ac_includes_default
7869 int
7870 main ()
7871 {
7872 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) >= 0)@:>@;
7873 test_array @<:@0@:>@ = 0
7874
7875 ;
7876 return 0;
7877 }
7878 _ACEOF
7879 rm -f conftest.$ac_objext
7880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7881 (eval $ac_compile) 2>conftest.er1
7882 ac_status=$?
7883 grep -v '^ *+' conftest.er1 >conftest.err
7884 rm -f conftest.er1
7885 cat conftest.err >&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); } &&
7888 { ac_try='test -z "$ac_c_werror_flag"
7889 || test ! -s conftest.err'
7890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7891 (eval $ac_try) 2>&5
7892 ac_status=$?
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); }; } &&
7895 { ac_try='test -s conftest.$ac_objext'
7896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7897 (eval $ac_try) 2>&5
7898 ac_status=$?
7899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900 (exit $ac_status); }; }; then
7901 ac_lo=0 ac_mid=0
7902 while :; do
7903 cat >conftest.$ac_ext <<_ACEOF
7904 /* confdefs.h. */
7905 _ACEOF
7906 cat confdefs.h >>conftest.$ac_ext
7907 cat >>conftest.$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7909 $ac_includes_default
7910 int
7911 main ()
7912 {
7913 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)@:>@;
7914 test_array @<:@0@:>@ = 0
7915
7916 ;
7917 return 0;
7918 }
7919 _ACEOF
7920 rm -f conftest.$ac_objext
7921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7922 (eval $ac_compile) 2>conftest.er1
7923 ac_status=$?
7924 grep -v '^ *+' conftest.er1 >conftest.err
7925 rm -f conftest.er1
7926 cat conftest.err >&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } &&
7929 { ac_try='test -z "$ac_c_werror_flag"
7930 || test ! -s conftest.err'
7931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7932 (eval $ac_try) 2>&5
7933 ac_status=$?
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); }; } &&
7936 { ac_try='test -s conftest.$ac_objext'
7937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938 (eval $ac_try) 2>&5
7939 ac_status=$?
7940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7941 (exit $ac_status); }; }; then
7942 ac_hi=$ac_mid; break
7943 else
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7946
7947 ac_lo=`expr $ac_mid + 1`
7948 if test $ac_lo -le $ac_mid; then
7949 ac_lo= ac_hi=
7950 break
7951 fi
7952 ac_mid=`expr 2 '*' $ac_mid + 1`
7953 fi
7954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7955 done
7956 else
7957 echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.$ac_ext >&5
7959
7960 cat >conftest.$ac_ext <<_ACEOF
7961 /* confdefs.h. */
7962 _ACEOF
7963 cat confdefs.h >>conftest.$ac_ext
7964 cat >>conftest.$ac_ext <<_ACEOF
7965 /* end confdefs.h. */
7966 $ac_includes_default
7967 int
7968 main ()
7969 {
7970 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) < 0)@:>@;
7971 test_array @<:@0@:>@ = 0
7972
7973 ;
7974 return 0;
7975 }
7976 _ACEOF
7977 rm -f conftest.$ac_objext
7978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7979 (eval $ac_compile) 2>conftest.er1
7980 ac_status=$?
7981 grep -v '^ *+' conftest.er1 >conftest.err
7982 rm -f conftest.er1
7983 cat conftest.err >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); } &&
7986 { ac_try='test -z "$ac_c_werror_flag"
7987 || test ! -s conftest.err'
7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7989 (eval $ac_try) 2>&5
7990 ac_status=$?
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); }; } &&
7993 { ac_try='test -s conftest.$ac_objext'
7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7995 (eval $ac_try) 2>&5
7996 ac_status=$?
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; }; then
7999 ac_hi=-1 ac_mid=-1
8000 while :; do
8001 cat >conftest.$ac_ext <<_ACEOF
8002 /* confdefs.h. */
8003 _ACEOF
8004 cat confdefs.h >>conftest.$ac_ext
8005 cat >>conftest.$ac_ext <<_ACEOF
8006 /* end confdefs.h. */
8007 $ac_includes_default
8008 int
8009 main ()
8010 {
8011 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)@:>@;
8012 test_array @<:@0@:>@ = 0
8013
8014 ;
8015 return 0;
8016 }
8017 _ACEOF
8018 rm -f conftest.$ac_objext
8019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8020 (eval $ac_compile) 2>conftest.er1
8021 ac_status=$?
8022 grep -v '^ *+' conftest.er1 >conftest.err
8023 rm -f conftest.er1
8024 cat conftest.err >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); } &&
8027 { ac_try='test -z "$ac_c_werror_flag"
8028 || test ! -s conftest.err'
8029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8030 (eval $ac_try) 2>&5
8031 ac_status=$?
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); }; } &&
8034 { ac_try='test -s conftest.$ac_objext'
8035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8036 (eval $ac_try) 2>&5
8037 ac_status=$?
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); }; }; then
8040 ac_lo=$ac_mid; break
8041 else
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8044
8045 ac_hi=`expr '(' $ac_mid ')' - 1`
8046 if test $ac_mid -le $ac_hi; then
8047 ac_lo= ac_hi=
8048 break
8049 fi
8050 ac_mid=`expr 2 '*' $ac_mid`
8051 fi
8052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8053 done
8054 else
8055 echo "$as_me: failed program was:" >&5
8056 sed 's/^/| /' conftest.$ac_ext >&5
8057
8058 ac_lo= ac_hi=
8059 fi
8060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8061 fi
8062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8063 # Binary search between lo and hi bounds.
8064 while test "x$ac_lo" != "x$ac_hi"; do
8065 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8066 cat >conftest.$ac_ext <<_ACEOF
8067 /* confdefs.h. */
8068 _ACEOF
8069 cat confdefs.h >>conftest.$ac_ext
8070 cat >>conftest.$ac_ext <<_ACEOF
8071 /* end confdefs.h. */
8072 $ac_includes_default
8073 int
8074 main ()
8075 {
8076 static int test_array @<:@1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)@:>@;
8077 test_array @<:@0@:>@ = 0
8078
8079 ;
8080 return 0;
8081 }
8082 _ACEOF
8083 rm -f conftest.$ac_objext
8084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8085 (eval $ac_compile) 2>conftest.er1
8086 ac_status=$?
8087 grep -v '^ *+' conftest.er1 >conftest.err
8088 rm -f conftest.er1
8089 cat conftest.err >&5
8090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8091 (exit $ac_status); } &&
8092 { ac_try='test -z "$ac_c_werror_flag"
8093 || test ! -s conftest.err'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8095 (eval $ac_try) 2>&5
8096 ac_status=$?
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; } &&
8099 { ac_try='test -s conftest.$ac_objext'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8101 (eval $ac_try) 2>&5
8102 ac_status=$?
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; }; then
8105 ac_hi=$ac_mid
8106 else
8107 echo "$as_me: failed program was:" >&5
8108 sed 's/^/| /' conftest.$ac_ext >&5
8109
8110 ac_lo=`expr '(' $ac_mid ')' + 1`
8111 fi
8112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8113 done
8114 case $ac_lo in
8115 ?*) ac_cv_sizeof_long=$ac_lo;;
8116 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8117 See \`config.log' for more details." >&5
8118 echo "$as_me: error: cannot compute sizeof (long), 77
8119 See \`config.log' for more details." >&2;}
8120 { (exit 1); exit 1; }; } ;;
8121 esac
8122 else
8123 if test "$cross_compiling" = yes; then
8124 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8125 See \`config.log' for more details." >&5
8126 echo "$as_me: error: cannot run test program while cross compiling
8127 See \`config.log' for more details." >&2;}
8128 { (exit 1); exit 1; }; }
8129 else
8130 cat >conftest.$ac_ext <<_ACEOF
8131 /* confdefs.h. */
8132 _ACEOF
8133 cat confdefs.h >>conftest.$ac_ext
8134 cat >>conftest.$ac_ext <<_ACEOF
8135 /* end confdefs.h. */
8136 $ac_includes_default
8137 long longval () { return (long) (sizeof (long)); }
8138 unsigned long ulongval () { return (long) (sizeof (long)); }
8139 @%:@include <stdio.h>
8140 @%:@include <stdlib.h>
8141 int
8142 main ()
8143 {
8144
8145 FILE *f = fopen ("conftest.val", "w");
8146 if (! f)
8147 exit (1);
8148 if (((long) (sizeof (long))) < 0)
8149 {
8150 long i = longval ();
8151 if (i != ((long) (sizeof (long))))
8152 exit (1);
8153 fprintf (f, "%ld\n", i);
8154 }
8155 else
8156 {
8157 unsigned long i = ulongval ();
8158 if (i != ((long) (sizeof (long))))
8159 exit (1);
8160 fprintf (f, "%lu\n", i);
8161 }
8162 exit (ferror (f) || fclose (f) != 0);
8163
8164 ;
8165 return 0;
8166 }
8167 _ACEOF
8168 rm -f conftest$ac_exeext
8169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8170 (eval $ac_link) 2>&5
8171 ac_status=$?
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 (eval $ac_try) 2>&5
8176 ac_status=$?
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; }; then
8179 ac_cv_sizeof_long=`cat conftest.val`
8180 else
8181 echo "$as_me: program exited with status $ac_status" >&5
8182 echo "$as_me: failed program was:" >&5
8183 sed 's/^/| /' conftest.$ac_ext >&5
8184
8185 ( exit $ac_status )
8186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
8187 See \`config.log' for more details." >&5
8188 echo "$as_me: error: cannot compute sizeof (long), 77
8189 See \`config.log' for more details." >&2;}
8190 { (exit 1); exit 1; }; }
8191 fi
8192 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8193 fi
8194 fi
8195 rm -f conftest.val
8196 else
8197 ac_cv_sizeof_long=0
8198 fi
8199 fi
8200 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
8201 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8202 cat >>confdefs.h <<_ACEOF
8203 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
8204 _ACEOF
8205
8206
8207 echo "$as_me:$LINENO: checking for int" >&5
8208 echo $ECHO_N "checking for int... $ECHO_C" >&6
8209 if test "${ac_cv_type_int+set}" = set; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8211 else
8212 cat >conftest.$ac_ext <<_ACEOF
8213 /* confdefs.h. */
8214 _ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8218 $ac_includes_default
8219 int
8220 main ()
8221 {
8222 if ((int *) 0)
8223 return 0;
8224 if (sizeof (int))
8225 return 0;
8226 ;
8227 return 0;
8228 }
8229 _ACEOF
8230 rm -f conftest.$ac_objext
8231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8232 (eval $ac_compile) 2>conftest.er1
8233 ac_status=$?
8234 grep -v '^ *+' conftest.er1 >conftest.err
8235 rm -f conftest.er1
8236 cat conftest.err >&5
8237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); } &&
8239 { ac_try='test -z "$ac_c_werror_flag"
8240 || test ! -s conftest.err'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8242 (eval $ac_try) 2>&5
8243 ac_status=$?
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; } &&
8246 { ac_try='test -s conftest.$ac_objext'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 (eval $ac_try) 2>&5
8249 ac_status=$?
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; }; then
8252 ac_cv_type_int=yes
8253 else
8254 echo "$as_me: failed program was:" >&5
8255 sed 's/^/| /' conftest.$ac_ext >&5
8256
8257 ac_cv_type_int=no
8258 fi
8259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8260 fi
8261 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
8262 echo "${ECHO_T}$ac_cv_type_int" >&6
8263
8264 echo "$as_me:$LINENO: checking size of int" >&5
8265 echo $ECHO_N "checking size of int... $ECHO_C" >&6
8266 if test "${ac_cv_sizeof_int+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 else
8269 if test "$ac_cv_type_int" = yes; then
8270 # The cast to unsigned long works around a bug in the HP C Compiler
8271 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8272 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8273 # This bug is HP SR number 8606223364.
8274 if test "$cross_compiling" = yes; then
8275 # Depending upon the size, compute the lo and hi bounds.
8276 cat >conftest.$ac_ext <<_ACEOF
8277 /* confdefs.h. */
8278 _ACEOF
8279 cat confdefs.h >>conftest.$ac_ext
8280 cat >>conftest.$ac_ext <<_ACEOF
8281 /* end confdefs.h. */
8282 $ac_includes_default
8283 int
8284 main ()
8285 {
8286 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= 0)@:>@;
8287 test_array @<:@0@:>@ = 0
8288
8289 ;
8290 return 0;
8291 }
8292 _ACEOF
8293 rm -f conftest.$ac_objext
8294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8295 (eval $ac_compile) 2>conftest.er1
8296 ac_status=$?
8297 grep -v '^ *+' conftest.er1 >conftest.err
8298 rm -f conftest.er1
8299 cat conftest.err >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } &&
8302 { ac_try='test -z "$ac_c_werror_flag"
8303 || test ! -s conftest.err'
8304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8305 (eval $ac_try) 2>&5
8306 ac_status=$?
8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 (exit $ac_status); }; } &&
8309 { ac_try='test -s conftest.$ac_objext'
8310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 (eval $ac_try) 2>&5
8312 ac_status=$?
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); }; }; then
8315 ac_lo=0 ac_mid=0
8316 while :; do
8317 cat >conftest.$ac_ext <<_ACEOF
8318 /* confdefs.h. */
8319 _ACEOF
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8323 $ac_includes_default
8324 int
8325 main ()
8326 {
8327 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
8328 test_array @<:@0@:>@ = 0
8329
8330 ;
8331 return 0;
8332 }
8333 _ACEOF
8334 rm -f conftest.$ac_objext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8336 (eval $ac_compile) 2>conftest.er1
8337 ac_status=$?
8338 grep -v '^ *+' conftest.er1 >conftest.err
8339 rm -f conftest.er1
8340 cat conftest.err >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } &&
8343 { ac_try='test -z "$ac_c_werror_flag"
8344 || test ! -s conftest.err'
8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346 (eval $ac_try) 2>&5
8347 ac_status=$?
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); }; } &&
8350 { ac_try='test -s conftest.$ac_objext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352 (eval $ac_try) 2>&5
8353 ac_status=$?
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8356 ac_hi=$ac_mid; break
8357 else
8358 echo "$as_me: failed program was:" >&5
8359 sed 's/^/| /' conftest.$ac_ext >&5
8360
8361 ac_lo=`expr $ac_mid + 1`
8362 if test $ac_lo -le $ac_mid; then
8363 ac_lo= ac_hi=
8364 break
8365 fi
8366 ac_mid=`expr 2 '*' $ac_mid + 1`
8367 fi
8368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8369 done
8370 else
8371 echo "$as_me: failed program was:" >&5
8372 sed 's/^/| /' conftest.$ac_ext >&5
8373
8374 cat >conftest.$ac_ext <<_ACEOF
8375 /* confdefs.h. */
8376 _ACEOF
8377 cat confdefs.h >>conftest.$ac_ext
8378 cat >>conftest.$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8380 $ac_includes_default
8381 int
8382 main ()
8383 {
8384 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) < 0)@:>@;
8385 test_array @<:@0@:>@ = 0
8386
8387 ;
8388 return 0;
8389 }
8390 _ACEOF
8391 rm -f conftest.$ac_objext
8392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8393 (eval $ac_compile) 2>conftest.er1
8394 ac_status=$?
8395 grep -v '^ *+' conftest.er1 >conftest.err
8396 rm -f conftest.er1
8397 cat conftest.err >&5
8398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399 (exit $ac_status); } &&
8400 { ac_try='test -z "$ac_c_werror_flag"
8401 || test ! -s conftest.err'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403 (eval $ac_try) 2>&5
8404 ac_status=$?
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; } &&
8407 { ac_try='test -s conftest.$ac_objext'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 (eval $ac_try) 2>&5
8410 ac_status=$?
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; }; then
8413 ac_hi=-1 ac_mid=-1
8414 while :; do
8415 cat >conftest.$ac_ext <<_ACEOF
8416 /* confdefs.h. */
8417 _ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8421 $ac_includes_default
8422 int
8423 main ()
8424 {
8425 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)@:>@;
8426 test_array @<:@0@:>@ = 0
8427
8428 ;
8429 return 0;
8430 }
8431 _ACEOF
8432 rm -f conftest.$ac_objext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8434 (eval $ac_compile) 2>conftest.er1
8435 ac_status=$?
8436 grep -v '^ *+' conftest.er1 >conftest.err
8437 rm -f conftest.er1
8438 cat conftest.err >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); } &&
8441 { ac_try='test -z "$ac_c_werror_flag"
8442 || test ! -s conftest.err'
8443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 (eval $ac_try) 2>&5
8445 ac_status=$?
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); }; } &&
8448 { ac_try='test -s conftest.$ac_objext'
8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 (eval $ac_try) 2>&5
8451 ac_status=$?
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; }; then
8454 ac_lo=$ac_mid; break
8455 else
8456 echo "$as_me: failed program was:" >&5
8457 sed 's/^/| /' conftest.$ac_ext >&5
8458
8459 ac_hi=`expr '(' $ac_mid ')' - 1`
8460 if test $ac_mid -le $ac_hi; then
8461 ac_lo= ac_hi=
8462 break
8463 fi
8464 ac_mid=`expr 2 '*' $ac_mid`
8465 fi
8466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8467 done
8468 else
8469 echo "$as_me: failed program was:" >&5
8470 sed 's/^/| /' conftest.$ac_ext >&5
8471
8472 ac_lo= ac_hi=
8473 fi
8474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8475 fi
8476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8477 # Binary search between lo and hi bounds.
8478 while test "x$ac_lo" != "x$ac_hi"; do
8479 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8480 cat >conftest.$ac_ext <<_ACEOF
8481 /* confdefs.h. */
8482 _ACEOF
8483 cat confdefs.h >>conftest.$ac_ext
8484 cat >>conftest.$ac_ext <<_ACEOF
8485 /* end confdefs.h. */
8486 $ac_includes_default
8487 int
8488 main ()
8489 {
8490 static int test_array @<:@1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)@:>@;
8491 test_array @<:@0@:>@ = 0
8492
8493 ;
8494 return 0;
8495 }
8496 _ACEOF
8497 rm -f conftest.$ac_objext
8498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8499 (eval $ac_compile) 2>conftest.er1
8500 ac_status=$?
8501 grep -v '^ *+' conftest.er1 >conftest.err
8502 rm -f conftest.er1
8503 cat conftest.err >&5
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); } &&
8506 { ac_try='test -z "$ac_c_werror_flag"
8507 || test ! -s conftest.err'
8508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8509 (eval $ac_try) 2>&5
8510 ac_status=$?
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); }; } &&
8513 { ac_try='test -s conftest.$ac_objext'
8514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8515 (eval $ac_try) 2>&5
8516 ac_status=$?
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); }; }; then
8519 ac_hi=$ac_mid
8520 else
8521 echo "$as_me: failed program was:" >&5
8522 sed 's/^/| /' conftest.$ac_ext >&5
8523
8524 ac_lo=`expr '(' $ac_mid ')' + 1`
8525 fi
8526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8527 done
8528 case $ac_lo in
8529 ?*) ac_cv_sizeof_int=$ac_lo;;
8530 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8531 See \`config.log' for more details." >&5
8532 echo "$as_me: error: cannot compute sizeof (int), 77
8533 See \`config.log' for more details." >&2;}
8534 { (exit 1); exit 1; }; } ;;
8535 esac
8536 else
8537 if test "$cross_compiling" = yes; then
8538 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8539 See \`config.log' for more details." >&5
8540 echo "$as_me: error: cannot run test program while cross compiling
8541 See \`config.log' for more details." >&2;}
8542 { (exit 1); exit 1; }; }
8543 else
8544 cat >conftest.$ac_ext <<_ACEOF
8545 /* confdefs.h. */
8546 _ACEOF
8547 cat confdefs.h >>conftest.$ac_ext
8548 cat >>conftest.$ac_ext <<_ACEOF
8549 /* end confdefs.h. */
8550 $ac_includes_default
8551 long longval () { return (long) (sizeof (int)); }
8552 unsigned long ulongval () { return (long) (sizeof (int)); }
8553 @%:@include <stdio.h>
8554 @%:@include <stdlib.h>
8555 int
8556 main ()
8557 {
8558
8559 FILE *f = fopen ("conftest.val", "w");
8560 if (! f)
8561 exit (1);
8562 if (((long) (sizeof (int))) < 0)
8563 {
8564 long i = longval ();
8565 if (i != ((long) (sizeof (int))))
8566 exit (1);
8567 fprintf (f, "%ld\n", i);
8568 }
8569 else
8570 {
8571 unsigned long i = ulongval ();
8572 if (i != ((long) (sizeof (int))))
8573 exit (1);
8574 fprintf (f, "%lu\n", i);
8575 }
8576 exit (ferror (f) || fclose (f) != 0);
8577
8578 ;
8579 return 0;
8580 }
8581 _ACEOF
8582 rm -f conftest$ac_exeext
8583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8584 (eval $ac_link) 2>&5
8585 ac_status=$?
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 (eval $ac_try) 2>&5
8590 ac_status=$?
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then
8593 ac_cv_sizeof_int=`cat conftest.val`
8594 else
8595 echo "$as_me: program exited with status $ac_status" >&5
8596 echo "$as_me: failed program was:" >&5
8597 sed 's/^/| /' conftest.$ac_ext >&5
8598
8599 ( exit $ac_status )
8600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
8601 See \`config.log' for more details." >&5
8602 echo "$as_me: error: cannot compute sizeof (int), 77
8603 See \`config.log' for more details." >&2;}
8604 { (exit 1); exit 1; }; }
8605 fi
8606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8607 fi
8608 fi
8609 rm -f conftest.val
8610 else
8611 ac_cv_sizeof_int=0
8612 fi
8613 fi
8614 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
8615 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
8616 cat >>confdefs.h <<_ACEOF
8617 @%:@define SIZEOF_INT $ac_cv_sizeof_int
8618 _ACEOF
8619
8620
8621
8622 # Checks for typedefs, structures, and compiler characteristics.
8623 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8624 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
8625 if test "${ac_cv_c_const+set}" = set; then
8626 echo $ECHO_N "(cached) $ECHO_C" >&6
8627 else
8628 cat >conftest.$ac_ext <<_ACEOF
8629 /* confdefs.h. */
8630 _ACEOF
8631 cat confdefs.h >>conftest.$ac_ext
8632 cat >>conftest.$ac_ext <<_ACEOF
8633 /* end confdefs.h. */
8634
8635 int
8636 main ()
8637 {
8638 /* FIXME: Include the comments suggested by Paul. */
8639 #ifndef __cplusplus
8640 /* Ultrix mips cc rejects this. */
8641 typedef int charset[2];
8642 const charset x;
8643 /* SunOS 4.1.1 cc rejects this. */
8644 char const *const *ccp;
8645 char **p;
8646 /* NEC SVR4.0.2 mips cc rejects this. */
8647 struct point {int x, y;};
8648 static struct point const zero = {0,0};
8649 /* AIX XL C 1.02.0.0 rejects this.
8650 It does not let you subtract one const X* pointer from another in
8651 an arm of an if-expression whose if-part is not a constant
8652 expression */
8653 const char *g = "string";
8654 ccp = &g + (g ? g-g : 0);
8655 /* HPUX 7.0 cc rejects these. */
8656 ++ccp;
8657 p = (char**) ccp;
8658 ccp = (char const *const *) p;
8659 { /* SCO 3.2v4 cc rejects this. */
8660 char *t;
8661 char const *s = 0 ? (char *) 0 : (char const *) 0;
8662
8663 *t++ = 0;
8664 }
8665 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8666 int x[] = {25, 17};
8667 const int *foo = &x[0];
8668 ++foo;
8669 }
8670 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8671 typedef const int *iptr;
8672 iptr p = 0;
8673 ++p;
8674 }
8675 { /* AIX XL C 1.02.0.0 rejects this saying
8676 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8677 struct s { int j; const int *ap[3]; };
8678 struct s *b; b->j = 5;
8679 }
8680 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8681 const int foo = 10;
8682 }
8683 #endif
8684
8685 ;
8686 return 0;
8687 }
8688 _ACEOF
8689 rm -f conftest.$ac_objext
8690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8691 (eval $ac_compile) 2>conftest.er1
8692 ac_status=$?
8693 grep -v '^ *+' conftest.er1 >conftest.err
8694 rm -f conftest.er1
8695 cat conftest.err >&5
8696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8697 (exit $ac_status); } &&
8698 { ac_try='test -z "$ac_c_werror_flag"
8699 || test ! -s conftest.err'
8700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8701 (eval $ac_try) 2>&5
8702 ac_status=$?
8703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8704 (exit $ac_status); }; } &&
8705 { ac_try='test -s conftest.$ac_objext'
8706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8707 (eval $ac_try) 2>&5
8708 ac_status=$?
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710 (exit $ac_status); }; }; then
8711 ac_cv_c_const=yes
8712 else
8713 echo "$as_me: failed program was:" >&5
8714 sed 's/^/| /' conftest.$ac_ext >&5
8715
8716 ac_cv_c_const=no
8717 fi
8718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8719 fi
8720 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8721 echo "${ECHO_T}$ac_cv_c_const" >&6
8722 if test $ac_cv_c_const = no; then
8723
8724 cat >>confdefs.h <<\_ACEOF
8725 @%:@define const
8726 _ACEOF
8727
8728 fi
8729
8730 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8731 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
8732 if test "${ac_cv_header_stdbool_h+set}" = set; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6
8734 else
8735 cat >conftest.$ac_ext <<_ACEOF
8736 /* confdefs.h. */
8737 _ACEOF
8738 cat confdefs.h >>conftest.$ac_ext
8739 cat >>conftest.$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8741
8742 #include <stdbool.h>
8743 #ifndef bool
8744 # error bool is not defined
8745 #endif
8746 #ifndef false
8747 # error false is not defined
8748 #endif
8749 #if false
8750 # error false is not 0
8751 #endif
8752 #ifndef true
8753 # error true is not defined
8754 #endif
8755 #if true != 1
8756 # error true is not 1
8757 #endif
8758 #ifndef __bool_true_false_are_defined
8759 # error __bool_true_false_are_defined is not defined
8760 #endif
8761
8762 struct s { _Bool s: 1; _Bool t; } s;
8763
8764 char a[true == 1 ? 1 : -1];
8765 char b[false == 0 ? 1 : -1];
8766 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
8767 char d[(bool) -0.5 == true ? 1 : -1];
8768 bool e = &s;
8769 char f[(_Bool) -0.0 == false ? 1 : -1];
8770 char g[true];
8771 char h[sizeof (_Bool)];
8772 char i[sizeof s.t];
8773
8774 int
8775 main ()
8776 {
8777 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
8778 ;
8779 return 0;
8780 }
8781 _ACEOF
8782 rm -f conftest.$ac_objext
8783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8784 (eval $ac_compile) 2>conftest.er1
8785 ac_status=$?
8786 grep -v '^ *+' conftest.er1 >conftest.err
8787 rm -f conftest.er1
8788 cat conftest.err >&5
8789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790 (exit $ac_status); } &&
8791 { ac_try='test -z "$ac_c_werror_flag"
8792 || test ! -s conftest.err'
8793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8794 (eval $ac_try) 2>&5
8795 ac_status=$?
8796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8797 (exit $ac_status); }; } &&
8798 { ac_try='test -s conftest.$ac_objext'
8799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800 (eval $ac_try) 2>&5
8801 ac_status=$?
8802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 (exit $ac_status); }; }; then
8804 ac_cv_header_stdbool_h=yes
8805 else
8806 echo "$as_me: failed program was:" >&5
8807 sed 's/^/| /' conftest.$ac_ext >&5
8808
8809 ac_cv_header_stdbool_h=no
8810 fi
8811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8812 fi
8813 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8814 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
8815 echo "$as_me:$LINENO: checking for _Bool" >&5
8816 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
8817 if test "${ac_cv_type__Bool+set}" = set; then
8818 echo $ECHO_N "(cached) $ECHO_C" >&6
8819 else
8820 cat >conftest.$ac_ext <<_ACEOF
8821 /* confdefs.h. */
8822 _ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8826 $ac_includes_default
8827 int
8828 main ()
8829 {
8830 if ((_Bool *) 0)
8831 return 0;
8832 if (sizeof (_Bool))
8833 return 0;
8834 ;
8835 return 0;
8836 }
8837 _ACEOF
8838 rm -f conftest.$ac_objext
8839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8840 (eval $ac_compile) 2>conftest.er1
8841 ac_status=$?
8842 grep -v '^ *+' conftest.er1 >conftest.err
8843 rm -f conftest.er1
8844 cat conftest.err >&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); } &&
8847 { ac_try='test -z "$ac_c_werror_flag"
8848 || test ! -s conftest.err'
8849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8850 (eval $ac_try) 2>&5
8851 ac_status=$?
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); }; } &&
8854 { ac_try='test -s conftest.$ac_objext'
8855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8856 (eval $ac_try) 2>&5
8857 ac_status=$?
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); }; }; then
8860 ac_cv_type__Bool=yes
8861 else
8862 echo "$as_me: failed program was:" >&5
8863 sed 's/^/| /' conftest.$ac_ext >&5
8864
8865 ac_cv_type__Bool=no
8866 fi
8867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8868 fi
8869 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8870 echo "${ECHO_T}$ac_cv_type__Bool" >&6
8871 if test $ac_cv_type__Bool = yes; then
8872
8873 cat >>confdefs.h <<_ACEOF
8874 @%:@define HAVE__BOOL 1
8875 _ACEOF
8876
8877
8878 fi
8879
8880 if test $ac_cv_header_stdbool_h = yes; then
8881
8882 cat >>confdefs.h <<\_ACEOF
8883 @%:@define HAVE_STDBOOL_H 1
8884 _ACEOF
8885
8886 fi
8887
8888 echo "$as_me:$LINENO: checking for inline" >&5
8889 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8890 if test "${ac_cv_c_inline+set}" = set; then
8891 echo $ECHO_N "(cached) $ECHO_C" >&6
8892 else
8893 ac_cv_c_inline=no
8894 for ac_kw in inline __inline__ __inline; do
8895 cat >conftest.$ac_ext <<_ACEOF
8896 /* confdefs.h. */
8897 _ACEOF
8898 cat confdefs.h >>conftest.$ac_ext
8899 cat >>conftest.$ac_ext <<_ACEOF
8900 /* end confdefs.h. */
8901 #ifndef __cplusplus
8902 typedef int foo_t;
8903 static $ac_kw foo_t static_foo () {return 0; }
8904 $ac_kw foo_t foo () {return 0; }
8905 #endif
8906
8907 _ACEOF
8908 rm -f conftest.$ac_objext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910 (eval $ac_compile) 2>conftest.er1
8911 ac_status=$?
8912 grep -v '^ *+' conftest.er1 >conftest.err
8913 rm -f conftest.er1
8914 cat conftest.err >&5
8915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916 (exit $ac_status); } &&
8917 { ac_try='test -z "$ac_c_werror_flag"
8918 || test ! -s conftest.err'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8920 (eval $ac_try) 2>&5
8921 ac_status=$?
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try='test -s conftest.$ac_objext'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8926 (eval $ac_try) 2>&5
8927 ac_status=$?
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; }; then
8930 ac_cv_c_inline=$ac_kw; break
8931 else
8932 echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.$ac_ext >&5
8934
8935 fi
8936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8937 done
8938
8939 fi
8940 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8941 echo "${ECHO_T}$ac_cv_c_inline" >&6
8942
8943
8944 case $ac_cv_c_inline in
8945 inline | yes) ;;
8946 *)
8947 case $ac_cv_c_inline in
8948 no) ac_val=;;
8949 *) ac_val=$ac_cv_c_inline;;
8950 esac
8951 cat >>confdefs.h <<_ACEOF
8952 #ifndef __cplusplus
8953 #define inline $ac_val
8954 #endif
8955 _ACEOF
8956 ;;
8957 esac
8958
8959 echo "$as_me:$LINENO: checking for off_t" >&5
8960 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
8961 if test "${ac_cv_type_off_t+set}" = set; then
8962 echo $ECHO_N "(cached) $ECHO_C" >&6
8963 else
8964 cat >conftest.$ac_ext <<_ACEOF
8965 /* confdefs.h. */
8966 _ACEOF
8967 cat confdefs.h >>conftest.$ac_ext
8968 cat >>conftest.$ac_ext <<_ACEOF
8969 /* end confdefs.h. */
8970 $ac_includes_default
8971 int
8972 main ()
8973 {
8974 if ((off_t *) 0)
8975 return 0;
8976 if (sizeof (off_t))
8977 return 0;
8978 ;
8979 return 0;
8980 }
8981 _ACEOF
8982 rm -f conftest.$ac_objext
8983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8984 (eval $ac_compile) 2>conftest.er1
8985 ac_status=$?
8986 grep -v '^ *+' conftest.er1 >conftest.err
8987 rm -f conftest.er1
8988 cat conftest.err >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); } &&
8991 { ac_try='test -z "$ac_c_werror_flag"
8992 || test ! -s conftest.err'
8993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 (eval $ac_try) 2>&5
8995 ac_status=$?
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); }; } &&
8998 { ac_try='test -s conftest.$ac_objext'
8999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9000 (eval $ac_try) 2>&5
9001 ac_status=$?
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); }; }; then
9004 ac_cv_type_off_t=yes
9005 else
9006 echo "$as_me: failed program was:" >&5
9007 sed 's/^/| /' conftest.$ac_ext >&5
9008
9009 ac_cv_type_off_t=no
9010 fi
9011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9012 fi
9013 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
9014 echo "${ECHO_T}$ac_cv_type_off_t" >&6
9015 if test $ac_cv_type_off_t = yes; then
9016 :
9017 else
9018
9019 cat >>confdefs.h <<_ACEOF
9020 @%:@define off_t long
9021 _ACEOF
9022
9023 fi
9024
9025 echo "$as_me:$LINENO: checking for pid_t" >&5
9026 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9027 if test "${ac_cv_type_pid_t+set}" = set; then
9028 echo $ECHO_N "(cached) $ECHO_C" >&6
9029 else
9030 cat >conftest.$ac_ext <<_ACEOF
9031 /* confdefs.h. */
9032 _ACEOF
9033 cat confdefs.h >>conftest.$ac_ext
9034 cat >>conftest.$ac_ext <<_ACEOF
9035 /* end confdefs.h. */
9036 $ac_includes_default
9037 int
9038 main ()
9039 {
9040 if ((pid_t *) 0)
9041 return 0;
9042 if (sizeof (pid_t))
9043 return 0;
9044 ;
9045 return 0;
9046 }
9047 _ACEOF
9048 rm -f conftest.$ac_objext
9049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9050 (eval $ac_compile) 2>conftest.er1
9051 ac_status=$?
9052 grep -v '^ *+' conftest.er1 >conftest.err
9053 rm -f conftest.er1
9054 cat conftest.err >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); } &&
9057 { ac_try='test -z "$ac_c_werror_flag"
9058 || test ! -s conftest.err'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 (eval $ac_try) 2>&5
9061 ac_status=$?
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; } &&
9064 { ac_try='test -s conftest.$ac_objext'
9065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 (eval $ac_try) 2>&5
9067 ac_status=$?
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); }; }; then
9070 ac_cv_type_pid_t=yes
9071 else
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.$ac_ext >&5
9074
9075 ac_cv_type_pid_t=no
9076 fi
9077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9078 fi
9079 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
9080 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9081 if test $ac_cv_type_pid_t = yes; then
9082 :
9083 else
9084
9085 cat >>confdefs.h <<_ACEOF
9086 @%:@define pid_t int
9087 _ACEOF
9088
9089 fi
9090
9091 echo "$as_me:$LINENO: checking for size_t" >&5
9092 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9093 if test "${ac_cv_type_size_t+set}" = set; then
9094 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 else
9096 cat >conftest.$ac_ext <<_ACEOF
9097 /* confdefs.h. */
9098 _ACEOF
9099 cat confdefs.h >>conftest.$ac_ext
9100 cat >>conftest.$ac_ext <<_ACEOF
9101 /* end confdefs.h. */
9102 $ac_includes_default
9103 int
9104 main ()
9105 {
9106 if ((size_t *) 0)
9107 return 0;
9108 if (sizeof (size_t))
9109 return 0;
9110 ;
9111 return 0;
9112 }
9113 _ACEOF
9114 rm -f conftest.$ac_objext
9115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9116 (eval $ac_compile) 2>conftest.er1
9117 ac_status=$?
9118 grep -v '^ *+' conftest.er1 >conftest.err
9119 rm -f conftest.er1
9120 cat conftest.err >&5
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122 (exit $ac_status); } &&
9123 { ac_try='test -z "$ac_c_werror_flag"
9124 || test ! -s conftest.err'
9125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9126 (eval $ac_try) 2>&5
9127 ac_status=$?
9128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); }; } &&
9130 { ac_try='test -s conftest.$ac_objext'
9131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 (eval $ac_try) 2>&5
9133 ac_status=$?
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 (exit $ac_status); }; }; then
9136 ac_cv_type_size_t=yes
9137 else
9138 echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.$ac_ext >&5
9140
9141 ac_cv_type_size_t=no
9142 fi
9143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9144 fi
9145 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9146 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9147 if test $ac_cv_type_size_t = yes; then
9148 :
9149 else
9150
9151 cat >>confdefs.h <<_ACEOF
9152 @%:@define size_t unsigned
9153 _ACEOF
9154
9155 fi
9156
9157 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9158 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9159 if test "${ac_cv_header_time+set}" = set; then
9160 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 else
9162 cat >conftest.$ac_ext <<_ACEOF
9163 /* confdefs.h. */
9164 _ACEOF
9165 cat confdefs.h >>conftest.$ac_ext
9166 cat >>conftest.$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9168 #include <sys/types.h>
9169 #include <sys/time.h>
9170 #include <time.h>
9171
9172 int
9173 main ()
9174 {
9175 if ((struct tm *) 0)
9176 return 0;
9177 ;
9178 return 0;
9179 }
9180 _ACEOF
9181 rm -f conftest.$ac_objext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183 (eval $ac_compile) 2>conftest.er1
9184 ac_status=$?
9185 grep -v '^ *+' conftest.er1 >conftest.err
9186 rm -f conftest.er1
9187 cat conftest.err >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); } &&
9190 { ac_try='test -z "$ac_c_werror_flag"
9191 || test ! -s conftest.err'
9192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9193 (eval $ac_try) 2>&5
9194 ac_status=$?
9195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196 (exit $ac_status); }; } &&
9197 { ac_try='test -s conftest.$ac_objext'
9198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9199 (eval $ac_try) 2>&5
9200 ac_status=$?
9201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9202 (exit $ac_status); }; }; then
9203 ac_cv_header_time=yes
9204 else
9205 echo "$as_me: failed program was:" >&5
9206 sed 's/^/| /' conftest.$ac_ext >&5
9207
9208 ac_cv_header_time=no
9209 fi
9210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9211 fi
9212 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9213 echo "${ECHO_T}$ac_cv_header_time" >&6
9214 if test $ac_cv_header_time = yes; then
9215
9216 cat >>confdefs.h <<\_ACEOF
9217 @%:@define TIME_WITH_SYS_TIME 1
9218 _ACEOF
9219
9220 fi
9221
9222 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9223 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9224 if test "${ac_cv_struct_tm+set}" = set; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9226 else
9227 cat >conftest.$ac_ext <<_ACEOF
9228 /* confdefs.h. */
9229 _ACEOF
9230 cat confdefs.h >>conftest.$ac_ext
9231 cat >>conftest.$ac_ext <<_ACEOF
9232 /* end confdefs.h. */
9233 #include <sys/types.h>
9234 #include <time.h>
9235
9236 int
9237 main ()
9238 {
9239 struct tm *tp; tp->tm_sec;
9240 ;
9241 return 0;
9242 }
9243 _ACEOF
9244 rm -f conftest.$ac_objext
9245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9246 (eval $ac_compile) 2>conftest.er1
9247 ac_status=$?
9248 grep -v '^ *+' conftest.er1 >conftest.err
9249 rm -f conftest.er1
9250 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } &&
9253 { ac_try='test -z "$ac_c_werror_flag"
9254 || test ! -s conftest.err'
9255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9256 (eval $ac_try) 2>&5
9257 ac_status=$?
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); }; } &&
9260 { ac_try='test -s conftest.$ac_objext'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262 (eval $ac_try) 2>&5
9263 ac_status=$?
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; }; then
9266 ac_cv_struct_tm=time.h
9267 else
9268 echo "$as_me: failed program was:" >&5
9269 sed 's/^/| /' conftest.$ac_ext >&5
9270
9271 ac_cv_struct_tm=sys/time.h
9272 fi
9273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9274 fi
9275 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9276 echo "${ECHO_T}$ac_cv_struct_tm" >&6
9277 if test $ac_cv_struct_tm = sys/time.h; then
9278
9279 cat >>confdefs.h <<\_ACEOF
9280 @%:@define TM_IN_SYS_TIME 1
9281 _ACEOF
9282
9283 fi
9284
9285 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
9286 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
9287 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 else
9290 cat >conftest.$ac_ext <<_ACEOF
9291 /* confdefs.h. */
9292 _ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9296 $ac_includes_default
9297 int
9298 main ()
9299 {
9300 if ((ptrdiff_t *) 0)
9301 return 0;
9302 if (sizeof (ptrdiff_t))
9303 return 0;
9304 ;
9305 return 0;
9306 }
9307 _ACEOF
9308 rm -f conftest.$ac_objext
9309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9310 (eval $ac_compile) 2>conftest.er1
9311 ac_status=$?
9312 grep -v '^ *+' conftest.er1 >conftest.err
9313 rm -f conftest.er1
9314 cat conftest.err >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); } &&
9317 { ac_try='test -z "$ac_c_werror_flag"
9318 || test ! -s conftest.err'
9319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9320 (eval $ac_try) 2>&5
9321 ac_status=$?
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 (exit $ac_status); }; } &&
9324 { ac_try='test -s conftest.$ac_objext'
9325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9326 (eval $ac_try) 2>&5
9327 ac_status=$?
9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 (exit $ac_status); }; }; then
9330 ac_cv_type_ptrdiff_t=yes
9331 else
9332 echo "$as_me: failed program was:" >&5
9333 sed 's/^/| /' conftest.$ac_ext >&5
9334
9335 ac_cv_type_ptrdiff_t=no
9336 fi
9337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9338 fi
9339 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
9340 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
9341 if test $ac_cv_type_ptrdiff_t = yes; then
9342
9343 cat >>confdefs.h <<_ACEOF
9344 @%:@define HAVE_PTRDIFF_T 1
9345 _ACEOF
9346
9347
9348 fi
9349
9350 # Check whether --enable-largefile or --disable-largefile was given.
9351 if test "${enable_largefile+set}" = set; then
9352 enableval="$enable_largefile"
9353
9354 fi;
9355 if test "$enable_largefile" != no; then
9356
9357 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
9358 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
9359 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 else
9362 ac_cv_sys_largefile_CC=no
9363 if test "$GCC" != yes; then
9364 ac_save_CC=$CC
9365 while :; do
9366 # IRIX 6.2 and later do not support large files by default,
9367 # so use the C compiler's -n32 option if that helps.
9368 cat >conftest.$ac_ext <<_ACEOF
9369 /* confdefs.h. */
9370 _ACEOF
9371 cat confdefs.h >>conftest.$ac_ext
9372 cat >>conftest.$ac_ext <<_ACEOF
9373 /* end confdefs.h. */
9374 @%:@include <sys/types.h>
9375 /* Check that off_t can represent 2**63 - 1 correctly.
9376 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9377 since some C++ compilers masquerading as C compilers
9378 incorrectly reject 9223372036854775807. */
9379 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9380 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9381 && LARGE_OFF_T % 2147483647 == 1)
9382 ? 1 : -1];
9383 int
9384 main ()
9385 {
9386
9387 ;
9388 return 0;
9389 }
9390 _ACEOF
9391 rm -f conftest.$ac_objext
9392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9393 (eval $ac_compile) 2>conftest.er1
9394 ac_status=$?
9395 grep -v '^ *+' conftest.er1 >conftest.err
9396 rm -f conftest.er1
9397 cat conftest.err >&5
9398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } &&
9400 { ac_try='test -z "$ac_c_werror_flag"
9401 || test ! -s conftest.err'
9402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9403 (eval $ac_try) 2>&5
9404 ac_status=$?
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); }; } &&
9407 { ac_try='test -s conftest.$ac_objext'
9408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9409 (eval $ac_try) 2>&5
9410 ac_status=$?
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; }; then
9413 break
9414 else
9415 echo "$as_me: failed program was:" >&5
9416 sed 's/^/| /' conftest.$ac_ext >&5
9417
9418 fi
9419 rm -f conftest.err conftest.$ac_objext
9420 CC="$CC -n32"
9421 rm -f conftest.$ac_objext
9422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9423 (eval $ac_compile) 2>conftest.er1
9424 ac_status=$?
9425 grep -v '^ *+' conftest.er1 >conftest.err
9426 rm -f conftest.er1
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } &&
9430 { ac_try='test -z "$ac_c_werror_flag"
9431 || test ! -s conftest.err'
9432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9433 (eval $ac_try) 2>&5
9434 ac_status=$?
9435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 (exit $ac_status); }; } &&
9437 { ac_try='test -s conftest.$ac_objext'
9438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9439 (eval $ac_try) 2>&5
9440 ac_status=$?
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); }; }; then
9443 ac_cv_sys_largefile_CC=' -n32'; break
9444 else
9445 echo "$as_me: failed program was:" >&5
9446 sed 's/^/| /' conftest.$ac_ext >&5
9447
9448 fi
9449 rm -f conftest.err conftest.$ac_objext
9450 break
9451 done
9452 CC=$ac_save_CC
9453 rm -f conftest.$ac_ext
9454 fi
9455 fi
9456 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
9457 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
9458 if test "$ac_cv_sys_largefile_CC" != no; then
9459 CC=$CC$ac_cv_sys_largefile_CC
9460 fi
9461
9462 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
9463 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
9464 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9465 echo $ECHO_N "(cached) $ECHO_C" >&6
9466 else
9467 while :; do
9468 ac_cv_sys_file_offset_bits=no
9469 cat >conftest.$ac_ext <<_ACEOF
9470 /* confdefs.h. */
9471 _ACEOF
9472 cat confdefs.h >>conftest.$ac_ext
9473 cat >>conftest.$ac_ext <<_ACEOF
9474 /* end confdefs.h. */
9475 @%:@include <sys/types.h>
9476 /* Check that off_t can represent 2**63 - 1 correctly.
9477 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9478 since some C++ compilers masquerading as C compilers
9479 incorrectly reject 9223372036854775807. */
9480 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9481 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9482 && LARGE_OFF_T % 2147483647 == 1)
9483 ? 1 : -1];
9484 int
9485 main ()
9486 {
9487
9488 ;
9489 return 0;
9490 }
9491 _ACEOF
9492 rm -f conftest.$ac_objext
9493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9494 (eval $ac_compile) 2>conftest.er1
9495 ac_status=$?
9496 grep -v '^ *+' conftest.er1 >conftest.err
9497 rm -f conftest.er1
9498 cat conftest.err >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } &&
9501 { ac_try='test -z "$ac_c_werror_flag"
9502 || test ! -s conftest.err'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 (eval $ac_try) 2>&5
9505 ac_status=$?
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; } &&
9508 { ac_try='test -s conftest.$ac_objext'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9510 (eval $ac_try) 2>&5
9511 ac_status=$?
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; }; then
9514 break
9515 else
9516 echo "$as_me: failed program was:" >&5
9517 sed 's/^/| /' conftest.$ac_ext >&5
9518
9519 fi
9520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9521 cat >conftest.$ac_ext <<_ACEOF
9522 /* confdefs.h. */
9523 _ACEOF
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9527 @%:@define _FILE_OFFSET_BITS 64
9528 @%:@include <sys/types.h>
9529 /* Check that off_t can represent 2**63 - 1 correctly.
9530 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9531 since some C++ compilers masquerading as C compilers
9532 incorrectly reject 9223372036854775807. */
9533 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9534 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9535 && LARGE_OFF_T % 2147483647 == 1)
9536 ? 1 : -1];
9537 int
9538 main ()
9539 {
9540
9541 ;
9542 return 0;
9543 }
9544 _ACEOF
9545 rm -f conftest.$ac_objext
9546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9547 (eval $ac_compile) 2>conftest.er1
9548 ac_status=$?
9549 grep -v '^ *+' conftest.er1 >conftest.err
9550 rm -f conftest.er1
9551 cat conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } &&
9554 { ac_try='test -z "$ac_c_werror_flag"
9555 || test ! -s conftest.err'
9556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 (eval $ac_try) 2>&5
9558 ac_status=$?
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); }; } &&
9561 { ac_try='test -s conftest.$ac_objext'
9562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9563 (eval $ac_try) 2>&5
9564 ac_status=$?
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); }; }; then
9567 ac_cv_sys_file_offset_bits=64; break
9568 else
9569 echo "$as_me: failed program was:" >&5
9570 sed 's/^/| /' conftest.$ac_ext >&5
9571
9572 fi
9573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9574 break
9575 done
9576 fi
9577 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
9578 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
9579 if test "$ac_cv_sys_file_offset_bits" != no; then
9580
9581 cat >>confdefs.h <<_ACEOF
9582 @%:@define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9583 _ACEOF
9584
9585 fi
9586 rm -f conftest*
9587 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
9588 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
9589 if test "${ac_cv_sys_large_files+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 else
9592 while :; do
9593 ac_cv_sys_large_files=no
9594 cat >conftest.$ac_ext <<_ACEOF
9595 /* confdefs.h. */
9596 _ACEOF
9597 cat confdefs.h >>conftest.$ac_ext
9598 cat >>conftest.$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9600 @%:@include <sys/types.h>
9601 /* Check that off_t can represent 2**63 - 1 correctly.
9602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9603 since some C++ compilers masquerading as C compilers
9604 incorrectly reject 9223372036854775807. */
9605 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9607 && LARGE_OFF_T % 2147483647 == 1)
9608 ? 1 : -1];
9609 int
9610 main ()
9611 {
9612
9613 ;
9614 return 0;
9615 }
9616 _ACEOF
9617 rm -f conftest.$ac_objext
9618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9619 (eval $ac_compile) 2>conftest.er1
9620 ac_status=$?
9621 grep -v '^ *+' conftest.er1 >conftest.err
9622 rm -f conftest.er1
9623 cat conftest.err >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); } &&
9626 { ac_try='test -z "$ac_c_werror_flag"
9627 || test ! -s conftest.err'
9628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 (eval $ac_try) 2>&5
9630 ac_status=$?
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632 (exit $ac_status); }; } &&
9633 { ac_try='test -s conftest.$ac_objext'
9634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635 (eval $ac_try) 2>&5
9636 ac_status=$?
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); }; }; then
9639 break
9640 else
9641 echo "$as_me: failed program was:" >&5
9642 sed 's/^/| /' conftest.$ac_ext >&5
9643
9644 fi
9645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9646 cat >conftest.$ac_ext <<_ACEOF
9647 /* confdefs.h. */
9648 _ACEOF
9649 cat confdefs.h >>conftest.$ac_ext
9650 cat >>conftest.$ac_ext <<_ACEOF
9651 /* end confdefs.h. */
9652 @%:@define _LARGE_FILES 1
9653 @%:@include <sys/types.h>
9654 /* Check that off_t can represent 2**63 - 1 correctly.
9655 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9656 since some C++ compilers masquerading as C compilers
9657 incorrectly reject 9223372036854775807. */
9658 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9659 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9660 && LARGE_OFF_T % 2147483647 == 1)
9661 ? 1 : -1];
9662 int
9663 main ()
9664 {
9665
9666 ;
9667 return 0;
9668 }
9669 _ACEOF
9670 rm -f conftest.$ac_objext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9672 (eval $ac_compile) 2>conftest.er1
9673 ac_status=$?
9674 grep -v '^ *+' conftest.er1 >conftest.err
9675 rm -f conftest.er1
9676 cat conftest.err >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } &&
9679 { ac_try='test -z "$ac_c_werror_flag"
9680 || test ! -s conftest.err'
9681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9682 (eval $ac_try) 2>&5
9683 ac_status=$?
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; } &&
9686 { ac_try='test -s conftest.$ac_objext'
9687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9688 (eval $ac_try) 2>&5
9689 ac_status=$?
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; }; then
9692 ac_cv_sys_large_files=1; break
9693 else
9694 echo "$as_me: failed program was:" >&5
9695 sed 's/^/| /' conftest.$ac_ext >&5
9696
9697 fi
9698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9699 break
9700 done
9701 fi
9702 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
9703 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
9704 if test "$ac_cv_sys_large_files" != no; then
9705
9706 cat >>confdefs.h <<_ACEOF
9707 @%:@define _LARGE_FILES $ac_cv_sys_large_files
9708 _ACEOF
9709
9710 fi
9711 rm -f conftest*
9712 fi
9713
9714
9715 # Checks for library functions. (malloc/realloc removed to get rid of rpl_xxx substitutions)
9716 # AC_FUNC_MALLOC
9717 # AC_FUNC_REALLOC
9718 echo "$as_me:$LINENO: checking for error_at_line" >&5
9719 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
9720 if test "${ac_cv_lib_error_at_line+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 else
9723 cat >conftest.$ac_ext <<_ACEOF
9724 /* confdefs.h. */
9725 _ACEOF
9726 cat confdefs.h >>conftest.$ac_ext
9727 cat >>conftest.$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9729 $ac_includes_default
9730 int
9731 main ()
9732 {
9733 error_at_line (0, 0, "", 0, "");
9734 ;
9735 return 0;
9736 }
9737 _ACEOF
9738 rm -f conftest.$ac_objext conftest$ac_exeext
9739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9740 (eval $ac_link) 2>conftest.er1
9741 ac_status=$?
9742 grep -v '^ *+' conftest.er1 >conftest.err
9743 rm -f conftest.er1
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } &&
9747 { ac_try='test -z "$ac_c_werror_flag"
9748 || test ! -s conftest.err'
9749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9750 (eval $ac_try) 2>&5
9751 ac_status=$?
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); }; } &&
9754 { ac_try='test -s conftest$ac_exeext'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9756 (eval $ac_try) 2>&5
9757 ac_status=$?
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; }; then
9760 ac_cv_lib_error_at_line=yes
9761 else
9762 echo "$as_me: failed program was:" >&5
9763 sed 's/^/| /' conftest.$ac_ext >&5
9764
9765 ac_cv_lib_error_at_line=no
9766 fi
9767 rm -f conftest.err conftest.$ac_objext \
9768 conftest$ac_exeext conftest.$ac_ext
9769 fi
9770 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
9771 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
9772 if test $ac_cv_lib_error_at_line = no; then
9773 case $LIB@&t@OBJS in
9774 "error.$ac_objext" | \
9775 *" error.$ac_objext" | \
9776 "error.$ac_objext "* | \
9777 *" error.$ac_objext "* ) ;;
9778 *) LIB@&t@OBJS="$LIB@&t@OBJS error.$ac_objext" ;;
9779 esac
9780
9781 fi
9782
9783
9784
9785 for ac_header in unistd.h vfork.h
9786 do
9787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9789 echo "$as_me:$LINENO: checking for $ac_header" >&5
9790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 fi
9794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9796 else
9797 # Is the header compilable?
9798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9800 cat >conftest.$ac_ext <<_ACEOF
9801 /* confdefs.h. */
9802 _ACEOF
9803 cat confdefs.h >>conftest.$ac_ext
9804 cat >>conftest.$ac_ext <<_ACEOF
9805 /* end confdefs.h. */
9806 $ac_includes_default
9807 @%:@include <$ac_header>
9808 _ACEOF
9809 rm -f conftest.$ac_objext
9810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9811 (eval $ac_compile) 2>conftest.er1
9812 ac_status=$?
9813 grep -v '^ *+' conftest.er1 >conftest.err
9814 rm -f conftest.er1
9815 cat conftest.err >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); } &&
9818 { ac_try='test -z "$ac_c_werror_flag"
9819 || test ! -s conftest.err'
9820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9821 (eval $ac_try) 2>&5
9822 ac_status=$?
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; } &&
9825 { ac_try='test -s conftest.$ac_objext'
9826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9827 (eval $ac_try) 2>&5
9828 ac_status=$?
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); }; }; then
9831 ac_header_compiler=yes
9832 else
9833 echo "$as_me: failed program was:" >&5
9834 sed 's/^/| /' conftest.$ac_ext >&5
9835
9836 ac_header_compiler=no
9837 fi
9838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9840 echo "${ECHO_T}$ac_header_compiler" >&6
9841
9842 # Is the header present?
9843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9845 cat >conftest.$ac_ext <<_ACEOF
9846 /* confdefs.h. */
9847 _ACEOF
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9851 @%:@include <$ac_header>
9852 _ACEOF
9853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9855 ac_status=$?
9856 grep -v '^ *+' conftest.er1 >conftest.err
9857 rm -f conftest.er1
9858 cat conftest.err >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); } >/dev/null; then
9861 if test -s conftest.err; then
9862 ac_cpp_err=$ac_c_preproc_warn_flag
9863 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9864 else
9865 ac_cpp_err=
9866 fi
9867 else
9868 ac_cpp_err=yes
9869 fi
9870 if test -z "$ac_cpp_err"; then
9871 ac_header_preproc=yes
9872 else
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9875
9876 ac_header_preproc=no
9877 fi
9878 rm -f conftest.err conftest.$ac_ext
9879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9880 echo "${ECHO_T}$ac_header_preproc" >&6
9881
9882 # So? What about this header?
9883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9884 yes:no: )
9885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9888 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9889 ac_header_preproc=yes
9890 ;;
9891 no:yes:* )
9892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9896 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9897 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9898 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9899 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9902 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9903 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9904 (
9905 cat <<\_ASBOX
9906 @%:@@%:@ ------------------------------- @%:@@%:@
9907 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
9908 @%:@@%:@ ------------------------------- @%:@@%:@
9909 _ASBOX
9910 ) |
9911 sed "s/^/$as_me: WARNING: /" >&2
9912 ;;
9913 esac
9914 echo "$as_me:$LINENO: checking for $ac_header" >&5
9915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 else
9919 eval "$as_ac_Header=\$ac_header_preproc"
9920 fi
9921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9923
9924 fi
9925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9926 cat >>confdefs.h <<_ACEOF
9927 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9928 _ACEOF
9929
9930 fi
9931
9932 done
9933
9934
9935
9936 for ac_func in fork vfork
9937 do
9938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9939 echo "$as_me:$LINENO: checking for $ac_func" >&5
9940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9941 if eval "test \"\${$as_ac_var+set}\" = set"; then
9942 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 else
9944 cat >conftest.$ac_ext <<_ACEOF
9945 /* confdefs.h. */
9946 _ACEOF
9947 cat confdefs.h >>conftest.$ac_ext
9948 cat >>conftest.$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9952 #define $ac_func innocuous_$ac_func
9953
9954 /* System header to define __stub macros and hopefully few prototypes,
9955 which can conflict with char $ac_func (); below.
9956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9957 <limits.h> exists even on freestanding compilers. */
9958
9959 #ifdef __STDC__
9960 # include <limits.h>
9961 #else
9962 # include <assert.h>
9963 #endif
9964
9965 #undef $ac_func
9966
9967 /* Override any gcc2 internal prototype to avoid an error. */
9968 #ifdef __cplusplus
9969 extern "C"
9970 {
9971 #endif
9972 /* We use char because int might match the return type of a gcc2
9973 builtin and then its argument prototype would still apply. */
9974 char $ac_func ();
9975 /* The GNU C library defines this for functions which it implements
9976 to always fail with ENOSYS. Some functions are actually named
9977 something starting with __ and the normal name is an alias. */
9978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9979 choke me
9980 #else
9981 char (*f) () = $ac_func;
9982 #endif
9983 #ifdef __cplusplus
9984 }
9985 #endif
9986
9987 int
9988 main ()
9989 {
9990 return f != $ac_func;
9991 ;
9992 return 0;
9993 }
9994 _ACEOF
9995 rm -f conftest.$ac_objext conftest$ac_exeext
9996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9997 (eval $ac_link) 2>conftest.er1
9998 ac_status=$?
9999 grep -v '^ *+' conftest.er1 >conftest.err
10000 rm -f conftest.er1
10001 cat conftest.err >&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } &&
10004 { ac_try='test -z "$ac_c_werror_flag"
10005 || test ! -s conftest.err'
10006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10007 (eval $ac_try) 2>&5
10008 ac_status=$?
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; } &&
10011 { ac_try='test -s conftest$ac_exeext'
10012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10013 (eval $ac_try) 2>&5
10014 ac_status=$?
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }; }; then
10017 eval "$as_ac_var=yes"
10018 else
10019 echo "$as_me: failed program was:" >&5
10020 sed 's/^/| /' conftest.$ac_ext >&5
10021
10022 eval "$as_ac_var=no"
10023 fi
10024 rm -f conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 fi
10027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10029 if test `eval echo '${'$as_ac_var'}'` = yes; then
10030 cat >>confdefs.h <<_ACEOF
10031 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10032 _ACEOF
10033
10034 fi
10035 done
10036
10037 if test "x$ac_cv_func_fork" = xyes; then
10038 echo "$as_me:$LINENO: checking for working fork" >&5
10039 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
10040 if test "${ac_cv_func_fork_works+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 else
10043 if test "$cross_compiling" = yes; then
10044 ac_cv_func_fork_works=cross
10045 else
10046 cat >conftest.$ac_ext <<_ACEOF
10047 /* By Ruediger Kuhlmann. */
10048 #include <sys/types.h>
10049 #if HAVE_UNISTD_H
10050 # include <unistd.h>
10051 #endif
10052 /* Some systems only have a dummy stub for fork() */
10053 int main ()
10054 {
10055 if (fork() < 0)
10056 exit (1);
10057 exit (0);
10058 }
10059 _ACEOF
10060 rm -f conftest$ac_exeext
10061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10062 (eval $ac_link) 2>&5
10063 ac_status=$?
10064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067 (eval $ac_try) 2>&5
10068 ac_status=$?
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070 (exit $ac_status); }; }; then
10071 ac_cv_func_fork_works=yes
10072 else
10073 echo "$as_me: program exited with status $ac_status" >&5
10074 echo "$as_me: failed program was:" >&5
10075 sed 's/^/| /' conftest.$ac_ext >&5
10076
10077 ( exit $ac_status )
10078 ac_cv_func_fork_works=no
10079 fi
10080 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10081 fi
10082 fi
10083 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
10084 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
10085
10086 else
10087 ac_cv_func_fork_works=$ac_cv_func_fork
10088 fi
10089 if test "x$ac_cv_func_fork_works" = xcross; then
10090 case $host in
10091 *-*-amigaos* | *-*-msdosdjgpp*)
10092 # Override, as these systems have only a dummy fork() stub
10093 ac_cv_func_fork_works=no
10094 ;;
10095 *)
10096 ac_cv_func_fork_works=yes
10097 ;;
10098 esac
10099 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10100 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10101 fi
10102 ac_cv_func_vfork_works=$ac_cv_func_vfork
10103 if test "x$ac_cv_func_vfork" = xyes; then
10104 echo "$as_me:$LINENO: checking for working vfork" >&5
10105 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
10106 if test "${ac_cv_func_vfork_works+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109 if test "$cross_compiling" = yes; then
10110 ac_cv_func_vfork_works=cross
10111 else
10112 cat >conftest.$ac_ext <<_ACEOF
10113 /* confdefs.h. */
10114 _ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 /* Thanks to Paul Eggert for this test. */
10119 #include <stdio.h>
10120 #include <stdlib.h>
10121 #include <sys/types.h>
10122 #include <sys/stat.h>
10123 #include <sys/wait.h>
10124 #if HAVE_UNISTD_H
10125 # include <unistd.h>
10126 #endif
10127 #if HAVE_VFORK_H
10128 # include <vfork.h>
10129 #endif
10130 /* On some sparc systems, changes by the child to local and incoming
10131 argument registers are propagated back to the parent. The compiler
10132 is told about this with #include <vfork.h>, but some compilers
10133 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10134 static variable whose address is put into a register that is
10135 clobbered by the vfork. */
10136 static void
10137 #ifdef __cplusplus
10138 sparc_address_test (int arg)
10139 # else
10140 sparc_address_test (arg) int arg;
10141 #endif
10142 {
10143 static pid_t child;
10144 if (!child) {
10145 child = vfork ();
10146 if (child < 0) {
10147 perror ("vfork");
10148 _exit(2);
10149 }
10150 if (!child) {
10151 arg = getpid();
10152 write(-1, "", 0);
10153 _exit (arg);
10154 }
10155 }
10156 }
10157
10158 int
10159 main ()
10160 {
10161 pid_t parent = getpid ();
10162 pid_t child;
10163
10164 sparc_address_test (0);
10165
10166 child = vfork ();
10167
10168 if (child == 0) {
10169 /* Here is another test for sparc vfork register problems. This
10170 test uses lots of local variables, at least as many local
10171 variables as main has allocated so far including compiler
10172 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10173 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10174 reuse the register of parent for one of the local variables,
10175 since it will think that parent can't possibly be used any more
10176 in this routine. Assigning to the local variable will thus
10177 munge parent in the parent process. */
10178 pid_t
10179 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10180 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10181 /* Convince the compiler that p..p7 are live; otherwise, it might
10182 use the same hardware register for all 8 local variables. */
10183 if (p != p1 || p != p2 || p != p3 || p != p4
10184 || p != p5 || p != p6 || p != p7)
10185 _exit(1);
10186
10187 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10188 from child file descriptors. If the child closes a descriptor
10189 before it execs or exits, this munges the parent's descriptor
10190 as well. Test for this by closing stdout in the child. */
10191 _exit(close(fileno(stdout)) != 0);
10192 } else {
10193 int status;
10194 struct stat st;
10195
10196 while (wait(&status) != child)
10197 ;
10198 exit(
10199 /* Was there some problem with vforking? */
10200 child < 0
10201
10202 /* Did the child fail? (This shouldn't happen.) */
10203 || status
10204
10205 /* Did the vfork/compiler bug occur? */
10206 || parent != getpid()
10207
10208 /* Did the file descriptor bug occur? */
10209 || fstat(fileno(stdout), &st) != 0
10210 );
10211 }
10212 }
10213 _ACEOF
10214 rm -f conftest$ac_exeext
10215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10216 (eval $ac_link) 2>&5
10217 ac_status=$?
10218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10222 ac_status=$?
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; }; then
10225 ac_cv_func_vfork_works=yes
10226 else
10227 echo "$as_me: program exited with status $ac_status" >&5
10228 echo "$as_me: failed program was:" >&5
10229 sed 's/^/| /' conftest.$ac_ext >&5
10230
10231 ( exit $ac_status )
10232 ac_cv_func_vfork_works=no
10233 fi
10234 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10235 fi
10236 fi
10237 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
10238 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
10239
10240 fi;
10241 if test "x$ac_cv_func_fork_works" = xcross; then
10242 ac_cv_func_vfork_works=$ac_cv_func_vfork
10243 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10244 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10245 fi
10246
10247 if test "x$ac_cv_func_vfork_works" = xyes; then
10248
10249 cat >>confdefs.h <<\_ACEOF
10250 @%:@define HAVE_WORKING_VFORK 1
10251 _ACEOF
10252
10253 else
10254
10255 cat >>confdefs.h <<\_ACEOF
10256 @%:@define vfork fork
10257 _ACEOF
10258
10259 fi
10260 if test "x$ac_cv_func_fork_works" = xyes; then
10261
10262 cat >>confdefs.h <<\_ACEOF
10263 @%:@define HAVE_WORKING_FORK 1
10264 _ACEOF
10265
10266 fi
10267
10268 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
10269 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
10270 if test "${ac_cv_sys_largefile_source+set}" = set; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 else
10273 while :; do
10274 ac_cv_sys_largefile_source=no
10275 cat >conftest.$ac_ext <<_ACEOF
10276 /* confdefs.h. */
10277 _ACEOF
10278 cat confdefs.h >>conftest.$ac_ext
10279 cat >>conftest.$ac_ext <<_ACEOF
10280 /* end confdefs.h. */
10281 @%:@include <stdio.h>
10282 int
10283 main ()
10284 {
10285 return !fseeko;
10286 ;
10287 return 0;
10288 }
10289 _ACEOF
10290 rm -f conftest.$ac_objext
10291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10292 (eval $ac_compile) 2>conftest.er1
10293 ac_status=$?
10294 grep -v '^ *+' conftest.er1 >conftest.err
10295 rm -f conftest.er1
10296 cat conftest.err >&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); } &&
10299 { ac_try='test -z "$ac_c_werror_flag"
10300 || test ! -s conftest.err'
10301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10302 (eval $ac_try) 2>&5
10303 ac_status=$?
10304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 (exit $ac_status); }; } &&
10306 { ac_try='test -s conftest.$ac_objext'
10307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10308 (eval $ac_try) 2>&5
10309 ac_status=$?
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); }; }; then
10312 break
10313 else
10314 echo "$as_me: failed program was:" >&5
10315 sed 's/^/| /' conftest.$ac_ext >&5
10316
10317 fi
10318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10319 cat >conftest.$ac_ext <<_ACEOF
10320 /* confdefs.h. */
10321 _ACEOF
10322 cat confdefs.h >>conftest.$ac_ext
10323 cat >>conftest.$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10325 @%:@define _LARGEFILE_SOURCE 1
10326 @%:@include <stdio.h>
10327 int
10328 main ()
10329 {
10330 return !fseeko;
10331 ;
10332 return 0;
10333 }
10334 _ACEOF
10335 rm -f conftest.$ac_objext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10337 (eval $ac_compile) 2>conftest.er1
10338 ac_status=$?
10339 grep -v '^ *+' conftest.er1 >conftest.err
10340 rm -f conftest.er1
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest.$ac_objext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_sys_largefile_source=1; break
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10361
10362 fi
10363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10364 break
10365 done
10366 fi
10367 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
10368 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10369 if test "$ac_cv_sys_largefile_source" != no; then
10370
10371 cat >>confdefs.h <<_ACEOF
10372 @%:@define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10373 _ACEOF
10374
10375 fi
10376 rm -f conftest*
10377
10378 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10379 # in glibc 2.1.3, but that breaks too many other things.
10380 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10381 echo "$as_me:$LINENO: checking for fseeko" >&5
10382 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10383 if test "${ac_cv_func_fseeko+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 else
10386 cat >conftest.$ac_ext <<_ACEOF
10387 /* confdefs.h. */
10388 _ACEOF
10389 cat confdefs.h >>conftest.$ac_ext
10390 cat >>conftest.$ac_ext <<_ACEOF
10391 /* end confdefs.h. */
10392 @%:@include <stdio.h>
10393 int
10394 main ()
10395 {
10396 return fseeko && fseeko (stdin, 0, 0);
10397 ;
10398 return 0;
10399 }
10400 _ACEOF
10401 rm -f conftest.$ac_objext conftest$ac_exeext
10402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10403 (eval $ac_link) 2>conftest.er1
10404 ac_status=$?
10405 grep -v '^ *+' conftest.er1 >conftest.err
10406 rm -f conftest.er1
10407 cat conftest.err >&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); } &&
10410 { ac_try='test -z "$ac_c_werror_flag"
10411 || test ! -s conftest.err'
10412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10413 (eval $ac_try) 2>&5
10414 ac_status=$?
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; } &&
10417 { ac_try='test -s conftest$ac_exeext'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; }; then
10423 ac_cv_func_fseeko=yes
10424 else
10425 echo "$as_me: failed program was:" >&5
10426 sed 's/^/| /' conftest.$ac_ext >&5
10427
10428 ac_cv_func_fseeko=no
10429 fi
10430 rm -f conftest.err conftest.$ac_objext \
10431 conftest$ac_exeext conftest.$ac_ext
10432 fi
10433 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
10434 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10435 if test $ac_cv_func_fseeko = yes; then
10436
10437 cat >>confdefs.h <<\_ACEOF
10438 @%:@define HAVE_FSEEKO 1
10439 _ACEOF
10440
10441 fi
10442
10443 echo "$as_me:$LINENO: checking for working memcmp" >&5
10444 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
10445 if test "${ac_cv_func_memcmp_working+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 else
10448 if test "$cross_compiling" = yes; then
10449 ac_cv_func_memcmp_working=no
10450 else
10451 cat >conftest.$ac_ext <<_ACEOF
10452 /* confdefs.h. */
10453 _ACEOF
10454 cat confdefs.h >>conftest.$ac_ext
10455 cat >>conftest.$ac_ext <<_ACEOF
10456 /* end confdefs.h. */
10457 $ac_includes_default
10458 int
10459 main ()
10460 {
10461
10462 /* Some versions of memcmp are not 8-bit clean. */
10463 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
10464 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10465 exit (1);
10466
10467 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10468 or more and with at least one buffer not starting on a 4-byte boundary.
10469 William Lewis provided this test program. */
10470 {
10471 char foo[21];
10472 char bar[21];
10473 int i;
10474 for (i = 0; i < 4; i++)
10475 {
10476 char *a = foo + i;
10477 char *b = bar + i;
10478 strcpy (a, "--------01111111");
10479 strcpy (b, "--------10000000");
10480 if (memcmp (a, b, 16) >= 0)
10481 exit (1);
10482 }
10483 exit (0);
10484 }
10485
10486 ;
10487 return 0;
10488 }
10489 _ACEOF
10490 rm -f conftest$ac_exeext
10491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10492 (eval $ac_link) 2>&5
10493 ac_status=$?
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 (eval $ac_try) 2>&5
10498 ac_status=$?
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }; }; then
10501 ac_cv_func_memcmp_working=yes
10502 else
10503 echo "$as_me: program exited with status $ac_status" >&5
10504 echo "$as_me: failed program was:" >&5
10505 sed 's/^/| /' conftest.$ac_ext >&5
10506
10507 ( exit $ac_status )
10508 ac_cv_func_memcmp_working=no
10509 fi
10510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10511 fi
10512 fi
10513 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10514 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
10515 test $ac_cv_func_memcmp_working = no && case $LIB@&t@OBJS in
10516 "memcmp.$ac_objext" | \
10517 *" memcmp.$ac_objext" | \
10518 "memcmp.$ac_objext "* | \
10519 *" memcmp.$ac_objext "* ) ;;
10520 *) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext" ;;
10521 esac
10522
10523
10524
10525
10526 for ac_header in stdlib.h unistd.h
10527 do
10528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10530 echo "$as_me:$LINENO: checking for $ac_header" >&5
10531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 fi
10535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10537 else
10538 # Is the header compilable?
10539 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10541 cat >conftest.$ac_ext <<_ACEOF
10542 /* confdefs.h. */
10543 _ACEOF
10544 cat confdefs.h >>conftest.$ac_ext
10545 cat >>conftest.$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10547 $ac_includes_default
10548 @%:@include <$ac_header>
10549 _ACEOF
10550 rm -f conftest.$ac_objext
10551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10552 (eval $ac_compile) 2>conftest.er1
10553 ac_status=$?
10554 grep -v '^ *+' conftest.er1 >conftest.err
10555 rm -f conftest.er1
10556 cat conftest.err >&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } &&
10559 { ac_try='test -z "$ac_c_werror_flag"
10560 || test ! -s conftest.err'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10563 ac_status=$?
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; } &&
10566 { ac_try='test -s conftest.$ac_objext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10569 ac_status=$?
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10572 ac_header_compiler=yes
10573 else
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10576
10577 ac_header_compiler=no
10578 fi
10579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10581 echo "${ECHO_T}$ac_header_compiler" >&6
10582
10583 # Is the header present?
10584 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10586 cat >conftest.$ac_ext <<_ACEOF
10587 /* confdefs.h. */
10588 _ACEOF
10589 cat confdefs.h >>conftest.$ac_ext
10590 cat >>conftest.$ac_ext <<_ACEOF
10591 /* end confdefs.h. */
10592 @%:@include <$ac_header>
10593 _ACEOF
10594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10596 ac_status=$?
10597 grep -v '^ *+' conftest.er1 >conftest.err
10598 rm -f conftest.er1
10599 cat conftest.err >&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } >/dev/null; then
10602 if test -s conftest.err; then
10603 ac_cpp_err=$ac_c_preproc_warn_flag
10604 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10605 else
10606 ac_cpp_err=
10607 fi
10608 else
10609 ac_cpp_err=yes
10610 fi
10611 if test -z "$ac_cpp_err"; then
10612 ac_header_preproc=yes
10613 else
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.$ac_ext >&5
10616
10617 ac_header_preproc=no
10618 fi
10619 rm -f conftest.err conftest.$ac_ext
10620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10621 echo "${ECHO_T}$ac_header_preproc" >&6
10622
10623 # So? What about this header?
10624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10625 yes:no: )
10626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10630 ac_header_preproc=yes
10631 ;;
10632 no:yes:* )
10633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10645 (
10646 cat <<\_ASBOX
10647 @%:@@%:@ ------------------------------- @%:@@%:@
10648 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
10649 @%:@@%:@ ------------------------------- @%:@@%:@
10650 _ASBOX
10651 ) |
10652 sed "s/^/$as_me: WARNING: /" >&2
10653 ;;
10654 esac
10655 echo "$as_me:$LINENO: checking for $ac_header" >&5
10656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 else
10660 eval "$as_ac_Header=\$ac_header_preproc"
10661 fi
10662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10664
10665 fi
10666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10667 cat >>confdefs.h <<_ACEOF
10668 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10669 _ACEOF
10670
10671 fi
10672
10673 done
10674
10675
10676 for ac_func in getpagesize
10677 do
10678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10679 echo "$as_me:$LINENO: checking for $ac_func" >&5
10680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10681 if eval "test \"\${$as_ac_var+set}\" = set"; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10683 else
10684 cat >conftest.$ac_ext <<_ACEOF
10685 /* confdefs.h. */
10686 _ACEOF
10687 cat confdefs.h >>conftest.$ac_ext
10688 cat >>conftest.$ac_ext <<_ACEOF
10689 /* end confdefs.h. */
10690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10692 #define $ac_func innocuous_$ac_func
10693
10694 /* System header to define __stub macros and hopefully few prototypes,
10695 which can conflict with char $ac_func (); below.
10696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10697 <limits.h> exists even on freestanding compilers. */
10698
10699 #ifdef __STDC__
10700 # include <limits.h>
10701 #else
10702 # include <assert.h>
10703 #endif
10704
10705 #undef $ac_func
10706
10707 /* Override any gcc2 internal prototype to avoid an error. */
10708 #ifdef __cplusplus
10709 extern "C"
10710 {
10711 #endif
10712 /* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10714 char $ac_func ();
10715 /* The GNU C library defines this for functions which it implements
10716 to always fail with ENOSYS. Some functions are actually named
10717 something starting with __ and the normal name is an alias. */
10718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10719 choke me
10720 #else
10721 char (*f) () = $ac_func;
10722 #endif
10723 #ifdef __cplusplus
10724 }
10725 #endif
10726
10727 int
10728 main ()
10729 {
10730 return f != $ac_func;
10731 ;
10732 return 0;
10733 }
10734 _ACEOF
10735 rm -f conftest.$ac_objext conftest$ac_exeext
10736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10737 (eval $ac_link) 2>conftest.er1
10738 ac_status=$?
10739 grep -v '^ *+' conftest.er1 >conftest.err
10740 rm -f conftest.er1
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } &&
10744 { ac_try='test -z "$ac_c_werror_flag"
10745 || test ! -s conftest.err'
10746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10747 (eval $ac_try) 2>&5
10748 ac_status=$?
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); }; } &&
10751 { ac_try='test -s conftest$ac_exeext'
10752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753 (eval $ac_try) 2>&5
10754 ac_status=$?
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); }; }; then
10757 eval "$as_ac_var=yes"
10758 else
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.$ac_ext >&5
10761
10762 eval "$as_ac_var=no"
10763 fi
10764 rm -f conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 fi
10767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10769 if test `eval echo '${'$as_ac_var'}'` = yes; then
10770 cat >>confdefs.h <<_ACEOF
10771 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10772 _ACEOF
10773
10774 fi
10775 done
10776
10777 echo "$as_me:$LINENO: checking for working mmap" >&5
10778 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
10779 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
10780 echo $ECHO_N "(cached) $ECHO_C" >&6
10781 else
10782 if test "$cross_compiling" = yes; then
10783 ac_cv_func_mmap_fixed_mapped=no
10784 else
10785 cat >conftest.$ac_ext <<_ACEOF
10786 /* confdefs.h. */
10787 _ACEOF
10788 cat confdefs.h >>conftest.$ac_ext
10789 cat >>conftest.$ac_ext <<_ACEOF
10790 /* end confdefs.h. */
10791 $ac_includes_default
10792 /* malloc might have been renamed as rpl_malloc. */
10793 #undef malloc
10794
10795 /* Thanks to Mike Haertel and Jim Avera for this test.
10796 Here is a matrix of mmap possibilities:
10797 mmap private not fixed
10798 mmap private fixed at somewhere currently unmapped
10799 mmap private fixed at somewhere already mapped
10800 mmap shared not fixed
10801 mmap shared fixed at somewhere currently unmapped
10802 mmap shared fixed at somewhere already mapped
10803 For private mappings, we should verify that changes cannot be read()
10804 back from the file, nor mmap's back from the file at a different
10805 address. (There have been systems where private was not correctly
10806 implemented like the infamous i386 svr4.0, and systems where the
10807 VM page cache was not coherent with the file system buffer cache
10808 like early versions of FreeBSD and possibly contemporary NetBSD.)
10809 For shared mappings, we should conversely verify that changes get
10810 propagated back to all the places they're supposed to be.
10811
10812 Grep wants private fixed already mapped.
10813 The main things grep needs to know about mmap are:
10814 * does it exist and is it safe to write into the mmap'd area
10815 * how to use it (BSD variants) */
10816
10817 #include <fcntl.h>
10818 #include <sys/mman.h>
10819
10820 #if !STDC_HEADERS && !HAVE_STDLIB_H
10821 char *malloc ();
10822 #endif
10823
10824 /* This mess was copied from the GNU getpagesize.h. */
10825 #if !HAVE_GETPAGESIZE
10826 /* Assume that all systems that can run configure have sys/param.h. */
10827 # if !HAVE_SYS_PARAM_H
10828 # define HAVE_SYS_PARAM_H 1
10829 # endif
10830
10831 # ifdef _SC_PAGESIZE
10832 # define getpagesize() sysconf(_SC_PAGESIZE)
10833 # else /* no _SC_PAGESIZE */
10834 # if HAVE_SYS_PARAM_H
10835 # include <sys/param.h>
10836 # ifdef EXEC_PAGESIZE
10837 # define getpagesize() EXEC_PAGESIZE
10838 # else /* no EXEC_PAGESIZE */
10839 # ifdef NBPG
10840 # define getpagesize() NBPG * CLSIZE
10841 # ifndef CLSIZE
10842 # define CLSIZE 1
10843 # endif /* no CLSIZE */
10844 # else /* no NBPG */
10845 # ifdef NBPC
10846 # define getpagesize() NBPC
10847 # else /* no NBPC */
10848 # ifdef PAGESIZE
10849 # define getpagesize() PAGESIZE
10850 # endif /* PAGESIZE */
10851 # endif /* no NBPC */
10852 # endif /* no NBPG */
10853 # endif /* no EXEC_PAGESIZE */
10854 # else /* no HAVE_SYS_PARAM_H */
10855 # define getpagesize() 8192 /* punt totally */
10856 # endif /* no HAVE_SYS_PARAM_H */
10857 # endif /* no _SC_PAGESIZE */
10858
10859 #endif /* no HAVE_GETPAGESIZE */
10860
10861 int
10862 main ()
10863 {
10864 char *data, *data2, *data3;
10865 int i, pagesize;
10866 int fd;
10867
10868 pagesize = getpagesize ();
10869
10870 /* First, make a file with some known garbage in it. */
10871 data = (char *) malloc (pagesize);
10872 if (!data)
10873 exit (1);
10874 for (i = 0; i < pagesize; ++i)
10875 *(data + i) = rand ();
10876 umask (0);
10877 fd = creat ("conftest.mmap", 0600);
10878 if (fd < 0)
10879 exit (1);
10880 if (write (fd, data, pagesize) != pagesize)
10881 exit (1);
10882 close (fd);
10883
10884 /* Next, try to mmap the file at a fixed address which already has
10885 something else allocated at it. If we can, also make sure that
10886 we see the same garbage. */
10887 fd = open ("conftest.mmap", O_RDWR);
10888 if (fd < 0)
10889 exit (1);
10890 data2 = (char *) malloc (2 * pagesize);
10891 if (!data2)
10892 exit (1);
10893 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
10894 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
10895 MAP_PRIVATE | MAP_FIXED, fd, 0L))
10896 exit (1);
10897 for (i = 0; i < pagesize; ++i)
10898 if (*(data + i) != *(data2 + i))
10899 exit (1);
10900
10901 /* Finally, make sure that changes to the mapped area do not
10902 percolate back to the file as seen by read(). (This is a bug on
10903 some variants of i386 svr4.0.) */
10904 for (i = 0; i < pagesize; ++i)
10905 *(data2 + i) = *(data2 + i) + 1;
10906 data3 = (char *) malloc (pagesize);
10907 if (!data3)
10908 exit (1);
10909 if (read (fd, data3, pagesize) != pagesize)
10910 exit (1);
10911 for (i = 0; i < pagesize; ++i)
10912 if (*(data + i) != *(data3 + i))
10913 exit (1);
10914 close (fd);
10915 exit (0);
10916 }
10917 _ACEOF
10918 rm -f conftest$ac_exeext
10919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10920 (eval $ac_link) 2>&5
10921 ac_status=$?
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10926 ac_status=$?
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; }; then
10929 ac_cv_func_mmap_fixed_mapped=yes
10930 else
10931 echo "$as_me: program exited with status $ac_status" >&5
10932 echo "$as_me: failed program was:" >&5
10933 sed 's/^/| /' conftest.$ac_ext >&5
10934
10935 ( exit $ac_status )
10936 ac_cv_func_mmap_fixed_mapped=no
10937 fi
10938 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10939 fi
10940 fi
10941 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
10942 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
10943 if test $ac_cv_func_mmap_fixed_mapped = yes; then
10944
10945 cat >>confdefs.h <<\_ACEOF
10946 @%:@define HAVE_MMAP 1
10947 _ACEOF
10948
10949 fi
10950 rm -f conftest.mmap
10951
10952
10953
10954 for ac_header in sys/select.h sys/socket.h
10955 do
10956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10958 echo "$as_me:$LINENO: checking for $ac_header" >&5
10959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10961 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 fi
10963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10965 else
10966 # Is the header compilable?
10967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10969 cat >conftest.$ac_ext <<_ACEOF
10970 /* confdefs.h. */
10971 _ACEOF
10972 cat confdefs.h >>conftest.$ac_ext
10973 cat >>conftest.$ac_ext <<_ACEOF
10974 /* end confdefs.h. */
10975 $ac_includes_default
10976 @%:@include <$ac_header>
10977 _ACEOF
10978 rm -f conftest.$ac_objext
10979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10980 (eval $ac_compile) 2>conftest.er1
10981 ac_status=$?
10982 grep -v '^ *+' conftest.er1 >conftest.err
10983 rm -f conftest.er1
10984 cat conftest.err >&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } &&
10987 { ac_try='test -z "$ac_c_werror_flag"
10988 || test ! -s conftest.err'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10991 ac_status=$?
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; } &&
10994 { ac_try='test -s conftest.$ac_objext'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10997 ac_status=$?
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; }; then
11000 ac_header_compiler=yes
11001 else
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11004
11005 ac_header_compiler=no
11006 fi
11007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11009 echo "${ECHO_T}$ac_header_compiler" >&6
11010
11011 # Is the header present?
11012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11014 cat >conftest.$ac_ext <<_ACEOF
11015 /* confdefs.h. */
11016 _ACEOF
11017 cat confdefs.h >>conftest.$ac_ext
11018 cat >>conftest.$ac_ext <<_ACEOF
11019 /* end confdefs.h. */
11020 @%:@include <$ac_header>
11021 _ACEOF
11022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11024 ac_status=$?
11025 grep -v '^ *+' conftest.er1 >conftest.err
11026 rm -f conftest.er1
11027 cat conftest.err >&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); } >/dev/null; then
11030 if test -s conftest.err; then
11031 ac_cpp_err=$ac_c_preproc_warn_flag
11032 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11033 else
11034 ac_cpp_err=
11035 fi
11036 else
11037 ac_cpp_err=yes
11038 fi
11039 if test -z "$ac_cpp_err"; then
11040 ac_header_preproc=yes
11041 else
11042 echo "$as_me: failed program was:" >&5
11043 sed 's/^/| /' conftest.$ac_ext >&5
11044
11045 ac_header_preproc=no
11046 fi
11047 rm -f conftest.err conftest.$ac_ext
11048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11049 echo "${ECHO_T}$ac_header_preproc" >&6
11050
11051 # So? What about this header?
11052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11053 yes:no: )
11054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11058 ac_header_preproc=yes
11059 ;;
11060 no:yes:* )
11061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11073 (
11074 cat <<\_ASBOX
11075 @%:@@%:@ ------------------------------- @%:@@%:@
11076 @%:@@%:@ Report this to bybell@nc.rr.com @%:@@%:@
11077 @%:@@%:@ ------------------------------- @%:@@%:@
11078 _ASBOX
11079 ) |
11080 sed "s/^/$as_me: WARNING: /" >&2
11081 ;;
11082 esac
11083 echo "$as_me:$LINENO: checking for $ac_header" >&5
11084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 else
11088 eval "$as_ac_Header=\$ac_header_preproc"
11089 fi
11090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11092
11093 fi
11094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11095 cat >>confdefs.h <<_ACEOF
11096 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11097 _ACEOF
11098
11099 fi
11100
11101 done
11102
11103 echo "$as_me:$LINENO: checking types of arguments for select" >&5
11104 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
11105 if test "${ac_cv_func_select_args+set}" = set; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 else
11108 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
11109 for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
11110 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
11111 cat >conftest.$ac_ext <<_ACEOF
11112 /* confdefs.h. */
11113 _ACEOF
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11117 $ac_includes_default
11118 #if HAVE_SYS_SELECT_H
11119 # include <sys/select.h>
11120 #endif
11121 #if HAVE_SYS_SOCKET_H
11122 # include <sys/socket.h>
11123 #endif
11124
11125 int
11126 main ()
11127 {
11128 extern int select ($ac_arg1,
11129 $ac_arg234, $ac_arg234, $ac_arg234,
11130 $ac_arg5);
11131 ;
11132 return 0;
11133 }
11134 _ACEOF
11135 rm -f conftest.$ac_objext
11136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11137 (eval $ac_compile) 2>conftest.er1
11138 ac_status=$?
11139 grep -v '^ *+' conftest.er1 >conftest.err
11140 rm -f conftest.er1
11141 cat conftest.err >&5
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try='test -z "$ac_c_werror_flag"
11145 || test ! -s conftest.err'
11146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147 (eval $ac_try) 2>&5
11148 ac_status=$?
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }; } &&
11151 { ac_try='test -s conftest.$ac_objext'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11154 ac_status=$?
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
11158 else
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11161
11162 fi
11163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11164 done
11165 done
11166 done
11167 # Provide a safe default value.
11168 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
11169
11170 fi
11171 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
11172 echo "${ECHO_T}$ac_cv_func_select_args" >&6
11173 ac_save_IFS=$IFS; IFS=','
11174 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
11175 IFS=$ac_save_IFS
11176 shift
11177
11178 cat >>confdefs.h <<_ACEOF
11179 @%:@define SELECT_TYPE_ARG1 $1
11180 _ACEOF
11181
11182
11183 cat >>confdefs.h <<_ACEOF
11184 @%:@define SELECT_TYPE_ARG234 ($2)
11185 _ACEOF
11186
11187
11188 cat >>confdefs.h <<_ACEOF
11189 @%:@define SELECT_TYPE_ARG5 ($3)
11190 _ACEOF
11191
11192 rm -f conftest*
11193
11194 echo "$as_me:$LINENO: checking for function prototypes" >&5
11195 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
11196 if test "$ac_cv_prog_cc_stdc" != no; then
11197 echo "$as_me:$LINENO: result: yes" >&5
11198 echo "${ECHO_T}yes" >&6
11199
11200 cat >>confdefs.h <<\_ACEOF
11201 @%:@define PROTOTYPES 1
11202 _ACEOF
11203
11204
11205 cat >>confdefs.h <<\_ACEOF
11206 @%:@define __PROTOTYPES 1
11207 _ACEOF
11208
11209 else
11210 echo "$as_me:$LINENO: result: no" >&5
11211 echo "${ECHO_T}no" >&6
11212 fi
11213
11214 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
11215 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
11216 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
11217 echo $ECHO_N "(cached) $ECHO_C" >&6
11218 else
11219 ac_cv_func_setvbuf_reversed=no
11220 cat >conftest.$ac_ext <<_ACEOF
11221 /* confdefs.h. */
11222 _ACEOF
11223 cat confdefs.h >>conftest.$ac_ext
11224 cat >>conftest.$ac_ext <<_ACEOF
11225 /* end confdefs.h. */
11226 #include <stdio.h>
11227 # if PROTOTYPES
11228 int (setvbuf) (FILE *, int, char *, size_t);
11229 # endif
11230 int
11231 main ()
11232 {
11233 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
11234 ;
11235 return 0;
11236 }
11237 _ACEOF
11238 rm -f conftest.$ac_objext conftest$ac_exeext
11239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11240 (eval $ac_link) 2>conftest.er1
11241 ac_status=$?
11242 grep -v '^ *+' conftest.er1 >conftest.err
11243 rm -f conftest.er1
11244 cat conftest.err >&5
11245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 (exit $ac_status); } &&
11247 { ac_try='test -z "$ac_c_werror_flag"
11248 || test ! -s conftest.err'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11251 ac_status=$?
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; } &&
11254 { ac_try='test -s conftest$ac_exeext'
11255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11256 (eval $ac_try) 2>&5
11257 ac_status=$?
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }; }; then
11260 cat >conftest.$ac_ext <<_ACEOF
11261 /* confdefs.h. */
11262 _ACEOF
11263 cat confdefs.h >>conftest.$ac_ext
11264 cat >>conftest.$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11266 #include <stdio.h>
11267 # if PROTOTYPES
11268 int (setvbuf) (FILE *, int, char *, size_t);
11269 # endif
11270 int
11271 main ()
11272 {
11273 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
11274 ;
11275 return 0;
11276 }
11277 _ACEOF
11278 rm -f conftest.$ac_objext conftest$ac_exeext
11279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11280 (eval $ac_link) 2>conftest.er1
11281 ac_status=$?
11282 grep -v '^ *+' conftest.er1 >conftest.err
11283 rm -f conftest.er1
11284 cat conftest.err >&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); } &&
11287 { ac_try='test -z "$ac_c_werror_flag"
11288 || test ! -s conftest.err'
11289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11290 (eval $ac_try) 2>&5
11291 ac_status=$?
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); }; } &&
11294 { ac_try='test -s conftest$ac_exeext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11297 ac_status=$?
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 # It compiles and links either way, so it must not be declared
11301 # with a prototype and most likely this is a K&R C compiler.
11302 # Try running it.
11303 if test "$cross_compiling" = yes; then
11304 : # Assume setvbuf is not reversed when cross-compiling.
11305 else
11306 cat >conftest.$ac_ext <<_ACEOF
11307 /* confdefs.h. */
11308 _ACEOF
11309 cat confdefs.h >>conftest.$ac_ext
11310 cat >>conftest.$ac_ext <<_ACEOF
11311 /* end confdefs.h. */
11312 #include <stdio.h>
11313 int
11314 main ()
11315 {
11316 /* This call has the arguments reversed.
11317 A reversed system may check and see that the address of buf
11318 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
11319 char buf;
11320 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
11321 exit (1);
11322 putchar ('\r');
11323 exit (0); /* Non-reversed systems SEGV here. */
11324 ;
11325 return 0;
11326 }
11327 _ACEOF
11328 rm -f conftest$ac_exeext
11329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11330 (eval $ac_link) 2>&5
11331 ac_status=$?
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335 (eval $ac_try) 2>&5
11336 ac_status=$?
11337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); }; }; then
11339 ac_cv_func_setvbuf_reversed=yes
11340 else
11341 echo "$as_me: program exited with status $ac_status" >&5
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.$ac_ext >&5
11344
11345 ( exit $ac_status )
11346 rm -f core *.core
11347 fi
11348 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11349 fi
11350 ac_cv_func_setvbuf_reversed=yes
11351 else
11352 echo "$as_me: failed program was:" >&5
11353 sed 's/^/| /' conftest.$ac_ext >&5
11354
11355 fi
11356 rm -f conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 else
11359 echo "$as_me: failed program was:" >&5
11360 sed 's/^/| /' conftest.$ac_ext >&5
11361
11362 fi
11363 rm -f conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 fi
11366 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
11367 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
11368 if test $ac_cv_func_setvbuf_reversed = yes; then
11369
11370 cat >>confdefs.h <<\_ACEOF
11371 @%:@define SETVBUF_REVERSED 1
11372 _ACEOF
11373
11374 fi
11375
11376 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11377 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11378 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11380 else
11381 rm -f conftest.sym conftest.file
11382 echo >conftest.file
11383 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
11384 if test "$cross_compiling" = yes; then
11385 ac_cv_func_lstat_dereferences_slashed_symlink=no
11386 else
11387 cat >conftest.$ac_ext <<_ACEOF
11388 /* confdefs.h. */
11389 _ACEOF
11390 cat confdefs.h >>conftest.$ac_ext
11391 cat >>conftest.$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11393 $ac_includes_default
11394 int
11395 main ()
11396 {
11397 struct stat sbuf;
11398 /* Linux will dereference the symlink and fail.
11399 That is better in the sense that it means we will not
11400 have to compile and use the lstat wrapper. */
11401 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11402 ;
11403 return 0;
11404 }
11405 _ACEOF
11406 rm -f conftest$ac_exeext
11407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11408 (eval $ac_link) 2>&5
11409 ac_status=$?
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11413 (eval $ac_try) 2>&5
11414 ac_status=$?
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); }; }; then
11417 ac_cv_func_lstat_dereferences_slashed_symlink=yes
11418 else
11419 echo "$as_me: program exited with status $ac_status" >&5
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.$ac_ext >&5
11422
11423 ( exit $ac_status )
11424 ac_cv_func_lstat_dereferences_slashed_symlink=no
11425 fi
11426 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11427 fi
11428 else
11429 # If the `ln -s' command failed, then we probably don't even
11430 # have an lstat function.
11431 ac_cv_func_lstat_dereferences_slashed_symlink=no
11432 fi
11433 rm -f conftest.sym conftest.file
11434
11435 fi
11436 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11437 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11438
11439 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11440
11441 cat >>confdefs.h <<_ACEOF
11442 @%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11443 _ACEOF
11444
11445
11446 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
11447 case $LIB@&t@OBJS in
11448 "lstat.$ac_objext" | \
11449 *" lstat.$ac_objext" | \
11450 "lstat.$ac_objext "* | \
11451 *" lstat.$ac_objext "* ) ;;
11452 *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext" ;;
11453 esac
11454
11455 fi
11456
11457 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
11458 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
11459 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
11460 echo $ECHO_N "(cached) $ECHO_C" >&6
11461 else
11462 if test "$cross_compiling" = yes; then
11463 ac_cv_func_stat_empty_string_bug=yes
11464 else
11465 cat >conftest.$ac_ext <<_ACEOF
11466 /* confdefs.h. */
11467 _ACEOF
11468 cat confdefs.h >>conftest.$ac_ext
11469 cat >>conftest.$ac_ext <<_ACEOF
11470 /* end confdefs.h. */
11471 $ac_includes_default
11472 int
11473 main ()
11474 {
11475 struct stat sbuf;
11476 exit (stat ("", &sbuf) ? 1 : 0);
11477 ;
11478 return 0;
11479 }
11480 _ACEOF
11481 rm -f conftest$ac_exeext
11482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11483 (eval $ac_link) 2>&5
11484 ac_status=$?
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11488 (eval $ac_try) 2>&5
11489 ac_status=$?
11490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11491 (exit $ac_status); }; }; then
11492 ac_cv_func_stat_empty_string_bug=yes
11493 else
11494 echo "$as_me: program exited with status $ac_status" >&5
11495 echo "$as_me: failed program was:" >&5
11496 sed 's/^/| /' conftest.$ac_ext >&5
11497
11498 ( exit $ac_status )
11499 ac_cv_func_stat_empty_string_bug=no
11500 fi
11501 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11502 fi
11503 fi
11504 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
11505 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
11506 if test $ac_cv_func_stat_empty_string_bug = yes; then
11507 case $LIB@&t@OBJS in
11508 "stat.$ac_objext" | \
11509 *" stat.$ac_objext" | \
11510 "stat.$ac_objext "* | \
11511 *" stat.$ac_objext "* ) ;;
11512 *) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext" ;;
11513 esac
11514
11515
11516 cat >>confdefs.h <<_ACEOF
11517 @%:@define HAVE_STAT_EMPTY_STRING_BUG 1
11518 _ACEOF
11519
11520 fi
11521
11522 echo "$as_me:$LINENO: checking for working strtod" >&5
11523 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
11524 if test "${ac_cv_func_strtod+set}" = set; then
11525 echo $ECHO_N "(cached) $ECHO_C" >&6
11526 else
11527 if test "$cross_compiling" = yes; then
11528 ac_cv_func_strtod=no
11529 else
11530 cat >conftest.$ac_ext <<_ACEOF
11531 /* confdefs.h. */
11532 _ACEOF
11533 cat confdefs.h >>conftest.$ac_ext
11534 cat >>conftest.$ac_ext <<_ACEOF
11535 /* end confdefs.h. */
11536
11537 double strtod ();
11538 int
11539 main()
11540 {
11541 {
11542 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
11543 char *string = " +69";
11544 char *term;
11545 double value;
11546 value = strtod (string, &term);
11547 if (value != 69 || term != (string + 4))
11548 exit (1);
11549 }
11550
11551 {
11552 /* Under Solaris 2.4, strtod returns the wrong value for the
11553 terminating character under some conditions. */
11554 char *string = "NaN";
11555 char *term;
11556 strtod (string, &term);
11557 if (term != string && *(term - 1) == 0)
11558 exit (1);
11559 }
11560 exit (0);
11561 }
11562
11563 _ACEOF
11564 rm -f conftest$ac_exeext
11565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11566 (eval $ac_link) 2>&5
11567 ac_status=$?
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11572 ac_status=$?
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; }; then
11575 ac_cv_func_strtod=yes
11576 else
11577 echo "$as_me: program exited with status $ac_status" >&5
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11580
11581 ( exit $ac_status )
11582 ac_cv_func_strtod=no
11583 fi
11584 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11585 fi
11586 fi
11587 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
11588 echo "${ECHO_T}$ac_cv_func_strtod" >&6
11589 if test $ac_cv_func_strtod = no; then
11590 case $LIB@&t@OBJS in
11591 "strtod.$ac_objext" | \
11592 *" strtod.$ac_objext" | \
11593 "strtod.$ac_objext "* | \
11594 *" strtod.$ac_objext "* ) ;;
11595 *) LIB@&t@OBJS="$LIB@&t@OBJS strtod.$ac_objext" ;;
11596 esac
11597
11598 echo "$as_me:$LINENO: checking for pow" >&5
11599 echo $ECHO_N "checking for pow... $ECHO_C" >&6
11600 if test "${ac_cv_func_pow+set}" = set; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 else
11603 cat >conftest.$ac_ext <<_ACEOF
11604 /* confdefs.h. */
11605 _ACEOF
11606 cat confdefs.h >>conftest.$ac_ext
11607 cat >>conftest.$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11609 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
11610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11611 #define pow innocuous_pow
11612
11613 /* System header to define __stub macros and hopefully few prototypes,
11614 which can conflict with char pow (); below.
11615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11616 <limits.h> exists even on freestanding compilers. */
11617
11618 #ifdef __STDC__
11619 # include <limits.h>
11620 #else
11621 # include <assert.h>
11622 #endif
11623
11624 #undef pow
11625
11626 /* Override any gcc2 internal prototype to avoid an error. */
11627 #ifdef __cplusplus
11628 extern "C"
11629 {
11630 #endif
11631 /* We use char because int might match the return type of a gcc2
11632 builtin and then its argument prototype would still apply. */
11633 char pow ();
11634 /* The GNU C library defines this for functions which it implements
11635 to always fail with ENOSYS. Some functions are actually named
11636 something starting with __ and the normal name is an alias. */
11637 #if defined (__stub_pow) || defined (__stub___pow)
11638 choke me
11639 #else
11640 char (*f) () = pow;
11641 #endif
11642 #ifdef __cplusplus
11643 }
11644 #endif
11645
11646 int
11647 main ()
11648 {
11649 return f != pow;
11650 ;
11651 return 0;
11652 }
11653 _ACEOF
11654 rm -f conftest.$ac_objext conftest$ac_exeext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11656 (eval $ac_link) 2>conftest.er1
11657 ac_status=$?
11658 grep -v '^ *+' conftest.er1 >conftest.err
11659 rm -f conftest.er1
11660 cat conftest.err >&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } &&
11663 { ac_try='test -z "$ac_c_werror_flag"
11664 || test ! -s conftest.err'
11665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11666 (eval $ac_try) 2>&5
11667 ac_status=$?
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); }; } &&
11670 { ac_try='test -s conftest$ac_exeext'
11671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11672 (eval $ac_try) 2>&5
11673 ac_status=$?
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); }; }; then
11676 ac_cv_func_pow=yes
11677 else
11678 echo "$as_me: failed program was:" >&5
11679 sed 's/^/| /' conftest.$ac_ext >&5
11680
11681 ac_cv_func_pow=no
11682 fi
11683 rm -f conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 fi
11686 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
11687 echo "${ECHO_T}$ac_cv_func_pow" >&6
11688
11689 if test $ac_cv_func_pow = no; then
11690 echo "$as_me:$LINENO: checking for pow in -lm" >&5
11691 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
11692 if test "${ac_cv_lib_m_pow+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11694 else
11695 ac_check_lib_save_LIBS=$LIBS
11696 LIBS="-lm $LIBS"
11697 cat >conftest.$ac_ext <<_ACEOF
11698 /* confdefs.h. */
11699 _ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703
11704 /* Override any gcc2 internal prototype to avoid an error. */
11705 #ifdef __cplusplus
11706 extern "C"
11707 #endif
11708 /* We use char because int might match the return type of a gcc2
11709 builtin and then its argument prototype would still apply. */
11710 char pow ();
11711 int
11712 main ()
11713 {
11714 pow ();
11715 ;
11716 return 0;
11717 }
11718 _ACEOF
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721 (eval $ac_link) 2>conftest.er1
11722 ac_status=$?
11723 grep -v '^ *+' conftest.er1 >conftest.err
11724 rm -f conftest.er1
11725 cat conftest.err >&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); } &&
11728 { ac_try='test -z "$ac_c_werror_flag"
11729 || test ! -s conftest.err'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11732 ac_status=$?
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; } &&
11735 { ac_try='test -s conftest$ac_exeext'
11736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737 (eval $ac_try) 2>&5
11738 ac_status=$?
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); }; }; then
11741 ac_cv_lib_m_pow=yes
11742 else
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.$ac_ext >&5
11745
11746 ac_cv_lib_m_pow=no
11747 fi
11748 rm -f conftest.err conftest.$ac_objext \
11749 conftest$ac_exeext conftest.$ac_ext
11750 LIBS=$ac_check_lib_save_LIBS
11751 fi
11752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
11753 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
11754 if test $ac_cv_lib_m_pow = yes; then
11755 POW_LIB=-lm
11756 else
11757 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
11758 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
11759 fi
11760
11761 fi
11762
11763 fi
11764
11765
11766 for ac_func in vprintf
11767 do
11768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11769 echo "$as_me:$LINENO: checking for $ac_func" >&5
11770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11771 if eval "test \"\${$as_ac_var+set}\" = set"; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 else
11774 cat >conftest.$ac_ext <<_ACEOF
11775 /* confdefs.h. */
11776 _ACEOF
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11782 #define $ac_func innocuous_$ac_func
11783
11784 /* System header to define __stub macros and hopefully few prototypes,
11785 which can conflict with char $ac_func (); below.
11786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11787 <limits.h> exists even on freestanding compilers. */
11788
11789 #ifdef __STDC__
11790 # include <limits.h>
11791 #else
11792 # include <assert.h>
11793 #endif
11794
11795 #undef $ac_func
11796
11797 /* Override any gcc2 internal prototype to avoid an error. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 {
11801 #endif
11802 /* We use char because int might match the return type of a gcc2
11803 builtin and then its argument prototype would still apply. */
11804 char $ac_func ();
11805 /* The GNU C library defines this for functions which it implements
11806 to always fail with ENOSYS. Some functions are actually named
11807 something starting with __ and the normal name is an alias. */
11808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11809 choke me
11810 #else
11811 char (*f) () = $ac_func;
11812 #endif
11813 #ifdef __cplusplus
11814 }
11815 #endif
11816
11817 int
11818 main ()
11819 {
11820 return f != $ac_func;
11821 ;
11822 return 0;
11823 }
11824 _ACEOF
11825 rm -f conftest.$ac_objext conftest$ac_exeext
11826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11827 (eval $ac_link) 2>conftest.er1
11828 ac_status=$?
11829 grep -v '^ *+' conftest.er1 >conftest.err
11830 rm -f conftest.er1
11831 cat conftest.err >&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try='test -z "$ac_c_werror_flag"
11835 || test ! -s conftest.err'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; } &&
11841 { ac_try='test -s conftest$ac_exeext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11844 ac_status=$?
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11847 eval "$as_ac_var=yes"
11848 else
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.$ac_ext >&5
11851
11852 eval "$as_ac_var=no"
11853 fi
11854 rm -f conftest.err conftest.$ac_objext \
11855 conftest$ac_exeext conftest.$ac_ext
11856 fi
11857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11859 if test `eval echo '${'$as_ac_var'}'` = yes; then
11860 cat >>confdefs.h <<_ACEOF
11861 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11862 _ACEOF
11863
11864 echo "$as_me:$LINENO: checking for _doprnt" >&5
11865 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
11866 if test "${ac_cv_func__doprnt+set}" = set; then
11867 echo $ECHO_N "(cached) $ECHO_C" >&6
11868 else
11869 cat >conftest.$ac_ext <<_ACEOF
11870 /* confdefs.h. */
11871 _ACEOF
11872 cat confdefs.h >>conftest.$ac_ext
11873 cat >>conftest.$ac_ext <<_ACEOF
11874 /* end confdefs.h. */
11875 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
11876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11877 #define _doprnt innocuous__doprnt
11878
11879 /* System header to define __stub macros and hopefully few prototypes,
11880 which can conflict with char _doprnt (); below.
11881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11882 <limits.h> exists even on freestanding compilers. */
11883
11884 #ifdef __STDC__
11885 # include <limits.h>
11886 #else
11887 # include <assert.h>
11888 #endif
11889
11890 #undef _doprnt
11891
11892 /* Override any gcc2 internal prototype to avoid an error. */
11893 #ifdef __cplusplus
11894 extern "C"
11895 {
11896 #endif
11897 /* We use char because int might match the return type of a gcc2
11898 builtin and then its argument prototype would still apply. */
11899 char _doprnt ();
11900 /* The GNU C library defines this for functions which it implements
11901 to always fail with ENOSYS. Some functions are actually named
11902 something starting with __ and the normal name is an alias. */
11903 #if defined (__stub__doprnt) || defined (__stub____doprnt)
11904 choke me
11905 #else
11906 char (*f) () = _doprnt;
11907 #endif
11908 #ifdef __cplusplus
11909 }
11910 #endif
11911
11912 int
11913 main ()
11914 {
11915 return f != _doprnt;
11916 ;
11917 return 0;
11918 }
11919 _ACEOF
11920 rm -f conftest.$ac_objext conftest$ac_exeext
11921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11922 (eval $ac_link) 2>conftest.er1
11923 ac_status=$?
11924 grep -v '^ *+' conftest.er1 >conftest.err
11925 rm -f conftest.er1
11926 cat conftest.err >&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); } &&
11929 { ac_try='test -z "$ac_c_werror_flag"
11930 || test ! -s conftest.err'
11931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11932 (eval $ac_try) 2>&5
11933 ac_status=$?
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); }; } &&
11936 { ac_try='test -s conftest$ac_exeext'
11937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11938 (eval $ac_try) 2>&5
11939 ac_status=$?
11940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11941 (exit $ac_status); }; }; then
11942 ac_cv_func__doprnt=yes
11943 else
11944 echo "$as_me: failed program was:" >&5
11945 sed 's/^/| /' conftest.$ac_ext >&5
11946
11947 ac_cv_func__doprnt=no
11948 fi
11949 rm -f conftest.err conftest.$ac_objext \
11950 conftest$ac_exeext conftest.$ac_ext
11951 fi
11952 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11953 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
11954 if test $ac_cv_func__doprnt = yes; then
11955
11956 cat >>confdefs.h <<\_ACEOF
11957 @%:@define HAVE_DOPRNT 1
11958 _ACEOF
11959
11960 fi
11961
11962 fi
11963 done
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990 for ac_func in atexit btowc bzero dup2 memmove memset munmap pow putenv re_comp realpath regcomp select setenv strcasecmp strchr strdup strerror strncasecmp strrchr strstr getopt_long setenv unsetenv
11991 do
11992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11993 echo "$as_me:$LINENO: checking for $ac_func" >&5
11994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11995 if eval "test \"\${$as_ac_var+set}\" = set"; then
11996 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 else
11998 cat >conftest.$ac_ext <<_ACEOF
11999 /* confdefs.h. */
12000 _ACEOF
12001 cat confdefs.h >>conftest.$ac_ext
12002 cat >>conftest.$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12006 #define $ac_func innocuous_$ac_func
12007
12008 /* System header to define __stub macros and hopefully few prototypes,
12009 which can conflict with char $ac_func (); below.
12010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12011 <limits.h> exists even on freestanding compilers. */
12012
12013 #ifdef __STDC__
12014 # include <limits.h>
12015 #else
12016 # include <assert.h>
12017 #endif
12018
12019 #undef $ac_func
12020
12021 /* Override any gcc2 internal prototype to avoid an error. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 {
12025 #endif
12026 /* We use char because int might match the return type of a gcc2
12027 builtin and then its argument prototype would still apply. */
12028 char $ac_func ();
12029 /* The GNU C library defines this for functions which it implements
12030 to always fail with ENOSYS. Some functions are actually named
12031 something starting with __ and the normal name is an alias. */
12032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12033 choke me
12034 #else
12035 char (*f) () = $ac_func;
12036 #endif
12037 #ifdef __cplusplus
12038 }
12039 #endif
12040
12041 int
12042 main ()
12043 {
12044 return f != $ac_func;
12045 ;
12046 return 0;
12047 }
12048 _ACEOF
12049 rm -f conftest.$ac_objext conftest$ac_exeext
12050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12051 (eval $ac_link) 2>conftest.er1
12052 ac_status=$?
12053 grep -v '^ *+' conftest.er1 >conftest.err
12054 rm -f conftest.er1
12055 cat conftest.err >&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } &&
12058 { ac_try='test -z "$ac_c_werror_flag"
12059 || test ! -s conftest.err'
12060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12061 (eval $ac_try) 2>&5
12062 ac_status=$?
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); }; } &&
12065 { ac_try='test -s conftest$ac_exeext'
12066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12067 (eval $ac_try) 2>&5
12068 ac_status=$?
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; }; then
12071 eval "$as_ac_var=yes"
12072 else
12073 echo "$as_me: failed program was:" >&5
12074 sed 's/^/| /' conftest.$ac_ext >&5
12075
12076 eval "$as_ac_var=no"
12077 fi
12078 rm -f conftest.err conftest.$ac_objext \
12079 conftest$ac_exeext conftest.$ac_ext
12080 fi
12081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12083 if test `eval echo '${'$as_ac_var'}'` = yes; then
12084 cat >>confdefs.h <<_ACEOF
12085 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12086 _ACEOF
12087
12088 fi
12089 done
12090
12091
12092 echo "$as_me:$LINENO: checking for xdrmem_create in -lnsl" >&5
12093 echo $ECHO_N "checking for xdrmem_create in -lnsl... $ECHO_C" >&6
12094 if test "${ac_cv_lib_nsl_xdrmem_create+set}" = set; then
12095 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 else
12097 ac_check_lib_save_LIBS=$LIBS
12098 LIBS="-lnsl $LIBS"
12099 cat >conftest.$ac_ext <<_ACEOF
12100 /* confdefs.h. */
12101 _ACEOF
12102 cat confdefs.h >>conftest.$ac_ext
12103 cat >>conftest.$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12105
12106 /* Override any gcc2 internal prototype to avoid an error. */
12107 #ifdef __cplusplus
12108 extern "C"
12109 #endif
12110 /* We use char because int might match the return type of a gcc2
12111 builtin and then its argument prototype would still apply. */
12112 char xdrmem_create ();
12113 int
12114 main ()
12115 {
12116 xdrmem_create ();
12117 ;
12118 return 0;
12119 }
12120 _ACEOF
12121 rm -f conftest.$ac_objext conftest$ac_exeext
12122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12123 (eval $ac_link) 2>conftest.er1
12124 ac_status=$?
12125 grep -v '^ *+' conftest.er1 >conftest.err
12126 rm -f conftest.er1
12127 cat conftest.err >&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); } &&
12130 { ac_try='test -z "$ac_c_werror_flag"
12131 || test ! -s conftest.err'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12134 ac_status=$?
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; } &&
12137 { ac_try='test -s conftest$ac_exeext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12140 ac_status=$?
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_cv_lib_nsl_xdrmem_create=yes
12144 else
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.$ac_ext >&5
12147
12148 ac_cv_lib_nsl_xdrmem_create=no
12149 fi
12150 rm -f conftest.err conftest.$ac_objext \
12151 conftest$ac_exeext conftest.$ac_ext
12152 LIBS=$ac_check_lib_save_LIBS
12153 fi
12154 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_xdrmem_create" >&5
12155 echo "${ECHO_T}$ac_cv_lib_nsl_xdrmem_create" >&6
12156 if test $ac_cv_lib_nsl_xdrmem_create = yes; then
12157 cat >>confdefs.h <<_ACEOF
12158 @%:@define HAVE_LIBNSL 1
12159 _ACEOF
12160
12161 LIBS="-lnsl $LIBS"
12162
12163 fi
12164
12165
12166 echo "$as_me:$LINENO: checking for xdrmem_create in -lrpc" >&5
12167 echo $ECHO_N "checking for xdrmem_create in -lrpc... $ECHO_C" >&6
12168 if test "${ac_cv_lib_rpc_xdrmem_create+set}" = set; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 else
12171 ac_check_lib_save_LIBS=$LIBS
12172 LIBS="-lrpc $LIBS"
12173 cat >conftest.$ac_ext <<_ACEOF
12174 /* confdefs.h. */
12175 _ACEOF
12176 cat confdefs.h >>conftest.$ac_ext
12177 cat >>conftest.$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12179
12180 /* Override any gcc2 internal prototype to avoid an error. */
12181 #ifdef __cplusplus
12182 extern "C"
12183 #endif
12184 /* We use char because int might match the return type of a gcc2
12185 builtin and then its argument prototype would still apply. */
12186 char xdrmem_create ();
12187 int
12188 main ()
12189 {
12190 xdrmem_create ();
12191 ;
12192 return 0;
12193 }
12194 _ACEOF
12195 rm -f conftest.$ac_objext conftest$ac_exeext
12196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12197 (eval $ac_link) 2>conftest.er1
12198 ac_status=$?
12199 grep -v '^ *+' conftest.er1 >conftest.err
12200 rm -f conftest.er1
12201 cat conftest.err >&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try='test -z "$ac_c_werror_flag"
12205 || test ! -s conftest.err'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12208 ac_status=$?
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; } &&
12211 { ac_try='test -s conftest$ac_exeext'
12212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12213 (eval $ac_try) 2>&5
12214 ac_status=$?
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; }; then
12217 ac_cv_lib_rpc_xdrmem_create=yes
12218 else
12219 echo "$as_me: failed program was:" >&5
12220 sed 's/^/| /' conftest.$ac_ext >&5
12221
12222 ac_cv_lib_rpc_xdrmem_create=no
12223 fi
12224 rm -f conftest.err conftest.$ac_objext \
12225 conftest$ac_exeext conftest.$ac_ext
12226 LIBS=$ac_check_lib_save_LIBS
12227 fi
12228 echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_xdrmem_create" >&5
12229 echo "${ECHO_T}$ac_cv_lib_rpc_xdrmem_create" >&6
12230 if test $ac_cv_lib_rpc_xdrmem_create = yes; then
12231 cat >>confdefs.h <<_ACEOF
12232 @%:@define HAVE_LIBRPC 1
12233 _ACEOF
12234
12235 LIBS="-lrpc $LIBS"
12236
12237 fi
12238
12239
12240 # some AIX adds (linker flag for 32 bit compiles)
12241 if test "X$OSTYPE" = "Xaix" ; then
12242 if test "X$MACHTYPE" = "Xrs6000" ; then
12243 CFLAGS="${CFLAGS} -D_WAVE_BE32"
12244 if test "X$CC" = "Xxlc" ; then
12245 LDFLAGS="${LDFLAGS} -bmaxdata:0xd0000000/dsa"
12246 else
12247 LDFLAGS="${LDFLAGS} -Wl,-bmaxdata:0xd0000000/dsa"
12248 fi
12249 fi
12250 fi
12251
12252 CFLAGS="${CFLAGS} ${STRUCT_PACK}"
12253
12254
12255 if test "X$ETCL" = "Xyes" ; then
12256 if test "X$OSTYPE" = "Xcygwin" ; then
12257 # skip Tcl_CreateInterp check on cygwin...
12258 if test "X$STUBIFY" = "Xyes" ; then
12259 TCL_DEFADD="-DHAVE_LIBTCL -DWAVE_TCL_STUBIFY -DUSE_TCL_STUBS -DUSE_TK_STUBS"
12260 TCL_LDADD="${TCL_STUB_LIB_SPEC}"
12261 TK_LDADD="${TK_STUB_LIB_SPEC}"
12262 else
12263 TCL_DEFADD="-DHAVE_LIBTCL"
12264 TCL_LDADD="${TCL_LIB_SPEC}"
12265 TK_LDADD="${TK_LIB_SPEC}"
12266 # cygwin tkConfig.sh has issues...
12267 if test "X$TK_LDADD" = "X" ; then
12268 TK_LDADD="${TK_BUILD_LIB_SPEC}"
12269 fi
12270 fi
12271 else
12272 if test "X$OSTYPE" = "Xmsys" ; then
12273 # skip Tcl_CreateInterp check on MingW (until we figure out)...
12274 if test "X$STUBIFY" = "Xyes" ; then
12275 TCL_DEFADD="-DHAVE_LIBTCL -DWAVE_TCL_STUBIFY -DUSE_TCL_STUBS -DUSE_TK_STUBS"
12276 TCL_LDADD="${TCL_STUB_LIB_SPEC}"
12277 TK_LDADD="${TK_STUB_LIB_SPEC}"
12278 else
12279 TCL_DEFADD="-DHAVE_LIBTCL"
12280 TCL_LDADD="${TCL_LIB_SPEC}"
12281 TK_LDADD="${TK_LIB_SPEC}"
12282 fi
12283 else
12284 OLD_LDFLAGS="${LDFLAGS}"
12285 TCLSPEC_LHS="${TCL_LIB_SPEC% *}"
12286 TKLSPEC_LHS="${TK_LIB_SPEC% *}"
12287 LDFLAGS="${LDFLAGS} ${TCLSPEC_LHS} ${TKLSPEC_LHS}"
12288 as_ac_Lib=`echo "ac_cv_lib_tcl${TCL_VERSION}''_Tcl_CreateInterp" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}" >&5
12290 echo $ECHO_N "checking for Tcl_CreateInterp in -ltcl${TCL_VERSION}... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12294 ac_check_lib_save_LIBS=$LIBS
12295 LIBS="-ltcl${TCL_VERSION} $LIBS"
12296 cat >conftest.$ac_ext <<_ACEOF
12297 /* confdefs.h. */
12298 _ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12302
12303 /* Override any gcc2 internal prototype to avoid an error. */
12304 #ifdef __cplusplus
12305 extern "C"
12306 #endif
12307 /* We use char because int might match the return type of a gcc2
12308 builtin and then its argument prototype would still apply. */
12309 char Tcl_CreateInterp ();
12310 int
12311 main ()
12312 {
12313 Tcl_CreateInterp ();
12314 ;
12315 return 0;
12316 }
12317 _ACEOF
12318 rm -f conftest.$ac_objext conftest$ac_exeext
12319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12320 (eval $ac_link) 2>conftest.er1
12321 ac_status=$?
12322 grep -v '^ *+' conftest.er1 >conftest.err
12323 rm -f conftest.er1
12324 cat conftest.err >&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); } &&
12327 { ac_try='test -z "$ac_c_werror_flag"
12328 || test ! -s conftest.err'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12331 ac_status=$?
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; } &&
12334 { ac_try='test -s conftest$ac_exeext'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12337 ac_status=$?
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; }; then
12340 eval "$as_ac_Lib=yes"
12341 else
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.$ac_ext >&5
12344
12345 eval "$as_ac_Lib=no"
12346 fi
12347 rm -f conftest.err conftest.$ac_objext \
12348 conftest$ac_exeext conftest.$ac_ext
12349 LIBS=$ac_check_lib_save_LIBS
12350 fi
12351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
12352 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
12353 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
12354 TCL_LDADD=${TCL_LIB_SPEC}
12355 else
12356 need_tcl=yes
12357 fi
12358
12359 if test "$need_tcl" = "yes" ; then
12360 { echo "$as_me:$LINENO: WARNING:
12361 Tcl support not enabled." >&5
12362 echo "$as_me: WARNING:
12363 Tcl support not enabled." >&2;}
12364 else
12365 if test "X$STUBIFY" = "Xyes" ; then
12366 TCL_DEFADD="-DHAVE_LIBTCL -DWAVE_TCL_STUBIFY -DUSE_TCL_STUBS -DUSE_TK_STUBS"
12367 TCL_LDADD="${TCL_STUB_LIB_SPEC}"
12368 TK_LDADD="${TK_STUB_LIB_SPEC}"
12369 else
12370 TCL_DEFADD="-DHAVE_LIBTCL"
12371 TCL_LDADD="${TCL_LIB_SPEC}"
12372 TK_LDADD="${TK_LIB_SPEC}"
12373 fi
12374 fi
12375 LDFLAGS="${OLD_LDFLAGS}"
12376 fi
12377 fi
12378 fi
12379
12380
12381
12382
12383
12384
12385 ac_config_files="$ac_config_files Makefile doc/Makefile contrib/Makefile contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile contrib/pccts/Makefile contrib/pccts/antlr/Makefile contrib/pccts/dlg/Makefile contrib/pccts/h/Makefile contrib/pccts/sorcerer/Makefile contrib/pccts/sorcerer/h/Makefile contrib/pccts/sorcerer/lib/Makefile contrib/pccts/sorcerer/test/Makefile contrib/pccts/sorcerer/test/test7/Makefile contrib/pccts/sorcerer/testcpp/Makefile contrib/pccts/support/DECmms/Makefile contrib/pccts/support/Makefile contrib/pccts/support/genmk/Makefile contrib/pccts/support/rexpr/Makefile contrib/pccts/support/set/Makefile contrib/pccts/support/sym/Makefile contrib/pccts/testcpp/Makefile contrib/rtlbrowse/Makefile contrib/vermin/Makefile examples/Makefile man/Makefile src/Makefile src/helpers/Makefile src/liblzma/Makefile src/libbz2/Makefile src/libz/Makefile src/helpers/fst/Makefile"
12386
12387
12388
12389 { echo "$as_me:$LINENO:
12390 --------------------------------------------
12391 Configuration summary:
12392
12393 FASTTREE_CFLAGS : $FASTTREE_CFLAGS
12394
12395 gtk1 : $GTK1
12396 gtk version : $GTK_VER
12397 GTK_CFLAGS : $GTK_CFLAGS
12398 GTK_LIBS : $GTK_LIBS
12399
12400 LIBZ_CFLAGS : $LIBZ_CFLAGS
12401 LIBZ_LDADD : $LIBZ_LDADD
12402
12403 LIBBZ2_CFLAGS : $LIBBZ2_CFLAGS
12404 LIBBZ2_LDADD : $LIBBZ2_LDADD
12405
12406 LIBXZ_CFLAGS : $LIBXZ_CFLAGS
12407 LIBXZ_LDADD : $LIBXZ_LDADD
12408
12409 LIBJUDY_CFLAGS : $LIBJUDY_CFLAGS
12410 LIBJUDY_LDADD : $LIBJUDY_LDADD
12411
12412 AET2_CFLAGS : $AET2_CFLAGS
12413 AET2_LDADD : $AET2_LDADD
12414
12415 EXTLOAD_CFLAGS : $EXTLOAD_CFLAGS
12416
12417 TCL_INCLUDE_SPEC : $TCL_INCLUDE_SPEC
12418 TCL_LIB_SPEC : $TCL_LIB_SPEC
12419 TCL_LDADD : $TCL_LDADD
12420 TCL_DEFADD : $TCL_DEFADD
12421
12422 TK_INCLUDE_SPEC : $TK_INCLUDE_SPEC
12423 TK_LIB_SPEC : $TK_LIB_SPEC
12424 TK_LDADD : $TK_LDADD
12425
12426 CPPFLAGS : $CPPFLAGS
12427 CFLAGS : $CFLAGS
12428 LDFLAGS : $LDFLAGS
12429 LIBS : $LIBS
12430 INLINE_ASM : $INLINE_ASM
12431 --------------------------------------------
12432 " >&5
12433 echo "$as_me:
12434 --------------------------------------------
12435 Configuration summary:
12436
12437 FASTTREE_CFLAGS : $FASTTREE_CFLAGS
12438
12439 gtk1 : $GTK1
12440 gtk version : $GTK_VER
12441 GTK_CFLAGS : $GTK_CFLAGS
12442 GTK_LIBS : $GTK_LIBS
12443
12444 LIBZ_CFLAGS : $LIBZ_CFLAGS
12445 LIBZ_LDADD : $LIBZ_LDADD
12446
12447 LIBBZ2_CFLAGS : $LIBBZ2_CFLAGS
12448 LIBBZ2_LDADD : $LIBBZ2_LDADD
12449
12450 LIBXZ_CFLAGS : $LIBXZ_CFLAGS
12451 LIBXZ_LDADD : $LIBXZ_LDADD
12452
12453 LIBJUDY_CFLAGS : $LIBJUDY_CFLAGS
12454 LIBJUDY_LDADD : $LIBJUDY_LDADD
12455
12456 AET2_CFLAGS : $AET2_CFLAGS
12457 AET2_LDADD : $AET2_LDADD
12458
12459 EXTLOAD_CFLAGS : $EXTLOAD_CFLAGS
12460
12461 TCL_INCLUDE_SPEC : $TCL_INCLUDE_SPEC
12462 TCL_LIB_SPEC : $TCL_LIB_SPEC
12463 TCL_LDADD : $TCL_LDADD
12464 TCL_DEFADD : $TCL_DEFADD
12465
12466 TK_INCLUDE_SPEC : $TK_INCLUDE_SPEC
12467 TK_LIB_SPEC : $TK_LIB_SPEC
12468 TK_LDADD : $TK_LDADD
12469
12470 CPPFLAGS : $CPPFLAGS
12471 CFLAGS : $CFLAGS
12472 LDFLAGS : $LDFLAGS
12473 LIBS : $LIBS
12474 INLINE_ASM : $INLINE_ASM
12475 --------------------------------------------
12476 " >&6;}
12477
12478 cat >confcache <<\_ACEOF
12479 # This file is a shell script that caches the results of configure
12480 # tests run on this system so they can be shared between configure
12481 # scripts and configure runs, see configure's option --config-cache.
12482 # It is not useful on other systems. If it contains results you don't
12483 # want to keep, you may remove or edit it.
12484 #
12485 # config.status only pays attention to the cache file if you give it
12486 # the --recheck option to rerun configure.
12487 #
12488 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12489 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12490 # following values.
12491
12492 _ACEOF
12493
12494 # The following way of writing the cache mishandles newlines in values,
12495 # but we know of no workaround that is simple, portable, and efficient.
12496 # So, don't put newlines in cache variables' values.
12497 # Ultrix sh set writes to stderr and can't be redirected directly,
12498 # and sets the high bit in the cache file unless we assign to the vars.
12499 {
12500 (set) 2>&1 |
12501 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12502 *ac_space=\ *)
12503 # `set' does not quote correctly, so add quotes (double-quote
12504 # substitution turns \\\\ into \\, and sed turns \\ into \).
12505 sed -n \
12506 "s/'/'\\\\''/g;
12507 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12508 ;;
12509 *)
12510 # `set' quotes correctly as required by POSIX, so do not add quotes.
12511 sed -n \
12512 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12513 ;;
12514 esac;
12515 } |
12516 sed '
12517 t clear
12518 : clear
12519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12520 t end
12521 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12522 : end' >>confcache
12523 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12524 if test -w $cache_file; then
12525 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12526 cat confcache >$cache_file
12527 else
12528 echo "not updating unwritable cache $cache_file"
12529 fi
12530 fi
12531 rm -f confcache
12532
12533 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12534 # Let make expand exec_prefix.
12535 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12536
12537 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12538 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12539 # trailing colons and then remove the whole line if VPATH becomes empty
12540 # (actually we leave an empty line to preserve line numbers).
12541 if test "x$srcdir" = x.; then
12542 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12543 s/:*\$(srcdir):*/:/;
12544 s/:*\${srcdir}:*/:/;
12545 s/:*@srcdir@:*/:/;
12546 s/^\([^=]*=[ ]*\):*/\1/;
12547 s/:*$//;
12548 s/^[^=]*=[ ]*$//;
12549 }'
12550 fi
12551
12552 DEFS=-DHAVE_CONFIG_H
12553
12554 ac_libobjs=
12555 ac_ltlibobjs=
12556 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
12557 # 1. Remove the extension, and $U if already installed.
12558 ac_i=`echo "$ac_i" |
12559 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
12560 # 2. Add them.
12561 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
12562 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
12563 done
12564 LIB@&t@OBJS=$ac_libobjs
12565
12566 LTLIBOBJS=$ac_ltlibobjs
12567
12568
12569 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12570 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
12571 Usually this means the macro was only invoked conditionally." >&5
12572 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
12573 Usually this means the macro was only invoked conditionally." >&2;}
12574 { (exit 1); exit 1; }; }
12575 fi
12576 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12577 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12578 Usually this means the macro was only invoked conditionally." >&5
12579 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12580 Usually this means the macro was only invoked conditionally." >&2;}
12581 { (exit 1); exit 1; }; }
12582 fi
12583 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12584 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12585 Usually this means the macro was only invoked conditionally." >&5
12586 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12587 Usually this means the macro was only invoked conditionally." >&2;}
12588 { (exit 1); exit 1; }; }
12589 fi
12590
12591 : ${CONFIG_STATUS=./config.status}
12592 ac_clean_files_save=$ac_clean_files
12593 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12594 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12595 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12596 cat >$CONFIG_STATUS <<_ACEOF
12597 #! $SHELL
12598 # Generated by $as_me.
12599 # Run this file to recreate the current configuration.
12600 # Compiler output produced by configure, useful for debugging
12601 # configure, is in config.log if it exists.
12602
12603 debug=false
12604 ac_cs_recheck=false
12605 ac_cs_silent=false
12606 SHELL=\${CONFIG_SHELL-$SHELL}
12607 _ACEOF
12608
12609 cat >>$CONFIG_STATUS <<\_ACEOF
12610 ## --------------------- ##
12611 ## M4sh Initialization. ##
12612 ## --------------------- ##
12613
12614 # Be Bourne compatible
12615 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12616 emulate sh
12617 NULLCMD=:
12618 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12619 # is contrary to our usage. Disable this feature.
12620 alias -g '${1+"$@"}'='"$@"'
12621 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
12622 set -o posix
12623 fi
12624 DUALCASE=1; export DUALCASE # for MKS sh
12625
12626 # Support unset when possible.
12627 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12628 as_unset=unset
12629 else
12630 as_unset=false
12631 fi
12632
12633
12634 # Work around bugs in pre-3.0 UWIN ksh.
12635 $as_unset ENV MAIL MAILPATH
12636 PS1='$ '
12637 PS2='> '
12638 PS4='+ '
12639
12640 # NLS nuisances.
12641 for as_var in \
12642 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12643 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12644 LC_TELEPHONE LC_TIME
12645 do
12646 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12647 eval $as_var=C; export $as_var
12648 else
12649 $as_unset $as_var
12650 fi
12651 done
12652
12653 # Required to use basename.
12654 if expr a : '\(a\)' >/dev/null 2>&1; then
12655 as_expr=expr
12656 else
12657 as_expr=false
12658 fi
12659
12660 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
12661 as_basename=basename
12662 else
12663 as_basename=false
12664 fi
12665
12666
12667 # Name of the executable.
12668 as_me=`$as_basename "$0" ||
12669 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12670 X"$0" : 'X\(//\)$' \| \
12671 X"$0" : 'X\(/\)$' \| \
12672 . : '\(.\)' 2>/dev/null ||
12673 echo X/"$0" |
12674 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
12675 /^X\/\(\/\/\)$/{ s//\1/; q; }
12676 /^X\/\(\/\).*/{ s//\1/; q; }
12677 s/.*/./; q'`
12678
12679
12680 # PATH needs CR, and LINENO needs CR and PATH.
12681 # Avoid depending upon Character Ranges.
12682 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12683 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12684 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12685 as_cr_digits='0123456789'
12686 as_cr_alnum=$as_cr_Letters$as_cr_digits
12687
12688 # The user is always right.
12689 if test "${PATH_SEPARATOR+set}" != set; then
12690 echo "#! /bin/sh" >conf$$.sh
12691 echo "exit 0" >>conf$$.sh
12692 chmod +x conf$$.sh
12693 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12694 PATH_SEPARATOR=';'
12695 else
12696 PATH_SEPARATOR=:
12697 fi
12698 rm -f conf$$.sh
12699 fi
12700
12701
12702 as_lineno_1=$LINENO
12703 as_lineno_2=$LINENO
12704 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12705 test "x$as_lineno_1" != "x$as_lineno_2" &&
12706 test "x$as_lineno_3" = "x$as_lineno_2" || {
12707 # Find who we are. Look in the path if we contain no path at all
12708 # relative or not.
12709 case $0 in
12710 *[\\/]* ) as_myself=$0 ;;
12711 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12712 for as_dir in $PATH
12713 do
12714 IFS=$as_save_IFS
12715 test -z "$as_dir" && as_dir=.
12716 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12717 done
12718
12719 ;;
12720 esac
12721 # We did not find ourselves, most probably we were run as `sh COMMAND'
12722 # in which case we are not to be found in the path.
12723 if test "x$as_myself" = x; then
12724 as_myself=$0
12725 fi
12726 if test ! -f "$as_myself"; then
12727 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
12728 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
12729 { (exit 1); exit 1; }; }
12730 fi
12731 case $CONFIG_SHELL in
12732 '')
12733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12734 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
12735 do
12736 IFS=$as_save_IFS
12737 test -z "$as_dir" && as_dir=.
12738 for as_base in sh bash ksh sh5; do
12739 case $as_dir in
12740 /*)
12741 if ("$as_dir/$as_base" -c '
12742 as_lineno_1=$LINENO
12743 as_lineno_2=$LINENO
12744 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
12745 test "x$as_lineno_1" != "x$as_lineno_2" &&
12746 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
12747 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
12748 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
12749 CONFIG_SHELL=$as_dir/$as_base
12750 export CONFIG_SHELL
12751 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
12752 fi;;
12753 esac
12754 done
12755 done
12756 ;;
12757 esac
12758
12759 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12760 # uniformly replaced by the line number. The first 'sed' inserts a
12761 # line-number line before each line; the second 'sed' does the real
12762 # work. The second script uses 'N' to pair each line-number line
12763 # with the numbered line, and appends trailing '-' during
12764 # substitution so that $LINENO is not a special case at line end.
12765 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12766 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
12767 sed '=' <$as_myself |
12768 sed '
12769 N
12770 s,$,-,
12771 : loop
12772 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
12773 t loop
12774 s,-$,,
12775 s,^['$as_cr_digits']*\n,,
12776 ' >$as_me.lineno &&
12777 chmod +x $as_me.lineno ||
12778 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
12779 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
12780 { (exit 1); exit 1; }; }
12781
12782 # Don't try to exec as it changes $[0], causing all sort of problems
12783 # (the dirname of $[0] is not the place where we might find the
12784 # original and so on. Autoconf is especially sensible to this).
12785 . ./$as_me.lineno
12786 # Exit status is that of the last command.
12787 exit
12788 }
12789
12790
12791 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
12792 *c*,-n*) ECHO_N= ECHO_C='
12793 ' ECHO_T=' ' ;;
12794 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
12795 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
12796 esac
12797
12798 if expr a : '\(a\)' >/dev/null 2>&1; then
12799 as_expr=expr
12800 else
12801 as_expr=false
12802 fi
12803
12804 rm -f conf$$ conf$$.exe conf$$.file
12805 echo >conf$$.file
12806 if ln -s conf$$.file conf$$ 2>/dev/null; then
12807 # We could just check for DJGPP; but this test a) works b) is more generic
12808 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
12809 if test -f conf$$.exe; then
12810 # Don't use ln at all; we don't have any links
12811 as_ln_s='cp -p'
12812 else
12813 as_ln_s='ln -s'
12814 fi
12815 elif ln conf$$.file conf$$ 2>/dev/null; then
12816 as_ln_s=ln
12817 else
12818 as_ln_s='cp -p'
12819 fi
12820 rm -f conf$$ conf$$.exe conf$$.file
12821
12822 if mkdir -p . 2>/dev/null; then
12823 as_mkdir_p=:
12824 else
12825 test -d ./-p && rmdir ./-p
12826 as_mkdir_p=false
12827 fi
12828
12829 as_executable_p="test -f"
12830
12831 # Sed expression to map a string onto a valid CPP name.
12832 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12833
12834 # Sed expression to map a string onto a valid variable name.
12835 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12836
12837
12838 # IFS
12839 # We need space, tab and new line, in precisely that order.
12840 as_nl='
12841 '
12842 IFS=" $as_nl"
12843
12844 # CDPATH.
12845 $as_unset CDPATH
12846
12847 exec 6>&1
12848
12849 # Open the log real soon, to keep \$[0] and so on meaningful, and to
12850 # report actual input values of CONFIG_FILES etc. instead of their
12851 # values after options handling. Logging --version etc. is OK.
12852 exec 5>>config.log
12853 {
12854 echo
12855 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
12856 @%:@@%:@ Running $as_me. @%:@@%:@
12857 _ASBOX
12858 } >&5
12859 cat >&5 <<_CSEOF
12860
12861 This file was extended by gtkwave $as_me 3.3.23, which was
12862 generated by GNU Autoconf 2.59. Invocation command line was
12863
12864 CONFIG_FILES = $CONFIG_FILES
12865 CONFIG_HEADERS = $CONFIG_HEADERS
12866 CONFIG_LINKS = $CONFIG_LINKS
12867 CONFIG_COMMANDS = $CONFIG_COMMANDS
12868 $ $0 $@
12869
12870 _CSEOF
12871 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12872 echo >&5
12873 _ACEOF
12874
12875 # Files that config.status was made for.
12876 if test -n "$ac_config_files"; then
12877 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12878 fi
12879
12880 if test -n "$ac_config_headers"; then
12881 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12882 fi
12883
12884 if test -n "$ac_config_links"; then
12885 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12886 fi
12887
12888 if test -n "$ac_config_commands"; then
12889 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12890 fi
12891
12892 cat >>$CONFIG_STATUS <<\_ACEOF
12893
12894 ac_cs_usage="\
12895 \`$as_me' instantiates files from templates according to the
12896 current configuration.
12897
12898 Usage: $0 [OPTIONS] [FILE]...
12899
12900 -h, --help print this help, then exit
12901 -V, --version print version number, then exit
12902 -q, --quiet do not print progress messages
12903 -d, --debug don't remove temporary files
12904 --recheck update $as_me by reconfiguring in the same conditions
12905 --file=FILE[:TEMPLATE]
12906 instantiate the configuration file FILE
12907 --header=FILE[:TEMPLATE]
12908 instantiate the configuration header FILE
12909
12910 Configuration files:
12911 $config_files
12912
12913 Configuration headers:
12914 $config_headers
12915
12916 Configuration commands:
12917 $config_commands
12918
12919 Report bugs to <bug-autoconf@gnu.org>."
12920 _ACEOF
12921
12922 cat >>$CONFIG_STATUS <<_ACEOF
12923 ac_cs_version="\\
12924 gtkwave config.status 3.3.23
12925 configured by $0, generated by GNU Autoconf 2.59,
12926 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12927
12928 Copyright (C) 2003 Free Software Foundation, Inc.
12929 This config.status script is free software; the Free Software Foundation
12930 gives unlimited permission to copy, distribute and modify it."
12931 srcdir=$srcdir
12932 INSTALL="$INSTALL"
12933 _ACEOF
12934
12935 cat >>$CONFIG_STATUS <<\_ACEOF
12936 # If no file are specified by the user, then we need to provide default
12937 # value. By we need to know if files were specified by the user.
12938 ac_need_defaults=:
12939 while test $# != 0
12940 do
12941 case $1 in
12942 --*=*)
12943 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12944 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12945 ac_shift=:
12946 ;;
12947 -*)
12948 ac_option=$1
12949 ac_optarg=$2
12950 ac_shift=shift
12951 ;;
12952 *) # This is not an option, so the user has probably given explicit
12953 # arguments.
12954 ac_option=$1
12955 ac_need_defaults=false;;
12956 esac
12957
12958 case $ac_option in
12959 # Handling of the options.
12960 _ACEOF
12961 cat >>$CONFIG_STATUS <<\_ACEOF
12962 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12963 ac_cs_recheck=: ;;
12964 --version | --vers* | -V )
12965 echo "$ac_cs_version"; exit 0 ;;
12966 --he | --h)
12967 # Conflict between --help and --header
12968 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12969 Try \`$0 --help' for more information." >&5
12970 echo "$as_me: error: ambiguous option: $1
12971 Try \`$0 --help' for more information." >&2;}
12972 { (exit 1); exit 1; }; };;
12973 --help | --hel | -h )
12974 echo "$ac_cs_usage"; exit 0 ;;
12975 --debug | --d* | -d )
12976 debug=: ;;
12977 --file | --fil | --fi | --f )
12978 $ac_shift
12979 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12980 ac_need_defaults=false;;
12981 --header | --heade | --head | --hea )
12982 $ac_shift
12983 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12984 ac_need_defaults=false;;
12985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12986 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12987 ac_cs_silent=: ;;
12988
12989 # This is an error.
12990 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12991 Try \`$0 --help' for more information." >&5
12992 echo "$as_me: error: unrecognized option: $1
12993 Try \`$0 --help' for more information." >&2;}
12994 { (exit 1); exit 1; }; } ;;
12995
12996 *) ac_config_targets="$ac_config_targets $1" ;;
12997
12998 esac
12999 shift
13000 done
13001
13002 ac_configure_extra_args=
13003
13004 if $ac_cs_silent; then
13005 exec 6>/dev/null
13006 ac_configure_extra_args="$ac_configure_extra_args --silent"
13007 fi
13008
13009 _ACEOF
13010 cat >>$CONFIG_STATUS <<_ACEOF
13011 if \$ac_cs_recheck; then
13012 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13013 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13014 fi
13015
13016 _ACEOF
13017
13018 cat >>$CONFIG_STATUS <<_ACEOF
13019 #
13020 # INIT-COMMANDS section.
13021 #
13022
13023 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13024
13025 _ACEOF
13026
13027
13028
13029 cat >>$CONFIG_STATUS <<\_ACEOF
13030 for ac_config_target in $ac_config_targets
13031 do
13032 case "$ac_config_target" in
13033 # Handling of arguments.
13034 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13035 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13036 "contrib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
13037 "contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile" ;;
13038 "contrib/pccts/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/Makefile" ;;
13039 "contrib/pccts/antlr/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/antlr/Makefile" ;;
13040 "contrib/pccts/dlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/dlg/Makefile" ;;
13041 "contrib/pccts/h/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/h/Makefile" ;;
13042 "contrib/pccts/sorcerer/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/Makefile" ;;
13043 "contrib/pccts/sorcerer/h/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/h/Makefile" ;;
13044 "contrib/pccts/sorcerer/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/lib/Makefile" ;;
13045 "contrib/pccts/sorcerer/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/Makefile" ;;
13046 "contrib/pccts/sorcerer/test/test7/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/test/test7/Makefile" ;;
13047 "contrib/pccts/sorcerer/testcpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/sorcerer/testcpp/Makefile" ;;
13048 "contrib/pccts/support/DECmms/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/DECmms/Makefile" ;;
13049 "contrib/pccts/support/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/Makefile" ;;
13050 "contrib/pccts/support/genmk/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/genmk/Makefile" ;;
13051 "contrib/pccts/support/rexpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/rexpr/Makefile" ;;
13052 "contrib/pccts/support/set/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/set/Makefile" ;;
13053 "contrib/pccts/support/sym/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/support/sym/Makefile" ;;
13054 "contrib/pccts/testcpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/pccts/testcpp/Makefile" ;;
13055 "contrib/rtlbrowse/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/rtlbrowse/Makefile" ;;
13056 "contrib/vermin/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/vermin/Makefile" ;;
13057 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
13058 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13059 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13060 "src/helpers/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/helpers/Makefile" ;;
13061 "src/liblzma/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/liblzma/Makefile" ;;
13062 "src/libbz2/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libbz2/Makefile" ;;
13063 "src/libz/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libz/Makefile" ;;
13064 "src/helpers/fst/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/helpers/fst/Makefile" ;;
13065 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13066 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13067 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13068 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13069 { (exit 1); exit 1; }; };;
13070 esac
13071 done
13072
13073 # If the user did not use the arguments to specify the items to instantiate,
13074 # then the envvar interface is used. Set only those that are not.
13075 # We use the long form for the default assignment because of an extremely
13076 # bizarre bug on SunOS 4.1.3.
13077 if $ac_need_defaults; then
13078 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13079 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13080 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13081 fi
13082
13083 # Have a temporary directory for convenience. Make it in the build tree
13084 # simply because there is no reason to put it here, and in addition,
13085 # creating and moving files from /tmp can sometimes cause problems.
13086 # Create a temporary directory, and hook for its removal unless debugging.
13087 $debug ||
13088 {
13089 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13090 trap '{ (exit 1); exit 1; }' 1 2 13 15
13091 }
13092
13093 # Create a (secure) tmp directory for tmp files.
13094
13095 {
13096 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13097 test -n "$tmp" && test -d "$tmp"
13098 } ||
13099 {
13100 tmp=./confstat$$-$RANDOM
13101 (umask 077 && mkdir $tmp)
13102 } ||
13103 {
13104 echo "$me: cannot create a temporary directory in ." >&2
13105 { (exit 1); exit 1; }
13106 }
13107
13108 _ACEOF
13109
13110 cat >>$CONFIG_STATUS <<_ACEOF
13111
13112 #
13113 # CONFIG_FILES section.
13114 #
13115
13116 # No need to generate the scripts if there are no CONFIG_FILES.
13117 # This happens for instance when ./config.status config.h
13118 if test -n "\$CONFIG_FILES"; then
13119 # Protect against being on the right side of a sed subst in config.status.
13120 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13121 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13122 s,@SHELL@,$SHELL,;t t
13123 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13124 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13125 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13126 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13127 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13128 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13129 s,@exec_prefix@,$exec_prefix,;t t
13130 s,@prefix@,$prefix,;t t
13131 s,@program_transform_name@,$program_transform_name,;t t
13132 s,@bindir@,$bindir,;t t
13133 s,@sbindir@,$sbindir,;t t
13134 s,@libexecdir@,$libexecdir,;t t
13135 s,@datadir@,$datadir,;t t
13136 s,@sysconfdir@,$sysconfdir,;t t
13137 s,@sharedstatedir@,$sharedstatedir,;t t
13138 s,@localstatedir@,$localstatedir,;t t
13139 s,@libdir@,$libdir,;t t
13140 s,@includedir@,$includedir,;t t
13141 s,@oldincludedir@,$oldincludedir,;t t
13142 s,@infodir@,$infodir,;t t
13143 s,@mandir@,$mandir,;t t
13144 s,@build_alias@,$build_alias,;t t
13145 s,@host_alias@,$host_alias,;t t
13146 s,@target_alias@,$target_alias,;t t
13147 s,@DEFS@,$DEFS,;t t
13148 s,@ECHO_C@,$ECHO_C,;t t
13149 s,@ECHO_N@,$ECHO_N,;t t
13150 s,@ECHO_T@,$ECHO_T,;t t
13151 s,@LIBS@,$LIBS,;t t
13152 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13153 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13154 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13155 s,@CYGPATH_W@,$CYGPATH_W,;t t
13156 s,@PACKAGE@,$PACKAGE,;t t
13157 s,@VERSION@,$VERSION,;t t
13158 s,@ACLOCAL@,$ACLOCAL,;t t
13159 s,@AUTOCONF@,$AUTOCONF,;t t
13160 s,@AUTOMAKE@,$AUTOMAKE,;t t
13161 s,@AUTOHEADER@,$AUTOHEADER,;t t
13162 s,@MAKEINFO@,$MAKEINFO,;t t
13163 s,@install_sh@,$install_sh,;t t
13164 s,@STRIP@,$STRIP,;t t
13165 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13166 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13167 s,@mkdir_p@,$mkdir_p,;t t
13168 s,@AWK@,$AWK,;t t
13169 s,@SET_MAKE@,$SET_MAKE,;t t
13170 s,@am__leading_dot@,$am__leading_dot,;t t
13171 s,@AMTAR@,$AMTAR,;t t
13172 s,@am__tar@,$am__tar,;t t
13173 s,@am__untar@,$am__untar,;t t
13174 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13175 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13176 s,@MAINT@,$MAINT,;t t
13177 s,@INLINE_ASM@,$INLINE_ASM,;t t
13178 s,@STRUCT_PACK@,$STRUCT_PACK,;t t
13179 s,@TCL_VERSION@,$TCL_VERSION,;t t
13180 s,@TCL_PATCH_LEVEL@,$TCL_PATCH_LEVEL,;t t
13181 s,@TCL_BIN_DIR@,$TCL_BIN_DIR,;t t
13182 s,@TCL_SRC_DIR@,$TCL_SRC_DIR,;t t
13183 s,@TCL_LIB_FILE@,$TCL_LIB_FILE,;t t
13184 s,@TCL_LIB_FLAG@,$TCL_LIB_FLAG,;t t
13185 s,@TCL_LIB_SPEC@,$TCL_LIB_SPEC,;t t
13186 s,@TCL_STUB_LIB_FILE@,$TCL_STUB_LIB_FILE,;t t
13187 s,@TCL_STUB_LIB_FLAG@,$TCL_STUB_LIB_FLAG,;t t
13188 s,@TCL_STUB_LIB_SPEC@,$TCL_STUB_LIB_SPEC,;t t
13189 s,@TCL_INCLUDE_SPEC@,$TCL_INCLUDE_SPEC,;t t
13190 s,@TCL_MAJOR_VERSION@,$TCL_MAJOR_VERSION,;t t
13191 s,@TCL_MINOR_VERSION@,$TCL_MINOR_VERSION,;t t
13192 s,@TK_VERSION@,$TK_VERSION,;t t
13193 s,@TK_BIN_DIR@,$TK_BIN_DIR,;t t
13194 s,@TK_SRC_DIR@,$TK_SRC_DIR,;t t
13195 s,@TK_LIB_FILE@,$TK_LIB_FILE,;t t
13196 s,@TK_LIB_FLAG@,$TK_LIB_FLAG,;t t
13197 s,@TK_LIB_SPEC@,$TK_LIB_SPEC,;t t
13198 s,@TK_STUB_LIB_FILE@,$TK_STUB_LIB_FILE,;t t
13199 s,@TK_STUB_LIB_FLAG@,$TK_STUB_LIB_FLAG,;t t
13200 s,@TK_STUB_LIB_SPEC@,$TK_STUB_LIB_SPEC,;t t
13201 s,@TK_INCLUDE_SPEC@,$TK_INCLUDE_SPEC,;t t
13202 s,@AET2_CFLAGS@,$AET2_CFLAGS,;t t
13203 s,@AET2_LDADD@,$AET2_LDADD,;t t
13204 s,@CC@,$CC,;t t
13205 s,@CFLAGS@,$CFLAGS,;t t
13206 s,@LDFLAGS@,$LDFLAGS,;t t
13207 s,@CPPFLAGS@,$CPPFLAGS,;t t
13208 s,@ac_ct_CC@,$ac_ct_CC,;t t
13209 s,@EXEEXT@,$EXEEXT,;t t
13210 s,@OBJEXT@,$OBJEXT,;t t
13211 s,@DEPDIR@,$DEPDIR,;t t
13212 s,@am__include@,$am__include,;t t
13213 s,@am__quote@,$am__quote,;t t
13214 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13215 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13216 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13217 s,@CCDEPMODE@,$CCDEPMODE,;t t
13218 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13219 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13220 s,@LEX@,$LEX,;t t
13221 s,@LEXLIB@,$LEXLIB,;t t
13222 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
13223 s,@RANLIB@,$RANLIB,;t t
13224 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13225 s,@EXTDEBUG@,$EXTDEBUG,;t t
13226 s,@EXTLOAD_CFLAGS@,$EXTLOAD_CFLAGS,;t t
13227 s,@GPERF@,$GPERF,;t t
13228 s,@LIBZ_CFLAGS@,$LIBZ_CFLAGS,;t t
13229 s,@LIBZ_LDADD@,$LIBZ_LDADD,;t t
13230 s,@LIBZ_DIR@,$LIBZ_DIR,;t t
13231 s,@LIBBZ2_CFLAGS@,$LIBBZ2_CFLAGS,;t t
13232 s,@LIBBZ2_LDADD@,$LIBBZ2_LDADD,;t t
13233 s,@LIBBZ2_DIR@,$LIBBZ2_DIR,;t t
13234 s,@LIBXZ_LDADD@,$LIBXZ_LDADD,;t t
13235 s,@LIBXZ_CFLAGS@,$LIBXZ_CFLAGS,;t t
13236 s,@FASTTREE_CFLAGS@,$FASTTREE_CFLAGS,;t t
13237 s,@LIBJUDY_LDADD@,$LIBJUDY_LDADD,;t t
13238 s,@LIBJUDY_CFLAGS@,$LIBJUDY_CFLAGS,;t t
13239 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
13240 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
13241 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
13242 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
13243 s,@GTK_LIBS@,$GTK_LIBS,;t t
13244 s,@ALLOCA@,$ALLOCA,;t t
13245 s,@CPP@,$CPP,;t t
13246 s,@EGREP@,$EGREP,;t t
13247 s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
13248 s,@POW_LIB@,$POW_LIB,;t t
13249 s,@TCL_LDADD@,$TCL_LDADD,;t t
13250 s,@TCL_DEFADD@,$TCL_DEFADD,;t t
13251 s,@TK_LDADD@,$TK_LDADD,;t t
13252 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13253 CEOF
13254
13255 _ACEOF
13256
13257 cat >>$CONFIG_STATUS <<\_ACEOF
13258 # Split the substitutions into bite-sized pieces for seds with
13259 # small command number limits, like on Digital OSF/1 and HP-UX.
13260 ac_max_sed_lines=48
13261 ac_sed_frag=1 # Number of current file.
13262 ac_beg=1 # First line for current file.
13263 ac_end=$ac_max_sed_lines # Line after last line for current file.
13264 ac_more_lines=:
13265 ac_sed_cmds=
13266 while $ac_more_lines; do
13267 if test $ac_beg -gt 1; then
13268 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13269 else
13270 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
13271 fi
13272 if test ! -s $tmp/subs.frag; then
13273 ac_more_lines=false
13274 else
13275 # The purpose of the label and of the branching condition is to
13276 # speed up the sed processing (if there are no `@' at all, there
13277 # is no need to browse any of the substitutions).
13278 # These are the two extra sed commands mentioned above.
13279 (echo ':t
13280 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
13281 if test -z "$ac_sed_cmds"; then
13282 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
13283 else
13284 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
13285 fi
13286 ac_sed_frag=`expr $ac_sed_frag + 1`
13287 ac_beg=$ac_end
13288 ac_end=`expr $ac_end + $ac_max_sed_lines`
13289 fi
13290 done
13291 if test -z "$ac_sed_cmds"; then
13292 ac_sed_cmds=cat
13293 fi
13294 fi # test -n "$CONFIG_FILES"
13295
13296 _ACEOF
13297 cat >>$CONFIG_STATUS <<\_ACEOF
13298 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
13299 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13300 case $ac_file in
13301 - | *:- | *:-:* ) # input from stdin
13302 cat >$tmp/stdin
13303 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13304 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13305 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13306 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13307 * ) ac_file_in=$ac_file.in ;;
13308 esac
13309
13310 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
13311 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13312 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13313 X"$ac_file" : 'X\(//\)[^/]' \| \
13314 X"$ac_file" : 'X\(//\)$' \| \
13315 X"$ac_file" : 'X\(/\)' \| \
13316 . : '\(.\)' 2>/dev/null ||
13317 echo X"$ac_file" |
13318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13320 /^X\(\/\/\)$/{ s//\1/; q; }
13321 /^X\(\/\).*/{ s//\1/; q; }
13322 s/.*/./; q'`
13323 { if $as_mkdir_p; then
13324 mkdir -p "$ac_dir"
13325 else
13326 as_dir="$ac_dir"
13327 as_dirs=
13328 while test ! -d "$as_dir"; do
13329 as_dirs="$as_dir $as_dirs"
13330 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13331 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13332 X"$as_dir" : 'X\(//\)[^/]' \| \
13333 X"$as_dir" : 'X\(//\)$' \| \
13334 X"$as_dir" : 'X\(/\)' \| \
13335 . : '\(.\)' 2>/dev/null ||
13336 echo X"$as_dir" |
13337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13338 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13339 /^X\(\/\/\)$/{ s//\1/; q; }
13340 /^X\(\/\).*/{ s//\1/; q; }
13341 s/.*/./; q'`
13342 done
13343 test ! -n "$as_dirs" || mkdir $as_dirs
13344 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13345 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13346 { (exit 1); exit 1; }; }; }
13347
13348 ac_builddir=.
13349
13350 if test "$ac_dir" != .; then
13351 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13352 # A "../" for each directory in $ac_dir_suffix.
13353 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13354 else
13355 ac_dir_suffix= ac_top_builddir=
13356 fi
13357
13358 case $srcdir in
13359 .) # No --srcdir option. We are building in place.
13360 ac_srcdir=.
13361 if test -z "$ac_top_builddir"; then
13362 ac_top_srcdir=.
13363 else
13364 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13365 fi ;;
13366 [\\/]* | ?:[\\/]* ) # Absolute path.
13367 ac_srcdir=$srcdir$ac_dir_suffix;
13368 ac_top_srcdir=$srcdir ;;
13369 *) # Relative path.
13370 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13371 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13372 esac
13373
13374 # Do not use `cd foo && pwd` to compute absolute paths, because
13375 # the directories may not exist.
13376 case `pwd` in
13377 .) ac_abs_builddir="$ac_dir";;
13378 *)
13379 case "$ac_dir" in
13380 .) ac_abs_builddir=`pwd`;;
13381 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13382 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13383 esac;;
13384 esac
13385 case $ac_abs_builddir in
13386 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13387 *)
13388 case ${ac_top_builddir}. in
13389 .) ac_abs_top_builddir=$ac_abs_builddir;;
13390 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13391 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13392 esac;;
13393 esac
13394 case $ac_abs_builddir in
13395 .) ac_abs_srcdir=$ac_srcdir;;
13396 *)
13397 case $ac_srcdir in
13398 .) ac_abs_srcdir=$ac_abs_builddir;;
13399 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13400 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13401 esac;;
13402 esac
13403 case $ac_abs_builddir in
13404 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13405 *)
13406 case $ac_top_srcdir in
13407 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13408 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13409 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13410 esac;;
13411 esac
13412
13413
13414 case $INSTALL in
13415 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13416 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
13417 esac
13418
13419 if test x"$ac_file" != x-; then
13420 { echo "$as_me:$LINENO: creating $ac_file" >&5
13421 echo "$as_me: creating $ac_file" >&6;}
13422 rm -f "$ac_file"
13423 fi
13424 # Let's still pretend it is `configure' which instantiates (i.e., don't
13425 # use $as_me), people would be surprised to read:
13426 # /* config.h. Generated by config.status. */
13427 if test x"$ac_file" = x-; then
13428 configure_input=
13429 else
13430 configure_input="$ac_file. "
13431 fi
13432 configure_input=$configure_input"Generated from `echo $ac_file_in |
13433 sed 's,.*/,,'` by configure."
13434
13435 # First look for the input files in the build tree, otherwise in the
13436 # src tree.
13437 ac_file_inputs=`IFS=:
13438 for f in $ac_file_in; do
13439 case $f in
13440 -) echo $tmp/stdin ;;
13441 [\\/$]*)
13442 # Absolute (can't be DOS-style, as IFS=:)
13443 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13444 echo "$as_me: error: cannot find input file: $f" >&2;}
13445 { (exit 1); exit 1; }; }
13446 echo "$f";;
13447 *) # Relative
13448 if test -f "$f"; then
13449 # Build tree
13450 echo "$f"
13451 elif test -f "$srcdir/$f"; then
13452 # Source tree
13453 echo "$srcdir/$f"
13454 else
13455 # /dev/null tree
13456 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13457 echo "$as_me: error: cannot find input file: $f" >&2;}
13458 { (exit 1); exit 1; }; }
13459 fi;;
13460 esac
13461 done` || { (exit 1); exit 1; }
13462 _ACEOF
13463 cat >>$CONFIG_STATUS <<_ACEOF
13464 sed "$ac_vpsub
13465 $extrasub
13466 _ACEOF
13467 cat >>$CONFIG_STATUS <<\_ACEOF
13468 :t
13469 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13470 s,@configure_input@,$configure_input,;t t
13471 s,@srcdir@,$ac_srcdir,;t t
13472 s,@abs_srcdir@,$ac_abs_srcdir,;t t
13473 s,@top_srcdir@,$ac_top_srcdir,;t t
13474 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
13475 s,@builddir@,$ac_builddir,;t t
13476 s,@abs_builddir@,$ac_abs_builddir,;t t
13477 s,@top_builddir@,$ac_top_builddir,;t t
13478 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
13479 s,@INSTALL@,$ac_INSTALL,;t t
13480 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
13481 rm -f $tmp/stdin
13482 if test x"$ac_file" != x-; then
13483 mv $tmp/out $ac_file
13484 else
13485 cat $tmp/out
13486 rm -f $tmp/out
13487 fi
13488
13489 done
13490 _ACEOF
13491 cat >>$CONFIG_STATUS <<\_ACEOF
13492
13493 #
13494 # CONFIG_HEADER section.
13495 #
13496
13497 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13498 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13499 #
13500 # ac_d sets the value in "#define NAME VALUE" lines.
13501 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13502 ac_dB='[ ].*$,\1#\2'
13503 ac_dC=' '
13504 ac_dD=',;t'
13505 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13506 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13507 ac_uB='$,\1#\2define\3'
13508 ac_uC=' '
13509 ac_uD=',;t'
13510
13511 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13512 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13513 case $ac_file in
13514 - | *:- | *:-:* ) # input from stdin
13515 cat >$tmp/stdin
13516 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13517 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13518 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
13519 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
13520 * ) ac_file_in=$ac_file.in ;;
13521 esac
13522
13523 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
13524 echo "$as_me: creating $ac_file" >&6;}
13525
13526 # First look for the input files in the build tree, otherwise in the
13527 # src tree.
13528 ac_file_inputs=`IFS=:
13529 for f in $ac_file_in; do
13530 case $f in
13531 -) echo $tmp/stdin ;;
13532 [\\/$]*)
13533 # Absolute (can't be DOS-style, as IFS=:)
13534 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13535 echo "$as_me: error: cannot find input file: $f" >&2;}
13536 { (exit 1); exit 1; }; }
13537 # Do quote $f, to prevent DOS paths from being IFS'd.
13538 echo "$f";;
13539 *) # Relative
13540 if test -f "$f"; then
13541 # Build tree
13542 echo "$f"
13543 elif test -f "$srcdir/$f"; then
13544 # Source tree
13545 echo "$srcdir/$f"
13546 else
13547 # /dev/null tree
13548 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
13549 echo "$as_me: error: cannot find input file: $f" >&2;}
13550 { (exit 1); exit 1; }; }
13551 fi;;
13552 esac
13553 done` || { (exit 1); exit 1; }
13554 # Remove the trailing spaces.
13555 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
13556
13557 _ACEOF
13558
13559 # Transform confdefs.h into two sed scripts, `conftest.defines' and
13560 # `conftest.undefs', that substitutes the proper values into
13561 # config.h.in to produce config.h. The first handles `#define'
13562 # templates, and the second `#undef' templates.
13563 # And first: Protect against being on the right side of a sed subst in
13564 # config.status. Protect against being in an unquoted here document
13565 # in config.status.
13566 rm -f conftest.defines conftest.undefs
13567 # Using a here document instead of a string reduces the quoting nightmare.
13568 # Putting comments in sed scripts is not portable.
13569 #
13570 # `end' is used to avoid that the second main sed command (meant for
13571 # 0-ary CPP macros) applies to n-ary macro definitions.
13572 # See the Autoconf documentation for `clear'.
13573 cat >confdef2sed.sed <<\_ACEOF
13574 s/[\\&,]/\\&/g
13575 s,[\\$`],\\&,g
13576 t clear
13577 : clear
13578 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
13579 t end
13580 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
13581 : end
13582 _ACEOF
13583 # If some macros were called several times there might be several times
13584 # the same #defines, which is useless. Nevertheless, we may not want to
13585 # sort them, since we want the *last* AC-DEFINE to be honored.
13586 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
13587 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
13588 rm -f confdef2sed.sed
13589
13590 # This sed command replaces #undef with comments. This is necessary, for
13591 # example, in the case of _POSIX_SOURCE, which is predefined and required
13592 # on some systems where configure will not decide to define it.
13593 cat >>conftest.undefs <<\_ACEOF
13594 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
13595 _ACEOF
13596
13597 # Break up conftest.defines because some shells have a limit on the size
13598 # of here documents, and old seds have small limits too (100 cmds).
13599 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
13600 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
13601 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
13602 echo ' :' >>$CONFIG_STATUS
13603 rm -f conftest.tail
13604 while grep . conftest.defines >/dev/null
13605 do
13606 # Write a limited-size here document to $tmp/defines.sed.
13607 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
13608 # Speed up: don't consider the non `#define' lines.
13609 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
13610 # Work around the forget-to-reset-the-flag bug.
13611 echo 't clr' >>$CONFIG_STATUS
13612 echo ': clr' >>$CONFIG_STATUS
13613 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
13614 echo 'CEOF
13615 sed -f $tmp/defines.sed $tmp/in >$tmp/out
13616 rm -f $tmp/in
13617 mv $tmp/out $tmp/in
13618 ' >>$CONFIG_STATUS
13619 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
13620 rm -f conftest.defines
13621 mv conftest.tail conftest.defines
13622 done
13623 rm -f conftest.defines
13624 echo ' fi # grep' >>$CONFIG_STATUS
13625 echo >>$CONFIG_STATUS
13626
13627 # Break up conftest.undefs because some shells have a limit on the size
13628 # of here documents, and old seds have small limits too (100 cmds).
13629 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
13630 rm -f conftest.tail
13631 while grep . conftest.undefs >/dev/null
13632 do
13633 # Write a limited-size here document to $tmp/undefs.sed.
13634 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
13635 # Speed up: don't consider the non `#undef'
13636 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
13637 # Work around the forget-to-reset-the-flag bug.
13638 echo 't clr' >>$CONFIG_STATUS
13639 echo ': clr' >>$CONFIG_STATUS
13640 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
13641 echo 'CEOF
13642 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
13643 rm -f $tmp/in
13644 mv $tmp/out $tmp/in
13645 ' >>$CONFIG_STATUS
13646 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
13647 rm -f conftest.undefs
13648 mv conftest.tail conftest.undefs
13649 done
13650 rm -f conftest.undefs
13651
13652 cat >>$CONFIG_STATUS <<\_ACEOF
13653 # Let's still pretend it is `configure' which instantiates (i.e., don't
13654 # use $as_me), people would be surprised to read:
13655 # /* config.h. Generated by config.status. */
13656 if test x"$ac_file" = x-; then
13657 echo "/* Generated by configure. */" >$tmp/config.h
13658 else
13659 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
13660 fi
13661 cat $tmp/in >>$tmp/config.h
13662 rm -f $tmp/in
13663 if test x"$ac_file" != x-; then
13664 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
13665 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13666 echo "$as_me: $ac_file is unchanged" >&6;}
13667 else
13668 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
13669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13670 X"$ac_file" : 'X\(//\)[^/]' \| \
13671 X"$ac_file" : 'X\(//\)$' \| \
13672 X"$ac_file" : 'X\(/\)' \| \
13673 . : '\(.\)' 2>/dev/null ||
13674 echo X"$ac_file" |
13675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13676 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13677 /^X\(\/\/\)$/{ s//\1/; q; }
13678 /^X\(\/\).*/{ s//\1/; q; }
13679 s/.*/./; q'`
13680 { if $as_mkdir_p; then
13681 mkdir -p "$ac_dir"
13682 else
13683 as_dir="$ac_dir"
13684 as_dirs=
13685 while test ! -d "$as_dir"; do
13686 as_dirs="$as_dir $as_dirs"
13687 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13689 X"$as_dir" : 'X\(//\)[^/]' \| \
13690 X"$as_dir" : 'X\(//\)$' \| \
13691 X"$as_dir" : 'X\(/\)' \| \
13692 . : '\(.\)' 2>/dev/null ||
13693 echo X"$as_dir" |
13694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13695 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13696 /^X\(\/\/\)$/{ s//\1/; q; }
13697 /^X\(\/\).*/{ s//\1/; q; }
13698 s/.*/./; q'`
13699 done
13700 test ! -n "$as_dirs" || mkdir $as_dirs
13701 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13702 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13703 { (exit 1); exit 1; }; }; }
13704
13705 rm -f $ac_file
13706 mv $tmp/config.h $ac_file
13707 fi
13708 else
13709 cat $tmp/config.h
13710 rm -f $tmp/config.h
13711 fi
13712 # Compute $ac_file's index in $config_headers.
13713 _am_stamp_count=1
13714 for _am_header in $config_headers :; do
13715 case $_am_header in
13716 $ac_file | $ac_file:* )
13717 break ;;
13718 * )
13719 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13720 esac
13721 done
13722 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
13723 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13724 X$ac_file : 'X\(//\)[^/]' \| \
13725 X$ac_file : 'X\(//\)$' \| \
13726 X$ac_file : 'X\(/\)' \| \
13727 . : '\(.\)' 2>/dev/null ||
13728 echo X$ac_file |
13729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13730 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13731 /^X\(\/\/\)$/{ s//\1/; q; }
13732 /^X\(\/\).*/{ s//\1/; q; }
13733 s/.*/./; q'`/stamp-h$_am_stamp_count
13734 done
13735 _ACEOF
13736 cat >>$CONFIG_STATUS <<\_ACEOF
13737
13738 #
13739 # CONFIG_COMMANDS section.
13740 #
13741 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
13742 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
13743 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
13744 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
13745 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13746 X"$ac_dest" : 'X\(//\)[^/]' \| \
13747 X"$ac_dest" : 'X\(//\)$' \| \
13748 X"$ac_dest" : 'X\(/\)' \| \
13749 . : '\(.\)' 2>/dev/null ||
13750 echo X"$ac_dest" |
13751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13753 /^X\(\/\/\)$/{ s//\1/; q; }
13754 /^X\(\/\).*/{ s//\1/; q; }
13755 s/.*/./; q'`
13756 { if $as_mkdir_p; then
13757 mkdir -p "$ac_dir"
13758 else
13759 as_dir="$ac_dir"
13760 as_dirs=
13761 while test ! -d "$as_dir"; do
13762 as_dirs="$as_dir $as_dirs"
13763 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13765 X"$as_dir" : 'X\(//\)[^/]' \| \
13766 X"$as_dir" : 'X\(//\)$' \| \
13767 X"$as_dir" : 'X\(/\)' \| \
13768 . : '\(.\)' 2>/dev/null ||
13769 echo X"$as_dir" |
13770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13771 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13772 /^X\(\/\/\)$/{ s//\1/; q; }
13773 /^X\(\/\).*/{ s//\1/; q; }
13774 s/.*/./; q'`
13775 done
13776 test ! -n "$as_dirs" || mkdir $as_dirs
13777 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
13778 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
13779 { (exit 1); exit 1; }; }; }
13780
13781 ac_builddir=.
13782
13783 if test "$ac_dir" != .; then
13784 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13785 # A "../" for each directory in $ac_dir_suffix.
13786 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
13787 else
13788 ac_dir_suffix= ac_top_builddir=
13789 fi
13790
13791 case $srcdir in
13792 .) # No --srcdir option. We are building in place.
13793 ac_srcdir=.
13794 if test -z "$ac_top_builddir"; then
13795 ac_top_srcdir=.
13796 else
13797 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
13798 fi ;;
13799 [\\/]* | ?:[\\/]* ) # Absolute path.
13800 ac_srcdir=$srcdir$ac_dir_suffix;
13801 ac_top_srcdir=$srcdir ;;
13802 *) # Relative path.
13803 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
13804 ac_top_srcdir=$ac_top_builddir$srcdir ;;
13805 esac
13806
13807 # Do not use `cd foo && pwd` to compute absolute paths, because
13808 # the directories may not exist.
13809 case `pwd` in
13810 .) ac_abs_builddir="$ac_dir";;
13811 *)
13812 case "$ac_dir" in
13813 .) ac_abs_builddir=`pwd`;;
13814 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
13815 *) ac_abs_builddir=`pwd`/"$ac_dir";;
13816 esac;;
13817 esac
13818 case $ac_abs_builddir in
13819 .) ac_abs_top_builddir=${ac_top_builddir}.;;
13820 *)
13821 case ${ac_top_builddir}. in
13822 .) ac_abs_top_builddir=$ac_abs_builddir;;
13823 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
13824 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
13825 esac;;
13826 esac
13827 case $ac_abs_builddir in
13828 .) ac_abs_srcdir=$ac_srcdir;;
13829 *)
13830 case $ac_srcdir in
13831 .) ac_abs_srcdir=$ac_abs_builddir;;
13832 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
13833 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
13834 esac;;
13835 esac
13836 case $ac_abs_builddir in
13837 .) ac_abs_top_srcdir=$ac_top_srcdir;;
13838 *)
13839 case $ac_top_srcdir in
13840 .) ac_abs_top_srcdir=$ac_abs_builddir;;
13841 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
13842 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
13843 esac;;
13844 esac
13845
13846
13847 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
13848 echo "$as_me: executing $ac_dest commands" >&6;}
13849 case $ac_dest in
13850 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13851 # Strip MF so we end up with the name of the file.
13852 mf=`echo "$mf" | sed -e 's/:.*$//'`
13853 # Check whether this is an Automake generated Makefile or not.
13854 # We used to match only the files named `Makefile.in', but
13855 # some people rename them; so instead we look at the file content.
13856 # Grep'ing the first line is not enough: some people post-process
13857 # each Makefile.in and add a new line on top of each file to say so.
13858 # So let's grep whole file.
13859 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
13860 dirpart=`(dirname "$mf") 2>/dev/null ||
13861 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13862 X"$mf" : 'X\(//\)[^/]' \| \
13863 X"$mf" : 'X\(//\)$' \| \
13864 X"$mf" : 'X\(/\)' \| \
13865 . : '\(.\)' 2>/dev/null ||
13866 echo X"$mf" |
13867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13869 /^X\(\/\/\)$/{ s//\1/; q; }
13870 /^X\(\/\).*/{ s//\1/; q; }
13871 s/.*/./; q'`
13872 else
13873 continue
13874 fi
13875 # Extract the definition of DEPDIR, am__include, and am__quote
13876 # from the Makefile without running `make'.
13877 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13878 test -z "$DEPDIR" && continue
13879 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13880 test -z "am__include" && continue
13881 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13882 # When using ansi2knr, U may be empty or an underscore; expand it
13883 U=`sed -n 's/^U = //p' < "$mf"`
13884 # Find all dependency output files, they are included files with
13885 # $(DEPDIR) in their names. We invoke sed twice because it is the
13886 # simplest approach to changing $(DEPDIR) to its actual value in the
13887 # expansion.
13888 for file in `sed -n "
13889 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13890 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13891 # Make sure the directory exists.
13892 test -f "$dirpart/$file" && continue
13893 fdir=`(dirname "$file") 2>/dev/null ||
13894 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13895 X"$file" : 'X\(//\)[^/]' \| \
13896 X"$file" : 'X\(//\)$' \| \
13897 X"$file" : 'X\(/\)' \| \
13898 . : '\(.\)' 2>/dev/null ||
13899 echo X"$file" |
13900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13902 /^X\(\/\/\)$/{ s//\1/; q; }
13903 /^X\(\/\).*/{ s//\1/; q; }
13904 s/.*/./; q'`
13905 { if $as_mkdir_p; then
13906 mkdir -p $dirpart/$fdir
13907 else
13908 as_dir=$dirpart/$fdir
13909 as_dirs=
13910 while test ! -d "$as_dir"; do
13911 as_dirs="$as_dir $as_dirs"
13912 as_dir=`(dirname "$as_dir") 2>/dev/null ||
13913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13914 X"$as_dir" : 'X\(//\)[^/]' \| \
13915 X"$as_dir" : 'X\(//\)$' \| \
13916 X"$as_dir" : 'X\(/\)' \| \
13917 . : '\(.\)' 2>/dev/null ||
13918 echo X"$as_dir" |
13919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13921 /^X\(\/\/\)$/{ s//\1/; q; }
13922 /^X\(\/\).*/{ s//\1/; q; }
13923 s/.*/./; q'`
13924 done
13925 test ! -n "$as_dirs" || mkdir $as_dirs
13926 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13927 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13928 { (exit 1); exit 1; }; }; }
13929
13930 # echo "creating $dirpart/$file"
13931 echo '# dummy' > "$dirpart/$file"
13932 done
13933 done
13934 ;;
13935 esac
13936 done
13937 _ACEOF
13938
13939 cat >>$CONFIG_STATUS <<\_ACEOF
13940
13941 { (exit 0); exit 0; }
13942 _ACEOF
13943 chmod +x $CONFIG_STATUS
13944 ac_clean_files=$ac_clean_files_save
13945
13946
13947 # configure is writing to config.log, and then calls config.status.
13948 # config.status does its own redirection, appending to config.log.
13949 # Unfortunately, on DOS this fails, as config.log is still kept open
13950 # by configure, so config.status won't be able to write to it; its
13951 # output is simply discarded. So we exec the FD to /dev/null,
13952 # effectively closing config.log, so it can be properly (re)opened and
13953 # appended to by config.status. When coming back to configure, we
13954 # need to make the FD available again.
13955 if test "$no_create" != yes; then
13956 ac_cs_success=:
13957 ac_config_status_args=
13958 test "$silent" = yes &&
13959 ac_config_status_args="$ac_config_status_args --quiet"
13960 exec 5>/dev/null
13961 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13962 exec 5>>config.log
13963 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13964 # would make configure fail if this is the last instruction.
13965 $ac_cs_success || { (exit 1); exit 1; }
13966 fi
13967
13968
+0
-277
autom4te.cache/requests less more
0 # This file was generated.
1 # It contains the lists of macros which have been traced.
2 # It can be safely removed.
3
4 @request = (
5 bless( [
6 '0',
7 1,
8 [
9 '/usr/share/autoconf'
10 ],
11 [
12 '/usr/share/autoconf/autoconf/autoconf.m4f',
13 '/usr/share/aclocal/pkg.m4',
14 '/usr/share/aclocal-1.9/amversion.m4',
15 '/usr/share/aclocal-1.9/auxdir.m4',
16 '/usr/share/aclocal-1.9/cond.m4',
17 '/usr/share/aclocal-1.9/depend.m4',
18 '/usr/share/aclocal-1.9/depout.m4',
19 '/usr/share/aclocal-1.9/init.m4',
20 '/usr/share/aclocal-1.9/install-sh.m4',
21 '/usr/share/aclocal-1.9/lead-dot.m4',
22 '/usr/share/aclocal-1.9/maintainer.m4',
23 '/usr/share/aclocal-1.9/make.m4',
24 '/usr/share/aclocal-1.9/missing.m4',
25 '/usr/share/aclocal-1.9/mkdirp.m4',
26 '/usr/share/aclocal-1.9/options.m4',
27 '/usr/share/aclocal-1.9/runlog.m4',
28 '/usr/share/aclocal-1.9/sanity.m4',
29 '/usr/share/aclocal-1.9/strip.m4',
30 '/usr/share/aclocal-1.9/tar.m4',
31 'configure.ac'
32 ],
33 {
34 'm4_pattern_forbid' => 1,
35 'AC_CONFIG_LIBOBJ_DIR' => 1,
36 'AC_C_VOLATILE' => 1,
37 'AC_TYPE_OFF_T' => 1,
38 'AC_FUNC_CLOSEDIR_VOID' => 1,
39 'AC_REPLACE_FNMATCH' => 1,
40 'AC_DEFUN' => 1,
41 'AC_PROG_LIBTOOL' => 1,
42 'AM_PROG_MKDIR_P' => 1,
43 'AC_FUNC_STAT' => 1,
44 'AC_FUNC_WAIT3' => 1,
45 'AC_HEADER_TIME' => 1,
46 'AM_AUTOMAKE_VERSION' => 1,
47 'AC_FUNC_LSTAT' => 1,
48 'AC_STRUCT_TM' => 1,
49 'AM_MISSING_HAS_RUN' => 1,
50 'AC_FUNC_GETMNTENT' => 1,
51 'AC_TYPE_MODE_T' => 1,
52 'AC_CHECK_HEADERS' => 1,
53 'AC_FUNC_STRTOD' => 1,
54 'AM_MISSING_PROG' => 1,
55 'AC_FUNC_STRNLEN' => 1,
56 'm4_sinclude' => 1,
57 'AC_PROG_CXX' => 1,
58 'AC_PATH_X' => 1,
59 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
60 'AM_PROG_INSTALL_STRIP' => 1,
61 '_PKG_SHORT_ERRORS_SUPPORTED' => 1,
62 'AC_PROG_AWK' => 1,
63 '_m4_warn' => 1,
64 'AC_HEADER_STDC' => 1,
65 'AC_HEADER_MAJOR' => 1,
66 'AM_SANITY_CHECK' => 1,
67 'PKG_CHECK_EXISTS' => 1,
68 '_AM_PROG_TAR' => 1,
69 'AC_FUNC_ERROR_AT_LINE' => 1,
70 'AC_PROG_GCC_TRADITIONAL' => 1,
71 'AM_DEP_TRACK' => 1,
72 'AC_LIBSOURCE' => 1,
73 'AC_FUNC_MBRTOWC' => 1,
74 'AC_STRUCT_ST_BLOCKS' => 1,
75 'AC_TYPE_SIGNAL' => 1,
76 '_AM_IF_OPTION' => 1,
77 'AC_TYPE_UID_T' => 1,
78 'AC_PROG_MAKE_SET' => 1,
79 'AC_CONFIG_AUX_DIR' => 1,
80 'm4_pattern_allow' => 1,
81 'sinclude' => 1,
82 'AM_SET_LEADING_DOT' => 1,
83 'AC_DEFINE_TRACE_LITERAL' => 1,
84 '_AM_DEPENDENCIES' => 1,
85 'AC_FUNC_STRERROR_R' => 1,
86 'AC_PROG_CC' => 1,
87 'AC_DECL_SYS_SIGLIST' => 1,
88 'AC_FUNC_FORK' => 1,
89 'PKG_CHECK_MODULES' => 1,
90 'AU_DEFUN' => 1,
91 'AC_FUNC_STRCOLL' => 1,
92 'AC_FUNC_VPRINTF' => 1,
93 'AC_PROG_YACC' => 1,
94 'AC_INIT' => 1,
95 'AC_STRUCT_TIMEZONE' => 1,
96 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1,
97 'jm_MAINTAINER_MODE' => 1,
98 'AC_FUNC_CHOWN' => 1,
99 'AC_FUNC_ALLOCA' => 1,
100 'AC_SUBST' => 1,
101 '_AM_SET_OPTION' => 1,
102 'AC_FUNC_GETPGRP' => 1,
103 'AC_CANONICAL_HOST' => 1,
104 'AC_PROG_RANLIB' => 1,
105 'AM_INIT_AUTOMAKE' => 1,
106 'AC_FUNC_SETPGRP' => 1,
107 'AC_CONFIG_SUBDIRS' => 1,
108 'AC_FUNC_MMAP' => 1,
109 'AC_FUNC_REALLOC' => 1,
110 'AC_TYPE_SIZE_T' => 1,
111 'AC_CHECK_TYPES' => 1,
112 'AC_CONFIG_LINKS' => 1,
113 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
114 'AC_CHECK_MEMBERS' => 1,
115 'AM_MAINTAINER_MODE' => 1,
116 'AC_DEFUN_ONCE' => 1,
117 'AC_FUNC_UTIME_NULL' => 1,
118 'AC_FUNC_SELECT_ARGTYPES' => 1,
119 'AC_FUNC_STRFTIME' => 1,
120 'AC_HEADER_STAT' => 1,
121 'AC_C_INLINE' => 1,
122 'AC_PROG_CPP' => 1,
123 'AC_C_CONST' => 1,
124 'AC_PROG_LEX' => 1,
125 'AC_TYPE_PID_T' => 1,
126 'AC_CONFIG_FILES' => 1,
127 'include' => 1,
128 'AC_FUNC_SETVBUF_REVERSED' => 1,
129 'AM_AUX_DIR_EXPAND' => 1,
130 'AC_PROG_INSTALL' => 1,
131 'AM_GNU_GETTEXT' => 1,
132 'AC_CHECK_LIB' => 1,
133 'AC_FUNC_OBSTACK' => 1,
134 'AC_FUNC_MALLOC' => 1,
135 '_AM_SET_OPTIONS' => 1,
136 'AC_FUNC_GETGROUPS' => 1,
137 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
138 'AM_RUN_LOG' => 1,
139 'AC_FUNC_GETLOADAVG' => 1,
140 'AH_OUTPUT' => 1,
141 'AC_FUNC_FSEEKO' => 1,
142 'AM_PROG_CC_C_O' => 1,
143 '_AM_MANGLE_OPTION' => 1,
144 'AC_FUNC_MKTIME' => 1,
145 'AM_CONDITIONAL' => 1,
146 'AC_CANONICAL_SYSTEM' => 1,
147 'AC_CONFIG_HEADERS' => 1,
148 'AM_SET_DEPDIR' => 1,
149 'AC_HEADER_SYS_WAIT' => 1,
150 'AC_FUNC_MEMCMP' => 1,
151 'AC_PROG_LN_S' => 1,
152 'PKG_PROG_PKG_CONFIG' => 1,
153 'AM_PROG_INSTALL_SH' => 1,
154 'm4_include' => 1,
155 'AC_HEADER_DIRENT' => 1,
156 'AC_CHECK_FUNCS' => 1,
157 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
158 'AM_MAKE_INCLUDE' => 1
159 }
160 ], 'Autom4te::Request' ),
161 bless( [
162 '1',
163 1,
164 [
165 '/usr/share/autoconf'
166 ],
167 [
168 '/usr/share/autoconf/autoconf/autoconf.m4f',
169 'aclocal.m4',
170 'configure.ac'
171 ],
172 {
173 '_LT_AC_TAGCONFIG' => 1,
174 'm4_pattern_forbid' => 1,
175 'AC_CANONICAL_TARGET' => 1,
176 'AC_CONFIG_LIBOBJ_DIR' => 1,
177 'AC_TYPE_OFF_T' => 1,
178 'AC_C_VOLATILE' => 1,
179 'AC_FUNC_CLOSEDIR_VOID' => 1,
180 'AC_REPLACE_FNMATCH' => 1,
181 'AC_PROG_LIBTOOL' => 1,
182 'AC_FUNC_STAT' => 1,
183 'AC_HEADER_TIME' => 1,
184 'AC_FUNC_WAIT3' => 1,
185 'AM_AUTOMAKE_VERSION' => 1,
186 'AC_STRUCT_TM' => 1,
187 'AC_FUNC_LSTAT' => 1,
188 'AC_TYPE_MODE_T' => 1,
189 'AC_FUNC_GETMNTENT' => 1,
190 'AC_CHECK_HEADERS' => 1,
191 'AC_FUNC_STRTOD' => 1,
192 'AC_FUNC_STRNLEN' => 1,
193 'm4_sinclude' => 1,
194 'AC_PROG_CXX' => 1,
195 'AC_PATH_X' => 1,
196 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
197 'AC_PROG_AWK' => 1,
198 '_m4_warn' => 1,
199 'AC_HEADER_STDC' => 1,
200 'AC_HEADER_MAJOR' => 1,
201 'AC_FUNC_ERROR_AT_LINE' => 1,
202 'AC_PROG_GCC_TRADITIONAL' => 1,
203 'AC_LIBSOURCE' => 1,
204 'AC_FUNC_MBRTOWC' => 1,
205 'AC_STRUCT_ST_BLOCKS' => 1,
206 'AC_TYPE_SIGNAL' => 1,
207 'AC_CANONICAL_BUILD' => 1,
208 'AC_TYPE_UID_T' => 1,
209 'AC_CONFIG_AUX_DIR' => 1,
210 'AC_PROG_MAKE_SET' => 1,
211 'sinclude' => 1,
212 'm4_pattern_allow' => 1,
213 'AC_DEFINE_TRACE_LITERAL' => 1,
214 'AC_FUNC_STRERROR_R' => 1,
215 'AC_PROG_CC' => 1,
216 'AC_DECL_SYS_SIGLIST' => 1,
217 'AC_FUNC_FORK' => 1,
218 'AC_FUNC_VPRINTF' => 1,
219 'AC_FUNC_STRCOLL' => 1,
220 'AC_PROG_YACC' => 1,
221 'AC_INIT' => 1,
222 'AC_STRUCT_TIMEZONE' => 1,
223 'AC_FUNC_CHOWN' => 1,
224 'AC_SUBST' => 1,
225 'AC_FUNC_ALLOCA' => 1,
226 'AC_CANONICAL_HOST' => 1,
227 'AC_FUNC_GETPGRP' => 1,
228 'AC_PROG_RANLIB' => 1,
229 'AM_INIT_AUTOMAKE' => 1,
230 'AC_FUNC_SETPGRP' => 1,
231 'AC_CONFIG_SUBDIRS' => 1,
232 'AC_FUNC_MMAP' => 1,
233 'AC_FUNC_REALLOC' => 1,
234 'AC_TYPE_SIZE_T' => 1,
235 'AC_CONFIG_LINKS' => 1,
236 'AC_CHECK_TYPES' => 1,
237 'LT_SUPPORTED_TAG' => 1,
238 'AC_CHECK_MEMBERS' => 1,
239 'AM_MAINTAINER_MODE' => 1,
240 'AC_FUNC_UTIME_NULL' => 1,
241 'AC_FUNC_SELECT_ARGTYPES' => 1,
242 'AC_FUNC_STRFTIME' => 1,
243 'AC_HEADER_STAT' => 1,
244 'AC_C_INLINE' => 1,
245 'AC_PROG_CPP' => 1,
246 'AC_TYPE_PID_T' => 1,
247 'AC_C_CONST' => 1,
248 'AC_PROG_LEX' => 1,
249 'AM_ENABLE_MULTILIB' => 1,
250 'AC_CONFIG_FILES' => 1,
251 'include' => 1,
252 'AC_FUNC_SETVBUF_REVERSED' => 1,
253 'AC_PROG_INSTALL' => 1,
254 'AM_GNU_GETTEXT' => 1,
255 'AC_CHECK_LIB' => 1,
256 'AC_FUNC_OBSTACK' => 1,
257 'AC_FUNC_MALLOC' => 1,
258 'AC_FUNC_GETGROUPS' => 1,
259 'AC_FUNC_GETLOADAVG' => 1,
260 'AH_OUTPUT' => 1,
261 'AC_FUNC_FSEEKO' => 1,
262 'AM_PROG_CC_C_O' => 1,
263 'AM_CONDITIONAL' => 1,
264 'AC_CANONICAL_SYSTEM' => 1,
265 'AC_FUNC_MKTIME' => 1,
266 'AC_CONFIG_HEADERS' => 1,
267 'AC_HEADER_SYS_WAIT' => 1,
268 'AC_FUNC_MEMCMP' => 1,
269 'AC_PROG_LN_S' => 1,
270 'm4_include' => 1,
271 'AC_HEADER_DIRENT' => 1,
272 'AC_CHECK_FUNCS' => 1
273 }
274 ], 'Autom4te::Request' )
275 );
276
+0
-1229
autom4te.cache/traces.0 less more
0 m4trace:/usr/share/aclocal/pkg.m4:44: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
2 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
3 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
5 fi
6 if test -n "$PKG_CONFIG"; then
7 _pkg_min_version=m4_default([$1], [0.9.0])
8 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
9 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10 AC_MSG_RESULT([yes])
11 else
12 AC_MSG_RESULT([no])
13 PKG_CONFIG=""
14 fi
15
16 fi[]dnl
17 ])
18 m4trace:/usr/share/aclocal/pkg.m4:63: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
19 if test -n "$PKG_CONFIG" && \
20 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
21 m4_ifval([$2], [$2], [:])
22 m4_ifvaln([$3], [else
23 $3])dnl
24 fi])
25 m4trace:/usr/share/aclocal/pkg.m4:91: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
26 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27 _pkg_short_errors_supported=yes
28 else
29 _pkg_short_errors_supported=no
30 fi[]dnl
31 ])
32 m4trace:/usr/share/aclocal/pkg.m4:157: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
33 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
34 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
35
36 pkg_failed=no
37 AC_MSG_CHECKING([for $1])
38
39 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
40 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
41
42 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
43 and $1[]_LIBS to avoid the need to call pkg-config.
44 See the pkg-config man page for more details.])
45
46 if test $pkg_failed = yes; then
47 _PKG_SHORT_ERRORS_SUPPORTED
48 if test $_pkg_short_errors_supported = yes; then
49 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
50 else
51 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
52 fi
53 # Put the nasty error message in config.log where it belongs
54 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
55
56 ifelse([$4], , [AC_MSG_ERROR(dnl
57 [Package requirements ($2) were not met:
58
59 $$1_PKG_ERRORS
60
61 Consider adjusting the PKG_CONFIG_PATH environment variable if you
62 installed software in a non-standard prefix.
63
64 _PKG_TEXT
65 ])],
66 [AC_MSG_RESULT([no])
67 $4])
68 elif test $pkg_failed = untried; then
69 ifelse([$4], , [AC_MSG_FAILURE(dnl
70 [The pkg-config script could not be found or is too old. Make sure it
71 is in your PATH or set the PKG_CONFIG environment variable to the full
72 path to pkg-config.
73
74 _PKG_TEXT
75
76 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
77 [$4])
78 else
79 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
80 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
81 AC_MSG_RESULT([yes])
82 ifelse([$3], , :, [$3])
83 fi[]dnl
84 ])
85 m4trace:/usr/share/aclocal-1.9/amversion.m4:13: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
86 m4trace:/usr/share/aclocal-1.9/amversion.m4:20: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])])
87 m4trace:/usr/share/aclocal-1.9/auxdir.m4:52: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
88 AC_PREREQ([2.50])dnl
89 # expand $ac_aux_dir to an absolute path
90 am_aux_dir=`cd $ac_aux_dir && pwd`
91 ])
92 m4trace:/usr/share/aclocal-1.9/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
93 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
94 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
95 AC_SUBST([$1_TRUE])
96 AC_SUBST([$1_FALSE])
97 if $2; then
98 $1_TRUE=
99 $1_FALSE='#'
100 else
101 $1_TRUE='#'
102 $1_FALSE=
103 fi
104 AC_CONFIG_COMMANDS_PRE(
105 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
106 AC_MSG_ERROR([[conditional "$1" was never defined.
107 Usually this means the macro was only invoked conditionally.]])
108 fi])])
109 m4trace:/usr/share/aclocal-1.9/depend.m4:131: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
110 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
111 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
112 AC_REQUIRE([AM_DEP_TRACK])dnl
113
114 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
115 [$1], CXX, [depcc="$CXX" am_compiler_list=],
116 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
117 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
118 [depcc="$$1" am_compiler_list=])
119
120 AC_CACHE_CHECK([dependency style of $depcc],
121 [am_cv_$1_dependencies_compiler_type],
122 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
123 # We make a subdir and do the tests there. Otherwise we can end up
124 # making bogus files that we don't know about and never remove. For
125 # instance it was reported that on HP-UX the gcc test will end up
126 # making a dummy file named `D' -- because `-MD' means `put the output
127 # in D'.
128 mkdir conftest.dir
129 # Copy depcomp to subdir because otherwise we won't find it if we're
130 # using a relative directory.
131 cp "$am_depcomp" conftest.dir
132 cd conftest.dir
133 # We will build objects and dependencies in a subdirectory because
134 # it helps to detect inapplicable dependency modes. For instance
135 # both Tru64's cc and ICC support -MD to output dependencies as a
136 # side effect of compilation, but ICC will put the dependencies in
137 # the current directory while Tru64 will put them in the object
138 # directory.
139 mkdir sub
140
141 am_cv_$1_dependencies_compiler_type=none
142 if test "$am_compiler_list" = ""; then
143 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
144 fi
145 for depmode in $am_compiler_list; do
146 # Setup a source with many dependencies, because some compilers
147 # like to wrap large dependency lists on column 80 (with \), and
148 # we should not choose a depcomp mode which is confused by this.
149 #
150 # We need to recreate these files for each test, as the compiler may
151 # overwrite some of them when testing with obscure command lines.
152 # This happens at least with the AIX C compiler.
153 : > sub/conftest.c
154 for i in 1 2 3 4 5 6; do
155 echo '#include "conftst'$i'.h"' >> sub/conftest.c
156 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
157 # Solaris 8's {/usr,}/bin/sh.
158 touch sub/conftst$i.h
159 done
160 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
161
162 case $depmode in
163 nosideeffect)
164 # after this tag, mechanisms are not by side-effect, so they'll
165 # only be used when explicitly requested
166 if test "x$enable_dependency_tracking" = xyes; then
167 continue
168 else
169 break
170 fi
171 ;;
172 none) break ;;
173 esac
174 # We check with `-c' and `-o' for the sake of the "dashmstdout"
175 # mode. It turns out that the SunPro C++ compiler does not properly
176 # handle `-M -o', and we need to detect this.
177 if depmode=$depmode \
178 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
179 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
180 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
181 >/dev/null 2>conftest.err &&
182 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
183 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
184 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
185 # icc doesn't choke on unknown options, it will just issue warnings
186 # or remarks (even with -Werror). So we grep stderr for any message
187 # that says an option was ignored or not supported.
188 # When given -MP, icc 7.0 and 7.1 complain thusly:
189 # icc: Command line warning: ignoring option '-M'; no argument required
190 # The diagnosis changed in icc 8.0:
191 # icc: Command line remark: option '-MP' not supported
192 if (grep 'ignoring option' conftest.err ||
193 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
194 am_cv_$1_dependencies_compiler_type=$depmode
195 break
196 fi
197 fi
198 done
199
200 cd ..
201 rm -rf conftest.dir
202 else
203 am_cv_$1_dependencies_compiler_type=none
204 fi
205 ])
206 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
207 AM_CONDITIONAL([am__fastdep$1], [
208 test "x$enable_dependency_tracking" != xno \
209 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
210 ])
211 m4trace:/usr/share/aclocal-1.9/depend.m4:141: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
212 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
213 ])
214 m4trace:/usr/share/aclocal-1.9/depend.m4:156: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
215 [ --disable-dependency-tracking speeds up one-time build
216 --enable-dependency-tracking do not reject slow dependency extractors])
217 if test "x$enable_dependency_tracking" != xno; then
218 am_depcomp="$ac_aux_dir/depcomp"
219 AMDEPBACKSLASH='\'
220 fi
221 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
222 AC_SUBST([AMDEPBACKSLASH])
223 ])
224 m4trace:/usr/share/aclocal-1.9/depout.m4:53: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
225 # Strip MF so we end up with the name of the file.
226 mf=`echo "$mf" | sed -e 's/:.*$//'`
227 # Check whether this is an Automake generated Makefile or not.
228 # We used to match only the files named `Makefile.in', but
229 # some people rename them; so instead we look at the file content.
230 # Grep'ing the first line is not enough: some people post-process
231 # each Makefile.in and add a new line on top of each file to say so.
232 # So let's grep whole file.
233 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
234 dirpart=`AS_DIRNAME("$mf")`
235 else
236 continue
237 fi
238 # Extract the definition of DEPDIR, am__include, and am__quote
239 # from the Makefile without running `make'.
240 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
241 test -z "$DEPDIR" && continue
242 am__include=`sed -n 's/^am__include = //p' < "$mf"`
243 test -z "am__include" && continue
244 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
245 # When using ansi2knr, U may be empty or an underscore; expand it
246 U=`sed -n 's/^U = //p' < "$mf"`
247 # Find all dependency output files, they are included files with
248 # $(DEPDIR) in their names. We invoke sed twice because it is the
249 # simplest approach to changing $(DEPDIR) to its actual value in the
250 # expansion.
251 for file in `sed -n "
252 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
253 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
254 # Make sure the directory exists.
255 test -f "$dirpart/$file" && continue
256 fdir=`AS_DIRNAME(["$file"])`
257 AS_MKDIR_P([$dirpart/$fdir])
258 # echo "creating $dirpart/$file"
259 echo '# dummy' > "$dirpart/$file"
260 done
261 done
262 ])
263 m4trace:/usr/share/aclocal-1.9/depout.m4:67: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
264 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
265 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
266 ])
267 m4trace:/usr/share/aclocal-1.9/init.m4:92: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl
268 dnl Autoconf wants to disallow AM_ names. We explicitly allow
269 dnl the ones we care about.
270 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
271 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
272 AC_REQUIRE([AC_PROG_INSTALL])dnl
273 # test to see if srcdir already configured
274 if test "`cd $srcdir && pwd`" != "`pwd`" &&
275 test -f $srcdir/config.status; then
276 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
277 fi
278
279 # test whether we have cygpath
280 if test -z "$CYGPATH_W"; then
281 if (cygpath --version) >/dev/null 2>/dev/null; then
282 CYGPATH_W='cygpath -w'
283 else
284 CYGPATH_W=echo
285 fi
286 fi
287 AC_SUBST([CYGPATH_W])
288
289 # Define the identity of the package.
290 dnl Distinguish between old-style and new-style calls.
291 m4_ifval([$2],
292 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
293 AC_SUBST([PACKAGE], [$1])dnl
294 AC_SUBST([VERSION], [$2])],
295 [_AM_SET_OPTIONS([$1])dnl
296 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
297 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
298
299 _AM_IF_OPTION([no-define],,
300 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
301 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
302
303 # Some tools Automake needs.
304 AC_REQUIRE([AM_SANITY_CHECK])dnl
305 AC_REQUIRE([AC_ARG_PROGRAM])dnl
306 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
307 AM_MISSING_PROG(AUTOCONF, autoconf)
308 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
309 AM_MISSING_PROG(AUTOHEADER, autoheader)
310 AM_MISSING_PROG(MAKEINFO, makeinfo)
311 AM_PROG_INSTALL_SH
312 AM_PROG_INSTALL_STRIP
313 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
314 # We need awk for the "check" target. The system "awk" is bad on
315 # some platforms.
316 AC_REQUIRE([AC_PROG_AWK])dnl
317 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
318 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
319 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
320 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
321 [_AM_PROG_TAR([v7])])])
322 _AM_IF_OPTION([no-dependencies],,
323 [AC_PROVIDE_IFELSE([AC_PROG_CC],
324 [_AM_DEPENDENCIES(CC)],
325 [define([AC_PROG_CC],
326 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
327 AC_PROVIDE_IFELSE([AC_PROG_CXX],
328 [_AM_DEPENDENCIES(CXX)],
329 [define([AC_PROG_CXX],
330 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
331 ])
332 ])
333 m4trace:/usr/share/aclocal-1.9/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
334 _am_stamp_count=1
335 for _am_header in $config_headers :; do
336 case $_am_header in
337 $1 | $1:* )
338 break ;;
339 * )
340 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
341 esac
342 done
343 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
344 m4trace:/usr/share/aclocal-1.9/install-sh.m4:14: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
345 install_sh=${install_sh-"$am_aux_dir/install-sh"}
346 AC_SUBST(install_sh)])
347 m4trace:/usr/share/aclocal-1.9/lead-dot.m4:21: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
348 mkdir .tst 2>/dev/null
349 if test -d .tst; then
350 am__leading_dot=.
351 else
352 am__leading_dot=_
353 fi
354 rmdir .tst 2>/dev/null
355 AC_SUBST([am__leading_dot])])
356 m4trace:/usr/share/aclocal-1.9/maintainer.m4:26: -1- AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
357 dnl maintainer-mode is disabled by default
358 AC_ARG_ENABLE(maintainer-mode,
359 [ --enable-maintainer-mode enable make rules and dependencies not useful
360 (and sometimes confusing) to the casual installer],
361 USE_MAINTAINER_MODE=$enableval,
362 USE_MAINTAINER_MODE=no)
363 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
364 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
365 MAINT=$MAINTAINER_MODE_TRUE
366 AC_SUBST(MAINT)dnl
367
368 ])
369 m4trace:/usr/share/aclocal-1.9/maintainer.m4:28: -1- AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
370 m4trace:/usr/share/aclocal-1.9/maintainer.m4:28: -1- AC_DEFUN([jm_MAINTAINER_MODE], [AC_DIAGNOSE([obsolete], [The macro `jm_MAINTAINER_MODE' is obsolete.
371 You should run autoupdate.])dnl
372 AM_MAINTAINER_MODE])
373 m4trace:/usr/share/aclocal-1.9/make.m4:51: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
374 cat > confinc << 'END'
375 am__doit:
376 @echo done
377 .PHONY: am__doit
378 END
379 # If we don't find an include directive, just comment out the code.
380 AC_MSG_CHECKING([for style of include used by $am_make])
381 am__include="#"
382 am__quote=
383 _am_result=none
384 # First try GNU make style include.
385 echo "include confinc" > confmf
386 # We grep out `Entering directory' and `Leaving directory'
387 # messages which can occur if `w' ends up in MAKEFLAGS.
388 # In particular we don't look at `^make:' because GNU make might
389 # be invoked under some other name (usually "gmake"), in which
390 # case it prints its new name instead of `make'.
391 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
392 am__include=include
393 am__quote=
394 _am_result=GNU
395 fi
396 # Now try BSD make style include.
397 if test "$am__include" = "#"; then
398 echo '.include "confinc"' > confmf
399 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
400 am__include=.include
401 am__quote="\""
402 _am_result=BSD
403 fi
404 fi
405 AC_SUBST([am__include])
406 AC_SUBST([am__quote])
407 AC_MSG_RESULT([$_am_result])
408 rm -f confinc confmf
409 ])
410 m4trace:/usr/share/aclocal-1.9/missing.m4:17: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
411 $1=${$1-"${am_missing_run}$2"}
412 AC_SUBST($1)])
413 m4trace:/usr/share/aclocal-1.9/missing.m4:34: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
414 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
415 # Use eval to expand $SHELL
416 if eval "$MISSING --run true"; then
417 am_missing_run="$MISSING --run "
418 else
419 am_missing_run=
420 AC_MSG_WARN([`missing' script is too old or missing])
421 fi
422 ])
423 m4trace:/usr/share/aclocal-1.9/mkdirp.m4:63: -1- AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
424 # We used to keeping the `.' as first argument, in order to
425 # allow $(mkdir_p) to be used without argument. As in
426 # $(mkdir_p) $(somedir)
427 # where $(somedir) is conditionally defined. However this is wrong
428 # for two reasons:
429 # 1. if the package is installed by a user who cannot write `.'
430 # make install will fail,
431 # 2. the above comment should most certainly read
432 # $(mkdir_p) $(DESTDIR)$(somedir)
433 # so it does not work when $(somedir) is undefined and
434 # $(DESTDIR) is not.
435 # To support the latter case, we have to write
436 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
437 # so the `.' trick is pointless.
438 mkdir_p='mkdir -p --'
439 else
440 # On NextStep and OpenStep, the `mkdir' command does not
441 # recognize any option. It will interpret all options as
442 # directories to create, and then abort because `.' already
443 # exists.
444 for d in ./-p ./--version;
445 do
446 test -d $d && rmdir $d
447 done
448 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
449 if test -f "$ac_aux_dir/mkinstalldirs"; then
450 mkdir_p='$(mkinstalldirs)'
451 else
452 mkdir_p='$(install_sh) -d'
453 fi
454 fi
455 AC_SUBST([mkdir_p])])
456 m4trace:/usr/share/aclocal-1.9/options.m4:14: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
457 m4trace:/usr/share/aclocal-1.9/options.m4:20: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
458 m4trace:/usr/share/aclocal-1.9/options.m4:26: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
459 m4trace:/usr/share/aclocal-1.9/options.m4:32: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
460 m4trace:/usr/share/aclocal-1.9/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
461 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
462 ac_status=$?
463 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
464 (exit $ac_status); }])
465 m4trace:/usr/share/aclocal-1.9/sanity.m4:51: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
466 # Just in case
467 sleep 1
468 echo timestamp > conftest.file
469 # Do `set' in a subshell so we don't clobber the current shell's
470 # arguments. Must try -L first in case configure is actually a
471 # symlink; some systems play weird games with the mod time of symlinks
472 # (eg FreeBSD returns the mod time of the symlink's containing
473 # directory).
474 if (
475 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
476 if test "$[*]" = "X"; then
477 # -L didn't work.
478 set X `ls -t $srcdir/configure conftest.file`
479 fi
480 rm -f conftest.file
481 if test "$[*]" != "X $srcdir/configure conftest.file" \
482 && test "$[*]" != "X conftest.file $srcdir/configure"; then
483
484 # If neither matched, then we have a broken ls. This can happen
485 # if, for instance, CONFIG_SHELL is bash and it inherits a
486 # broken ls alias from the environment. This has actually
487 # happened. Such a system could not be considered "sane".
488 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
489 alias in your environment])
490 fi
491
492 test "$[2]" = conftest.file
493 )
494 then
495 # Ok.
496 :
497 else
498 AC_MSG_ERROR([newly created file is older than distributed files!
499 Check your system clock])
500 fi
501 AC_MSG_RESULT(yes)])
502 m4trace:/usr/share/aclocal-1.9/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
503 # Installed binaries are usually stripped using `strip' when the user
504 # run `make install-strip'. However `strip' might not be the right
505 # tool to use in cross-compilation environments, therefore Automake
506 # will honor the `STRIP' environment variable to overrule this program.
507 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
508 if test "$cross_compiling" != no; then
509 AC_CHECK_TOOL([STRIP], [strip], :)
510 fi
511 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
512 AC_SUBST([INSTALL_STRIP_PROGRAM])])
513 m4trace:/usr/share/aclocal-1.9/tar.m4:95: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
514 AM_MISSING_PROG([AMTAR], [tar])
515 m4_if([$1], [v7],
516 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
517 [m4_case([$1], [ustar],, [pax],,
518 [m4_fatal([Unknown tar format])])
519 AC_MSG_CHECKING([how to create a $1 tar archive])
520 # Loop over all known methods to create a tar archive until one works.
521 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
522 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
523 # Do not fold the above two line into one, because Tru64 sh and
524 # Solaris sh will not grok spaces in the rhs of `-'.
525 for _am_tool in $_am_tools
526 do
527 case $_am_tool in
528 gnutar)
529 for _am_tar in tar gnutar gtar;
530 do
531 AM_RUN_LOG([$_am_tar --version]) && break
532 done
533 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
534 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
535 am__untar="$_am_tar -xf -"
536 ;;
537 plaintar)
538 # Must skip GNU tar: if it does not support --format= it doesn't create
539 # ustar tarball either.
540 (tar --version) >/dev/null 2>&1 && continue
541 am__tar='tar chf - "$$tardir"'
542 am__tar_='tar chf - "$tardir"'
543 am__untar='tar xf -'
544 ;;
545 pax)
546 am__tar='pax -L -x $1 -w "$$tardir"'
547 am__tar_='pax -L -x $1 -w "$tardir"'
548 am__untar='pax -r'
549 ;;
550 cpio)
551 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
552 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
553 am__untar='cpio -i -H $1 -d'
554 ;;
555 none)
556 am__tar=false
557 am__tar_=false
558 am__untar=false
559 ;;
560 esac
561
562 # If the value was cached, stop now. We just wanted to have am__tar
563 # and am__untar set.
564 test -n "${am_cv_prog_tar_$1}" && break
565
566 # tar/untar a dummy directory, and stop if the command works
567 rm -rf conftest.dir
568 mkdir conftest.dir
569 echo GrepMe > conftest.dir/file
570 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
571 rm -rf conftest.dir
572 if test -s conftest.tar; then
573 AM_RUN_LOG([$am__untar <conftest.tar])
574 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
575 fi
576 done
577 rm -rf conftest.dir
578
579 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
580 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
581 AC_SUBST([am__tar])
582 AC_SUBST([am__untar])
583 ])
584 m4trace:configure.ac:5: -1- AC_INIT([gtkwave], [3.3.23], [bybell@nc.rr.com])
585 m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
586 m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
587 m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
588 m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
589 m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
590 m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
591 m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
592 m4trace:configure.ac:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
593 m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR])
594 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
595 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
596 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
597 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
598 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
599 m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE])
600 m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE])
601 m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
602 m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
603 m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
604 m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
605 m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${prefix}/share'])
606 m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
607 m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
608 m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
609 m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
610 m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
611 m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
612 m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${prefix}/info'])
613 m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${prefix}/man'])
614 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
615 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
616 #undef PACKAGE_NAME])
617 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
618 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
619 #undef PACKAGE_TARNAME])
620 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
621 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
622 #undef PACKAGE_VERSION])
623 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
624 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
625 #undef PACKAGE_STRING])
626 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
627 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
628 #undef PACKAGE_BUGREPORT])
629 m4trace:configure.ac:5: -1- AC_SUBST([build_alias])
630 m4trace:configure.ac:5: -1- AC_SUBST([host_alias])
631 m4trace:configure.ac:5: -1- AC_SUBST([target_alias])
632 m4trace:configure.ac:5: -1- AC_SUBST([DEFS])
633 m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C])
634 m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N])
635 m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T])
636 m4trace:configure.ac:5: -1- AC_SUBST([LIBS])
637 m4trace:configure.ac:7: -1- AM_INIT_AUTOMAKE
638 m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
639 m4trace:configure.ac:7: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
640 m4trace:configure.ac:7: -1- AM_AUTOMAKE_VERSION([1.9.6])
641 m4trace:configure.ac:7: -1- AC_PROG_INSTALL
642 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_PROGRAM])
643 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_SCRIPT])
644 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_DATA])
645 m4trace:configure.ac:7: -1- AC_SUBST([CYGPATH_W])
646 m4trace:configure.ac:7: -1- _AM_SET_OPTIONS([])
647 m4trace:configure.ac:7: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
648 m4trace:configure.ac:7: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
649 m4trace:configure.ac:7: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
650 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
651 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([no-define])
652 m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
653 m4trace:configure.ac:7: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
654 #undef PACKAGE])
655 m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
656 m4trace:configure.ac:7: -1- AH_OUTPUT([VERSION], [/* Version number of package */
657 #undef VERSION])
658 m4trace:configure.ac:7: -1- AM_SANITY_CHECK
659 m4trace:configure.ac:7: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
660 m4trace:configure.ac:7: -1- AM_MISSING_HAS_RUN
661 m4trace:configure.ac:7: -1- AM_AUX_DIR_EXPAND
662 m4trace:configure.ac:7: -1- AC_SUBST([ACLOCAL])
663 m4trace:configure.ac:7: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
664 m4trace:configure.ac:7: -1- AC_SUBST([AUTOCONF])
665 m4trace:configure.ac:7: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
666 m4trace:configure.ac:7: -1- AC_SUBST([AUTOMAKE])
667 m4trace:configure.ac:7: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
668 m4trace:configure.ac:7: -1- AC_SUBST([AUTOHEADER])
669 m4trace:configure.ac:7: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
670 m4trace:configure.ac:7: -1- AC_SUBST([MAKEINFO])
671 m4trace:configure.ac:7: -1- AM_PROG_INSTALL_SH
672 m4trace:configure.ac:7: -1- AC_SUBST([install_sh])
673 m4trace:configure.ac:7: -1- AM_PROG_INSTALL_STRIP
674 m4trace:configure.ac:7: -1- AC_SUBST([STRIP])
675 m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_STRIP])
676 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
677 m4trace:configure.ac:7: -1- AM_PROG_MKDIR_P
678 m4trace:configure.ac:7: -1- AC_SUBST([mkdir_p])
679 m4trace:configure.ac:7: -1- AC_PROG_AWK
680 m4trace:configure.ac:7: -1- AC_SUBST([AWK])
681 m4trace:configure.ac:7: -1- AC_PROG_MAKE_SET
682 m4trace:configure.ac:7: -1- AC_SUBST([SET_MAKE])
683 m4trace:configure.ac:7: -1- AM_SET_LEADING_DOT
684 m4trace:configure.ac:7: -1- AC_SUBST([am__leading_dot])
685 m4trace:configure.ac:7: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
686 [_AM_PROG_TAR([v7])])])
687 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([tar-ustar])
688 m4trace:configure.ac:7: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
689 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([tar-pax])
690 m4trace:configure.ac:7: -1- _AM_PROG_TAR([v7])
691 m4trace:configure.ac:7: -1- AM_MISSING_PROG([AMTAR], [tar])
692 m4trace:configure.ac:7: -1- AC_SUBST([AMTAR])
693 m4trace:configure.ac:7: -1- AC_SUBST([am__tar])
694 m4trace:configure.ac:7: -1- AC_SUBST([am__untar])
695 m4trace:configure.ac:7: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
696 [_AM_DEPENDENCIES(CC)],
697 [define([AC_PROG_CC],
698 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
699 AC_PROVIDE_IFELSE([AC_PROG_CXX],
700 [_AM_DEPENDENCIES(CXX)],
701 [define([AC_PROG_CXX],
702 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
703 ])
704 m4trace:configure.ac:7: -2- _AM_MANGLE_OPTION([no-dependencies])
705 m4trace:configure.ac:8: -1- AC_CONFIG_HEADERS([config.h])
706 m4trace:configure.ac:9: -1- AM_MAINTAINER_MODE
707 m4trace:configure.ac:9: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
708 m4trace:configure.ac:9: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
709 m4trace:configure.ac:9: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
710 m4trace:configure.ac:9: -1- AC_SUBST([MAINT])
711 m4trace:configure.ac:33: -1- AC_SUBST([INLINE_ASM])
712 m4trace:configure.ac:55: -1- AC_SUBST([STRUCT_PACK])
713 m4trace:configure.ac:89: -1- AC_SUBST([TCL_INCLUDE_SPEC])
714 m4trace:configure.ac:90: -1- AC_SUBST([TCL_LIB_SPEC])
715 m4trace:configure.ac:92: -1- AC_SUBST([TCL_MAJOR_VERSION])
716 m4trace:configure.ac:93: -1- AC_SUBST([TCL_MINOR_VERSION])
717 m4trace:configure.ac:115: -1- AC_SUBST([TK_INCLUDE_SPEC])
718 m4trace:configure.ac:116: -1- AC_SUBST([TK_LIB_SPEC])
719 m4trace:configure.ac:209: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
720 configure.ac:209: the top level])
721 m4trace:configure.ac:216: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
722 configure.ac:216: the top level])
723 m4trace:configure.ac:227: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
724 configure.ac:227: the top level])
725 m4trace:configure.ac:230: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
726 configure.ac:230: the top level])
727 m4trace:configure.ac:239: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
728 configure.ac:239: the top level])
729 m4trace:configure.ac:241: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
730 configure.ac:241: the top level])
731 m4trace:configure.ac:255: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
732 configure.ac:255: the top level])
733 m4trace:configure.ac:266: -1- AC_SUBST([AET2_CFLAGS])
734 m4trace:configure.ac:267: -1- AC_SUBST([AET2_LDADD])
735 m4trace:configure.ac:272: -1- AC_PROG_AWK
736 m4trace:configure.ac:272: -1- AC_SUBST([AWK])
737 m4trace:configure.ac:273: -1- AC_PROG_CC
738 m4trace:configure.ac:273: -1- AC_SUBST([CC])
739 m4trace:configure.ac:273: -1- AC_SUBST([CFLAGS])
740 m4trace:configure.ac:273: -1- AC_SUBST([LDFLAGS])
741 m4trace:configure.ac:273: -1- AC_SUBST([CPPFLAGS])
742 m4trace:configure.ac:273: -1- AC_SUBST([CC])
743 m4trace:configure.ac:273: -1- AC_SUBST([ac_ct_CC])
744 m4trace:configure.ac:273: -1- AC_SUBST([CC])
745 m4trace:configure.ac:273: -1- AC_SUBST([ac_ct_CC])
746 m4trace:configure.ac:273: -1- AC_SUBST([CC])
747 m4trace:configure.ac:273: -1- AC_SUBST([CC])
748 m4trace:configure.ac:273: -1- AC_SUBST([ac_ct_CC])
749 m4trace:configure.ac:273: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
750 m4trace:configure.ac:273: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
751 m4trace:configure.ac:273: -1- _AM_DEPENDENCIES([CC])
752 m4trace:configure.ac:273: -1- AM_SET_DEPDIR
753 m4trace:configure.ac:273: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
754 m4trace:configure.ac:273: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
755 m4trace:configure.ac:273: -1- AM_MAKE_INCLUDE
756 m4trace:configure.ac:273: -1- AC_SUBST([am__include])
757 m4trace:configure.ac:273: -1- AC_SUBST([am__quote])
758 m4trace:configure.ac:273: -1- AM_DEP_TRACK
759 m4trace:configure.ac:273: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
760 m4trace:configure.ac:273: -1- AC_SUBST([AMDEP_TRUE])
761 m4trace:configure.ac:273: -1- AC_SUBST([AMDEP_FALSE])
762 m4trace:configure.ac:273: -1- AC_SUBST([AMDEPBACKSLASH])
763 m4trace:configure.ac:273: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
764 m4trace:configure.ac:273: -1- AM_CONDITIONAL([am__fastdepCC], [
765 test "x$enable_dependency_tracking" != xno \
766 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
767 m4trace:configure.ac:273: -1- AC_SUBST([am__fastdepCC_TRUE])
768 m4trace:configure.ac:273: -1- AC_SUBST([am__fastdepCC_FALSE])
769 m4trace:configure.ac:274: -1- AC_PROG_MAKE_SET
770 m4trace:configure.ac:274: -1- AC_SUBST([SET_MAKE])
771 m4trace:configure.ac:275: -1- AC_PROG_LEX
772 m4trace:configure.ac:275: -1- AC_SUBST([LEX])
773 m4trace:configure.ac:275: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
774 m4trace:configure.ac:275: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
775 m4trace:configure.ac:275: -1- AC_SUBST([LEXLIB])
776 m4trace:configure.ac:275: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
777 m4trace:configure.ac:275: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
778 m4trace:configure.ac:275: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
779 `char[]\'. */
780 #undef YYTEXT_POINTER])
781 m4trace:configure.ac:276: -1- AC_PROG_RANLIB
782 m4trace:configure.ac:276: -1- AC_SUBST([RANLIB])
783 m4trace:configure.ac:276: -1- AC_SUBST([ac_ct_RANLIB])
784 m4trace:configure.ac:281: -1- AC_SUBST([EXTDEBUG], [$ac_cv_path_EXTDEBUG])
785 m4trace:configure.ac:288: -1- AC_SUBST([EXTLOAD_CFLAGS])
786 m4trace:configure.ac:294: -1- AC_SUBST([GPERF], [$ac_cv_path_GPERF])
787 m4trace:configure.ac:303: -1- AC_CHECK_LIB([dl], [dlopen])
788 m4trace:configure.ac:303: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */
789 #undef HAVE_LIBDL])
790 m4trace:configure.ac:303: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL])
791 m4trace:configure.ac:304: -1- AC_CHECK_LIB([m], [sqrt])
792 m4trace:configure.ac:304: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */
793 #undef HAVE_LIBM])
794 m4trace:configure.ac:304: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM])
795 m4trace:configure.ac:305: -1- AC_CHECK_LIB([pthread], [main])
796 m4trace:configure.ac:305: -1- AH_OUTPUT([HAVE_LIBPTHREAD], [/* Define to 1 if you have the `pthread\' library (-lpthread). */
797 #undef HAVE_LIBPTHREAD])
798 m4trace:configure.ac:305: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPTHREAD])
799 m4trace:configure.ac:330: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
800 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
801 configure.ac:330: the top level])
802 m4trace:configure.ac:337: -1- AC_CHECK_LIB([z], [gzread], [LIBZ_LDADD=-lz ], [need_libz=yes])
803 m4trace:configure.ac:365: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
804 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
805 configure.ac:365: the top level])
806 m4trace:configure.ac:372: -1- AC_CHECK_LIB([bz2], [BZ2_bzread], [LIBBZ2_LDADD=-lbz2], [need_libbz2=yes])
807 m4trace:configure.ac:389: -1- AC_SUBST([LIBZ_CFLAGS])
808 m4trace:configure.ac:390: -1- AC_SUBST([LIBZ_LDADD])
809 m4trace:configure.ac:391: -1- AC_SUBST([LIBZ_DIR])
810 m4trace:configure.ac:399: -1- AC_SUBST([LIBBZ2_CFLAGS])
811 m4trace:configure.ac:400: -1- AC_SUBST([LIBBZ2_LDADD])
812 m4trace:configure.ac:401: -1- AC_SUBST([LIBBZ2_DIR])
813 m4trace:configure.ac:421: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
814 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
815 configure.ac:421: the top level])
816 m4trace:configure.ac:422: -1- AC_CHECK_LIB([lzma], [lzma_end], [LIBLZMA_LDADD=-llzma ], [have_liblzma=yes])
817 m4trace:configure.ac:430: -1- AC_SUBST([LIBXZ_LDADD])
818 m4trace:configure.ac:431: -1- AC_SUBST([LIBXZ_CFLAGS])
819 m4trace:configure.ac:451: -1- AC_SUBST([FASTTREE_CFLAGS])
820 m4trace:configure.ac:473: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
821 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
822 configure.ac:473: the top level])
823 m4trace:configure.ac:474: -1- AC_CHECK_LIB([Judy], [JudySLIns], [LIBJUDY_LDADD=-lJudy ], [have_libjudy=yes])
824 m4trace:configure.ac:482: -1- AC_SUBST([LIBJUDY_LDADD])
825 m4trace:configure.ac:483: -1- AC_SUBST([LIBJUDY_CFLAGS])
826 m4trace:configure.ac:487: -1- AC_SUBST([GTK_CONFIG], [$ac_cv_path_GTK_CONFIG])
827 m4trace:configure.ac:511: -1- PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.2.0])
828 m4trace:configure.ac:511: -1- PKG_PROG_PKG_CONFIG
829 m4trace:configure.ac:511: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
830 m4trace:configure.ac:511: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
831 m4trace:configure.ac:511: -1- AC_SUBST([PKG_CONFIG])
832 m4trace:configure.ac:511: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
833 m4trace:configure.ac:511: -1- AC_SUBST([ac_pt_PKG_CONFIG], [$ac_cv_path_ac_pt_PKG_CONFIG])
834 m4trace:configure.ac:511: -1- AC_SUBST([GTK_CFLAGS])
835 m4trace:configure.ac:511: -1- AC_SUBST([GTK_LIBS])
836 m4trace:configure.ac:511: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.2.0], [pkg_cv_[]GTK_CFLAGS=`$PKG_CONFIG --[]cflags "gtk+-2.0 >= 2.2.0" 2>/dev/null`], [pkg_failed=yes])
837 m4trace:configure.ac:511: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.2.0], [pkg_cv_[]GTK_LIBS=`$PKG_CONFIG --[]libs "gtk+-2.0 >= 2.2.0" 2>/dev/null`], [pkg_failed=yes])
838 m4trace:configure.ac:511: -1- _PKG_SHORT_ERRORS_SUPPORTED
839 m4trace:configure.ac:516: -1- AC_FUNC_ALLOCA
840 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H])
841 m4trace:configure.ac:516: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
842 */
843 #undef HAVE_ALLOCA_H])
844 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
845 m4trace:configure.ac:516: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */
846 #undef HAVE_ALLOCA])
847 m4trace:configure.ac:516: -1- AC_LIBSOURCE([alloca.c])
848 m4trace:configure.ac:516: -1- AC_SUBST([ALLOCA], [alloca.$ac_objext])
849 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA])
850 m4trace:configure.ac:516: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */
851 #undef C_ALLOCA])
852 m4trace:configure.ac:516: -1- AC_PROG_CPP
853 m4trace:configure.ac:516: -1- AC_SUBST([CPP])
854 m4trace:configure.ac:516: -1- AC_SUBST([CPPFLAGS])
855 m4trace:configure.ac:516: -1- AC_SUBST([CPP])
856 m4trace:configure.ac:516: -1- AC_SUBST([EGREP])
857 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END])
858 m4trace:configure.ac:516: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP
859 systems. This function is required for `alloca.c\' support on those systems.
860 */
861 #undef CRAY_STACKSEG_END])
862 m4trace:configure.ac:516: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the
863 direction of stack growth for your system; otherwise it will be
864 automatically deduced at run-time.
865 STACK_DIRECTION > 0 => grows toward higher addresses
866 STACK_DIRECTION < 0 => grows toward lower addresses
867 STACK_DIRECTION = 0 => direction of growth unknown */
868 @%:@undef STACK_DIRECTION])
869 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION])
870 m4trace:configure.ac:517: -1- AC_HEADER_DIRENT
871 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR\'.
872 */
873 #undef HAVE_DIRENT_H])
874 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR\'.
875 */
876 #undef HAVE_SYS_NDIR_H])
877 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR\'.
878 */
879 #undef HAVE_SYS_DIR_H])
880 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR\'. */
881 #undef HAVE_NDIR_H])
882 m4trace:configure.ac:518: -1- AC_HEADER_STDC
883 m4trace:configure.ac:518: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
884 m4trace:configure.ac:518: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
885 #undef STDC_HEADERS])
886 m4trace:configure.ac:519: -1- AC_HEADER_SYS_WAIT
887 m4trace:configure.ac:519: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H])
888 m4trace:configure.ac:519: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
889 #undef HAVE_SYS_WAIT_H])
890 m4trace:configure.ac:520: -1- AC_CHECK_HEADERS([fcntl.h inttypes.h libintl.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h wchar.h wctype.h getopt.h])
891 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
892 #undef HAVE_FCNTL_H])
893 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
894 #undef HAVE_INTTYPES_H])
895 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the <libintl.h> header file. */
896 #undef HAVE_LIBINTL_H])
897 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
898 #undef HAVE_LIMITS_H])
899 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
900 #undef HAVE_MALLOC_H])
901 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
902 #undef HAVE_STDDEF_H])
903 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
904 #undef HAVE_STDINT_H])
905 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
906 #undef HAVE_STDLIB_H])
907 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
908 #undef HAVE_STRING_H])
909 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
910 #undef HAVE_STRINGS_H])
911 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
912 #undef HAVE_SYS_TIME_H])
913 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
914 #undef HAVE_UNISTD_H])
915 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
916 #undef HAVE_WCHAR_H])
917 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the <wctype.h> header file. */
918 #undef HAVE_WCTYPE_H])
919 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
920 #undef HAVE_GETOPT_H])
921 m4trace:configure.ac:520: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
922 inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
923 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
924 #undef HAVE_SYS_TYPES_H])
925 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
926 #undef HAVE_SYS_STAT_H])
927 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
928 #undef HAVE_STDLIB_H])
929 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
930 #undef HAVE_STRING_H])
931 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
932 #undef HAVE_MEMORY_H])
933 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
934 #undef HAVE_STRINGS_H])
935 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
936 #undef HAVE_INTTYPES_H])
937 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
938 #undef HAVE_STDINT_H])
939 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
940 #undef HAVE_UNISTD_H])
941 m4trace:configure.ac:527: -1- AC_CHECK_HEADERS([rpc/types.h rpc/xdr.h], [], [], [[#ifdef HAVE_RPC_TYPES_H
942 # include <rpc/types.h>
943 #endif
944 ]])
945 m4trace:configure.ac:527: -1- AH_OUTPUT([HAVE_RPC_TYPES_H], [/* Define to 1 if you have the <rpc/types.h> header file. */
946 #undef HAVE_RPC_TYPES_H])
947 m4trace:configure.ac:527: -1- AH_OUTPUT([HAVE_RPC_XDR_H], [/* Define to 1 if you have the <rpc/xdr.h> header file. */
948 #undef HAVE_RPC_XDR_H])
949 m4trace:configure.ac:531: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
950 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
951 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
952 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
953 configure.ac:531: the top level])
954 m4trace:configure.ac:531: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P])
955 m4trace:configure.ac:531: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of a `void *\', as computed by sizeof. */
956 #undef SIZEOF_VOID_P])
957 m4trace:configure.ac:532: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
958 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
959 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
960 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
961 configure.ac:532: the top level])
962 m4trace:configure.ac:532: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_DOUBLE])
963 m4trace:configure.ac:532: -1- AH_OUTPUT([SIZEOF_DOUBLE], [/* The size of a `double\', as computed by sizeof. */
964 #undef SIZEOF_DOUBLE])
965 m4trace:configure.ac:533: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
966 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
967 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
968 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
969 configure.ac:533: the top level])
970 m4trace:configure.ac:533: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG])
971 m4trace:configure.ac:533: -1- AH_OUTPUT([SIZEOF_LONG], [/* The size of a `long\', as computed by sizeof. */
972 #undef SIZEOF_LONG])
973 m4trace:configure.ac:534: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
974 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
975 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
976 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
977 configure.ac:534: the top level])
978 m4trace:configure.ac:534: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
979 m4trace:configure.ac:534: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of a `int\', as computed by sizeof. */
980 #undef SIZEOF_INT])
981 m4trace:configure.ac:537: -1- AC_C_CONST
982 m4trace:configure.ac:537: -1- AC_DEFINE_TRACE_LITERAL([const])
983 m4trace:configure.ac:537: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
984 #undef const])
985 m4trace:configure.ac:538: -1- AC_CHECK_TYPES([_Bool])
986 m4trace:configure.ac:538: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
987 m4trace:configure.ac:538: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
988 #undef HAVE__BOOL])
989 m4trace:configure.ac:538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
990 m4trace:configure.ac:538: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
991 #undef HAVE_STDBOOL_H])
992 m4trace:configure.ac:539: -1- AC_C_INLINE
993 m4trace:configure.ac:539: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
994 calls it, or to nothing if \'inline\' is not supported under any name. */
995 #ifndef __cplusplus
996 #undef inline
997 #endif])
998 m4trace:configure.ac:540: -1- AC_TYPE_OFF_T
999 m4trace:configure.ac:540: -1- AC_DEFINE_TRACE_LITERAL([off_t])
1000 m4trace:configure.ac:540: -1- AH_OUTPUT([off_t], [/* Define to `long\' if <sys/types.h> does not define. */
1001 #undef off_t])
1002 m4trace:configure.ac:541: -1- AC_TYPE_PID_T
1003 m4trace:configure.ac:541: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
1004 m4trace:configure.ac:541: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
1005 #undef pid_t])
1006 m4trace:configure.ac:542: -1- AC_TYPE_SIZE_T
1007 m4trace:configure.ac:542: -1- AC_DEFINE_TRACE_LITERAL([size_t])
1008 m4trace:configure.ac:542: -1- AH_OUTPUT([size_t], [/* Define to `unsigned\' if <sys/types.h> does not define. */
1009 #undef size_t])
1010 m4trace:configure.ac:543: -1- AC_HEADER_TIME
1011 m4trace:configure.ac:543: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
1012 m4trace:configure.ac:543: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1013 #undef TIME_WITH_SYS_TIME])
1014 m4trace:configure.ac:544: -1- AC_STRUCT_TM
1015 m4trace:configure.ac:544: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
1016 m4trace:configure.ac:544: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
1017 #undef TM_IN_SYS_TIME])
1018 m4trace:configure.ac:545: -1- AC_CHECK_TYPES([ptrdiff_t])
1019 m4trace:configure.ac:545: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTRDIFF_T])
1020 m4trace:configure.ac:545: -1- AH_OUTPUT([HAVE_PTRDIFF_T], [/* Define to 1 if the system has the type `ptrdiff_t\'. */
1021 #undef HAVE_PTRDIFF_T])
1022 m4trace:configure.ac:546: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
1023 m4trace:configure.ac:546: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
1024 #undef _FILE_OFFSET_BITS])
1025 m4trace:configure.ac:546: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
1026 m4trace:configure.ac:546: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
1027 #undef _LARGE_FILES])
1028 m4trace:configure.ac:551: -1- AC_FUNC_ERROR_AT_LINE
1029 m4trace:configure.ac:551: -1- AC_LIBSOURCE([error.h])
1030 m4trace:configure.ac:551: -1- AC_LIBSOURCE([error.c])
1031 m4trace:configure.ac:551: -1- AC_LIBSOURCE([error.c])
1032 m4trace:configure.ac:551: -1- AC_SUBST([LIB@&t@OBJS])
1033 m4trace:configure.ac:552: -1- AC_FUNC_FORK
1034 m4trace:configure.ac:552: -1- AC_CHECK_HEADERS([unistd.h vfork.h])
1035 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
1036 #undef HAVE_UNISTD_H])
1037 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_VFORK_H], [/* Define to 1 if you have the <vfork.h> header file. */
1038 #undef HAVE_VFORK_H])
1039 m4trace:configure.ac:552: -1- AC_CHECK_FUNCS([fork vfork])
1040 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_FORK], [/* Define to 1 if you have the `fork\' function. */
1041 #undef HAVE_FORK])
1042 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */
1043 #undef HAVE_VFORK])
1044 m4trace:configure.ac:552: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_VFORK])
1045 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_WORKING_VFORK], [/* Define to 1 if `vfork\' works. */
1046 #undef HAVE_WORKING_VFORK])
1047 m4trace:configure.ac:552: -1- AC_DEFINE_TRACE_LITERAL([vfork])
1048 m4trace:configure.ac:552: -1- AH_OUTPUT([vfork], [/* Define as `fork\' if `vfork\' does not work. */
1049 #undef vfork])
1050 m4trace:configure.ac:552: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_FORK])
1051 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_WORKING_FORK], [/* Define to 1 if `fork\' works. */
1052 #undef HAVE_WORKING_FORK])
1053 m4trace:configure.ac:553: -1- AC_FUNC_FSEEKO
1054 m4trace:configure.ac:553: -1- AC_DEFINE_TRACE_LITERAL([_LARGEFILE_SOURCE])
1055 m4trace:configure.ac:553: -1- AH_OUTPUT([_LARGEFILE_SOURCE], [/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
1056 #undef _LARGEFILE_SOURCE])
1057 m4trace:configure.ac:553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSEEKO])
1058 m4trace:configure.ac:553: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
1059 #undef HAVE_FSEEKO])
1060 m4trace:configure.ac:554: -1- AC_FUNC_MEMCMP
1061 m4trace:configure.ac:554: -1- AC_LIBSOURCE([memcmp.c])
1062 m4trace:configure.ac:554: -1- AC_SUBST([LIB@&t@OBJS])
1063 m4trace:configure.ac:555: -1- AC_FUNC_MMAP
1064 m4trace:configure.ac:555: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
1065 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
1066 #undef HAVE_STDLIB_H])
1067 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
1068 #undef HAVE_UNISTD_H])
1069 m4trace:configure.ac:555: -1- AC_CHECK_FUNCS([getpagesize])
1070 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
1071 #undef HAVE_GETPAGESIZE])
1072 m4trace:configure.ac:555: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
1073 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
1074 #undef HAVE_MMAP])
1075 m4trace:configure.ac:556: -1- AC_FUNC_SELECT_ARGTYPES
1076 m4trace:configure.ac:556: -1- AC_CHECK_HEADERS([sys/select.h sys/socket.h])
1077 m4trace:configure.ac:556: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
1078 #undef HAVE_SYS_SELECT_H])
1079 m4trace:configure.ac:556: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
1080 #undef HAVE_SYS_SOCKET_H])
1081 m4trace:configure.ac:556: -1- AC_DEFINE_TRACE_LITERAL([SELECT_TYPE_ARG1])
1082 m4trace:configure.ac:556: -1- AH_OUTPUT([SELECT_TYPE_ARG1], [/* Define to the type of arg 1 for `select\'. */
1083 #undef SELECT_TYPE_ARG1])
1084 m4trace:configure.ac:556: -1- AC_DEFINE_TRACE_LITERAL([SELECT_TYPE_ARG234])
1085 m4trace:configure.ac:556: -1- AH_OUTPUT([SELECT_TYPE_ARG234], [/* Define to the type of args 2, 3 and 4 for `select\'. */
1086 #undef SELECT_TYPE_ARG234])
1087 m4trace:configure.ac:556: -1- AC_DEFINE_TRACE_LITERAL([SELECT_TYPE_ARG5])
1088 m4trace:configure.ac:556: -1- AH_OUTPUT([SELECT_TYPE_ARG5], [/* Define to the type of arg 5 for `select\'. */
1089 #undef SELECT_TYPE_ARG5])
1090 m4trace:configure.ac:557: -1- AC_FUNC_SETVBUF_REVERSED
1091 m4trace:configure.ac:557: -1- AC_DEFINE_TRACE_LITERAL([PROTOTYPES])
1092 m4trace:configure.ac:557: -1- AH_OUTPUT([PROTOTYPES], [/* Define to 1 if the C compiler supports function prototypes. */
1093 #undef PROTOTYPES])
1094 m4trace:configure.ac:557: -1- AC_DEFINE_TRACE_LITERAL([__PROTOTYPES])
1095 m4trace:configure.ac:557: -1- AH_OUTPUT([__PROTOTYPES], [/* Define like PROTOTYPES; this can be used by system headers. */
1096 #undef __PROTOTYPES])
1097 m4trace:configure.ac:557: -1- AC_DEFINE_TRACE_LITERAL([SETVBUF_REVERSED])
1098 m4trace:configure.ac:557: -1- AH_OUTPUT([SETVBUF_REVERSED], [/* Define to 1 if the `setvbuf\' function takes the buffering type as its
1099 second argument and the buffer pointer as the third, as on System V before
1100 release 3. */
1101 #undef SETVBUF_REVERSED])
1102 m4trace:configure.ac:558: -1- AC_FUNC_STAT
1103 m4trace:configure.ac:558: -1- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
1104 m4trace:configure.ac:558: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
1105 m4trace:configure.ac:558: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
1106 slash. */
1107 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
1108 m4trace:configure.ac:558: -1- AC_LIBSOURCE([lstat.c])
1109 m4trace:configure.ac:558: -1- AC_SUBST([LIB@&t@OBJS])
1110 m4trace:configure.ac:558: -1- AC_LIBSOURCE([stat.c])
1111 m4trace:configure.ac:558: -1- AC_SUBST([LIB@&t@OBJS])
1112 m4trace:configure.ac:558: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_EMPTY_STRING_BUG])
1113 m4trace:configure.ac:558: -1- AH_OUTPUT([HAVE_STAT_EMPTY_STRING_BUG], [/* Define to 1 if `stat\' has the bug that it succeeds when given the
1114 zero-length file name argument. */
1115 #undef HAVE_STAT_EMPTY_STRING_BUG])
1116 m4trace:configure.ac:559: -1- AC_FUNC_STRTOD
1117 m4trace:configure.ac:559: -1- AC_SUBST([POW_LIB])
1118 m4trace:configure.ac:559: -1- AC_LIBSOURCE([strtod.c])
1119 m4trace:configure.ac:559: -1- AC_SUBST([LIB@&t@OBJS])
1120 m4trace:configure.ac:559: -1- AC_CHECK_LIB([m], [pow], [POW_LIB=-lm], [AC_MSG_WARN([cannot find library containing definition of pow])])
1121 m4trace:configure.ac:560: -1- AC_FUNC_VPRINTF
1122 m4trace:configure.ac:560: -1- AC_CHECK_FUNCS([vprintf], [
1123 AC_CHECK_FUNC(_doprnt,
1124 [AC_DEFINE(HAVE_DOPRNT, 1,
1125 [Define to 1 if you don't have `vprintf' but do have
1126 `_doprnt.'])])])
1127 m4trace:configure.ac:560: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */
1128 #undef HAVE_VPRINTF])
1129 m4trace:configure.ac:560: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT])
1130 m4trace:configure.ac:560: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */
1131 #undef HAVE_DOPRNT])
1132 m4trace:configure.ac:561: -1- AC_CHECK_FUNCS([atexit btowc bzero dup2 memmove memset munmap pow putenv re_comp realpath regcomp select setenv strcasecmp strchr strdup strerror strncasecmp strrchr strstr getopt_long setenv unsetenv])
1133 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
1134 #undef HAVE_ATEXIT])
1135 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */
1136 #undef HAVE_BTOWC])
1137 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_BZERO], [/* Define to 1 if you have the `bzero\' function. */
1138 #undef HAVE_BZERO])
1139 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_DUP2], [/* Define to 1 if you have the `dup2\' function. */
1140 #undef HAVE_DUP2])
1141 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
1142 #undef HAVE_MEMMOVE])
1143 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
1144 #undef HAVE_MEMSET])
1145 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_MUNMAP], [/* Define to 1 if you have the `munmap\' function. */
1146 #undef HAVE_MUNMAP])
1147 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_POW], [/* Define to 1 if you have the `pow\' function. */
1148 #undef HAVE_POW])
1149 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define to 1 if you have the `putenv\' function. */
1150 #undef HAVE_PUTENV])
1151 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_RE_COMP], [/* Define to 1 if you have the `re_comp\' function. */
1152 #undef HAVE_RE_COMP])
1153 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
1154 #undef HAVE_REALPATH])
1155 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */
1156 #undef HAVE_REGCOMP])
1157 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */
1158 #undef HAVE_SELECT])
1159 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
1160 #undef HAVE_SETENV])
1161 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */
1162 #undef HAVE_STRCASECMP])
1163 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
1164 #undef HAVE_STRCHR])
1165 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
1166 #undef HAVE_STRDUP])
1167 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
1168 #undef HAVE_STRERROR])
1169 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */
1170 #undef HAVE_STRNCASECMP])
1171 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
1172 #undef HAVE_STRRCHR])
1173 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
1174 #undef HAVE_STRSTR])
1175 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_GETOPT_LONG], [/* Define to 1 if you have the `getopt_long\' function. */
1176 #undef HAVE_GETOPT_LONG])
1177 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
1178 #undef HAVE_SETENV])
1179 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define to 1 if you have the `unsetenv\' function. */
1180 #undef HAVE_UNSETENV])
1181 m4trace:configure.ac:562: -1- AC_CHECK_LIB([nsl], [xdrmem_create])
1182 m4trace:configure.ac:562: -1- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the `nsl\' library (-lnsl). */
1183 #undef HAVE_LIBNSL])
1184 m4trace:configure.ac:562: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL])
1185 m4trace:configure.ac:563: -1- AC_CHECK_LIB([rpc], [xdrmem_create])
1186 m4trace:configure.ac:563: -1- AH_OUTPUT([HAVE_LIBRPC], [/* Define to 1 if you have the `rpc\' library (-lrpc). */
1187 #undef HAVE_LIBRPC])
1188 m4trace:configure.ac:563: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRPC])
1189 m4trace:configure.ac:613: -1- AC_CHECK_LIB([tcl${TCL_VERSION}], [Tcl_CreateInterp], [TCL_LDADD=${TCL_LIB_SPEC}], [need_tcl=yes])
1190 m4trace:configure.ac:634: -1- AC_SUBST([TCL_LDADD])
1191 m4trace:configure.ac:635: -1- AC_SUBST([TCL_DEFADD])
1192 m4trace:configure.ac:636: -1- AC_SUBST([TK_LDADD])
1193 m4trace:configure.ac:669: -1- AC_CONFIG_FILES([Makefile
1194 doc/Makefile
1195 contrib/Makefile
1196 contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile
1197 contrib/pccts/Makefile
1198 contrib/pccts/antlr/Makefile
1199 contrib/pccts/dlg/Makefile
1200 contrib/pccts/h/Makefile
1201 contrib/pccts/sorcerer/Makefile
1202 contrib/pccts/sorcerer/h/Makefile
1203 contrib/pccts/sorcerer/lib/Makefile
1204 contrib/pccts/sorcerer/test/Makefile
1205 contrib/pccts/sorcerer/test/test7/Makefile
1206 contrib/pccts/sorcerer/testcpp/Makefile
1207 contrib/pccts/support/DECmms/Makefile
1208 contrib/pccts/support/Makefile
1209 contrib/pccts/support/genmk/Makefile
1210 contrib/pccts/support/rexpr/Makefile
1211 contrib/pccts/support/set/Makefile
1212 contrib/pccts/support/sym/Makefile
1213 contrib/pccts/testcpp/Makefile
1214 contrib/rtlbrowse/Makefile
1215 contrib/vermin/Makefile
1216 examples/Makefile
1217 man/Makefile
1218 src/Makefile
1219 src/helpers/Makefile
1220 src/liblzma/Makefile
1221 src/libbz2/Makefile
1222 src/libz/Makefile
1223 src/helpers/fst/Makefile
1224 ])
1225 m4trace:configure.ac:717: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
1226 m4trace:configure.ac:717: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
1227 m4trace:configure.ac:717: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
1228 m4trace:configure.ac:717: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+0
-626
autom4te.cache/traces.1 less more
0 m4trace:configure.ac:5: -1- AC_INIT([gtkwave], [3.3.23], [bybell@nc.rr.com])
1 m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_])
2 m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_])
3 m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
4 m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$])
5 m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_])
6 m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$])
7 m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_])
8 m4trace:configure.ac:5: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
9 m4trace:configure.ac:5: -1- AC_SUBST([PATH_SEPARATOR])
10 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
11 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
12 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
13 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
14 m4trace:configure.ac:5: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
15 m4trace:configure.ac:5: -1- AC_SUBST([exec_prefix], [NONE])
16 m4trace:configure.ac:5: -1- AC_SUBST([prefix], [NONE])
17 m4trace:configure.ac:5: -1- AC_SUBST([program_transform_name], [s,x,x,])
18 m4trace:configure.ac:5: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
19 m4trace:configure.ac:5: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
20 m4trace:configure.ac:5: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
21 m4trace:configure.ac:5: -1- AC_SUBST([datadir], ['${prefix}/share'])
22 m4trace:configure.ac:5: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
23 m4trace:configure.ac:5: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
24 m4trace:configure.ac:5: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
25 m4trace:configure.ac:5: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
26 m4trace:configure.ac:5: -1- AC_SUBST([includedir], ['${prefix}/include'])
27 m4trace:configure.ac:5: -1- AC_SUBST([oldincludedir], ['/usr/include'])
28 m4trace:configure.ac:5: -1- AC_SUBST([infodir], ['${prefix}/info'])
29 m4trace:configure.ac:5: -1- AC_SUBST([mandir], ['${prefix}/man'])
30 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
31 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
32 #undef PACKAGE_NAME])
33 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
34 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
35 #undef PACKAGE_TARNAME])
36 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
37 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
38 #undef PACKAGE_VERSION])
39 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
40 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
41 #undef PACKAGE_STRING])
42 m4trace:configure.ac:5: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
43 m4trace:configure.ac:5: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
44 #undef PACKAGE_BUGREPORT])
45 m4trace:configure.ac:5: -1- AC_SUBST([build_alias])
46 m4trace:configure.ac:5: -1- AC_SUBST([host_alias])
47 m4trace:configure.ac:5: -1- AC_SUBST([target_alias])
48 m4trace:configure.ac:5: -1- AC_SUBST([DEFS])
49 m4trace:configure.ac:5: -1- AC_SUBST([ECHO_C])
50 m4trace:configure.ac:5: -1- AC_SUBST([ECHO_N])
51 m4trace:configure.ac:5: -1- AC_SUBST([ECHO_T])
52 m4trace:configure.ac:5: -1- AC_SUBST([LIBS])
53 m4trace:configure.ac:7: -1- AM_INIT_AUTOMAKE
54 m4trace:configure.ac:7: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
55 m4trace:configure.ac:7: -1- AM_AUTOMAKE_VERSION([1.9.6])
56 m4trace:configure.ac:7: -1- AC_PROG_INSTALL
57 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_PROGRAM])
58 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_SCRIPT])
59 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_DATA])
60 m4trace:configure.ac:7: -1- AC_SUBST([CYGPATH_W])
61 m4trace:configure.ac:7: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
62 m4trace:configure.ac:7: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
63 m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
64 m4trace:configure.ac:7: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
65 #undef PACKAGE])
66 m4trace:configure.ac:7: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
67 m4trace:configure.ac:7: -1- AH_OUTPUT([VERSION], [/* Version number of package */
68 #undef VERSION])
69 m4trace:configure.ac:7: -1- AC_SUBST([ACLOCAL])
70 m4trace:configure.ac:7: -1- AC_SUBST([AUTOCONF])
71 m4trace:configure.ac:7: -1- AC_SUBST([AUTOMAKE])
72 m4trace:configure.ac:7: -1- AC_SUBST([AUTOHEADER])
73 m4trace:configure.ac:7: -1- AC_SUBST([MAKEINFO])
74 m4trace:configure.ac:7: -1- AC_SUBST([install_sh])
75 m4trace:configure.ac:7: -1- AC_SUBST([STRIP])
76 m4trace:configure.ac:7: -1- AC_SUBST([ac_ct_STRIP])
77 m4trace:configure.ac:7: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
78 m4trace:configure.ac:7: -1- AC_SUBST([mkdir_p])
79 m4trace:configure.ac:7: -1- AC_PROG_AWK
80 m4trace:configure.ac:7: -1- AC_SUBST([AWK])
81 m4trace:configure.ac:7: -1- AC_PROG_MAKE_SET
82 m4trace:configure.ac:7: -1- AC_SUBST([SET_MAKE])
83 m4trace:configure.ac:7: -1- AC_SUBST([am__leading_dot])
84 m4trace:configure.ac:7: -1- AC_SUBST([AMTAR])
85 m4trace:configure.ac:7: -1- AC_SUBST([am__tar])
86 m4trace:configure.ac:7: -1- AC_SUBST([am__untar])
87 m4trace:configure.ac:8: -1- AC_CONFIG_HEADERS([config.h])
88 m4trace:configure.ac:9: -1- AM_MAINTAINER_MODE
89 m4trace:configure.ac:9: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
90 m4trace:configure.ac:9: -1- AC_SUBST([MAINTAINER_MODE_TRUE])
91 m4trace:configure.ac:9: -1- AC_SUBST([MAINTAINER_MODE_FALSE])
92 m4trace:configure.ac:9: -1- AC_SUBST([MAINT])
93 m4trace:configure.ac:33: -1- AC_SUBST([INLINE_ASM])
94 m4trace:configure.ac:55: -1- AC_SUBST([STRUCT_PACK])
95 m4trace:configure.ac:82: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
96 You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
97 ./tcl.m4:130: SC_PATH_TCLCONFIG is expanded from...
98 configure.ac:82: the top level])
99 m4trace:configure.ac:88: -1- AC_SUBST([TCL_VERSION])
100 m4trace:configure.ac:88: -1- AC_SUBST([TCL_PATCH_LEVEL])
101 m4trace:configure.ac:88: -1- AC_SUBST([TCL_BIN_DIR])
102 m4trace:configure.ac:88: -1- AC_SUBST([TCL_SRC_DIR])
103 m4trace:configure.ac:88: -1- AC_SUBST([TCL_LIB_FILE])
104 m4trace:configure.ac:88: -1- AC_SUBST([TCL_LIB_FLAG])
105 m4trace:configure.ac:88: -1- AC_SUBST([TCL_LIB_SPEC])
106 m4trace:configure.ac:88: -1- AC_SUBST([TCL_STUB_LIB_FILE])
107 m4trace:configure.ac:88: -1- AC_SUBST([TCL_STUB_LIB_FLAG])
108 m4trace:configure.ac:88: -1- AC_SUBST([TCL_STUB_LIB_SPEC])
109 m4trace:configure.ac:89: -1- AC_SUBST([TCL_INCLUDE_SPEC])
110 m4trace:configure.ac:90: -1- AC_SUBST([TCL_LIB_SPEC])
111 m4trace:configure.ac:92: -1- AC_SUBST([TCL_MAJOR_VERSION])
112 m4trace:configure.ac:93: -1- AC_SUBST([TCL_MINOR_VERSION])
113 m4trace:configure.ac:108: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
114 You should run autoupdate.], [autoconf/general.m4:219: AC_HELP_STRING is expanded from...
115 ./tcl.m4:260: SC_PATH_TKCONFIG is expanded from...
116 configure.ac:108: the top level])
117 m4trace:configure.ac:114: -1- AC_SUBST([TK_VERSION])
118 m4trace:configure.ac:114: -1- AC_SUBST([TK_BIN_DIR])
119 m4trace:configure.ac:114: -1- AC_SUBST([TK_SRC_DIR])
120 m4trace:configure.ac:114: -1- AC_SUBST([TK_LIB_FILE])
121 m4trace:configure.ac:114: -1- AC_SUBST([TK_LIB_FLAG])
122 m4trace:configure.ac:114: -1- AC_SUBST([TK_LIB_SPEC])
123 m4trace:configure.ac:114: -1- AC_SUBST([TK_STUB_LIB_FILE])
124 m4trace:configure.ac:114: -1- AC_SUBST([TK_STUB_LIB_FLAG])
125 m4trace:configure.ac:114: -1- AC_SUBST([TK_STUB_LIB_SPEC])
126 m4trace:configure.ac:115: -1- AC_SUBST([TK_INCLUDE_SPEC])
127 m4trace:configure.ac:116: -1- AC_SUBST([TK_LIB_SPEC])
128 m4trace:configure.ac:209: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
129 configure.ac:209: the top level])
130 m4trace:configure.ac:216: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
131 configure.ac:216: the top level])
132 m4trace:configure.ac:227: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
133 configure.ac:227: the top level])
134 m4trace:configure.ac:230: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
135 configure.ac:230: the top level])
136 m4trace:configure.ac:239: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
137 configure.ac:239: the top level])
138 m4trace:configure.ac:241: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
139 configure.ac:241: the top level])
140 m4trace:configure.ac:255: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [autoconf/general.m4:2315: AC_CHECK_FILE is expanded from...
141 configure.ac:255: the top level])
142 m4trace:configure.ac:266: -1- AC_SUBST([AET2_CFLAGS])
143 m4trace:configure.ac:267: -1- AC_SUBST([AET2_LDADD])
144 m4trace:configure.ac:272: -1- AC_PROG_AWK
145 m4trace:configure.ac:272: -1- AC_SUBST([AWK])
146 m4trace:configure.ac:273: -1- AC_PROG_CC
147 m4trace:configure.ac:273: -1- AC_SUBST([CC])
148 m4trace:configure.ac:273: -1- AC_SUBST([CFLAGS])
149 m4trace:configure.ac:273: -1- AC_SUBST([LDFLAGS])
150 m4trace:configure.ac:273: -1- AC_SUBST([CPPFLAGS])
151 m4trace:configure.ac:273: -1- AC_SUBST([CC])
152 m4trace:configure.ac:273: -1- AC_SUBST([ac_ct_CC])
153 m4trace:configure.ac:273: -1- AC_SUBST([CC])
154 m4trace:configure.ac:273: -1- AC_SUBST([ac_ct_CC])
155 m4trace:configure.ac:273: -1- AC_SUBST([CC])
156 m4trace:configure.ac:273: -1- AC_SUBST([CC])
157 m4trace:configure.ac:273: -1- AC_SUBST([ac_ct_CC])
158 m4trace:configure.ac:273: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
159 m4trace:configure.ac:273: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
160 m4trace:configure.ac:273: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
161 m4trace:configure.ac:273: -1- AC_SUBST([am__include])
162 m4trace:configure.ac:273: -1- AC_SUBST([am__quote])
163 m4trace:configure.ac:273: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
164 m4trace:configure.ac:273: -1- AC_SUBST([AMDEP_TRUE])
165 m4trace:configure.ac:273: -1- AC_SUBST([AMDEP_FALSE])
166 m4trace:configure.ac:273: -1- AC_SUBST([AMDEPBACKSLASH])
167 m4trace:configure.ac:273: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
168 m4trace:configure.ac:273: -1- AM_CONDITIONAL([am__fastdepCC], [
169 test "x$enable_dependency_tracking" != xno \
170 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
171 m4trace:configure.ac:273: -1- AC_SUBST([am__fastdepCC_TRUE])
172 m4trace:configure.ac:273: -1- AC_SUBST([am__fastdepCC_FALSE])
173 m4trace:configure.ac:274: -1- AC_PROG_MAKE_SET
174 m4trace:configure.ac:274: -1- AC_SUBST([SET_MAKE])
175 m4trace:configure.ac:275: -1- AC_PROG_LEX
176 m4trace:configure.ac:275: -1- AC_SUBST([LEX])
177 m4trace:configure.ac:275: -1- AC_CHECK_LIB([fl], [yywrap], [LEXLIB="-lfl"], [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
178 m4trace:configure.ac:275: -1- AC_CHECK_LIB([l], [yywrap], [LEXLIB="-ll"])
179 m4trace:configure.ac:275: -1- AC_SUBST([LEXLIB])
180 m4trace:configure.ac:275: -1- AC_SUBST([LEX_OUTPUT_ROOT], [$ac_cv_prog_lex_root])
181 m4trace:configure.ac:275: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
182 m4trace:configure.ac:275: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
183 `char[]\'. */
184 #undef YYTEXT_POINTER])
185 m4trace:configure.ac:276: -1- AC_PROG_RANLIB
186 m4trace:configure.ac:276: -1- AC_SUBST([RANLIB])
187 m4trace:configure.ac:276: -1- AC_SUBST([ac_ct_RANLIB])
188 m4trace:configure.ac:281: -1- AC_SUBST([EXTDEBUG], [$ac_cv_path_EXTDEBUG])
189 m4trace:configure.ac:288: -1- AC_SUBST([EXTLOAD_CFLAGS])
190 m4trace:configure.ac:294: -1- AC_SUBST([GPERF], [$ac_cv_path_GPERF])
191 m4trace:configure.ac:303: -1- AC_CHECK_LIB([dl], [dlopen])
192 m4trace:configure.ac:303: -1- AH_OUTPUT([HAVE_LIBDL], [/* Define to 1 if you have the `dl\' library (-ldl). */
193 #undef HAVE_LIBDL])
194 m4trace:configure.ac:303: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBDL])
195 m4trace:configure.ac:304: -1- AC_CHECK_LIB([m], [sqrt])
196 m4trace:configure.ac:304: -1- AH_OUTPUT([HAVE_LIBM], [/* Define to 1 if you have the `m\' library (-lm). */
197 #undef HAVE_LIBM])
198 m4trace:configure.ac:304: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBM])
199 m4trace:configure.ac:305: -1- AC_CHECK_LIB([pthread], [main])
200 m4trace:configure.ac:305: -1- AH_OUTPUT([HAVE_LIBPTHREAD], [/* Define to 1 if you have the `pthread\' library (-lpthread). */
201 #undef HAVE_LIBPTHREAD])
202 m4trace:configure.ac:305: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBPTHREAD])
203 m4trace:configure.ac:330: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
204 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
205 configure.ac:330: the top level])
206 m4trace:configure.ac:337: -1- AC_CHECK_LIB([z], [gzread], [LIBZ_LDADD=-lz ], [need_libz=yes])
207 m4trace:configure.ac:365: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
208 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
209 configure.ac:365: the top level])
210 m4trace:configure.ac:372: -1- AC_CHECK_LIB([bz2], [BZ2_bzread], [LIBBZ2_LDADD=-lbz2], [need_libbz2=yes])
211 m4trace:configure.ac:389: -1- AC_SUBST([LIBZ_CFLAGS])
212 m4trace:configure.ac:390: -1- AC_SUBST([LIBZ_LDADD])
213 m4trace:configure.ac:391: -1- AC_SUBST([LIBZ_DIR])
214 m4trace:configure.ac:399: -1- AC_SUBST([LIBBZ2_CFLAGS])
215 m4trace:configure.ac:400: -1- AC_SUBST([LIBBZ2_LDADD])
216 m4trace:configure.ac:401: -1- AC_SUBST([LIBBZ2_DIR])
217 m4trace:configure.ac:421: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
218 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
219 configure.ac:421: the top level])
220 m4trace:configure.ac:422: -1- AC_CHECK_LIB([lzma], [lzma_end], [LIBLZMA_LDADD=-llzma ], [have_liblzma=yes])
221 m4trace:configure.ac:430: -1- AC_SUBST([LIBXZ_LDADD])
222 m4trace:configure.ac:431: -1- AC_SUBST([LIBXZ_CFLAGS])
223 m4trace:configure.ac:451: -1- AC_SUBST([FASTTREE_CFLAGS])
224 m4trace:configure.ac:473: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
225 You should run autoupdate.], [autoconf/general.m4:2180: AC_TRY_COMPILE is expanded from...
226 configure.ac:473: the top level])
227 m4trace:configure.ac:474: -1- AC_CHECK_LIB([Judy], [JudySLIns], [LIBJUDY_LDADD=-lJudy ], [have_libjudy=yes])
228 m4trace:configure.ac:482: -1- AC_SUBST([LIBJUDY_LDADD])
229 m4trace:configure.ac:483: -1- AC_SUBST([LIBJUDY_CFLAGS])
230 m4trace:configure.ac:487: -1- AC_SUBST([GTK_CONFIG], [$ac_cv_path_GTK_CONFIG])
231 m4trace:configure.ac:511: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
232 m4trace:configure.ac:511: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
233 m4trace:configure.ac:511: -1- AC_SUBST([PKG_CONFIG])
234 m4trace:configure.ac:511: -1- AC_SUBST([PKG_CONFIG], [$ac_cv_path_PKG_CONFIG])
235 m4trace:configure.ac:511: -1- AC_SUBST([ac_pt_PKG_CONFIG], [$ac_cv_path_ac_pt_PKG_CONFIG])
236 m4trace:configure.ac:511: -1- AC_SUBST([GTK_CFLAGS])
237 m4trace:configure.ac:511: -1- AC_SUBST([GTK_LIBS])
238 m4trace:configure.ac:516: -1- AC_FUNC_ALLOCA
239 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA_H])
240 m4trace:configure.ac:516: -1- AH_OUTPUT([HAVE_ALLOCA_H], [/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
241 */
242 #undef HAVE_ALLOCA_H])
243 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ALLOCA])
244 m4trace:configure.ac:516: -1- AH_OUTPUT([HAVE_ALLOCA], [/* Define to 1 if you have `alloca\', as a function or macro. */
245 #undef HAVE_ALLOCA])
246 m4trace:configure.ac:516: -1- AC_LIBSOURCE([alloca.c])
247 m4trace:configure.ac:516: -1- AC_SUBST([ALLOCA], [alloca.$ac_objext])
248 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([C_ALLOCA])
249 m4trace:configure.ac:516: -1- AH_OUTPUT([C_ALLOCA], [/* Define to 1 if using `alloca.c\'. */
250 #undef C_ALLOCA])
251 m4trace:configure.ac:516: -1- AC_PROG_CPP
252 m4trace:configure.ac:516: -1- AC_SUBST([CPP])
253 m4trace:configure.ac:516: -1- AC_SUBST([CPPFLAGS])
254 m4trace:configure.ac:516: -1- AC_SUBST([CPP])
255 m4trace:configure.ac:516: -1- AC_SUBST([EGREP])
256 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([CRAY_STACKSEG_END])
257 m4trace:configure.ac:516: -1- AH_OUTPUT([CRAY_STACKSEG_END], [/* Define to one of `_getb67\', `GETB67\', `getb67\' for Cray-2 and Cray-YMP
258 systems. This function is required for `alloca.c\' support on those systems.
259 */
260 #undef CRAY_STACKSEG_END])
261 m4trace:configure.ac:516: -1- AH_OUTPUT([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the
262 direction of stack growth for your system; otherwise it will be
263 automatically deduced at run-time.
264 STACK_DIRECTION > 0 => grows toward higher addresses
265 STACK_DIRECTION < 0 => grows toward lower addresses
266 STACK_DIRECTION = 0 => direction of growth unknown */
267 @%:@undef STACK_DIRECTION])
268 m4trace:configure.ac:516: -1- AC_DEFINE_TRACE_LITERAL([STACK_DIRECTION])
269 m4trace:configure.ac:517: -1- AC_HEADER_DIRENT
270 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR\'.
271 */
272 #undef HAVE_DIRENT_H])
273 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_SYS_NDIR_H], [/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR\'.
274 */
275 #undef HAVE_SYS_NDIR_H])
276 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_SYS_DIR_H], [/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR\'.
277 */
278 #undef HAVE_SYS_DIR_H])
279 m4trace:configure.ac:517: -1- AH_OUTPUT([HAVE_NDIR_H], [/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR\'. */
280 #undef HAVE_NDIR_H])
281 m4trace:configure.ac:518: -1- AC_HEADER_STDC
282 m4trace:configure.ac:518: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
283 m4trace:configure.ac:518: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
284 #undef STDC_HEADERS])
285 m4trace:configure.ac:519: -1- AC_HEADER_SYS_WAIT
286 m4trace:configure.ac:519: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_WAIT_H])
287 m4trace:configure.ac:519: -1- AH_OUTPUT([HAVE_SYS_WAIT_H], [/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
288 #undef HAVE_SYS_WAIT_H])
289 m4trace:configure.ac:520: -1- AC_CHECK_HEADERS([fcntl.h inttypes.h libintl.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h wchar.h wctype.h getopt.h])
290 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
291 #undef HAVE_FCNTL_H])
292 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
293 #undef HAVE_INTTYPES_H])
294 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_LIBINTL_H], [/* Define to 1 if you have the <libintl.h> header file. */
295 #undef HAVE_LIBINTL_H])
296 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
297 #undef HAVE_LIMITS_H])
298 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_MALLOC_H], [/* Define to 1 if you have the <malloc.h> header file. */
299 #undef HAVE_MALLOC_H])
300 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
301 #undef HAVE_STDDEF_H])
302 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
303 #undef HAVE_STDINT_H])
304 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
305 #undef HAVE_STDLIB_H])
306 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
307 #undef HAVE_STRING_H])
308 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
309 #undef HAVE_STRINGS_H])
310 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
311 #undef HAVE_SYS_TIME_H])
312 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
313 #undef HAVE_UNISTD_H])
314 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_WCHAR_H], [/* Define to 1 if you have the <wchar.h> header file. */
315 #undef HAVE_WCHAR_H])
316 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_WCTYPE_H], [/* Define to 1 if you have the <wctype.h> header file. */
317 #undef HAVE_WCTYPE_H])
318 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_GETOPT_H], [/* Define to 1 if you have the <getopt.h> header file. */
319 #undef HAVE_GETOPT_H])
320 m4trace:configure.ac:520: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
321 inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default])
322 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
323 #undef HAVE_SYS_TYPES_H])
324 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
325 #undef HAVE_SYS_STAT_H])
326 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
327 #undef HAVE_STDLIB_H])
328 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
329 #undef HAVE_STRING_H])
330 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
331 #undef HAVE_MEMORY_H])
332 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
333 #undef HAVE_STRINGS_H])
334 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
335 #undef HAVE_INTTYPES_H])
336 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
337 #undef HAVE_STDINT_H])
338 m4trace:configure.ac:520: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
339 #undef HAVE_UNISTD_H])
340 m4trace:configure.ac:527: -1- AC_CHECK_HEADERS([rpc/types.h rpc/xdr.h], [], [], [[#ifdef HAVE_RPC_TYPES_H
341 # include <rpc/types.h>
342 #endif
343 ]])
344 m4trace:configure.ac:527: -1- AH_OUTPUT([HAVE_RPC_TYPES_H], [/* Define to 1 if you have the <rpc/types.h> header file. */
345 #undef HAVE_RPC_TYPES_H])
346 m4trace:configure.ac:527: -1- AH_OUTPUT([HAVE_RPC_XDR_H], [/* Define to 1 if you have the <rpc/xdr.h> header file. */
347 #undef HAVE_RPC_XDR_H])
348 m4trace:configure.ac:531: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
349 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
350 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
351 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
352 configure.ac:531: the top level])
353 m4trace:configure.ac:531: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P])
354 m4trace:configure.ac:531: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of a `void *\', as computed by sizeof. */
355 #undef SIZEOF_VOID_P])
356 m4trace:configure.ac:532: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
357 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
358 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
359 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
360 configure.ac:532: the top level])
361 m4trace:configure.ac:532: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_DOUBLE])
362 m4trace:configure.ac:532: -1- AH_OUTPUT([SIZEOF_DOUBLE], [/* The size of a `double\', as computed by sizeof. */
363 #undef SIZEOF_DOUBLE])
364 m4trace:configure.ac:533: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
365 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
366 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
367 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
368 configure.ac:533: the top level])
369 m4trace:configure.ac:533: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG])
370 m4trace:configure.ac:533: -1- AH_OUTPUT([SIZEOF_LONG], [/* The size of a `long\', as computed by sizeof. */
371 #undef SIZEOF_LONG])
372 m4trace:configure.ac:534: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [autoconf/general.m4:2281: AC_RUN_IFELSE is expanded from...
373 autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
374 autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
375 autoconf/types.m4:405: AC_CHECK_SIZEOF is expanded from...
376 configure.ac:534: the top level])
377 m4trace:configure.ac:534: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
378 m4trace:configure.ac:534: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of a `int\', as computed by sizeof. */
379 #undef SIZEOF_INT])
380 m4trace:configure.ac:537: -1- AC_C_CONST
381 m4trace:configure.ac:537: -1- AC_DEFINE_TRACE_LITERAL([const])
382 m4trace:configure.ac:537: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
383 #undef const])
384 m4trace:configure.ac:538: -1- AC_CHECK_TYPES([_Bool])
385 m4trace:configure.ac:538: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
386 m4trace:configure.ac:538: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
387 #undef HAVE__BOOL])
388 m4trace:configure.ac:538: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
389 m4trace:configure.ac:538: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
390 #undef HAVE_STDBOOL_H])
391 m4trace:configure.ac:539: -1- AC_C_INLINE
392 m4trace:configure.ac:539: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
393 calls it, or to nothing if \'inline\' is not supported under any name. */
394 #ifndef __cplusplus
395 #undef inline
396 #endif])
397 m4trace:configure.ac:540: -1- AC_TYPE_OFF_T
398 m4trace:configure.ac:540: -1- AC_DEFINE_TRACE_LITERAL([off_t])
399 m4trace:configure.ac:540: -1- AH_OUTPUT([off_t], [/* Define to `long\' if <sys/types.h> does not define. */
400 #undef off_t])
401 m4trace:configure.ac:541: -1- AC_TYPE_PID_T
402 m4trace:configure.ac:541: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
403 m4trace:configure.ac:541: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
404 #undef pid_t])
405 m4trace:configure.ac:542: -1- AC_TYPE_SIZE_T
406 m4trace:configure.ac:542: -1- AC_DEFINE_TRACE_LITERAL([size_t])
407 m4trace:configure.ac:542: -1- AH_OUTPUT([size_t], [/* Define to `unsigned\' if <sys/types.h> does not define. */
408 #undef size_t])
409 m4trace:configure.ac:543: -1- AC_HEADER_TIME
410 m4trace:configure.ac:543: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
411 m4trace:configure.ac:543: -1- AH_OUTPUT([TIME_WITH_SYS_TIME], [/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
412 #undef TIME_WITH_SYS_TIME])
413 m4trace:configure.ac:544: -1- AC_STRUCT_TM
414 m4trace:configure.ac:544: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
415 m4trace:configure.ac:544: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
416 #undef TM_IN_SYS_TIME])
417 m4trace:configure.ac:545: -1- AC_CHECK_TYPES([ptrdiff_t])
418 m4trace:configure.ac:545: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTRDIFF_T])
419 m4trace:configure.ac:545: -1- AH_OUTPUT([HAVE_PTRDIFF_T], [/* Define to 1 if the system has the type `ptrdiff_t\'. */
420 #undef HAVE_PTRDIFF_T])
421 m4trace:configure.ac:546: -1- AC_DEFINE_TRACE_LITERAL([_FILE_OFFSET_BITS])
422 m4trace:configure.ac:546: -1- AH_OUTPUT([_FILE_OFFSET_BITS], [/* Number of bits in a file offset, on hosts where this is settable. */
423 #undef _FILE_OFFSET_BITS])
424 m4trace:configure.ac:546: -1- AC_DEFINE_TRACE_LITERAL([_LARGE_FILES])
425 m4trace:configure.ac:546: -1- AH_OUTPUT([_LARGE_FILES], [/* Define for large files, on AIX-style hosts. */
426 #undef _LARGE_FILES])
427 m4trace:configure.ac:551: -1- AC_FUNC_ERROR_AT_LINE
428 m4trace:configure.ac:551: -1- AC_LIBSOURCE([error.h])
429 m4trace:configure.ac:551: -1- AC_LIBSOURCE([error.c])
430 m4trace:configure.ac:551: -1- AC_LIBSOURCE([error.c])
431 m4trace:configure.ac:551: -1- AC_SUBST([LIB@&t@OBJS])
432 m4trace:configure.ac:552: -1- AC_FUNC_FORK
433 m4trace:configure.ac:552: -1- AC_CHECK_HEADERS([unistd.h vfork.h])
434 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
435 #undef HAVE_UNISTD_H])
436 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_VFORK_H], [/* Define to 1 if you have the <vfork.h> header file. */
437 #undef HAVE_VFORK_H])
438 m4trace:configure.ac:552: -1- AC_CHECK_FUNCS([fork vfork])
439 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_FORK], [/* Define to 1 if you have the `fork\' function. */
440 #undef HAVE_FORK])
441 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */
442 #undef HAVE_VFORK])
443 m4trace:configure.ac:552: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_VFORK])
444 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_WORKING_VFORK], [/* Define to 1 if `vfork\' works. */
445 #undef HAVE_WORKING_VFORK])
446 m4trace:configure.ac:552: -1- AC_DEFINE_TRACE_LITERAL([vfork])
447 m4trace:configure.ac:552: -1- AH_OUTPUT([vfork], [/* Define as `fork\' if `vfork\' does not work. */
448 #undef vfork])
449 m4trace:configure.ac:552: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_FORK])
450 m4trace:configure.ac:552: -1- AH_OUTPUT([HAVE_WORKING_FORK], [/* Define to 1 if `fork\' works. */
451 #undef HAVE_WORKING_FORK])
452 m4trace:configure.ac:553: -1- AC_FUNC_FSEEKO
453 m4trace:configure.ac:553: -1- AC_DEFINE_TRACE_LITERAL([_LARGEFILE_SOURCE])
454 m4trace:configure.ac:553: -1- AH_OUTPUT([_LARGEFILE_SOURCE], [/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
455 #undef _LARGEFILE_SOURCE])
456 m4trace:configure.ac:553: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FSEEKO])
457 m4trace:configure.ac:553: -1- AH_OUTPUT([HAVE_FSEEKO], [/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
458 #undef HAVE_FSEEKO])
459 m4trace:configure.ac:554: -1- AC_FUNC_MEMCMP
460 m4trace:configure.ac:554: -1- AC_LIBSOURCE([memcmp.c])
461 m4trace:configure.ac:554: -1- AC_SUBST([LIB@&t@OBJS])
462 m4trace:configure.ac:555: -1- AC_FUNC_MMAP
463 m4trace:configure.ac:555: -1- AC_CHECK_HEADERS([stdlib.h unistd.h])
464 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
465 #undef HAVE_STDLIB_H])
466 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
467 #undef HAVE_UNISTD_H])
468 m4trace:configure.ac:555: -1- AC_CHECK_FUNCS([getpagesize])
469 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_GETPAGESIZE], [/* Define to 1 if you have the `getpagesize\' function. */
470 #undef HAVE_GETPAGESIZE])
471 m4trace:configure.ac:555: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MMAP])
472 m4trace:configure.ac:555: -1- AH_OUTPUT([HAVE_MMAP], [/* Define to 1 if you have a working `mmap\' system call. */
473 #undef HAVE_MMAP])
474 m4trace:configure.ac:556: -1- AC_FUNC_SELECT_ARGTYPES
475 m4trace:configure.ac:556: -1- AC_CHECK_HEADERS([sys/select.h sys/socket.h])
476 m4trace:configure.ac:556: -1- AH_OUTPUT([HAVE_SYS_SELECT_H], [/* Define to 1 if you have the <sys/select.h> header file. */
477 #undef HAVE_SYS_SELECT_H])
478 m4trace:configure.ac:556: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
479 #undef HAVE_SYS_SOCKET_H])
480 m4trace:configure.ac:556: -1- AC_DEFINE_TRACE_LITERAL([SELECT_TYPE_ARG1])
481 m4trace:configure.ac:556: -1- AH_OUTPUT([SELECT_TYPE_ARG1], [/* Define to the type of arg 1 for `select\'. */
482 #undef SELECT_TYPE_ARG1])
483 m4trace:configure.ac:556: -1- AC_DEFINE_TRACE_LITERAL([SELECT_TYPE_ARG234])
484 m4trace:configure.ac:556: -1- AH_OUTPUT([SELECT_TYPE_ARG234], [/* Define to the type of args 2, 3 and 4 for `select\'. */
485 #undef SELECT_TYPE_ARG234])
486 m4trace:configure.ac:556: -1- AC_DEFINE_TRACE_LITERAL([SELECT_TYPE_ARG5])
487 m4trace:configure.ac:556: -1- AH_OUTPUT([SELECT_TYPE_ARG5], [/* Define to the type of arg 5 for `select\'. */
488 #undef SELECT_TYPE_ARG5])
489 m4trace:configure.ac:557: -1- AC_FUNC_SETVBUF_REVERSED
490 m4trace:configure.ac:557: -1- AC_DEFINE_TRACE_LITERAL([PROTOTYPES])
491 m4trace:configure.ac:557: -1- AH_OUTPUT([PROTOTYPES], [/* Define to 1 if the C compiler supports function prototypes. */
492 #undef PROTOTYPES])
493 m4trace:configure.ac:557: -1- AC_DEFINE_TRACE_LITERAL([__PROTOTYPES])
494 m4trace:configure.ac:557: -1- AH_OUTPUT([__PROTOTYPES], [/* Define like PROTOTYPES; this can be used by system headers. */
495 #undef __PROTOTYPES])
496 m4trace:configure.ac:557: -1- AC_DEFINE_TRACE_LITERAL([SETVBUF_REVERSED])
497 m4trace:configure.ac:557: -1- AH_OUTPUT([SETVBUF_REVERSED], [/* Define to 1 if the `setvbuf\' function takes the buffering type as its
498 second argument and the buffer pointer as the third, as on System V before
499 release 3. */
500 #undef SETVBUF_REVERSED])
501 m4trace:configure.ac:558: -1- AC_FUNC_STAT
502 m4trace:configure.ac:558: -1- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
503 m4trace:configure.ac:558: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
504 m4trace:configure.ac:558: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
505 slash. */
506 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
507 m4trace:configure.ac:558: -1- AC_LIBSOURCE([lstat.c])
508 m4trace:configure.ac:558: -1- AC_SUBST([LIB@&t@OBJS])
509 m4trace:configure.ac:558: -1- AC_LIBSOURCE([stat.c])
510 m4trace:configure.ac:558: -1- AC_SUBST([LIB@&t@OBJS])
511 m4trace:configure.ac:558: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_EMPTY_STRING_BUG])
512 m4trace:configure.ac:558: -1- AH_OUTPUT([HAVE_STAT_EMPTY_STRING_BUG], [/* Define to 1 if `stat\' has the bug that it succeeds when given the
513 zero-length file name argument. */
514 #undef HAVE_STAT_EMPTY_STRING_BUG])
515 m4trace:configure.ac:559: -1- AC_FUNC_STRTOD
516 m4trace:configure.ac:559: -1- AC_SUBST([POW_LIB])
517 m4trace:configure.ac:559: -1- AC_LIBSOURCE([strtod.c])
518 m4trace:configure.ac:559: -1- AC_SUBST([LIB@&t@OBJS])
519 m4trace:configure.ac:559: -1- AC_CHECK_LIB([m], [pow], [POW_LIB=-lm], [AC_MSG_WARN([cannot find library containing definition of pow])])
520 m4trace:configure.ac:560: -1- AC_FUNC_VPRINTF
521 m4trace:configure.ac:560: -1- AC_CHECK_FUNCS([vprintf], [
522 AC_CHECK_FUNC(_doprnt,
523 [AC_DEFINE(HAVE_DOPRNT, 1,
524 [Define to 1 if you don't have `vprintf' but do have
525 `_doprnt.'])])])
526 m4trace:configure.ac:560: -1- AH_OUTPUT([HAVE_VPRINTF], [/* Define to 1 if you have the `vprintf\' function. */
527 #undef HAVE_VPRINTF])
528 m4trace:configure.ac:560: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DOPRNT])
529 m4trace:configure.ac:560: -1- AH_OUTPUT([HAVE_DOPRNT], [/* Define to 1 if you don\'t have `vprintf\' but do have `_doprnt.\' */
530 #undef HAVE_DOPRNT])
531 m4trace:configure.ac:561: -1- AC_CHECK_FUNCS([atexit btowc bzero dup2 memmove memset munmap pow putenv re_comp realpath regcomp select setenv strcasecmp strchr strdup strerror strncasecmp strrchr strstr getopt_long setenv unsetenv])
532 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_ATEXIT], [/* Define to 1 if you have the `atexit\' function. */
533 #undef HAVE_ATEXIT])
534 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_BTOWC], [/* Define to 1 if you have the `btowc\' function. */
535 #undef HAVE_BTOWC])
536 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_BZERO], [/* Define to 1 if you have the `bzero\' function. */
537 #undef HAVE_BZERO])
538 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_DUP2], [/* Define to 1 if you have the `dup2\' function. */
539 #undef HAVE_DUP2])
540 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
541 #undef HAVE_MEMMOVE])
542 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
543 #undef HAVE_MEMSET])
544 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_MUNMAP], [/* Define to 1 if you have the `munmap\' function. */
545 #undef HAVE_MUNMAP])
546 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_POW], [/* Define to 1 if you have the `pow\' function. */
547 #undef HAVE_POW])
548 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define to 1 if you have the `putenv\' function. */
549 #undef HAVE_PUTENV])
550 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_RE_COMP], [/* Define to 1 if you have the `re_comp\' function. */
551 #undef HAVE_RE_COMP])
552 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_REALPATH], [/* Define to 1 if you have the `realpath\' function. */
553 #undef HAVE_REALPATH])
554 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_REGCOMP], [/* Define to 1 if you have the `regcomp\' function. */
555 #undef HAVE_REGCOMP])
556 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */
557 #undef HAVE_SELECT])
558 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
559 #undef HAVE_SETENV])
560 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */
561 #undef HAVE_STRCASECMP])
562 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
563 #undef HAVE_STRCHR])
564 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
565 #undef HAVE_STRDUP])
566 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
567 #undef HAVE_STRERROR])
568 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRNCASECMP], [/* Define to 1 if you have the `strncasecmp\' function. */
569 #undef HAVE_STRNCASECMP])
570 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
571 #undef HAVE_STRRCHR])
572 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
573 #undef HAVE_STRSTR])
574 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_GETOPT_LONG], [/* Define to 1 if you have the `getopt_long\' function. */
575 #undef HAVE_GETOPT_LONG])
576 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
577 #undef HAVE_SETENV])
578 m4trace:configure.ac:561: -1- AH_OUTPUT([HAVE_UNSETENV], [/* Define to 1 if you have the `unsetenv\' function. */
579 #undef HAVE_UNSETENV])
580 m4trace:configure.ac:562: -1- AC_CHECK_LIB([nsl], [xdrmem_create])
581 m4trace:configure.ac:562: -1- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the `nsl\' library (-lnsl). */
582 #undef HAVE_LIBNSL])
583 m4trace:configure.ac:562: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL])
584 m4trace:configure.ac:563: -1- AC_CHECK_LIB([rpc], [xdrmem_create])
585 m4trace:configure.ac:563: -1- AH_OUTPUT([HAVE_LIBRPC], [/* Define to 1 if you have the `rpc\' library (-lrpc). */
586 #undef HAVE_LIBRPC])
587 m4trace:configure.ac:563: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBRPC])
588 m4trace:configure.ac:613: -1- AC_CHECK_LIB([tcl${TCL_VERSION}], [Tcl_CreateInterp], [TCL_LDADD=${TCL_LIB_SPEC}], [need_tcl=yes])
589 m4trace:configure.ac:634: -1- AC_SUBST([TCL_LDADD])
590 m4trace:configure.ac:635: -1- AC_SUBST([TCL_DEFADD])
591 m4trace:configure.ac:636: -1- AC_SUBST([TK_LDADD])
592 m4trace:configure.ac:669: -1- AC_CONFIG_FILES([Makefile
593 doc/Makefile
594 contrib/Makefile
595 contrib/pccts/IBM_VISUAL_AGE_PROJECTS/Makefile
596 contrib/pccts/Makefile
597 contrib/pccts/antlr/Makefile
598 contrib/pccts/dlg/Makefile
599 contrib/pccts/h/Makefile
600 contrib/pccts/sorcerer/Makefile
601 contrib/pccts/sorcerer/h/Makefile
602 contrib/pccts/sorcerer/lib/Makefile
603 contrib/pccts/sorcerer/test/Makefile
604 contrib/pccts/sorcerer/test/test7/Makefile
605 contrib/pccts/sorcerer/testcpp/Makefile
606 contrib/pccts/support/DECmms/Makefile
607 contrib/pccts/support/Makefile
608 contrib/pccts/support/genmk/Makefile
609 contrib/pccts/support/rexpr/Makefile
610 contrib/pccts/support/set/Makefile
611 contrib/pccts/support/sym/Makefile
612 contrib/pccts/testcpp/Makefile
613 contrib/rtlbrowse/Makefile
614 contrib/vermin/Makefile
615 examples/Makefile
616 man/Makefile
617 src/Makefile
618 src/helpers/Makefile
619 src/liblzma/Makefile
620 src/libbz2/Makefile
621 src/libz/Makefile
622 src/helpers/fst/Makefile
623 ])
624 m4trace:configure.ac:717: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
625 m4trace:configure.ac:717: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.59 for gtkwave 3.3.23.
2 # Generated by GNU Autoconf 2.59 for gtkwave 3.3.24.
33 #
44 # Report bugs to <bybell@nc.rr.com>.
55 #
268268 # Identity of this package.
269269 PACKAGE_NAME='gtkwave'
270270 PACKAGE_TARNAME='gtkwave'
271 PACKAGE_VERSION='3.3.23'
272 PACKAGE_STRING='gtkwave 3.3.23'
271 PACKAGE_VERSION='3.3.24'
272 PACKAGE_STRING='gtkwave 3.3.24'
273273 PACKAGE_BUGREPORT='bybell@nc.rr.com'
274274
275275 ac_unique_file="src/vcd.c"
791791 # Omit some internal or obsolete options to make the list less imposing.
792792 # This message is too long to be a string in the A/UX 3.1 sh.
793793 cat <<_ACEOF
794 \`configure' configures gtkwave 3.3.23 to adapt to many kinds of systems.
794 \`configure' configures gtkwave 3.3.24 to adapt to many kinds of systems.
795795
796796 Usage: $0 [OPTION]... [VAR=VALUE]...
797797
853853
854854 if test -n "$ac_init_help"; then
855855 case $ac_init_help in
856 short | recursive ) echo "Configuration of gtkwave 3.3.23:";;
856 short | recursive ) echo "Configuration of gtkwave 3.3.24:";;
857857 esac
858858 cat <<\_ACEOF
859859
10071007 test -n "$ac_init_help" && exit 0
10081008 if $ac_init_version; then
10091009 cat <<\_ACEOF
1010 gtkwave configure 3.3.23
1010 gtkwave configure 3.3.24
10111011 generated by GNU Autoconf 2.59
10121012
10131013 Copyright (C) 2003 Free Software Foundation, Inc.
10211021 This file contains any messages produced by compilers while
10221022 running configure, to aid debugging if configure makes a mistake.
10231023
1024 It was created by gtkwave $as_me 3.3.23, which was
1024 It was created by gtkwave $as_me 3.3.24, which was
10251025 generated by GNU Autoconf 2.59. Invocation command line was
10261026
10271027 $ $0 $@
16651665
16661666 # Define the identity of the package.
16671667 PACKAGE='gtkwave'
1668 VERSION='3.3.23'
1668 VERSION='3.3.24'
16691669
16701670
16711671 cat >>confdefs.h <<_ACEOF
1285812858 } >&5
1285912859 cat >&5 <<_CSEOF
1286012860
12861 This file was extended by gtkwave $as_me 3.3.23, which was
12861 This file was extended by gtkwave $as_me 3.3.24, which was
1286212862 generated by GNU Autoconf 2.59. Invocation command line was
1286312863
1286412864 CONFIG_FILES = $CONFIG_FILES
1292112921
1292212922 cat >>$CONFIG_STATUS <<_ACEOF
1292312923 ac_cs_version="\\
12924 gtkwave config.status 3.3.23
12924 gtkwave config.status 3.3.24
1292512925 configured by $0, generated by GNU Autoconf 2.59,
1292612926 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1292712927
11 # Process this file with autoconf to produce a configure script.
22
33 AC_PREREQ(2.59)
4 AC_INIT(gtkwave, 3.3.23, bybell@nc.rr.com)
4 AC_INIT(gtkwave, 3.3.24, bybell@nc.rr.com)
55 AC_CONFIG_SRCDIR([src/vcd.c])
66 AM_INIT_AUTOMAKE
77 AC_CONFIG_HEADER([config.h])
4747 /* marshals for handling menu items vs button pressed items */
4848
4949 static void service_zoom_in_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
50 { return(service_zoom_in(widget, null_data)); }
50 { service_zoom_in(widget, null_data); }
5151
5252 static void service_zoom_out_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
53 { return(service_zoom_out(widget, null_data)); }
53 { service_zoom_out(widget, null_data); }
5454
5555 static void service_zoom_full_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
56 { return(service_zoom_full(widget, null_data)); }
56 { service_zoom_full(widget, null_data); }
5757
5858 static void service_zoom_fit_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
59 { return(service_zoom_fit(widget, null_data)); }
59 { service_zoom_fit(widget, null_data); }
6060
6161 static void service_zoom_left_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
62 { return(service_zoom_left(widget, null_data)); }
62 { service_zoom_left(widget, null_data); }
6363
6464 static void service_zoom_right_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
65 { return(service_zoom_right(widget, null_data)); }
65 { service_zoom_right(widget, null_data); }
6666
6767 static void service_zoom_undo_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
68 { return(service_zoom_undo(widget, null_data)); }
68 { service_zoom_undo(widget, null_data); }
6969
7070 static void fetch_right_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
71 { return(fetch_right(widget, null_data)); }
71 { fetch_right(widget, null_data); }
7272
7373 static void fetch_left_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
74 { return(fetch_left(widget, null_data)); }
74 { fetch_left(widget, null_data); }
7575
7676 static void discard_right_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
77 { return(discard_right(widget, null_data)); }
77 { discard_right(widget, null_data); }
7878
7979 static void discard_left_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
80 { return(discard_left(widget, null_data)); }
80 { discard_left(widget, null_data); }
8181
8282 static void service_right_shift_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
83 { return(service_right_shift(widget, null_data)); }
83 { service_right_shift(widget, null_data); }
8484
8585 static void service_left_shift_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
86 { return(service_left_shift(widget, null_data)); }
86 { service_left_shift(widget, null_data); }
8787
8888 static void service_right_page_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
89 { return(service_right_page(widget, null_data)); }
89 { service_right_page(widget, null_data); }
9090
9191 static void service_left_page_marshal(gpointer null_data, guint callback_action, GtkWidget *widget)
92 { return(service_left_page(widget, null_data)); }
92 { service_left_page(widget, null_data); }
9393
9494 /* ruler */
9595
995995
996996 if(objc==2)
997997 {
998 char *s = get_Tcl_string(objv[1]);
998 char *s = Tcl_GetString(objv[1]); /* do not want to remove braces! */
999999 char** elem = NULL;
10001000 int l = 0;
10011001
10021002 elem = zSplitTclList(s, &l);
1003
1003
10041004 if(elem)
10051005 {
10061006 for(i=0;i<l;i++)
10461046
10471047 if(objc==2)
10481048 {
1049 char *s = get_Tcl_string(objv[1]);
1049 char *s = Tcl_GetString(objv[1]); /* do not want to remove braces */
10501050 char** elem = NULL;
10511051 int l = 0;
10521052
11371137
11381138 if(objc==2)
11391139 {
1140 char *s = get_Tcl_string(objv[1]);
1140 char *s = Tcl_GetString(objv[1]); /* do not want to remove braces */
11411141 char** elem = NULL;
11421142 int l = 0;
11431143
12241224
12251225 if(objc==2)
12261226 {
1227 char *s = get_Tcl_string(objv[1]);
1227 char *s = Tcl_GetString(objv[1]); /* do not want to remove braces */
12281228 char** elem = NULL;
12291229 int l = 0;
12301230
12901290
12911291 if(objc==2)
12921292 {
1293 char *s = get_Tcl_string(objv[1]);
1293 char *s = Tcl_GetString(objv[1]); /* do not want to remove braces */
12941294 char** elem = NULL;
12951295 int l = 0;
12961296
28272827
28282828 void make_tcl_interpreter(char *argv[])
28292829 {
2830 int i;
2831 char commandName[128];
2832 GtkItemFactoryEntry *ife;
2833 int num_menu_items;
2834
2830 int i;
2831 char commandName[256];
2832 GtkItemFactoryEntry *ife;
2833 int num_menu_items;
2834 int n = 0;
2835
28352836 #ifndef WAVE_TCL_STUBIFY
2836 Tcl_FindExecutable(argv[0]);
2837 Tcl_FindExecutable(argv[0]);
28372838 #endif
2838
2839 set_globals_interp(argv[0], 0);
2839 #ifdef WIN32
2840 if(!GetModulePathName(NULL, commandName, 256))
2841 n = -1 ;
2842 #else
2843 n = readlink("/proc/self/exe", commandName, 256) ;
2844 #endif
2845 if(n == -1) {
2846 fprintf(stderr, "GTKWAVE | Tcl_Init error: Failed to get my fullpath\n");
2847 exit(EXIT_FAILURE);
2848 } else {
2849 commandName[n] = '\0' ;
2850 }
2851 set_globals_interp(commandName, 0);
28402852
28412853 #ifndef WAVE_TCL_STUBIFY
2842 if (TCL_OK != Tcl_Init(GLOBALS->interp))
2843 {
2844 fprintf(stderr, "GTKWAVE | Tcl_Init error: %s\n", Tcl_GetStringResult (GLOBALS->interp));
2845 exit(EXIT_FAILURE);
2846 }
2854 if (TCL_OK != Tcl_Init(GLOBALS->interp))
2855 {
2856 fprintf(stderr, "GTKWAVE | Tcl_Init error: %s\n", Tcl_GetStringResult (GLOBALS->interp));
2857 exit(EXIT_FAILURE);
2858 }
28472859 #endif
2848
2849 strcpy(commandName, "gtkwave::");
2850
2851 ife = retrieve_menu_items_array(&num_menu_items);
2852 for(i=0;i<num_menu_items;i++)
2853 {
2854 if(ife[i].callback)
2855 {
2856 char *pnt = commandName + 9;
2857 strcpy(pnt, ife[i].path);
2858 while(*pnt)
2859 {
2860 if(*pnt==' ') *pnt='_';
2861 pnt++;
2862 }
2863
2864 Tcl_CreateObjCommand(GLOBALS->interp, commandName,
2865 (Tcl_ObjCmdProc *)menu_func,
2866 (ClientData)(ife+i), (Tcl_CmdDeleteProc *)NULL);
2867 }
2868 }
2869
2870
2871 for (i = 0; gtkwave_commands[i].func != NULL; i++)
2872 {
2873 strcpy(commandName + 9, gtkwave_commands[i].cmdstr);
2874
2875 Tcl_CreateObjCommand(GLOBALS->interp, commandName,
2860
2861 strcpy(commandName, "gtkwave::");
2862
2863 ife = retrieve_menu_items_array(&num_menu_items);
2864 for(i=0;i<num_menu_items;i++)
2865 {
2866 if(ife[i].callback)
2867 {
2868 char *pnt = commandName + 9;
2869 strcpy(pnt, ife[i].path);
2870 while(*pnt)
2871 {
2872 if(*pnt==' ') *pnt='_';
2873 pnt++;
2874 }
2875
2876 Tcl_CreateObjCommand(GLOBALS->interp, commandName,
2877 (Tcl_ObjCmdProc *)menu_func,
2878 (ClientData)(ife+i), (Tcl_CmdDeleteProc *)NULL);
2879 }
2880 }
2881
2882
2883 for (i = 0; gtkwave_commands[i].func != NULL; i++)
2884 {
2885 strcpy(commandName + 9, gtkwave_commands[i].cmdstr);
2886
2887 Tcl_CreateObjCommand(GLOBALS->interp, commandName,
28762888 (Tcl_ObjCmdProc *)gtkwave_commands[i].func,
2877 (ClientData)NULL, (Tcl_CmdDeleteProc *)NULL);
2878 }
2879
2880 declare_tclcb_variables(GLOBALS->interp);
2881
2882 if(GLOBALS->repscript_name)
2883 {
2884 FILE *f = fopen(GLOBALS->repscript_name, "rb");
2885 if(f)
2886 {
2887 fclose(f);
2888 g_timeout_add(GLOBALS->repscript_period, repscript_timer, NULL);
2889 }
2890 else
2891 {
2892 fprintf(stderr, "GTKWAVE | Could not open repscript '%s', exiting.\n", GLOBALS->repscript_name);
2893 perror("Why");
2894 exit(255);
2895 }
2896 }
2897
2898 init_setvar_timer(GLOBALS->interp);
2889 (ClientData)NULL, (Tcl_CmdDeleteProc *)NULL);
2890 }
2891
2892 declare_tclcb_variables(GLOBALS->interp);
2893
2894 if(GLOBALS->repscript_name)
2895 {
2896 FILE *f = fopen(GLOBALS->repscript_name, "rb");
2897 if(f)
2898 {
2899 fclose(f);
2900 g_timeout_add(GLOBALS->repscript_period, repscript_timer, NULL);
2901 }
2902 else
2903 {
2904 fprintf(stderr, "GTKWAVE | Could not open repscript '%s', exiting.\n", GLOBALS->repscript_name);
2905 perror("Why");
2906 exit(255);
2907 }
2908 }
2909
2910 init_setvar_timer(GLOBALS->interp);
28992911 }
29002912
29012913
302302 strcpy(path, me) ;
303303 if(me && (p = strrchr(path,'/'))) {
304304 *(++p) = '\0' ;
305 sprintf(libname, "%s/%s", path, TCL_LIB_FILE) ;
305 sprintf(libname, "%s%s", path, TCL_LIB_FILE) ;
306306 NpLog("Attempt to load from executable directory '%s'\n", libname) ;
307307 if(!(handle = dlopen(libname, RTLD_NOW | RTLD_GLOBAL))) {
308308 sprintf(libname, "%s../lib/%s", path, TCL_LIB_FILE) ;
99 #ifndef WAVE_VERSION_H
1010 #define WAVE_VERSION_H
1111
12 #define WAVE_VERSION_INFO "GTKWave Analyzer v3.3.23 (w)1999-2011 BSI"
12 #define WAVE_VERSION_INFO "GTKWave Analyzer v3.3.24 (w)1999-2011 BSI"
1313
1414 #endif