Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for isoqlog 2.2.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11
12 if expr a : '\(a\)' >/dev/null 2>&1; then
13 as_expr=expr
14 else
15 as_expr=false
16 fi
17
18
19 ## --------------------- ##
20 ## M4sh Initialization. ##
21 ## --------------------- ##
22
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25 emulate sh
26 NULLCMD=:
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28 set -o posix
29 fi
30
31 # NLS nuisances.
32 # Support unset when possible.
33 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 as_unset=unset
35 else
36 as_unset=false
37 fi
38
39 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40 { $as_unset LANG || test "${LANG+set}" != set; } ||
41 { LANG=C; export LANG; }
42 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
44 { LC_ALL=C; export LC_ALL; }
45 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
47 { LC_TIME=C; export LC_TIME; }
48 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
50 { LC_CTYPE=C; export LC_CTYPE; }
51 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
53 { LANGUAGE=C; export LANGUAGE; }
54 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
56 { LC_COLLATE=C; export LC_COLLATE; }
57 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
59 { LC_NUMERIC=C; export LC_NUMERIC; }
60 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
62 { LC_MESSAGES=C; export LC_MESSAGES; }
63
64
65 # Name of the executable.
66 as_me=`(basename "$0") 2>/dev/null ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77 # PATH needs CR, and LINENO needs CR and PATH.
78 # Avoid depending upon Character Ranges.
79 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82 as_cr_digits='0123456789'
83 as_cr_alnum=$as_cr_Letters$as_cr_digits
84
85 # The user is always right.
86 if test "${PATH_SEPARATOR+set}" != set; then
87 echo "#! /bin/sh" >conftest.sh
88 echo "exit 0" >>conftest.sh
89 chmod +x conftest.sh
90 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
91 PATH_SEPARATOR=';'
92 else
93 PATH_SEPARATOR=:
94 fi
95 rm -f conftest.sh
96 fi
97
98
99 as_lineno_1=$LINENO
100 as_lineno_2=$LINENO
101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102 test "x$as_lineno_1" != "x$as_lineno_2" &&
103 test "x$as_lineno_3" = "x$as_lineno_2" || {
104 # Find who we are. Look in the path if we contain no path at all
105 # relative or not.
106 case $0 in
107 *[\\/]* ) as_myself=$0 ;;
108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 for as_dir in $PATH
110 do
111 IFS=$as_save_IFS
112 test -z "$as_dir" && as_dir=.
113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
114 done
115
116 ;;
117 esac
118 # We did not find ourselves, most probably we were run as `sh COMMAND'
119 # in which case we are not to be found in the path.
120 if test "x$as_myself" = x; then
121 as_myself=$0
122 fi
123 if test ! -f "$as_myself"; then
124 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125 { (exit 1); exit 1; }; }
126 fi
127 case $CONFIG_SHELL in
128 '')
129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131 do
132 IFS=$as_save_IFS
133 test -z "$as_dir" && as_dir=.
134 for as_base in sh bash ksh sh5; do
135 case $as_dir in
136 /*)
137 if ("$as_dir/$as_base" -c '
138 as_lineno_1=$LINENO
139 as_lineno_2=$LINENO
140 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141 test "x$as_lineno_1" != "x$as_lineno_2" &&
142 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143 CONFIG_SHELL=$as_dir/$as_base
144 export CONFIG_SHELL
145 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
146 fi;;
147 esac
148 done
149 done
150 ;;
151 esac
152
153 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154 # uniformly replaced by the line number. The first 'sed' inserts a
155 # line-number line before each line; the second 'sed' does the real
156 # work. The second script uses 'N' to pair each line-number line
157 # with the numbered line, and appends trailing '-' during
158 # substitution so that $LINENO is not a special case at line end.
159 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161 sed '=' <$as_myself |
162 sed '
163 N
164 s,$,-,
165 : loop
166 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 t loop
168 s,-$,,
169 s,^['$as_cr_digits']*\n,,
170 ' >$as_me.lineno &&
171 chmod +x $as_me.lineno ||
172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173 { (exit 1); exit 1; }; }
174
175 # Don't try to exec as it changes $[0], causing all sort of problems
176 # (the dirname of $[0] is not the place where we might find the
177 # original and so on. Autoconf is especially sensible to this).
178 . ./$as_me.lineno
179 # Exit status is that of the last command.
180 exit
181 }
182
183
184 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185 *c*,-n*) ECHO_N= ECHO_C='
186 ' ECHO_T=' ' ;;
187 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
189 esac
190
191 if expr a : '\(a\)' >/dev/null 2>&1; then
192 as_expr=expr
193 else
194 as_expr=false
195 fi
196
197 rm -f conf$$ conf$$.exe conf$$.file
198 echo >conf$$.file
199 if ln -s conf$$.file conf$$ 2>/dev/null; then
200 # We could just check for DJGPP; but this test a) works b) is more generic
201 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202 if test -f conf$$.exe; then
203 # Don't use ln at all; we don't have any links
204 as_ln_s='cp -p'
205 else
206 as_ln_s='ln -s'
207 fi
208 elif ln conf$$.file conf$$ 2>/dev/null; then
209 as_ln_s=ln
210 else
211 as_ln_s='cp -p'
212 fi
213 rm -f conf$$ conf$$.exe conf$$.file
214
215 as_executable_p="test -f"
216
217 # Sed expression to map a string onto a valid CPP name.
218 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
219
220 # Sed expression to map a string onto a valid variable name.
221 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
222
223
224 # IFS
225 # We need space, tab and new line, in precisely that order.
226 as_nl='
227 '
228 IFS=" $as_nl"
229
230 # CDPATH.
231 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
232
233
234 # Name of the host.
235 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
236 # so uname gets run too.
237 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
238
239 exec 6>&1
240
241 #
242 # Initializations.
243 #
244 ac_default_prefix=/usr/local
245 cross_compiling=no
246 subdirs=
247 MFLAGS=
248 MAKEFLAGS=
249 SHELL=${CONFIG_SHELL-/bin/sh}
250
251 # Maximum number of lines to put in a shell here document.
252 # This variable seems obsolete. It should probably be removed, and
253 # only ac_max_sed_lines should be used.
254 : ${ac_max_here_lines=38}
255
256 # Identity of this package.
257 PACKAGE_NAME='isoqlog'
258 PACKAGE_TARNAME='isoqlog'
259 PACKAGE_VERSION='2.2.1'
260 PACKAGE_STRING='isoqlog 2.2.1'
261 PACKAGE_BUGREPORT='[email protected]'
262
263 ac_unique_file="isoqlog/Global.h"
264 # Factoring default headers for most tests.
265 ac_includes_default="\
266 #include <stdio.h>
267 #if HAVE_SYS_TYPES_H
268 # include <sys/types.h>
269 #endif
270 #if HAVE_SYS_STAT_H
271 # include <sys/stat.h>
272 #endif
273 #if STDC_HEADERS
274 # include <stdlib.h>
275 # include <stddef.h>
276 #else
277 # if HAVE_STDLIB_H
278 # include <stdlib.h>
279 # endif
280 #endif
281 #if HAVE_STRING_H
282 # if !STDC_HEADERS && HAVE_MEMORY_H
283 # include <memory.h>
284 # endif
285 # include <string.h>
286 #endif
287 #if HAVE_STRINGS_H
288 # include <strings.h>
289 #endif
290 #if HAVE_INTTYPES_H
291 # include <inttypes.h>
292 #else
293 # if HAVE_STDINT_H
294 # include <stdint.h>
295 # endif
296 #endif
297 #if HAVE_UNISTD_H
298 # include <unistd.h>
299 #endif"
300
301
302 # Initialize some variables set by options.
303 ac_init_help=
304 ac_init_version=false
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
307 cache_file=/dev/null
308 exec_prefix=NONE
309 no_create=
310 no_recursion=
311 prefix=NONE
312 program_prefix=NONE
313 program_suffix=NONE
314 program_transform_name=s,x,x,
315 silent=
316 site=
317 srcdir=
318 verbose=
319 x_includes=NONE
320 x_libraries=NONE
321
322 # Installation directory options.
323 # These are left unexpanded so users can "make install exec_prefix=/foo"
324 # and all the variables that are supposed to be based on exec_prefix
325 # by default will actually change.
326 # Use braces instead of parens because sh, perl, etc. also accept them.
327 bindir='${exec_prefix}/bin'
328 sbindir='${exec_prefix}/sbin'
329 libexecdir='${exec_prefix}/libexec'
330 datadir='${prefix}/share'
331 sysconfdir='${prefix}/etc'
332 sharedstatedir='${prefix}/com'
333 localstatedir='${prefix}/var'
334 libdir='${exec_prefix}/lib'
335 includedir='${prefix}/include'
336 oldincludedir='/usr/include'
337 infodir='${prefix}/info'
338 mandir='${prefix}/man'
339
340 ac_prev=
341 for ac_option
342 do
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
346 ac_prev=
347 continue
348 fi
349
350 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
351
352 # Accept the important Cygnus configure options, so we can diagnose typos.
353
354 case $ac_option in
355
356 -bindir | --bindir | --bindi | --bind | --bin | --bi)
357 ac_prev=bindir ;;
358 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 bindir=$ac_optarg ;;
360
361 -build | --build | --buil | --bui | --bu)
362 ac_prev=build_alias ;;
363 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
364 build_alias=$ac_optarg ;;
365
366 -cache-file | --cache-file | --cache-fil | --cache-fi \
367 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
368 ac_prev=cache_file ;;
369 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
370 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
371 cache_file=$ac_optarg ;;
372
373 --config-cache | -C)
374 cache_file=config.cache ;;
375
376 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
377 ac_prev=datadir ;;
378 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
379 | --da=*)
380 datadir=$ac_optarg ;;
381
382 -disable-* | --disable-*)
383 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
384 # Reject names that are not valid shell variable names.
385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
386 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
387 { (exit 1); exit 1; }; }
388 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
389 eval "enable_$ac_feature=no" ;;
390
391 -enable-* | --enable-*)
392 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398 case $ac_option in
399 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 *) ac_optarg=yes ;;
401 esac
402 eval "enable_$ac_feature='$ac_optarg'" ;;
403
404 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
405 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
406 | --exec | --exe | --ex)
407 ac_prev=exec_prefix ;;
408 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
409 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
410 | --exec=* | --exe=* | --ex=*)
411 exec_prefix=$ac_optarg ;;
412
413 -gas | --gas | --ga | --g)
414 # Obsolete; use --with-gas.
415 with_gas=yes ;;
416
417 -help | --help | --hel | --he | -h)
418 ac_init_help=long ;;
419 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
420 ac_init_help=recursive ;;
421 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
422 ac_init_help=short ;;
423
424 -host | --host | --hos | --ho)
425 ac_prev=host_alias ;;
426 -host=* | --host=* | --hos=* | --ho=*)
427 host_alias=$ac_optarg ;;
428
429 -includedir | --includedir | --includedi | --included | --include \
430 | --includ | --inclu | --incl | --inc)
431 ac_prev=includedir ;;
432 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
433 | --includ=* | --inclu=* | --incl=* | --inc=*)
434 includedir=$ac_optarg ;;
435
436 -infodir | --infodir | --infodi | --infod | --info | --inf)
437 ac_prev=infodir ;;
438 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
439 infodir=$ac_optarg ;;
440
441 -libdir | --libdir | --libdi | --libd)
442 ac_prev=libdir ;;
443 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 libdir=$ac_optarg ;;
445
446 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
447 | --libexe | --libex | --libe)
448 ac_prev=libexecdir ;;
449 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
450 | --libexe=* | --libex=* | --libe=*)
451 libexecdir=$ac_optarg ;;
452
453 -localstatedir | --localstatedir | --localstatedi | --localstated \
454 | --localstate | --localstat | --localsta | --localst \
455 | --locals | --local | --loca | --loc | --lo)
456 ac_prev=localstatedir ;;
457 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
458 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
459 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
460 localstatedir=$ac_optarg ;;
461
462 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
463 ac_prev=mandir ;;
464 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
465 mandir=$ac_optarg ;;
466
467 -nfp | --nfp | --nf)
468 # Obsolete; use --without-fp.
469 with_fp=no ;;
470
471 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
472 | --no-cr | --no-c | -n)
473 no_create=yes ;;
474
475 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
476 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 no_recursion=yes ;;
478
479 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
480 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
481 | --oldin | --oldi | --old | --ol | --o)
482 ac_prev=oldincludedir ;;
483 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
484 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
485 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
486 oldincludedir=$ac_optarg ;;
487
488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
489 ac_prev=prefix ;;
490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 prefix=$ac_optarg ;;
492
493 -program-prefix | --program-prefix | --program-prefi | --program-pref \
494 | --program-pre | --program-pr | --program-p)
495 ac_prev=program_prefix ;;
496 -program-prefix=* | --program-prefix=* | --program-prefi=* \
497 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
498 program_prefix=$ac_optarg ;;
499
500 -program-suffix | --program-suffix | --program-suffi | --program-suff \
501 | --program-suf | --program-su | --program-s)
502 ac_prev=program_suffix ;;
503 -program-suffix=* | --program-suffix=* | --program-suffi=* \
504 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
505 program_suffix=$ac_optarg ;;
506
507 -program-transform-name | --program-transform-name \
508 | --program-transform-nam | --program-transform-na \
509 | --program-transform-n | --program-transform- \
510 | --program-transform | --program-transfor \
511 | --program-transfo | --program-transf \
512 | --program-trans | --program-tran \
513 | --progr-tra | --program-tr | --program-t)
514 ac_prev=program_transform_name ;;
515 -program-transform-name=* | --program-transform-name=* \
516 | --program-transform-nam=* | --program-transform-na=* \
517 | --program-transform-n=* | --program-transform-=* \
518 | --program-transform=* | --program-transfor=* \
519 | --program-transfo=* | --program-transf=* \
520 | --program-trans=* | --program-tran=* \
521 | --progr-tra=* | --program-tr=* | --program-t=*)
522 program_transform_name=$ac_optarg ;;
523
524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
525 | -silent | --silent | --silen | --sile | --sil)
526 silent=yes ;;
527
528 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
529 ac_prev=sbindir ;;
530 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
531 | --sbi=* | --sb=*)
532 sbindir=$ac_optarg ;;
533
534 -sharedstatedir | --sharedstatedir | --sharedstatedi \
535 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
536 | --sharedst | --shareds | --shared | --share | --shar \
537 | --sha | --sh)
538 ac_prev=sharedstatedir ;;
539 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
540 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
541 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
542 | --sha=* | --sh=*)
543 sharedstatedir=$ac_optarg ;;
544
545 -site | --site | --sit)
546 ac_prev=site ;;
547 -site=* | --site=* | --sit=*)
548 site=$ac_optarg ;;
549
550 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
551 ac_prev=srcdir ;;
552 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 srcdir=$ac_optarg ;;
554
555 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
556 | --syscon | --sysco | --sysc | --sys | --sy)
557 ac_prev=sysconfdir ;;
558 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
559 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
560 sysconfdir=$ac_optarg ;;
561
562 -target | --target | --targe | --targ | --tar | --ta | --t)
563 ac_prev=target_alias ;;
564 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
565 target_alias=$ac_optarg ;;
566
567 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 verbose=yes ;;
569
570 -version | --version | --versio | --versi | --vers | -V)
571 ac_init_version=: ;;
572
573 -with-* | --with-*)
574 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
575 # Reject names that are not valid shell variable names.
576 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
577 { echo "$as_me: error: invalid package name: $ac_package" >&2
578 { (exit 1); exit 1; }; }
579 ac_package=`echo $ac_package| sed 's/-/_/g'`
580 case $ac_option in
581 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 *) ac_optarg=yes ;;
583 esac
584 eval "with_$ac_package='$ac_optarg'" ;;
585
586 -without-* | --without-*)
587 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package | sed 's/-/_/g'`
593 eval "with_$ac_package=no" ;;
594
595 --x)
596 # Obsolete; use --with-x.
597 with_x=yes ;;
598
599 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
600 | --x-incl | --x-inc | --x-in | --x-i)
601 ac_prev=x_includes ;;
602 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
603 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
604 x_includes=$ac_optarg ;;
605
606 -x-libraries | --x-libraries | --x-librarie | --x-librari \
607 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
608 ac_prev=x_libraries ;;
609 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
610 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
611 x_libraries=$ac_optarg ;;
612
613 -*) { echo "$as_me: error: unrecognized option: $ac_option
614 Try \`$0 --help' for more information." >&2
615 { (exit 1); exit 1; }; }
616 ;;
617
618 *=*)
619 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
620 # Reject names that are not valid shell variable names.
621 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
622 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
623 { (exit 1); exit 1; }; }
624 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
625 eval "$ac_envvar='$ac_optarg'"
626 export $ac_envvar ;;
627
628 *)
629 # FIXME: should be removed in autoconf 3.0.
630 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
631 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
632 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
633 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
634 ;;
635
636 esac
637 done
638
639 if test -n "$ac_prev"; then
640 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
641 { echo "$as_me: error: missing argument to $ac_option" >&2
642 { (exit 1); exit 1; }; }
643 fi
644
645 # Be sure to have absolute paths.
646 for ac_var in exec_prefix prefix
647 do
648 eval ac_val=$`echo $ac_var`
649 case $ac_val in
650 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
652 { (exit 1); exit 1; }; };;
653 esac
654 done
655
656 # Be sure to have absolute paths.
657 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
658 localstatedir libdir includedir oldincludedir infodir mandir
659 do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
667
668 # There might be people who depend on the old broken behavior: `$host'
669 # used to hold the argument of --host etc.
670 # FIXME: To remove some day.
671 build=$build_alias
672 host=$host_alias
673 target=$target_alias
674
675 # FIXME: To remove some day.
676 if test "x$host_alias" != x; then
677 if test "x$build_alias" = x; then
678 cross_compiling=maybe
679 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
680 If a cross compiler is detected then cross compile mode will be used." >&2
681 elif test "x$build_alias" != "x$host_alias"; then
682 cross_compiling=yes
683 fi
684 fi
685
686 ac_tool_prefix=
687 test -n "$host_alias" && ac_tool_prefix=$host_alias-
688
689 test "$silent" = yes && exec 6>/dev/null
690
691
692 # Find the source files, if location was not specified.
693 if test -z "$srcdir"; then
694 ac_srcdir_defaulted=yes
695 # Try the directory containing this script, then its parent.
696 ac_confdir=`(dirname "$0") 2>/dev/null ||
697 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
698 X"$0" : 'X\(//\)[^/]' \| \
699 X"$0" : 'X\(//\)$' \| \
700 X"$0" : 'X\(/\)' \| \
701 . : '\(.\)' 2>/dev/null ||
702 echo X"$0" |
703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
705 /^X\(\/\/\)$/{ s//\1/; q; }
706 /^X\(\/\).*/{ s//\1/; q; }
707 s/.*/./; q'`
708 srcdir=$ac_confdir
709 if test ! -r $srcdir/$ac_unique_file; then
710 srcdir=..
711 fi
712 else
713 ac_srcdir_defaulted=no
714 fi
715 if test ! -r $srcdir/$ac_unique_file; then
716 if test "$ac_srcdir_defaulted" = yes; then
717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
718 { (exit 1); exit 1; }; }
719 else
720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
721 { (exit 1); exit 1; }; }
722 fi
723 fi
724 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
725 ac_env_build_alias_set=${build_alias+set}
726 ac_env_build_alias_value=$build_alias
727 ac_cv_env_build_alias_set=${build_alias+set}
728 ac_cv_env_build_alias_value=$build_alias
729 ac_env_host_alias_set=${host_alias+set}
730 ac_env_host_alias_value=$host_alias
731 ac_cv_env_host_alias_set=${host_alias+set}
732 ac_cv_env_host_alias_value=$host_alias
733 ac_env_target_alias_set=${target_alias+set}
734 ac_env_target_alias_value=$target_alias
735 ac_cv_env_target_alias_set=${target_alias+set}
736 ac_cv_env_target_alias_value=$target_alias
737 ac_env_CC_set=${CC+set}
738 ac_env_CC_value=$CC
739 ac_cv_env_CC_set=${CC+set}
740 ac_cv_env_CC_value=$CC
741 ac_env_CFLAGS_set=${CFLAGS+set}
742 ac_env_CFLAGS_value=$CFLAGS
743 ac_cv_env_CFLAGS_set=${CFLAGS+set}
744 ac_cv_env_CFLAGS_value=$CFLAGS
745 ac_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_env_LDFLAGS_value=$LDFLAGS
747 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
748 ac_cv_env_LDFLAGS_value=$LDFLAGS
749 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_env_CPPFLAGS_value=$CPPFLAGS
751 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
752 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757
758 #
759 # Report the --help message.
760 #
761 if test "$ac_init_help" = "long"; then
762 # Omit some internal or obsolete options to make the list less imposing.
763 # This message is too long to be a string in the A/UX 3.1 sh.
764 cat <<_ACEOF
765 \`configure' configures isoqlog 2.2.1 to adapt to many kinds of systems.
766
767 Usage: $0 [OPTION]... [VAR=VALUE]...
768
769 To assign environment variables (e.g., CC, CFLAGS...), specify them as
770 VAR=VALUE. See below for descriptions of some of the useful variables.
771
772 Defaults for the options are specified in brackets.
773
774 Configuration:
775 -h, --help display this help and exit
776 --help=short display options specific to this package
777 --help=recursive display the short help of all the included packages
778 -V, --version display version information and exit
779 -q, --quiet, --silent do not print \`checking...' messages
780 --cache-file=FILE cache test results in FILE [disabled]
781 -C, --config-cache alias for \`--cache-file=config.cache'
782 -n, --no-create do not create output files
783 --srcdir=DIR find the sources in DIR [configure dir or \`..']
784
785 _ACEOF
786
787 cat <<_ACEOF
788 Installation directories:
789 --prefix=PREFIX install architecture-independent files in PREFIX
790 [$ac_default_prefix]
791 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 [PREFIX]
793
794 By default, \`make install' will install all the files in
795 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
796 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
797 for instance \`--prefix=\$HOME'.
798
799 For better control, use the options below.
800
801 Fine tuning of the installation directories:
802 --bindir=DIR user executables [EPREFIX/bin]
803 --sbindir=DIR system admin executables [EPREFIX/sbin]
804 --libexecdir=DIR program executables [EPREFIX/libexec]
805 --datadir=DIR read-only architecture-independent data [PREFIX/share]
806 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
807 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
808 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
809 --libdir=DIR object code libraries [EPREFIX/lib]
810 --includedir=DIR C header files [PREFIX/include]
811 --oldincludedir=DIR C header files for non-gcc [/usr/include]
812 --infodir=DIR info documentation [PREFIX/info]
813 --mandir=DIR man documentation [PREFIX/man]
814 _ACEOF
815
816 cat <<\_ACEOF
817
818 Program names:
819 --program-prefix=PREFIX prepend PREFIX to installed program names
820 --program-suffix=SUFFIX append SUFFIX to installed program names
821 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
822
823 System types:
824 --build=BUILD configure for building on BUILD [guessed]
825 --host=HOST cross-compile to build programs to run on HOST [BUILD]
826 --target=TARGET configure for building compilers for TARGET [HOST]
827 _ACEOF
828 fi
829
830 if test -n "$ac_init_help"; then
831 case $ac_init_help in
832 short | recursive ) echo "Configuration of isoqlog 2.2.1:";;
833 esac
834 cat <<\_ACEOF
835
836 Optional Features:
837 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
838 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
839 --disable-dependency-tracking Speeds up one-time builds
840 --enable-dependency-tracking Do not reject slow dependency extractors
841
842 Some influential environment variables:
843 CC C compiler command
844 CFLAGS C compiler flags
845 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
846 nonstandard directory <lib dir>
847 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
848 headers in a nonstandard directory <include dir>
849 CPP C preprocessor
850
851 Use these variables to override the choices made by `configure' or to help
852 it to find libraries and programs with nonstandard names/locations.
853
854 Report bugs to <[email protected]>.
855 _ACEOF
856 fi
857
858 if test "$ac_init_help" = "recursive"; then
859 # If there are subdirs, report their specific --help.
860 ac_popdir=`pwd`
861 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
862 test -d $ac_dir || continue
863 ac_builddir=.
864
865 if test "$ac_dir" != .; then
866 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
867 # A "../" for each directory in $ac_dir_suffix.
868 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
869 else
870 ac_dir_suffix= ac_top_builddir=
871 fi
872
873 case $srcdir in
874 .) # No --srcdir option. We are building in place.
875 ac_srcdir=.
876 if test -z "$ac_top_builddir"; then
877 ac_top_srcdir=.
878 else
879 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
880 fi ;;
881 [\\/]* | ?:[\\/]* ) # Absolute path.
882 ac_srcdir=$srcdir$ac_dir_suffix;
883 ac_top_srcdir=$srcdir ;;
884 *) # Relative path.
885 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
886 ac_top_srcdir=$ac_top_builddir$srcdir ;;
887 esac
888 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
889 # absolute.
890 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
891 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
892 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
893 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
894
895 cd $ac_dir
896 # Check for guested configure; otherwise get Cygnus style configure.
897 if test -f $ac_srcdir/configure.gnu; then
898 echo
899 $SHELL $ac_srcdir/configure.gnu --help=recursive
900 elif test -f $ac_srcdir/configure; then
901 echo
902 $SHELL $ac_srcdir/configure --help=recursive
903 elif test -f $ac_srcdir/configure.ac ||
904 test -f $ac_srcdir/configure.in; then
905 echo
906 $ac_configure --help
907 else
908 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
909 fi
910 cd $ac_popdir
911 done
912 fi
913
914 test -n "$ac_init_help" && exit 0
915 if $ac_init_version; then
916 cat <<\_ACEOF
917 isoqlog configure 2.2.1
918 generated by GNU Autoconf 2.53
919
920 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
921 Free Software Foundation, Inc.
922 This configure script is free software; the Free Software Foundation
923 gives unlimited permission to copy, distribute and modify it.
924 _ACEOF
925 exit 0
926 fi
927 exec 5>config.log
928 cat >&5 <<_ACEOF
929 This file contains any messages produced by compilers while
930 running configure, to aid debugging if configure makes a mistake.
931
932 It was created by isoqlog $as_me 2.2.1, which was
933 generated by GNU Autoconf 2.53. Invocation command line was
934
935 $ $0 $@
936
937 _ACEOF
938 {
939 cat <<_ASUNAME
940 ## --------- ##
941 ## Platform. ##
942 ## --------- ##
943
944 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
945 uname -m = `(uname -m) 2>/dev/null || echo unknown`
946 uname -r = `(uname -r) 2>/dev/null || echo unknown`
947 uname -s = `(uname -s) 2>/dev/null || echo unknown`
948 uname -v = `(uname -v) 2>/dev/null || echo unknown`
949
950 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
951 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
952
953 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
954 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
955 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
956 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
957 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
958 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
959 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
960
961 _ASUNAME
962
963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
964 for as_dir in $PATH
965 do
966 IFS=$as_save_IFS
967 test -z "$as_dir" && as_dir=.
968 echo "PATH: $as_dir"
969 done
970
971 } >&5
972
973 cat >&5 <<_ACEOF
974
975
976 ## ----------- ##
977 ## Core tests. ##
978 ## ----------- ##
979
980 _ACEOF
981
982
983 # Keep a trace of the command line.
984 # Strip out --no-create and --no-recursion so they do not pile up.
985 # Also quote any args containing shell meta-characters.
986 ac_configure_args=
987 ac_sep=
988 for ac_arg
989 do
990 case $ac_arg in
991 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
992 | --no-cr | --no-c | -n ) continue ;;
993 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
994 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
995 continue ;;
996 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
997 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
998 esac
999 case " $ac_configure_args " in
1000 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1001 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1002 ac_sep=" " ;;
1003 esac
1004 # Get rid of the leading space.
1005 done
1006
1007 # When interrupted or exit'd, cleanup temporary files, and complete
1008 # config.log. We remove comments because anyway the quotes in there
1009 # would cause problems or look ugly.
1010 # WARNING: Be sure not to use single quotes in there, as some shells,
1011 # such as our DU 5.0 friend, will then `close' the trap.
1012 trap 'exit_status=$?
1013 # Save into config.log some information that might help in debugging.
1014 {
1015 echo
1016 cat <<\_ASBOX
1017 ## ---------------- ##
1018 ## Cache variables. ##
1019 ## ---------------- ##
1020 _ASBOX
1021 echo
1022 # The following way of writing the cache mishandles newlines in values,
1023 {
1024 (set) 2>&1 |
1025 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1026 *ac_space=\ *)
1027 sed -n \
1028 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1030 ;;
1031 *)
1032 sed -n \
1033 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1034 ;;
1035 esac;
1036 }
1037 echo
1038 if test -s confdefs.h; then
1039 cat <<\_ASBOX
1040 ## ----------- ##
1041 ## confdefs.h. ##
1042 ## ----------- ##
1043 _ASBOX
1044 echo
1045 sed "/^$/d" confdefs.h
1046 echo
1047 fi
1048 test "$ac_signal" != 0 &&
1049 echo "$as_me: caught signal $ac_signal"
1050 echo "$as_me: exit $exit_status"
1051 } >&5
1052 rm -f core core.* *.core &&
1053 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1054 exit $exit_status
1055 ' 0
1056 for ac_signal in 1 2 13 15; do
1057 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1058 done
1059 ac_signal=0
1060
1061 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1062 rm -rf conftest* confdefs.h
1063 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1064 echo >confdefs.h
1065
1066 # Predefined preprocessor variables.
1067
1068 cat >>confdefs.h <<_ACEOF
1069 #define PACKAGE_NAME "$PACKAGE_NAME"
1070 _ACEOF
1071
1072
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1075 _ACEOF
1076
1077
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1080 _ACEOF
1081
1082
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_STRING "$PACKAGE_STRING"
1085 _ACEOF
1086
1087
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1090 _ACEOF
1091
1092
1093 # Let the site file select an alternate cache file if it wants to.
1094 # Prefer explicitly selected file to automatically selected ones.
1095 if test -z "$CONFIG_SITE"; then
1096 if test "x$prefix" != xNONE; then
1097 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1098 else
1099 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1100 fi
1101 fi
1102 for ac_site_file in $CONFIG_SITE; do
1103 if test -r "$ac_site_file"; then
1104 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1105 echo "$as_me: loading site script $ac_site_file" >&6;}
1106 sed 's/^/| /' "$ac_site_file" >&5
1107 . "$ac_site_file"
1108 fi
1109 done
1110
1111 if test -r "$cache_file"; then
1112 # Some versions of bash will fail to source /dev/null (special
1113 # files actually), so we avoid doing that.
1114 if test -f "$cache_file"; then
1115 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1116 echo "$as_me: loading cache $cache_file" >&6;}
1117 case $cache_file in
1118 [\\/]* | ?:[\\/]* ) . $cache_file;;
1119 *) . ./$cache_file;;
1120 esac
1121 fi
1122 else
1123 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1124 echo "$as_me: creating cache $cache_file" >&6;}
1125 >$cache_file
1126 fi
1127
1128 # Check that the precious variables saved in the cache have kept the same
1129 # value.
1130 ac_cache_corrupted=false
1131 for ac_var in `(set) 2>&1 |
1132 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1133 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1134 eval ac_new_set=\$ac_env_${ac_var}_set
1135 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1136 eval ac_new_val="\$ac_env_${ac_var}_value"
1137 case $ac_old_set,$ac_new_set in
1138 set,)
1139 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1140 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1141 ac_cache_corrupted=: ;;
1142 ,set)
1143 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1144 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1145 ac_cache_corrupted=: ;;
1146 ,);;
1147 *)
1148 if test "x$ac_old_val" != "x$ac_new_val"; then
1149 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1150 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1151 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1152 echo "$as_me: former value: $ac_old_val" >&2;}
1153 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1154 echo "$as_me: current value: $ac_new_val" >&2;}
1155 ac_cache_corrupted=:
1156 fi;;
1157 esac
1158 # Pass precious variables to config.status.
1159 if test "$ac_new_set" = set; then
1160 case $ac_new_val in
1161 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1162 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1163 *) ac_arg=$ac_var=$ac_new_val ;;
1164 esac
1165 case " $ac_configure_args " in
1166 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1167 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1168 esac
1169 fi
1170 done
1171 if $ac_cache_corrupted; then
1172 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1173 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1174 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1175 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1176 { (exit 1); exit 1; }; }
1177 fi
1178
1179 ac_ext=c
1180 ac_cpp='$CPP $CPPFLAGS'
1181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210 ac_aux_dir=
1211 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1212 if test -f $ac_dir/install-sh; then
1213 ac_aux_dir=$ac_dir
1214 ac_install_sh="$ac_aux_dir/install-sh -c"
1215 break
1216 elif test -f $ac_dir/install.sh; then
1217 ac_aux_dir=$ac_dir
1218 ac_install_sh="$ac_aux_dir/install.sh -c"
1219 break
1220 elif test -f $ac_dir/shtool; then
1221 ac_aux_dir=$ac_dir
1222 ac_install_sh="$ac_aux_dir/shtool install -c"
1223 break
1224 fi
1225 done
1226 if test -z "$ac_aux_dir"; then
1227 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1228 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1229 { (exit 1); exit 1; }; }
1230 fi
1231 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1232 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1233 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1234
1235 # Make sure we can run config.sub.
1236 $ac_config_sub sun4 >/dev/null 2>&1 ||
1237 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1238 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1239 { (exit 1); exit 1; }; }
1240
1241 echo "$as_me:$LINENO: checking build system type" >&5
1242 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1243 if test "${ac_cv_build+set}" = set; then
1244 echo $ECHO_N "(cached) $ECHO_C" >&6
1245 else
1246 ac_cv_build_alias=$build_alias
1247 test -z "$ac_cv_build_alias" &&
1248 ac_cv_build_alias=`$ac_config_guess`
1249 test -z "$ac_cv_build_alias" &&
1250 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1251 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1252 { (exit 1); exit 1; }; }
1253 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1254 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1255 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1256 { (exit 1); exit 1; }; }
1257
1258 fi
1259 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1260 echo "${ECHO_T}$ac_cv_build" >&6
1261 build=$ac_cv_build
1262 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1263 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1264 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1265
1266
1267 echo "$as_me:$LINENO: checking host system type" >&5
1268 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1269 if test "${ac_cv_host+set}" = set; then
1270 echo $ECHO_N "(cached) $ECHO_C" >&6
1271 else
1272 ac_cv_host_alias=$host_alias
1273 test -z "$ac_cv_host_alias" &&
1274 ac_cv_host_alias=$ac_cv_build_alias
1275 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1276 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1277 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1278 { (exit 1); exit 1; }; }
1279
1280 fi
1281 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1282 echo "${ECHO_T}$ac_cv_host" >&6
1283 host=$ac_cv_host
1284 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1285 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1286 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1287
1288
1289 echo "$as_me:$LINENO: checking target system type" >&5
1290 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1291 if test "${ac_cv_target+set}" = set; then
1292 echo $ECHO_N "(cached) $ECHO_C" >&6
1293 else
1294 ac_cv_target_alias=$target_alias
1295 test "x$ac_cv_target_alias" = "x" &&
1296 ac_cv_target_alias=$ac_cv_host_alias
1297 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1298 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1299 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1300 { (exit 1); exit 1; }; }
1301
1302 fi
1303 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1304 echo "${ECHO_T}$ac_cv_target" >&6
1305 target=$ac_cv_target
1306 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1307 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1308 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1309
1310
1311 # The aliases save the names the user supplied, while $host etc.
1312 # will get canonicalized.
1313 test -n "$target_alias" &&
1314 test "$program_prefix$program_suffix$program_transform_name" = \
1315 NONENONEs,x,x, &&
1316 program_prefix=${target_alias}-
1317
1318
1319
1320
1321 ac_config_headers="$ac_config_headers isoqlog/config.h"
1322
1323 #AC_CONFIG_HEADER macro used by autoheader
1324 #AC_CONFIG_HEADER(isoqlog/config.h)
1325 # Find a good install program. We prefer a C program (faster),
1326 # so one script is as good as another. But avoid the broken or
1327 # incompatible versions:
1328 # SysV /etc/install, /usr/sbin/install
1329 # SunOS /usr/etc/install
1330 # IRIX /sbin/install
1331 # AIX /bin/install
1332 # AmigaOS /C/install, which installs bootblocks on floppy discs
1333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1336 # ./install, which can be erroneously created by make from ./install.sh.
1337 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1338 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1339 if test -z "$INSTALL"; then
1340 if test "${ac_cv_path_install+set}" = set; then
1341 echo $ECHO_N "(cached) $ECHO_C" >&6
1342 else
1343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1344 for as_dir in $PATH
1345 do
1346 IFS=$as_save_IFS
1347 test -z "$as_dir" && as_dir=.
1348 # Account for people who put trailing slashes in PATH elements.
1349 case $as_dir/ in
1350 ./ | .// | /cC/* | \
1351 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1352 /usr/ucb/* ) ;;
1353 *)
1354 # OSF1 and SCO ODT 3.0 have their own names for install.
1355 # Don't use installbsd from OSF since it installs stuff as root
1356 # by default.
1357 for ac_prog in ginstall scoinst install; do
1358 for ac_exec_ext in '' $ac_executable_extensions; do
1359 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1360 if test $ac_prog = install &&
1361 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1362 # AIX install. It has an incompatible calling convention.
1363 :
1364 elif test $ac_prog = install &&
1365 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1366 # program-specific install script used by HP pwplus--don't use.
1367 :
1368 else
1369 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1370 break 3
1371 fi
1372 fi
1373 done
1374 done
1375 ;;
1376 esac
1377 done
1378
1379
1380 fi
1381 if test "${ac_cv_path_install+set}" = set; then
1382 INSTALL=$ac_cv_path_install
1383 else
1384 # As a last resort, use the slow shell script. We don't cache a
1385 # path for INSTALL within a source directory, because that will
1386 # break other packages using the cache if that directory is
1387 # removed, or if the path is relative.
1388 INSTALL=$ac_install_sh
1389 fi
1390 fi
1391 echo "$as_me:$LINENO: result: $INSTALL" >&5
1392 echo "${ECHO_T}$INSTALL" >&6
1393
1394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1395 # It thinks the first close brace ends the variable substitution.
1396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1397
1398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1399
1400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1401
1402 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1403 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1404 # Just in case
1405 sleep 1
1406 echo timestamp > conftest.file
1407 # Do `set' in a subshell so we don't clobber the current shell's
1408 # arguments. Must try -L first in case configure is actually a
1409 # symlink; some systems play weird games with the mod time of symlinks
1410 # (eg FreeBSD returns the mod time of the symlink's containing
1411 # directory).
1412 if (
1413 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1414 if test "$*" = "X"; then
1415 # -L didn't work.
1416 set X `ls -t $srcdir/configure conftest.file`
1417 fi
1418 rm -f conftest.file
1419 if test "$*" != "X $srcdir/configure conftest.file" \
1420 && test "$*" != "X conftest.file $srcdir/configure"; then
1421
1422 # If neither matched, then we have a broken ls. This can happen
1423 # if, for instance, CONFIG_SHELL is bash and it inherits a
1424 # broken ls alias from the environment. This has actually
1425 # happened. Such a system could not be considered "sane".
1426 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1427 alias in your environment" >&5
1428 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1429 alias in your environment" >&2;}
1430 { (exit 1); exit 1; }; }
1431 fi
1432
1433 test "$2" = conftest.file
1434 )
1435 then
1436 # Ok.
1437 :
1438 else
1439 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1440 Check your system clock" >&5
1441 echo "$as_me: error: newly created file is older than distributed files!
1442 Check your system clock" >&2;}
1443 { (exit 1); exit 1; }; }
1444 fi
1445 echo "$as_me:$LINENO: result: yes" >&5
1446 echo "${ECHO_T}yes" >&6
1447 test "$program_prefix" != NONE &&
1448 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1449 # Use a double $ so make ignores it.
1450 test "$program_suffix" != NONE &&
1451 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1452 # Double any \ or $. echo might interpret backslashes.
1453 # By default was `s,x,x', remove it if useless.
1454 cat <<\_ACEOF >conftest.sed
1455 s/[\\$]/&&/g;s/;s,x,x,$//
1456 _ACEOF
1457 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1458 rm conftest.sed
1459
1460
1461 # expand $ac_aux_dir to an absolute path
1462 am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
1463
1464 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1465 # Use eval to expand $SHELL
1466 if eval "$MISSING --run true"; then
1467 am_missing_run="$MISSING --run "
1468 else
1469 am_missing_run=
1470 am_backtick='`'
1471 { echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1472 echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1473 fi
1474
1475 for ac_prog in gawk mawk nawk awk
1476 do
1477 # Extract the first word of "$ac_prog", so it can be a program name with args.
1478 set dummy $ac_prog; ac_word=$2
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
1480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481 if test "${ac_cv_prog_AWK+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 else
1484 if test -n "$AWK"; then
1485 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1486 else
1487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 for as_dir in $PATH
1489 do
1490 IFS=$as_save_IFS
1491 test -z "$as_dir" && as_dir=.
1492 for ac_exec_ext in '' $ac_executable_extensions; do
1493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1494 ac_cv_prog_AWK="$ac_prog"
1495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1496 break 2
1497 fi
1498 done
1499 done
1500
1501 fi
1502 fi
1503 AWK=$ac_cv_prog_AWK
1504 if test -n "$AWK"; then
1505 echo "$as_me:$LINENO: result: $AWK" >&5
1506 echo "${ECHO_T}$AWK" >&6
1507 else
1508 echo "$as_me:$LINENO: result: no" >&5
1509 echo "${ECHO_T}no" >&6
1510 fi
1511
1512 test -n "$AWK" && break
1513 done
1514
1515 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1516 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1517 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1518 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1520 else
1521 cat >conftest.make <<\_ACEOF
1522 all:
1523 @echo 'ac_maketemp="${MAKE}"'
1524 _ACEOF
1525 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1526 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1527 if test -n "$ac_maketemp"; then
1528 eval ac_cv_prog_make_${ac_make}_set=yes
1529 else
1530 eval ac_cv_prog_make_${ac_make}_set=no
1531 fi
1532 rm -f conftest.make
1533 fi
1534 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1535 echo "$as_me:$LINENO: result: yes" >&5
1536 echo "${ECHO_T}yes" >&6
1537 SET_MAKE=
1538 else
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1541 SET_MAKE="MAKE=${MAKE-make}"
1542 fi
1543
1544 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1545 if test "${enable_dependency_tracking+set}" = set; then
1546 enableval="$enable_dependency_tracking"
1547
1548 fi;
1549 if test "x$enable_dependency_tracking" != xno; then
1550 am_depcomp="$ac_aux_dir/depcomp"
1551 AMDEPBACKSLASH='\'
1552 fi
1553
1554
1555 if test "x$enable_dependency_tracking" != xno; then
1556 AMDEP_TRUE=
1557 AMDEP_FALSE='#'
1558 else
1559 AMDEP_TRUE='#'
1560 AMDEP_FALSE=
1561 fi
1562
1563
1564
1565
1566 rm -f .deps 2>/dev/null
1567 mkdir .deps 2>/dev/null
1568 if test -d .deps; then
1569 DEPDIR=.deps
1570 else
1571 # MS-DOS does not allow filenames that begin with a dot.
1572 DEPDIR=_deps
1573 fi
1574 rmdir .deps 2>/dev/null
1575
1576
1577 # test to see if srcdir already configured
1578 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1579 test -f $srcdir/config.status; then
1580 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1581 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1582 { (exit 1); exit 1; }; }
1583 fi
1584
1585 # Define the identity of the package.
1586 PACKAGE=isoqlog
1587 VERSION=2.2.1
1588
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE "$PACKAGE"
1591 _ACEOF
1592
1593
1594 cat >>confdefs.h <<_ACEOF
1595 #define VERSION "$VERSION"
1596 _ACEOF
1597
1598
1599 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1600 # the ones we care about.
1601
1602 # Autoconf 2.50 always computes EXEEXT. However we need to be
1603 # compatible with 2.13, for now. So we always define EXEEXT, but we
1604 # don't compute it.
1605
1606 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
1607 # requests that it be used. This is a bit dumb.
1608 : ${OBJEXT=o}
1609
1610
1611 # Some tools Automake needs.
1612
1613 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1614
1615
1616 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1617
1618
1619 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1620
1621
1622 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1623
1624
1625 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1626
1627
1628 AMTAR=${AMTAR-"${am_missing_run}tar"}
1629
1630 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1631
1632 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1633
1634 # We need awk for the "check" target. The system "awk" is bad on
1635 # some platforms.
1636
1637
1638
1639 # Checks for programs.
1640 ac_ext=c
1641 ac_cpp='$CPP $CPPFLAGS'
1642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1645 if test -n "$ac_tool_prefix"; then
1646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1647 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1648 echo "$as_me:$LINENO: checking for $ac_word" >&5
1649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1650 if test "${ac_cv_prog_CC+set}" = set; then
1651 echo $ECHO_N "(cached) $ECHO_C" >&6
1652 else
1653 if test -n "$CC"; then
1654 ac_cv_prog_CC="$CC" # Let the user override the test.
1655 else
1656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657 for as_dir in $PATH
1658 do
1659 IFS=$as_save_IFS
1660 test -z "$as_dir" && as_dir=.
1661 for ac_exec_ext in '' $ac_executable_extensions; do
1662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1663 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1665 break 2
1666 fi
1667 done
1668 done
1669
1670 fi
1671 fi
1672 CC=$ac_cv_prog_CC
1673 if test -n "$CC"; then
1674 echo "$as_me:$LINENO: result: $CC" >&5
1675 echo "${ECHO_T}$CC" >&6
1676 else
1677 echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6
1679 fi
1680
1681 fi
1682 if test -z "$ac_cv_prog_CC"; then
1683 ac_ct_CC=$CC
1684 # Extract the first word of "gcc", so it can be a program name with args.
1685 set dummy gcc; ac_word=$2
1686 echo "$as_me:$LINENO: checking for $ac_word" >&5
1687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1689 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 else
1691 if test -n "$ac_ct_CC"; then
1692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1693 else
1694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1695 for as_dir in $PATH
1696 do
1697 IFS=$as_save_IFS
1698 test -z "$as_dir" && as_dir=.
1699 for ac_exec_ext in '' $ac_executable_extensions; do
1700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1701 ac_cv_prog_ac_ct_CC="gcc"
1702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1703 break 2
1704 fi
1705 done
1706 done
1707
1708 fi
1709 fi
1710 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1711 if test -n "$ac_ct_CC"; then
1712 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1713 echo "${ECHO_T}$ac_ct_CC" >&6
1714 else
1715 echo "$as_me:$LINENO: result: no" >&5
1716 echo "${ECHO_T}no" >&6
1717 fi
1718
1719 CC=$ac_ct_CC
1720 else
1721 CC="$ac_cv_prog_CC"
1722 fi
1723
1724 if test -z "$CC"; then
1725 if test -n "$ac_tool_prefix"; then
1726 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1727 set dummy ${ac_tool_prefix}cc; ac_word=$2
1728 echo "$as_me:$LINENO: checking for $ac_word" >&5
1729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1730 if test "${ac_cv_prog_CC+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 else
1733 if test -n "$CC"; then
1734 ac_cv_prog_CC="$CC" # Let the user override the test.
1735 else
1736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1737 for as_dir in $PATH
1738 do
1739 IFS=$as_save_IFS
1740 test -z "$as_dir" && as_dir=.
1741 for ac_exec_ext in '' $ac_executable_extensions; do
1742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1743 ac_cv_prog_CC="${ac_tool_prefix}cc"
1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1745 break 2
1746 fi
1747 done
1748 done
1749
1750 fi
1751 fi
1752 CC=$ac_cv_prog_CC
1753 if test -n "$CC"; then
1754 echo "$as_me:$LINENO: result: $CC" >&5
1755 echo "${ECHO_T}$CC" >&6
1756 else
1757 echo "$as_me:$LINENO: result: no" >&5
1758 echo "${ECHO_T}no" >&6
1759 fi
1760
1761 fi
1762 if test -z "$ac_cv_prog_CC"; then
1763 ac_ct_CC=$CC
1764 # Extract the first word of "cc", so it can be a program name with args.
1765 set dummy cc; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 else
1771 if test -n "$ac_ct_CC"; then
1772 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1773 else
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 for as_dir in $PATH
1776 do
1777 IFS=$as_save_IFS
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_ac_ct_CC="cc"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 break 2
1784 fi
1785 done
1786 done
1787
1788 fi
1789 fi
1790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1791 if test -n "$ac_ct_CC"; then
1792 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1793 echo "${ECHO_T}$ac_ct_CC" >&6
1794 else
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1797 fi
1798
1799 CC=$ac_ct_CC
1800 else
1801 CC="$ac_cv_prog_CC"
1802 fi
1803
1804 fi
1805 if test -z "$CC"; then
1806 # Extract the first word of "cc", so it can be a program name with args.
1807 set dummy cc; ac_word=$2
1808 echo "$as_me:$LINENO: checking for $ac_word" >&5
1809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1810 if test "${ac_cv_prog_CC+set}" = set; then
1811 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 else
1813 if test -n "$CC"; then
1814 ac_cv_prog_CC="$CC" # Let the user override the test.
1815 else
1816 ac_prog_rejected=no
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1819 do
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1825 ac_prog_rejected=yes
1826 continue
1827 fi
1828 ac_cv_prog_CC="cc"
1829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 break 2
1831 fi
1832 done
1833 done
1834
1835 if test $ac_prog_rejected = yes; then
1836 # We found a bogon in the path, so make sure we never use it.
1837 set dummy $ac_cv_prog_CC
1838 shift
1839 if test $# != 0; then
1840 # We chose a different compiler from the bogus one.
1841 # However, it has the same basename, so the bogon will be chosen
1842 # first if we set CC to just the basename; use the full file name.
1843 shift
1844 set dummy "$as_dir/$ac_word" ${1+"$@"}
1845 shift
1846 ac_cv_prog_CC="$@"
1847 fi
1848 fi
1849 fi
1850 fi
1851 CC=$ac_cv_prog_CC
1852 if test -n "$CC"; then
1853 echo "$as_me:$LINENO: result: $CC" >&5
1854 echo "${ECHO_T}$CC" >&6
1855 else
1856 echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6
1858 fi
1859
1860 fi
1861 if test -z "$CC"; then
1862 if test -n "$ac_tool_prefix"; then
1863 for ac_prog in cl
1864 do
1865 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1866 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1867 echo "$as_me:$LINENO: checking for $ac_word" >&5
1868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1869 if test "${ac_cv_prog_CC+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 else
1872 if test -n "$CC"; then
1873 ac_cv_prog_CC="$CC" # Let the user override the test.
1874 else
1875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 for as_dir in $PATH
1877 do
1878 IFS=$as_save_IFS
1879 test -z "$as_dir" && as_dir=.
1880 for ac_exec_ext in '' $ac_executable_extensions; do
1881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1882 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 break 2
1885 fi
1886 done
1887 done
1888
1889 fi
1890 fi
1891 CC=$ac_cv_prog_CC
1892 if test -n "$CC"; then
1893 echo "$as_me:$LINENO: result: $CC" >&5
1894 echo "${ECHO_T}$CC" >&6
1895 else
1896 echo "$as_me:$LINENO: result: no" >&5
1897 echo "${ECHO_T}no" >&6
1898 fi
1899
1900 test -n "$CC" && break
1901 done
1902 fi
1903 if test -z "$CC"; then
1904 ac_ct_CC=$CC
1905 for ac_prog in cl
1906 do
1907 # Extract the first word of "$ac_prog", so it can be a program name with args.
1908 set dummy $ac_prog; ac_word=$2
1909 echo "$as_me:$LINENO: checking for $ac_word" >&5
1910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 else
1914 if test -n "$ac_ct_CC"; then
1915 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1916 else
1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918 for as_dir in $PATH
1919 do
1920 IFS=$as_save_IFS
1921 test -z "$as_dir" && as_dir=.
1922 for ac_exec_ext in '' $ac_executable_extensions; do
1923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1924 ac_cv_prog_ac_ct_CC="$ac_prog"
1925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926 break 2
1927 fi
1928 done
1929 done
1930
1931 fi
1932 fi
1933 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1934 if test -n "$ac_ct_CC"; then
1935 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1936 echo "${ECHO_T}$ac_ct_CC" >&6
1937 else
1938 echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1940 fi
1941
1942 test -n "$ac_ct_CC" && break
1943 done
1944
1945 CC=$ac_ct_CC
1946 fi
1947
1948 fi
1949
1950
1951 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1952 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1953 { (exit 1); exit 1; }; }
1954
1955 # Provide some information about the compiler.
1956 echo "$as_me:$LINENO:" \
1957 "checking for C compiler version" >&5
1958 ac_compiler=`set X $ac_compile; echo $2`
1959 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1960 (eval $ac_compiler --version </dev/null >&5) 2>&5
1961 ac_status=$?
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }
1964 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1965 (eval $ac_compiler -v </dev/null >&5) 2>&5
1966 ac_status=$?
1967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968 (exit $ac_status); }
1969 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1970 (eval $ac_compiler -V </dev/null >&5) 2>&5
1971 ac_status=$?
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }
1974
1975 cat >conftest.$ac_ext <<_ACEOF
1976 #line $LINENO "configure"
1977 #include "confdefs.h"
1978
1979 #ifdef F77_DUMMY_MAIN
1980 # ifdef __cplusplus
1981 extern "C"
1982 # endif
1983 int F77_DUMMY_MAIN() { return 1; }
1984 #endif
1985 int
1986 main ()
1987 {
1988
1989 ;
1990 return 0;
1991 }
1992 _ACEOF
1993 ac_clean_files_save=$ac_clean_files
1994 ac_clean_files="$ac_clean_files a.out a.exe"
1995 # Try to create an executable without -o first, disregard a.out.
1996 # It will help us diagnose broken compilers, and finding out an intuition
1997 # of exeext.
1998 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1999 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2000 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2001 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2002 (eval $ac_link_default) 2>&5
2003 ac_status=$?
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; then
2006 # Find the output, starting from the most likely. This scheme is
2007 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2008 # resort.
2009
2010 # Be careful to initialize this variable, since it used to be cached.
2011 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2012 ac_cv_exeext=
2013 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2014 ls a.out conftest 2>/dev/null;
2015 ls a.* conftest.* 2>/dev/null`; do
2016 case $ac_file in
2017 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2018 a.out ) # We found the default executable, but exeext='' is most
2019 # certainly right.
2020 break;;
2021 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2022 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2023 export ac_cv_exeext
2024 break;;
2025 * ) break;;
2026 esac
2027 done
2028 else
2029 echo "$as_me: failed program was:" >&5
2030 cat conftest.$ac_ext >&5
2031 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2032 echo "$as_me: error: C compiler cannot create executables" >&2;}
2033 { (exit 77); exit 77; }; }
2034 fi
2035
2036 ac_exeext=$ac_cv_exeext
2037 echo "$as_me:$LINENO: result: $ac_file" >&5
2038 echo "${ECHO_T}$ac_file" >&6
2039
2040 # Check the compiler produces executables we can run. If not, either
2041 # the compiler is broken, or we cross compile.
2042 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2043 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2044 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2045 # If not cross compiling, check that we can run a simple program.
2046 if test "$cross_compiling" != yes; then
2047 if { ac_try='./$ac_file'
2048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2049 (eval $ac_try) 2>&5
2050 ac_status=$?
2051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2052 (exit $ac_status); }; }; then
2053 cross_compiling=no
2054 else
2055 if test "$cross_compiling" = maybe; then
2056 cross_compiling=yes
2057 else
2058 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2059 If you meant to cross compile, use \`--host'." >&5
2060 echo "$as_me: error: cannot run C compiled programs.
2061 If you meant to cross compile, use \`--host'." >&2;}
2062 { (exit 1); exit 1; }; }
2063 fi
2064 fi
2065 fi
2066 echo "$as_me:$LINENO: result: yes" >&5
2067 echo "${ECHO_T}yes" >&6
2068
2069 rm -f a.out a.exe conftest$ac_cv_exeext
2070 ac_clean_files=$ac_clean_files_save
2071 # Check the compiler produces executables we can run. If not, either
2072 # the compiler is broken, or we cross compile.
2073 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2074 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2075 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2076 echo "${ECHO_T}$cross_compiling" >&6
2077
2078 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2079 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2081 (eval $ac_link) 2>&5
2082 ac_status=$?
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; then
2085 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2086 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2087 # work properly (i.e., refer to `conftest.exe'), while it won't with
2088 # `rm'.
2089 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2090 case $ac_file in
2091 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2092 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2093 export ac_cv_exeext
2094 break;;
2095 * ) break;;
2096 esac
2097 done
2098 else
2099 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2100 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2101 { (exit 1); exit 1; }; }
2102 fi
2103
2104 rm -f conftest$ac_cv_exeext
2105 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2106 echo "${ECHO_T}$ac_cv_exeext" >&6
2107
2108 rm -f conftest.$ac_ext
2109 EXEEXT=$ac_cv_exeext
2110 ac_exeext=$EXEEXT
2111 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2112 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2113 if test "${ac_cv_objext+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 else
2116 cat >conftest.$ac_ext <<_ACEOF
2117 #line $LINENO "configure"
2118 #include "confdefs.h"
2119
2120 #ifdef F77_DUMMY_MAIN
2121 # ifdef __cplusplus
2122 extern "C"
2123 # endif
2124 int F77_DUMMY_MAIN() { return 1; }
2125 #endif
2126 int
2127 main ()
2128 {
2129
2130 ;
2131 return 0;
2132 }
2133 _ACEOF
2134 rm -f conftest.o conftest.obj
2135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2136 (eval $ac_compile) 2>&5
2137 ac_status=$?
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; then
2140 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2141 case $ac_file in
2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2143 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2144 break;;
2145 esac
2146 done
2147 else
2148 echo "$as_me: failed program was:" >&5
2149 cat conftest.$ac_ext >&5
2150 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2151 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2152 { (exit 1); exit 1; }; }
2153 fi
2154
2155 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2156 fi
2157 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2158 echo "${ECHO_T}$ac_cv_objext" >&6
2159 OBJEXT=$ac_cv_objext
2160 ac_objext=$OBJEXT
2161 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2162 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2163 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 else
2166 cat >conftest.$ac_ext <<_ACEOF
2167 #line $LINENO "configure"
2168 #include "confdefs.h"
2169
2170 #ifdef F77_DUMMY_MAIN
2171 # ifdef __cplusplus
2172 extern "C"
2173 # endif
2174 int F77_DUMMY_MAIN() { return 1; }
2175 #endif
2176 int
2177 main ()
2178 {
2179 #ifndef __GNUC__
2180 choke me
2181 #endif
2182
2183 ;
2184 return 0;
2185 }
2186 _ACEOF
2187 rm -f conftest.$ac_objext
2188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2189 (eval $ac_compile) 2>&5
2190 ac_status=$?
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2192 (exit $ac_status); } &&
2193 { ac_try='test -s conftest.$ac_objext'
2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2195 (eval $ac_try) 2>&5
2196 ac_status=$?
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; }; then
2199 ac_compiler_gnu=yes
2200 else
2201 echo "$as_me: failed program was:" >&5
2202 cat conftest.$ac_ext >&5
2203 ac_compiler_gnu=no
2204 fi
2205 rm -f conftest.$ac_objext conftest.$ac_ext
2206 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2207
2208 fi
2209 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2210 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2211 GCC=`test $ac_compiler_gnu = yes && echo yes`
2212 ac_test_CFLAGS=${CFLAGS+set}
2213 ac_save_CFLAGS=$CFLAGS
2214 CFLAGS="-g"
2215 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2216 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2217 if test "${ac_cv_prog_cc_g+set}" = set; then
2218 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 else
2220 cat >conftest.$ac_ext <<_ACEOF
2221 #line $LINENO "configure"
2222 #include "confdefs.h"
2223
2224 #ifdef F77_DUMMY_MAIN
2225 # ifdef __cplusplus
2226 extern "C"
2227 # endif
2228 int F77_DUMMY_MAIN() { return 1; }
2229 #endif
2230 int
2231 main ()
2232 {
2233
2234 ;
2235 return 0;
2236 }
2237 _ACEOF
2238 rm -f conftest.$ac_objext
2239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2240 (eval $ac_compile) 2>&5
2241 ac_status=$?
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); } &&
2244 { ac_try='test -s conftest.$ac_objext'
2245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 (eval $ac_try) 2>&5
2247 ac_status=$?
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); }; }; then
2250 ac_cv_prog_cc_g=yes
2251 else
2252 echo "$as_me: failed program was:" >&5
2253 cat conftest.$ac_ext >&5
2254 ac_cv_prog_cc_g=no
2255 fi
2256 rm -f conftest.$ac_objext conftest.$ac_ext
2257 fi
2258 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2259 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2260 if test "$ac_test_CFLAGS" = set; then
2261 CFLAGS=$ac_save_CFLAGS
2262 elif test $ac_cv_prog_cc_g = yes; then
2263 if test "$GCC" = yes; then
2264 CFLAGS="-g -O2"
2265 else
2266 CFLAGS="-g"
2267 fi
2268 else
2269 if test "$GCC" = yes; then
2270 CFLAGS="-O2"
2271 else
2272 CFLAGS=
2273 fi
2274 fi
2275 # Some people use a C++ compiler to compile C. Since we use `exit',
2276 # in C++ we need to declare it. In case someone uses the same compiler
2277 # for both compiling C and C++ we need to have the C++ compiler decide
2278 # the declaration of exit, since it's the most demanding environment.
2279 cat >conftest.$ac_ext <<_ACEOF
2280 #ifndef __cplusplus
2281 choke me
2282 #endif
2283 _ACEOF
2284 rm -f conftest.$ac_objext
2285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2286 (eval $ac_compile) 2>&5
2287 ac_status=$?
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); } &&
2290 { ac_try='test -s conftest.$ac_objext'
2291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 (eval $ac_try) 2>&5
2293 ac_status=$?
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); }; }; then
2296 for ac_declaration in \
2297 ''\
2298 '#include <stdlib.h>' \
2299 'extern "C" void std::exit (int) throw (); using std::exit;' \
2300 'extern "C" void std::exit (int); using std::exit;' \
2301 'extern "C" void exit (int) throw ();' \
2302 'extern "C" void exit (int);' \
2303 'void exit (int);'
2304 do
2305 cat >conftest.$ac_ext <<_ACEOF
2306 #line $LINENO "configure"
2307 #include "confdefs.h"
2308 #include <stdlib.h>
2309 $ac_declaration
2310 #ifdef F77_DUMMY_MAIN
2311 # ifdef __cplusplus
2312 extern "C"
2313 # endif
2314 int F77_DUMMY_MAIN() { return 1; }
2315 #endif
2316 int
2317 main ()
2318 {
2319 exit (42);
2320 ;
2321 return 0;
2322 }
2323 _ACEOF
2324 rm -f conftest.$ac_objext
2325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2326 (eval $ac_compile) 2>&5
2327 ac_status=$?
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); } &&
2330 { ac_try='test -s conftest.$ac_objext'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2332 (eval $ac_try) 2>&5
2333 ac_status=$?
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; }; then
2336 :
2337 else
2338 echo "$as_me: failed program was:" >&5
2339 cat conftest.$ac_ext >&5
2340 continue
2341 fi
2342 rm -f conftest.$ac_objext conftest.$ac_ext
2343 cat >conftest.$ac_ext <<_ACEOF
2344 #line $LINENO "configure"
2345 #include "confdefs.h"
2346 $ac_declaration
2347 #ifdef F77_DUMMY_MAIN
2348 # ifdef __cplusplus
2349 extern "C"
2350 # endif
2351 int F77_DUMMY_MAIN() { return 1; }
2352 #endif
2353 int
2354 main ()
2355 {
2356 exit (42);
2357 ;
2358 return 0;
2359 }
2360 _ACEOF
2361 rm -f conftest.$ac_objext
2362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363 (eval $ac_compile) 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); } &&
2367 { ac_try='test -s conftest.$ac_objext'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 (eval $ac_try) 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; }; then
2373 break
2374 else
2375 echo "$as_me: failed program was:" >&5
2376 cat conftest.$ac_ext >&5
2377 fi
2378 rm -f conftest.$ac_objext conftest.$ac_ext
2379 done
2380 rm -f conftest*
2381 if test -n "$ac_declaration"; then
2382 echo '#ifdef __cplusplus' >>confdefs.h
2383 echo $ac_declaration >>confdefs.h
2384 echo '#endif' >>confdefs.h
2385 fi
2386
2387 else
2388 echo "$as_me: failed program was:" >&5
2389 cat conftest.$ac_ext >&5
2390 fi
2391 rm -f conftest.$ac_objext conftest.$ac_ext
2392 ac_ext=c
2393 ac_cpp='$CPP $CPPFLAGS'
2394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2397
2398 ac_config_commands="$ac_config_commands default-1"
2399
2400 am_make=${MAKE-make}
2401 cat > confinc << 'END'
2402 doit:
2403 @echo done
2404 END
2405 # If we don't find an include directive, just comment out the code.
2406 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2407 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2408 am__include='#'
2409 am__quote=
2410 _am_result=none
2411 # First try GNU make style include.
2412 echo "include confinc" > confmf
2413 # We grep out `Entering directory' and `Leaving directory'
2414 # messages which can occur if `w' ends up in MAKEFLAGS.
2415 # In particular we don't look at `^make:' because GNU make might
2416 # be invoked under some other name (usually "gmake"), in which
2417 # case it prints its new name instead of `make'.
2418 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2419 am__include=include
2420 am__quote=
2421 _am_result=GNU
2422 fi
2423 # Now try BSD make style include.
2424 if test "$am__include" = "#"; then
2425 echo '.include "confinc"' > confmf
2426 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2427 am__include=.include
2428 am__quote='"'
2429 _am_result=BSD
2430 fi
2431 fi
2432
2433
2434 echo "$as_me:$LINENO: result: $_am_result" >&5
2435 echo "${ECHO_T}$_am_result" >&6
2436 rm -f confinc confmf
2437
2438
2439 depcc="$CC" am_compiler_list=
2440
2441 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2442 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2443 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 else
2446 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2447 # We make a subdir and do the tests there. Otherwise we can end up
2448 # making bogus files that we don't know about and never remove. For
2449 # instance it was reported that on HP-UX the gcc test will end up
2450 # making a dummy file named `D' -- because `-MD' means `put the output
2451 # in D'.
2452 mkdir conftest.dir
2453 # Copy depcomp to subdir because otherwise we won't find it if we're
2454 # using a relative directory.
2455 cp "$am_depcomp" conftest.dir
2456 cd conftest.dir
2457
2458 am_cv_CC_dependencies_compiler_type=none
2459 if test "$am_compiler_list" = ""; then
2460 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2461 fi
2462 for depmode in $am_compiler_list; do
2463 # We need to recreate these files for each test, as the compiler may
2464 # overwrite some of them when testing with obscure command lines.
2465 # This happens at least with the AIX C compiler.
2466 echo '#include "conftest.h"' > conftest.c
2467 echo 'int i;' > conftest.h
2468 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2469
2470 case $depmode in
2471 nosideeffect)
2472 # after this tag, mechanisms are not by side-effect, so they'll
2473 # only be used when explicitly requested
2474 if test "x$enable_dependency_tracking" = xyes; then
2475 continue
2476 else
2477 break
2478 fi
2479 ;;
2480 none) break ;;
2481 esac
2482 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2483 # mode. It turns out that the SunPro C++ compiler does not properly
2484 # handle `-M -o', and we need to detect this.
2485 if depmode=$depmode \
2486 source=conftest.c object=conftest.o \
2487 depfile=conftest.Po tmpdepfile=conftest.TPo \
2488 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2489 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2490 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2491 am_cv_CC_dependencies_compiler_type=$depmode
2492 break
2493 fi
2494 done
2495
2496 cd ..
2497 rm -rf conftest.dir
2498 else
2499 am_cv_CC_dependencies_compiler_type=none
2500 fi
2501
2502 fi
2503 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2504 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2505 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2506
2507
2508
2509 unset CDPATH
2510 #AC_PREFIX_DEFAULT(/usr/local)
2511
2512 if test "x$prefix" = "xNONE"; then
2513 prefix=$ac_default_prefix
2514 fi
2515 # Checks for libraries.
2516
2517 # Checks for header files.
2518
2519
2520
2521
2522
2523
2524 ac_header_dirent=no
2525 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
2526 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
2527 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
2528 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
2529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 cat >conftest.$ac_ext <<_ACEOF
2533 #line $LINENO "configure"
2534 #include "confdefs.h"
2535 #include <sys/types.h>
2536 #include <$ac_hdr>
2537
2538 #ifdef F77_DUMMY_MAIN
2539 # ifdef __cplusplus
2540 extern "C"
2541 # endif
2542 int F77_DUMMY_MAIN() { return 1; }
2543 #endif
2544 int
2545 main ()
2546 {
2547 if ((DIR *) 0)
2548 return 0;
2549 ;
2550 return 0;
2551 }
2552 _ACEOF
2553 rm -f conftest.$ac_objext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>&5
2556 ac_status=$?
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); } &&
2559 { ac_try='test -s conftest.$ac_objext'
2560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 (eval $ac_try) 2>&5
2562 ac_status=$?
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; }; then
2565 eval "$as_ac_Header=yes"
2566 else
2567 echo "$as_me: failed program was:" >&5
2568 cat conftest.$ac_ext >&5
2569 eval "$as_ac_Header=no"
2570 fi
2571 rm -f conftest.$ac_objext conftest.$ac_ext
2572 fi
2573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2576 cat >>confdefs.h <<_ACEOF
2577 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
2578 _ACEOF
2579
2580 ac_header_dirent=$ac_hdr; break
2581 fi
2582
2583 done
2584 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2585 if test $ac_header_dirent = dirent.h; then
2586 echo "$as_me:$LINENO: checking for library containing opendir" >&5
2587 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
2588 if test "${ac_cv_search_opendir+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 else
2591 ac_func_search_save_LIBS=$LIBS
2592 ac_cv_search_opendir=no
2593 cat >conftest.$ac_ext <<_ACEOF
2594 #line $LINENO "configure"
2595 #include "confdefs.h"
2596
2597 /* Override any gcc2 internal prototype to avoid an error. */
2598 #ifdef __cplusplus
2599 extern "C"
2600 #endif
2601 /* We use char because int might match the return type of a gcc2
2602 builtin and then its argument prototype would still apply. */
2603 char opendir ();
2604 #ifdef F77_DUMMY_MAIN
2605 # ifdef __cplusplus
2606 extern "C"
2607 # endif
2608 int F77_DUMMY_MAIN() { return 1; }
2609 #endif
2610 int
2611 main ()
2612 {
2613 opendir ();
2614 ;
2615 return 0;
2616 }
2617 _ACEOF
2618 rm -f conftest.$ac_objext conftest$ac_exeext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } &&
2624 { ac_try='test -s conftest$ac_exeext'
2625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626 (eval $ac_try) 2>&5
2627 ac_status=$?
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }; }; then
2630 ac_cv_search_opendir="none required"
2631 else
2632 echo "$as_me: failed program was:" >&5
2633 cat conftest.$ac_ext >&5
2634 fi
2635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2636 if test "$ac_cv_search_opendir" = no; then
2637 for ac_lib in dir; do
2638 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2639 cat >conftest.$ac_ext <<_ACEOF
2640 #line $LINENO "configure"
2641 #include "confdefs.h"
2642
2643 /* Override any gcc2 internal prototype to avoid an error. */
2644 #ifdef __cplusplus
2645 extern "C"
2646 #endif
2647 /* We use char because int might match the return type of a gcc2
2648 builtin and then its argument prototype would still apply. */
2649 char opendir ();
2650 #ifdef F77_DUMMY_MAIN
2651 # ifdef __cplusplus
2652 extern "C"
2653 # endif
2654 int F77_DUMMY_MAIN() { return 1; }
2655 #endif
2656 int
2657 main ()
2658 {
2659 opendir ();
2660 ;
2661 return 0;
2662 }
2663 _ACEOF
2664 rm -f conftest.$ac_objext conftest$ac_exeext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2666 (eval $ac_link) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } &&
2670 { ac_try='test -s conftest$ac_exeext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 (eval $ac_try) 2>&5
2673 ac_status=$?
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2676 ac_cv_search_opendir="-l$ac_lib"
2677 break
2678 else
2679 echo "$as_me: failed program was:" >&5
2680 cat conftest.$ac_ext >&5
2681 fi
2682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2683 done
2684 fi
2685 LIBS=$ac_func_search_save_LIBS
2686 fi
2687 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
2688 echo "${ECHO_T}$ac_cv_search_opendir" >&6
2689 if test "$ac_cv_search_opendir" != no; then
2690 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
2691
2692 fi
2693
2694 else
2695 echo "$as_me:$LINENO: checking for library containing opendir" >&5
2696 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
2697 if test "${ac_cv_search_opendir+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 else
2700 ac_func_search_save_LIBS=$LIBS
2701 ac_cv_search_opendir=no
2702 cat >conftest.$ac_ext <<_ACEOF
2703 #line $LINENO "configure"
2704 #include "confdefs.h"
2705
2706 /* Override any gcc2 internal prototype to avoid an error. */
2707 #ifdef __cplusplus
2708 extern "C"
2709 #endif
2710 /* We use char because int might match the return type of a gcc2
2711 builtin and then its argument prototype would still apply. */
2712 char opendir ();
2713 #ifdef F77_DUMMY_MAIN
2714 # ifdef __cplusplus
2715 extern "C"
2716 # endif
2717 int F77_DUMMY_MAIN() { return 1; }
2718 #endif
2719 int
2720 main ()
2721 {
2722 opendir ();
2723 ;
2724 return 0;
2725 }
2726 _ACEOF
2727 rm -f conftest.$ac_objext conftest$ac_exeext
2728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2729 (eval $ac_link) 2>&5
2730 ac_status=$?
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } &&
2733 { ac_try='test -s conftest$ac_exeext'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 (eval $ac_try) 2>&5
2736 ac_status=$?
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2739 ac_cv_search_opendir="none required"
2740 else
2741 echo "$as_me: failed program was:" >&5
2742 cat conftest.$ac_ext >&5
2743 fi
2744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2745 if test "$ac_cv_search_opendir" = no; then
2746 for ac_lib in x; do
2747 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2748 cat >conftest.$ac_ext <<_ACEOF
2749 #line $LINENO "configure"
2750 #include "confdefs.h"
2751
2752 /* Override any gcc2 internal prototype to avoid an error. */
2753 #ifdef __cplusplus
2754 extern "C"
2755 #endif
2756 /* We use char because int might match the return type of a gcc2
2757 builtin and then its argument prototype would still apply. */
2758 char opendir ();
2759 #ifdef F77_DUMMY_MAIN
2760 # ifdef __cplusplus
2761 extern "C"
2762 # endif
2763 int F77_DUMMY_MAIN() { return 1; }
2764 #endif
2765 int
2766 main ()
2767 {
2768 opendir ();
2769 ;
2770 return 0;
2771 }
2772 _ACEOF
2773 rm -f conftest.$ac_objext conftest$ac_exeext
2774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2775 (eval $ac_link) 2>&5
2776 ac_status=$?
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try='test -s conftest$ac_exeext'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781 (eval $ac_try) 2>&5
2782 ac_status=$?
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; }; then
2785 ac_cv_search_opendir="-l$ac_lib"
2786 break
2787 else
2788 echo "$as_me: failed program was:" >&5
2789 cat conftest.$ac_ext >&5
2790 fi
2791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2792 done
2793 fi
2794 LIBS=$ac_func_search_save_LIBS
2795 fi
2796 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
2797 echo "${ECHO_T}$ac_cv_search_opendir" >&6
2798 if test "$ac_cv_search_opendir" != no; then
2799 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
2800
2801 fi
2802
2803 fi
2804
2805 ac_ext=c
2806 ac_cpp='$CPP $CPPFLAGS'
2807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2810 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2811 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2812 # On Suns, sometimes $CPP names a directory.
2813 if test -n "$CPP" && test -d "$CPP"; then
2814 CPP=
2815 fi
2816 if test -z "$CPP"; then
2817 if test "${ac_cv_prog_CPP+set}" = set; then
2818 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 else
2820 # Double quotes because CPP needs to be expanded
2821 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2822 do
2823 ac_preproc_ok=false
2824 for ac_c_preproc_warn_flag in '' yes
2825 do
2826 # Use a header file that comes with gcc, so configuring glibc
2827 # with a fresh cross-compiler works.
2828 # On the NeXT, cc -E runs the code through the compiler's parser,
2829 # not just through cpp. "Syntax error" is here to catch this case.
2830 cat >conftest.$ac_ext <<_ACEOF
2831 #line $LINENO "configure"
2832 #include "confdefs.h"
2833 #include <assert.h>
2834 Syntax error
2835 _ACEOF
2836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2838 ac_status=$?
2839 egrep -v '^ *\+' conftest.er1 >conftest.err
2840 rm -f conftest.er1
2841 cat conftest.err >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } >/dev/null; then
2844 if test -s conftest.err; then
2845 ac_cpp_err=$ac_c_preproc_warn_flag
2846 else
2847 ac_cpp_err=
2848 fi
2849 else
2850 ac_cpp_err=yes
2851 fi
2852 if test -z "$ac_cpp_err"; then
2853 :
2854 else
2855 echo "$as_me: failed program was:" >&5
2856 cat conftest.$ac_ext >&5
2857 # Broken: fails on valid input.
2858 continue
2859 fi
2860 rm -f conftest.err conftest.$ac_ext
2861
2862 # OK, works on sane cases. Now check whether non-existent headers
2863 # can be detected and how.
2864 cat >conftest.$ac_ext <<_ACEOF
2865 #line $LINENO "configure"
2866 #include "confdefs.h"
2867 #include <ac_nonexistent.h>
2868 _ACEOF
2869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2871 ac_status=$?
2872 egrep -v '^ *\+' conftest.er1 >conftest.err
2873 rm -f conftest.er1
2874 cat conftest.err >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); } >/dev/null; then
2877 if test -s conftest.err; then
2878 ac_cpp_err=$ac_c_preproc_warn_flag
2879 else
2880 ac_cpp_err=
2881 fi
2882 else
2883 ac_cpp_err=yes
2884 fi
2885 if test -z "$ac_cpp_err"; then
2886 # Broken: success on invalid input.
2887 continue
2888 else
2889 echo "$as_me: failed program was:" >&5
2890 cat conftest.$ac_ext >&5
2891 # Passes both tests.
2892 ac_preproc_ok=:
2893 break
2894 fi
2895 rm -f conftest.err conftest.$ac_ext
2896
2897 done
2898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2899 rm -f conftest.err conftest.$ac_ext
2900 if $ac_preproc_ok; then
2901 break
2902 fi
2903
2904 done
2905 ac_cv_prog_CPP=$CPP
2906
2907 fi
2908 CPP=$ac_cv_prog_CPP
2909 else
2910 ac_cv_prog_CPP=$CPP
2911 fi
2912 echo "$as_me:$LINENO: result: $CPP" >&5
2913 echo "${ECHO_T}$CPP" >&6
2914 ac_preproc_ok=false
2915 for ac_c_preproc_warn_flag in '' yes
2916 do
2917 # Use a header file that comes with gcc, so configuring glibc
2918 # with a fresh cross-compiler works.
2919 # On the NeXT, cc -E runs the code through the compiler's parser,
2920 # not just through cpp. "Syntax error" is here to catch this case.
2921 cat >conftest.$ac_ext <<_ACEOF
2922 #line $LINENO "configure"
2923 #include "confdefs.h"
2924 #include <assert.h>
2925 Syntax error
2926 _ACEOF
2927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2929 ac_status=$?
2930 egrep -v '^ *\+' conftest.er1 >conftest.err
2931 rm -f conftest.er1
2932 cat conftest.err >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } >/dev/null; then
2935 if test -s conftest.err; then
2936 ac_cpp_err=$ac_c_preproc_warn_flag
2937 else
2938 ac_cpp_err=
2939 fi
2940 else
2941 ac_cpp_err=yes
2942 fi
2943 if test -z "$ac_cpp_err"; then
2944 :
2945 else
2946 echo "$as_me: failed program was:" >&5
2947 cat conftest.$ac_ext >&5
2948 # Broken: fails on valid input.
2949 continue
2950 fi
2951 rm -f conftest.err conftest.$ac_ext
2952
2953 # OK, works on sane cases. Now check whether non-existent headers
2954 # can be detected and how.
2955 cat >conftest.$ac_ext <<_ACEOF
2956 #line $LINENO "configure"
2957 #include "confdefs.h"
2958 #include <ac_nonexistent.h>
2959 _ACEOF
2960 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2961 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2962 ac_status=$?
2963 egrep -v '^ *\+' conftest.er1 >conftest.err
2964 rm -f conftest.er1
2965 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } >/dev/null; then
2968 if test -s conftest.err; then
2969 ac_cpp_err=$ac_c_preproc_warn_flag
2970 else
2971 ac_cpp_err=
2972 fi
2973 else
2974 ac_cpp_err=yes
2975 fi
2976 if test -z "$ac_cpp_err"; then
2977 # Broken: success on invalid input.
2978 continue
2979 else
2980 echo "$as_me: failed program was:" >&5
2981 cat conftest.$ac_ext >&5
2982 # Passes both tests.
2983 ac_preproc_ok=:
2984 break
2985 fi
2986 rm -f conftest.err conftest.$ac_ext
2987
2988 done
2989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2990 rm -f conftest.err conftest.$ac_ext
2991 if $ac_preproc_ok; then
2992 :
2993 else
2994 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2996 { (exit 1); exit 1; }; }
2997 fi
2998
2999 ac_ext=c
3000 ac_cpp='$CPP $CPPFLAGS'
3001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3004
3005
3006 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3007 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3008 if test "${ac_cv_header_stdc+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 cat >conftest.$ac_ext <<_ACEOF
3012 #line $LINENO "configure"
3013 #include "confdefs.h"
3014 #include <stdlib.h>
3015 #include <stdarg.h>
3016 #include <string.h>
3017 #include <float.h>
3018
3019 _ACEOF
3020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3022 ac_status=$?
3023 egrep -v '^ *\+' conftest.er1 >conftest.err
3024 rm -f conftest.er1
3025 cat conftest.err >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); } >/dev/null; then
3028 if test -s conftest.err; then
3029 ac_cpp_err=$ac_c_preproc_warn_flag
3030 else
3031 ac_cpp_err=
3032 fi
3033 else
3034 ac_cpp_err=yes
3035 fi
3036 if test -z "$ac_cpp_err"; then
3037 ac_cv_header_stdc=yes
3038 else
3039 echo "$as_me: failed program was:" >&5
3040 cat conftest.$ac_ext >&5
3041 ac_cv_header_stdc=no
3042 fi
3043 rm -f conftest.err conftest.$ac_ext
3044
3045 if test $ac_cv_header_stdc = yes; then
3046 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3047 cat >conftest.$ac_ext <<_ACEOF
3048 #line $LINENO "configure"
3049 #include "confdefs.h"
3050 #include <string.h>
3051
3052 _ACEOF
3053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3054 egrep "memchr" >/dev/null 2>&1; then
3055 :
3056 else
3057 ac_cv_header_stdc=no
3058 fi
3059 rm -f conftest*
3060
3061 fi
3062
3063 if test $ac_cv_header_stdc = yes; then
3064 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3065 cat >conftest.$ac_ext <<_ACEOF
3066 #line $LINENO "configure"
3067 #include "confdefs.h"
3068 #include <stdlib.h>
3069
3070 _ACEOF
3071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3072 egrep "free" >/dev/null 2>&1; then
3073 :
3074 else
3075 ac_cv_header_stdc=no
3076 fi
3077 rm -f conftest*
3078
3079 fi
3080
3081 if test $ac_cv_header_stdc = yes; then
3082 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3083 if test "$cross_compiling" = yes; then
3084 :
3085 else
3086 cat >conftest.$ac_ext <<_ACEOF
3087 #line $LINENO "configure"
3088 #include "confdefs.h"
3089 #include <ctype.h>
3090 #if ((' ' & 0x0FF) == 0x020)
3091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3093 #else
3094 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3095 || ('j' <= (c) && (c) <= 'r') \
3096 || ('s' <= (c) && (c) <= 'z'))
3097 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3098 #endif
3099
3100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3101 int
3102 main ()
3103 {
3104 int i;
3105 for (i = 0; i < 256; i++)
3106 if (XOR (islower (i), ISLOWER (i))
3107 || toupper (i) != TOUPPER (i))
3108 exit(2);
3109 exit (0);
3110 }
3111 _ACEOF
3112 rm -f conftest$ac_exeext
3113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3114 (eval $ac_link) 2>&5
3115 ac_status=$?
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 (eval $ac_try) 2>&5
3120 ac_status=$?
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; }; then
3123 :
3124 else
3125 echo "$as_me: program exited with status $ac_status" >&5
3126 echo "$as_me: failed program was:" >&5
3127 cat conftest.$ac_ext >&5
3128 ( exit $ac_status )
3129 ac_cv_header_stdc=no
3130 fi
3131 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3132 fi
3133 fi
3134 fi
3135 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3136 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3137 if test $ac_cv_header_stdc = yes; then
3138
3139 cat >>confdefs.h <<\_ACEOF
3140 #define STDC_HEADERS 1
3141 _ACEOF
3142
3143 fi
3144
3145 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3156 inttypes.h stdint.h unistd.h
3157 do
3158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3159 echo "$as_me:$LINENO: checking for $ac_header" >&5
3160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6
3163 else
3164 cat >conftest.$ac_ext <<_ACEOF
3165 #line $LINENO "configure"
3166 #include "confdefs.h"
3167 $ac_includes_default
3168
3169 #include <$ac_header>
3170 _ACEOF
3171 rm -f conftest.$ac_objext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3173 (eval $ac_compile) 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } &&
3177 { ac_try='test -s conftest.$ac_objext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 (eval $ac_try) 2>&5
3180 ac_status=$?
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3183 eval "$as_ac_Header=yes"
3184 else
3185 echo "$as_me: failed program was:" >&5
3186 cat conftest.$ac_ext >&5
3187 eval "$as_ac_Header=no"
3188 fi
3189 rm -f conftest.$ac_objext conftest.$ac_ext
3190 fi
3191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3194 cat >>confdefs.h <<_ACEOF
3195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3196 _ACEOF
3197
3198 fi
3199
3200 done
3201
3202
3203
3204
3205
3206
3207
3208 for ac_header in fcntl.h stdlib.h string.h strings.h unistd.h
3209 do
3210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3212 echo "$as_me:$LINENO: checking for $ac_header" >&5
3213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 fi
3217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3219 else
3220 # Is the header compilable?
3221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3223 cat >conftest.$ac_ext <<_ACEOF
3224 #line $LINENO "configure"
3225 #include "confdefs.h"
3226 $ac_includes_default
3227 #include <$ac_header>
3228 _ACEOF
3229 rm -f conftest.$ac_objext
3230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3231 (eval $ac_compile) 2>&5
3232 ac_status=$?
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); } &&
3235 { ac_try='test -s conftest.$ac_objext'
3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 (eval $ac_try) 2>&5
3238 ac_status=$?
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); }; }; then
3241 ac_header_compiler=yes
3242 else
3243 echo "$as_me: failed program was:" >&5
3244 cat conftest.$ac_ext >&5
3245 ac_header_compiler=no
3246 fi
3247 rm -f conftest.$ac_objext conftest.$ac_ext
3248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3249 echo "${ECHO_T}$ac_header_compiler" >&6
3250
3251 # Is the header present?
3252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3254 cat >conftest.$ac_ext <<_ACEOF
3255 #line $LINENO "configure"
3256 #include "confdefs.h"
3257 #include <$ac_header>
3258 _ACEOF
3259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3261 ac_status=$?
3262 egrep -v '^ *\+' conftest.er1 >conftest.err
3263 rm -f conftest.er1
3264 cat conftest.err >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } >/dev/null; then
3267 if test -s conftest.err; then
3268 ac_cpp_err=$ac_c_preproc_warn_flag
3269 else
3270 ac_cpp_err=
3271 fi
3272 else
3273 ac_cpp_err=yes
3274 fi
3275 if test -z "$ac_cpp_err"; then
3276 ac_header_preproc=yes
3277 else
3278 echo "$as_me: failed program was:" >&5
3279 cat conftest.$ac_ext >&5
3280 ac_header_preproc=no
3281 fi
3282 rm -f conftest.err conftest.$ac_ext
3283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3284 echo "${ECHO_T}$ac_header_preproc" >&6
3285
3286 # So? What about this header?
3287 case $ac_header_compiler:$ac_header_preproc in
3288 yes:no )
3289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3293 no:yes )
3294 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3296 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3300 esac
3301 echo "$as_me:$LINENO: checking for $ac_header" >&5
3302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3304 echo $ECHO_N "(cached) $ECHO_C" >&6
3305 else
3306 eval "$as_ac_Header=$ac_header_preproc"
3307 fi
3308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3310
3311 fi
3312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3313 cat >>confdefs.h <<_ACEOF
3314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3315 _ACEOF
3316
3317 else
3318 \
3319 { { echo "$as_me:$LINENO: error: Development headers not found" >&5
3320 echo "$as_me: error: Development headers not found" >&2;}
3321 { (exit 1); exit 1; }; }
3322 fi
3323
3324 done
3325
3326
3327 # Checks for typedefs, structures, and compiler characteristics.
3328 echo "$as_me:$LINENO: checking for size_t" >&5
3329 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3330 if test "${ac_cv_type_size_t+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 else
3333 cat >conftest.$ac_ext <<_ACEOF
3334 #line $LINENO "configure"
3335 #include "confdefs.h"
3336 $ac_includes_default
3337 #ifdef F77_DUMMY_MAIN
3338 # ifdef __cplusplus
3339 extern "C"
3340 # endif
3341 int F77_DUMMY_MAIN() { return 1; }
3342 #endif
3343 int
3344 main ()
3345 {
3346 if ((size_t *) 0)
3347 return 0;
3348 if (sizeof (size_t))
3349 return 0;
3350 ;
3351 return 0;
3352 }
3353 _ACEOF
3354 rm -f conftest.$ac_objext
3355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3356 (eval $ac_compile) 2>&5
3357 ac_status=$?
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); } &&
3360 { ac_try='test -s conftest.$ac_objext'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 (eval $ac_try) 2>&5
3363 ac_status=$?
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; }; then
3366 ac_cv_type_size_t=yes
3367 else
3368 echo "$as_me: failed program was:" >&5
3369 cat conftest.$ac_ext >&5
3370 ac_cv_type_size_t=no
3371 fi
3372 rm -f conftest.$ac_objext conftest.$ac_ext
3373 fi
3374 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3375 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3376 if test $ac_cv_type_size_t = yes; then
3377 :
3378 else
3379
3380 cat >>confdefs.h <<_ACEOF
3381 #define size_t unsigned
3382 _ACEOF
3383
3384 fi
3385
3386 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3387 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3388 if test "${ac_cv_struct_tm+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 else
3391 cat >conftest.$ac_ext <<_ACEOF
3392 #line $LINENO "configure"
3393 #include "confdefs.h"
3394 #include <sys/types.h>
3395 #include <time.h>
3396
3397 #ifdef F77_DUMMY_MAIN
3398 # ifdef __cplusplus
3399 extern "C"
3400 # endif
3401 int F77_DUMMY_MAIN() { return 1; }
3402 #endif
3403 int
3404 main ()
3405 {
3406 struct tm *tp; tp->tm_sec;
3407 ;
3408 return 0;
3409 }
3410 _ACEOF
3411 rm -f conftest.$ac_objext
3412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3413 (eval $ac_compile) 2>&5
3414 ac_status=$?
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } &&
3417 { ac_try='test -s conftest.$ac_objext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419 (eval $ac_try) 2>&5
3420 ac_status=$?
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3423 ac_cv_struct_tm=time.h
3424 else
3425 echo "$as_me: failed program was:" >&5
3426 cat conftest.$ac_ext >&5
3427 ac_cv_struct_tm=sys/time.h
3428 fi
3429 rm -f conftest.$ac_objext conftest.$ac_ext
3430 fi
3431 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3432 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3433 if test $ac_cv_struct_tm = sys/time.h; then
3434
3435 cat >>confdefs.h <<\_ACEOF
3436 #define TM_IN_SYS_TIME 1
3437 _ACEOF
3438
3439 fi
3440
3441
3442 # Checks for library functions.
3443
3444 for ac_header in stdlib.h
3445 do
3446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3448 echo "$as_me:$LINENO: checking for $ac_header" >&5
3449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 fi
3453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3455 else
3456 # Is the header compilable?
3457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3459 cat >conftest.$ac_ext <<_ACEOF
3460 #line $LINENO "configure"
3461 #include "confdefs.h"
3462 $ac_includes_default
3463 #include <$ac_header>
3464 _ACEOF
3465 rm -f conftest.$ac_objext
3466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 (eval $ac_compile) 2>&5
3468 ac_status=$?
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); } &&
3471 { ac_try='test -s conftest.$ac_objext'
3472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 (eval $ac_try) 2>&5
3474 ac_status=$?
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }; }; then
3477 ac_header_compiler=yes
3478 else
3479 echo "$as_me: failed program was:" >&5
3480 cat conftest.$ac_ext >&5
3481 ac_header_compiler=no
3482 fi
3483 rm -f conftest.$ac_objext conftest.$ac_ext
3484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3485 echo "${ECHO_T}$ac_header_compiler" >&6
3486
3487 # Is the header present?
3488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3490 cat >conftest.$ac_ext <<_ACEOF
3491 #line $LINENO "configure"
3492 #include "confdefs.h"
3493 #include <$ac_header>
3494 _ACEOF
3495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3497 ac_status=$?
3498 egrep -v '^ *\+' conftest.er1 >conftest.err
3499 rm -f conftest.er1
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } >/dev/null; then
3503 if test -s conftest.err; then
3504 ac_cpp_err=$ac_c_preproc_warn_flag
3505 else
3506 ac_cpp_err=
3507 fi
3508 else
3509 ac_cpp_err=yes
3510 fi
3511 if test -z "$ac_cpp_err"; then
3512 ac_header_preproc=yes
3513 else
3514 echo "$as_me: failed program was:" >&5
3515 cat conftest.$ac_ext >&5
3516 ac_header_preproc=no
3517 fi
3518 rm -f conftest.err conftest.$ac_ext
3519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3520 echo "${ECHO_T}$ac_header_preproc" >&6
3521
3522 # So? What about this header?
3523 case $ac_header_compiler:$ac_header_preproc in
3524 yes:no )
3525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3529 no:yes )
3530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3536 esac
3537 echo "$as_me:$LINENO: checking for $ac_header" >&5
3538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 else
3542 eval "$as_ac_Header=$ac_header_preproc"
3543 fi
3544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3546
3547 fi
3548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3549 cat >>confdefs.h <<_ACEOF
3550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3551 _ACEOF
3552
3553 fi
3554
3555 done
3556
3557 echo "$as_me:$LINENO: checking for working malloc" >&5
3558 echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
3559 if test "${ac_cv_func_malloc_works+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 else
3562 if test "$cross_compiling" = yes; then
3563 ac_cv_func_malloc_works=no
3564 else
3565 cat >conftest.$ac_ext <<_ACEOF
3566 #line $LINENO "configure"
3567 #include "confdefs.h"
3568 #if STDC_HEADERS || HAVE_STDLIB_H
3569 # include <stdlib.h>
3570 #else
3571 char *malloc ();
3572 #endif
3573
3574 #ifdef F77_DUMMY_MAIN
3575 # ifdef __cplusplus
3576 extern "C"
3577 # endif
3578 int F77_DUMMY_MAIN() { return 1; }
3579 #endif
3580 int
3581 main ()
3582 {
3583 exit (malloc (0) ? 0 : 1);
3584 ;
3585 return 0;
3586 }
3587 _ACEOF
3588 rm -f conftest$ac_exeext
3589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3590 (eval $ac_link) 2>&5
3591 ac_status=$?
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 (eval $ac_try) 2>&5
3596 ac_status=$?
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; }; then
3599 ac_cv_func_malloc_works=yes
3600 else
3601 echo "$as_me: program exited with status $ac_status" >&5
3602 echo "$as_me: failed program was:" >&5
3603 cat conftest.$ac_ext >&5
3604 ( exit $ac_status )
3605 ac_cv_func_malloc_works=no
3606 fi
3607 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3608 fi
3609 fi
3610 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_works" >&5
3611 echo "${ECHO_T}$ac_cv_func_malloc_works" >&6
3612 if test $ac_cv_func_malloc_works = yes; then
3613
3614 cat >>confdefs.h <<\_ACEOF
3615 #define HAVE_MALLOC 1
3616 _ACEOF
3617
3618 fi
3619
3620 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
3621 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
3622 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 else
3625 rm -f conftest.sym conftest.file
3626 echo >conftest.file
3627 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
3628 if test "$cross_compiling" = yes; then
3629 ac_cv_func_lstat_dereferences_slashed_symlink=no
3630 else
3631 cat >conftest.$ac_ext <<_ACEOF
3632 #line $LINENO "configure"
3633 #include "confdefs.h"
3634 $ac_includes_default
3635 #ifdef F77_DUMMY_MAIN
3636 # ifdef __cplusplus
3637 extern "C"
3638 # endif
3639 int F77_DUMMY_MAIN() { return 1; }
3640 #endif
3641 int
3642 main ()
3643 {
3644 struct stat sbuf;
3645 /* Linux will dereference the symlink and fail.
3646 That is better in the sense that it means we will not
3647 have to compile and use the lstat wrapper. */
3648 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
3649 ;
3650 return 0;
3651 }
3652 _ACEOF
3653 rm -f conftest$ac_exeext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3655 (eval $ac_link) 2>&5
3656 ac_status=$?
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3660 (eval $ac_try) 2>&5
3661 ac_status=$?
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; }; then
3664 ac_cv_func_lstat_dereferences_slashed_symlink=yes
3665 else
3666 echo "$as_me: program exited with status $ac_status" >&5
3667 echo "$as_me: failed program was:" >&5
3668 cat conftest.$ac_ext >&5
3669 ( exit $ac_status )
3670 ac_cv_func_lstat_dereferences_slashed_symlink=no
3671 fi
3672 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3673 fi
3674 else
3675 # If the `ln -s' command failed, then we probably don't even
3676 # have an lstat function.
3677 ac_cv_func_lstat_dereferences_slashed_symlink=no
3678 fi
3679 rm -f conftest.sym conftest.file
3680
3681 fi
3682 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
3683 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
3684
3685 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
3686
3687 cat >>confdefs.h <<_ACEOF
3688 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
3689 _ACEOF
3690
3691
3692 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
3693 LIBOBJS="$LIBOBJS lstat.$ac_objext"
3694 fi
3695
3696 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
3697 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
3698 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 if test "$cross_compiling" = yes; then
3702 ac_cv_func_stat_empty_string_bug=yes
3703 else
3704 cat >conftest.$ac_ext <<_ACEOF
3705 #line $LINENO "configure"
3706 #include "confdefs.h"
3707 $ac_includes_default
3708 #ifdef F77_DUMMY_MAIN
3709 # ifdef __cplusplus
3710 extern "C"
3711 # endif
3712 int F77_DUMMY_MAIN() { return 1; }
3713 #endif
3714 int
3715 main ()
3716 {
3717 struct stat sbuf;
3718 exit (stat ("", &sbuf) ? 1 : 0);
3719 ;
3720 return 0;
3721 }
3722 _ACEOF
3723 rm -f conftest$ac_exeext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3725 (eval $ac_link) 2>&5
3726 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730 (eval $ac_try) 2>&5
3731 ac_status=$?
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); }; }; then
3734 ac_cv_func_stat_empty_string_bug=yes
3735 else
3736 echo "$as_me: program exited with status $ac_status" >&5
3737 echo "$as_me: failed program was:" >&5
3738 cat conftest.$ac_ext >&5
3739 ( exit $ac_status )
3740 ac_cv_func_stat_empty_string_bug=no
3741 fi
3742 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3743 fi
3744 fi
3745 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
3746 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
3747 if test $ac_cv_func_stat_empty_string_bug = yes; then
3748 LIBOBJS="$LIBOBJS stat.$ac_objext"
3749
3750 cat >>confdefs.h <<_ACEOF
3751 #define HAVE_STAT_EMPTY_STRING_BUG 1
3752 _ACEOF
3753
3754 fi
3755
3756
3757
3758
3759
3760
3761
3762
3763 for ac_func in gethostname memset mkdir strcasecmp strdup strerror strstr
3764 do
3765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3766 echo "$as_me:$LINENO: checking for $ac_func" >&5
3767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3768 if eval "test \"\${$as_ac_var+set}\" = set"; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 else
3771 cat >conftest.$ac_ext <<_ACEOF
3772 #line $LINENO "configure"
3773 #include "confdefs.h"
3774 /* System header to define __stub macros and hopefully few prototypes,
3775 which can conflict with char $ac_func (); below. */
3776 #include <assert.h>
3777 /* Override any gcc2 internal prototype to avoid an error. */
3778 #ifdef __cplusplus
3779 extern "C"
3780 #endif
3781 /* We use char because int might match the return type of a gcc2
3782 builtin and then its argument prototype would still apply. */
3783 char $ac_func ();
3784 char (*f) ();
3785
3786 #ifdef F77_DUMMY_MAIN
3787 # ifdef __cplusplus
3788 extern "C"
3789 # endif
3790 int F77_DUMMY_MAIN() { return 1; }
3791 #endif
3792 int
3793 main ()
3794 {
3795 /* The GNU C library defines this for functions which it implements
3796 to always fail with ENOSYS. Some functions are actually named
3797 something starting with __ and the normal name is an alias. */
3798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3799 choke me
3800 #else
3801 f = $ac_func;
3802 #endif
3803
3804 ;
3805 return 0;
3806 }
3807 _ACEOF
3808 rm -f conftest.$ac_objext conftest$ac_exeext
3809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3810 (eval $ac_link) 2>&5
3811 ac_status=$?
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); } &&
3814 { ac_try='test -s conftest$ac_exeext'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816 (eval $ac_try) 2>&5
3817 ac_status=$?
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; }; then
3820 eval "$as_ac_var=yes"
3821 else
3822 echo "$as_me: failed program was:" >&5
3823 cat conftest.$ac_ext >&5
3824 eval "$as_ac_var=no"
3825 fi
3826 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3827 fi
3828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3830 if test `eval echo '${'$as_ac_var'}'` = yes; then
3831 cat >>confdefs.h <<_ACEOF
3832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3833 _ACEOF
3834
3835 else
3836 \
3837 { { echo "$as_me:$LINENO: error: functions not found" >&5
3838 echo "$as_me: error: functions not found" >&2;}
3839 { (exit 1); exit 1; }; }
3840 fi
3841 done
3842
3843
3844 cat >>confdefs.h <<_ACEOF
3845 #define CONFIGFILE "${prefix}/etc/isoqlog.conf"
3846 _ACEOF
3847
3848
3849 ac_config_files="$ac_config_files Makefile"
3850
3851 ac_config_files="$ac_config_files isoqlog/Makefile"
3852
3853 ac_config_files="$ac_config_files data/Makefile"
3854
3855 ac_config_files="$ac_config_files data/isoqlog.conf-dist"
3856
3857 ac_config_files="$ac_config_files data/htmltemp/Makefile"
3858
3859 ac_config_files="$ac_config_files data/htmltemp/images/Makefile"
3860
3861 ac_config_files="$ac_config_files data/htmltemp/library/Makefile"
3862
3863 ac_config_files="$ac_config_files data/lang/Makefile"
3864
3865 ac_config_files="$ac_config_files tr/Makefile"
3866
3867 cat >confcache <<\_ACEOF
3868 # This file is a shell script that caches the results of configure
3869 # tests run on this system so they can be shared between configure
3870 # scripts and configure runs, see configure's option --config-cache.
3871 # It is not useful on other systems. If it contains results you don't
3872 # want to keep, you may remove or edit it.
3873 #
3874 # config.status only pays attention to the cache file if you give it
3875 # the --recheck option to rerun configure.
3876 #
3877 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3878 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3879 # following values.
3880
3881 _ACEOF
3882
3883 # The following way of writing the cache mishandles newlines in values,
3884 # but we know of no workaround that is simple, portable, and efficient.
3885 # So, don't put newlines in cache variables' values.
3886 # Ultrix sh set writes to stderr and can't be redirected directly,
3887 # and sets the high bit in the cache file unless we assign to the vars.
3888 {
3889 (set) 2>&1 |
3890 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3891 *ac_space=\ *)
3892 # `set' does not quote correctly, so add quotes (double-quote
3893 # substitution turns \\\\ into \\, and sed turns \\ into \).
3894 sed -n \
3895 "s/'/'\\\\''/g;
3896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3897 ;;
3898 *)
3899 # `set' quotes correctly as required by POSIX, so do not add quotes.
3900 sed -n \
3901 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3902 ;;
3903 esac;
3904 } |
3905 sed '
3906 t clear
3907 : clear
3908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3909 t end
3910 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3911 : end' >>confcache
3912 if cmp -s $cache_file confcache; then :; else
3913 if test -w $cache_file; then
3914 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3915 cat confcache >$cache_file
3916 else
3917 echo "not updating unwritable cache $cache_file"
3918 fi
3919 fi
3920 rm -f confcache
3921
3922 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3923 # Let make expand exec_prefix.
3924 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3925
3926 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3927 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3928 # trailing colons and then remove the whole line if VPATH becomes empty
3929 # (actually we leave an empty line to preserve line numbers).
3930 if test "x$srcdir" = x.; then
3931 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3932 s/:*\$(srcdir):*/:/;
3933 s/:*\${srcdir}:*/:/;
3934 s/:*@srcdir@:*/:/;
3935 s/^\([^=]*=[ ]*\):*/\1/;
3936 s/:*$//;
3937 s/^[^=]*=[ ]*$//;
3938 }'
3939 fi
3940
3941 DEFS=-DHAVE_CONFIG_H
3942
3943
3944 : ${CONFIG_STATUS=./config.status}
3945 ac_clean_files_save=$ac_clean_files
3946 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3947 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3948 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3949 cat >$CONFIG_STATUS <<_ACEOF
3950 #! $SHELL
3951 # Generated by $as_me.
3952 # Run this file to recreate the current configuration.
3953 # Compiler output produced by configure, useful for debugging
3954 # configure, is in config.log if it exists.
3955
3956 debug=false
3957 SHELL=\${CONFIG_SHELL-$SHELL}
3958 _ACEOF
3959
3960 cat >>$CONFIG_STATUS <<\_ACEOF
3961
3962 ## --------------------- ##
3963 ## M4sh Initialization. ##
3964 ## --------------------- ##
3965
3966 # Be Bourne compatible
3967 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3968 emulate sh
3969 NULLCMD=:
3970 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3971 set -o posix
3972 fi
3973
3974 # NLS nuisances.
3975 # Support unset when possible.
3976 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3977 as_unset=unset
3978 else
3979 as_unset=false
3980 fi
3981
3982 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3983 { $as_unset LANG || test "${LANG+set}" != set; } ||
3984 { LANG=C; export LANG; }
3985 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3986 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3987 { LC_ALL=C; export LC_ALL; }
3988 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3989 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3990 { LC_TIME=C; export LC_TIME; }
3991 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3992 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3993 { LC_CTYPE=C; export LC_CTYPE; }
3994 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3995 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3996 { LANGUAGE=C; export LANGUAGE; }
3997 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3998 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3999 { LC_COLLATE=C; export LC_COLLATE; }
4000 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4001 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4002 { LC_NUMERIC=C; export LC_NUMERIC; }
4003 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4004 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4005 { LC_MESSAGES=C; export LC_MESSAGES; }
4006
4007
4008 # Name of the executable.
4009 as_me=`(basename "$0") 2>/dev/null ||
4010 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4011 X"$0" : 'X\(//\)$' \| \
4012 X"$0" : 'X\(/\)$' \| \
4013 . : '\(.\)' 2>/dev/null ||
4014 echo X/"$0" |
4015 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4016 /^X\/\(\/\/\)$/{ s//\1/; q; }
4017 /^X\/\(\/\).*/{ s//\1/; q; }
4018 s/.*/./; q'`
4019
4020 # PATH needs CR, and LINENO needs CR and PATH.
4021 # Avoid depending upon Character Ranges.
4022 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4023 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4024 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4025 as_cr_digits='0123456789'
4026 as_cr_alnum=$as_cr_Letters$as_cr_digits
4027
4028 # The user is always right.
4029 if test "${PATH_SEPARATOR+set}" != set; then
4030 echo "#! /bin/sh" >conftest.sh
4031 echo "exit 0" >>conftest.sh
4032 chmod +x conftest.sh
4033 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4034 PATH_SEPARATOR=';'
4035 else
4036 PATH_SEPARATOR=:
4037 fi
4038 rm -f conftest.sh
4039 fi
4040
4041
4042 as_lineno_1=$LINENO
4043 as_lineno_2=$LINENO
4044 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4045 test "x$as_lineno_1" != "x$as_lineno_2" &&
4046 test "x$as_lineno_3" = "x$as_lineno_2" || {
4047 # Find who we are. Look in the path if we contain no path at all
4048 # relative or not.
4049 case $0 in
4050 *[\\/]* ) as_myself=$0 ;;
4051 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH
4053 do
4054 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=.
4056 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4057 done
4058
4059 ;;
4060 esac
4061 # We did not find ourselves, most probably we were run as `sh COMMAND'
4062 # in which case we are not to be found in the path.
4063 if test "x$as_myself" = x; then
4064 as_myself=$0
4065 fi
4066 if test ! -f "$as_myself"; then
4067 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4068 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4069 { (exit 1); exit 1; }; }
4070 fi
4071 case $CONFIG_SHELL in
4072 '')
4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4074 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4075 do
4076 IFS=$as_save_IFS
4077 test -z "$as_dir" && as_dir=.
4078 for as_base in sh bash ksh sh5; do
4079 case $as_dir in
4080 /*)
4081 if ("$as_dir/$as_base" -c '
4082 as_lineno_1=$LINENO
4083 as_lineno_2=$LINENO
4084 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4085 test "x$as_lineno_1" != "x$as_lineno_2" &&
4086 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4087 CONFIG_SHELL=$as_dir/$as_base
4088 export CONFIG_SHELL
4089 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4090 fi;;
4091 esac
4092 done
4093 done
4094 ;;
4095 esac
4096
4097 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4098 # uniformly replaced by the line number. The first 'sed' inserts a
4099 # line-number line before each line; the second 'sed' does the real
4100 # work. The second script uses 'N' to pair each line-number line
4101 # with the numbered line, and appends trailing '-' during
4102 # substitution so that $LINENO is not a special case at line end.
4103 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4104 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4105 sed '=' <$as_myself |
4106 sed '
4107 N
4108 s,$,-,
4109 : loop
4110 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4111 t loop
4112 s,-$,,
4113 s,^['$as_cr_digits']*\n,,
4114 ' >$as_me.lineno &&
4115 chmod +x $as_me.lineno ||
4116 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4117 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4118 { (exit 1); exit 1; }; }
4119
4120 # Don't try to exec as it changes $[0], causing all sort of problems
4121 # (the dirname of $[0] is not the place where we might find the
4122 # original and so on. Autoconf is especially sensible to this).
4123 . ./$as_me.lineno
4124 # Exit status is that of the last command.
4125 exit
4126 }
4127
4128
4129 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4130 *c*,-n*) ECHO_N= ECHO_C='
4131 ' ECHO_T=' ' ;;
4132 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4133 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4134 esac
4135
4136 if expr a : '\(a\)' >/dev/null 2>&1; then
4137 as_expr=expr
4138 else
4139 as_expr=false
4140 fi
4141
4142 rm -f conf$$ conf$$.exe conf$$.file
4143 echo >conf$$.file
4144 if ln -s conf$$.file conf$$ 2>/dev/null; then
4145 # We could just check for DJGPP; but this test a) works b) is more generic
4146 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4147 if test -f conf$$.exe; then
4148 # Don't use ln at all; we don't have any links
4149 as_ln_s='cp -p'
4150 else
4151 as_ln_s='ln -s'
4152 fi
4153 elif ln conf$$.file conf$$ 2>/dev/null; then
4154 as_ln_s=ln
4155 else
4156 as_ln_s='cp -p'
4157 fi
4158 rm -f conf$$ conf$$.exe conf$$.file
4159
4160 as_executable_p="test -f"
4161
4162 # Sed expression to map a string onto a valid CPP name.
4163 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4164
4165 # Sed expression to map a string onto a valid variable name.
4166 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4167
4168
4169 # IFS
4170 # We need space, tab and new line, in precisely that order.
4171 as_nl='
4172 '
4173 IFS=" $as_nl"
4174
4175 # CDPATH.
4176 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4177
4178 exec 6>&1
4179
4180 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4181 # report actual input values of CONFIG_FILES etc. instead of their
4182 # values after options handling. Logging --version etc. is OK.
4183 exec 5>>config.log
4184 {
4185 echo
4186 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4187 ## Running $as_me. ##
4188 _ASBOX
4189 } >&5
4190 cat >&5 <<_CSEOF
4191
4192 This file was extended by isoqlog $as_me 2.2.1, which was
4193 generated by GNU Autoconf 2.53. Invocation command line was
4194
4195 CONFIG_FILES = $CONFIG_FILES
4196 CONFIG_HEADERS = $CONFIG_HEADERS
4197 CONFIG_LINKS = $CONFIG_LINKS
4198 CONFIG_COMMANDS = $CONFIG_COMMANDS
4199 $ $0 $@
4200
4201 _CSEOF
4202 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4203 echo >&5
4204 _ACEOF
4205
4206 # Files that config.status was made for.
4207 if test -n "$ac_config_files"; then
4208 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4209 fi
4210
4211 if test -n "$ac_config_headers"; then
4212 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4213 fi
4214
4215 if test -n "$ac_config_links"; then
4216 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4217 fi
4218
4219 if test -n "$ac_config_commands"; then
4220 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4221 fi
4222
4223 cat >>$CONFIG_STATUS <<\_ACEOF
4224
4225 ac_cs_usage="\
4226 \`$as_me' instantiates files from templates according to the
4227 current configuration.
4228
4229 Usage: $0 [OPTIONS] [FILE]...
4230
4231 -h, --help print this help, then exit
4232 -V, --version print version number, then exit
4233 -d, --debug don't remove temporary files
4234 --recheck update $as_me by reconfiguring in the same conditions
4235 --file=FILE[:TEMPLATE]
4236 instantiate the configuration file FILE
4237 --header=FILE[:TEMPLATE]
4238 instantiate the configuration header FILE
4239
4240 Configuration files:
4241 $config_files
4242
4243 Configuration headers:
4244 $config_headers
4245
4246 Configuration commands:
4247 $config_commands
4248
4249 Report bugs to <[email protected]>."
4250 _ACEOF
4251
4252 cat >>$CONFIG_STATUS <<_ACEOF
4253 ac_cs_version="\\
4254 isoqlog config.status 2.2.1
4255 configured by $0, generated by GNU Autoconf 2.53,
4256 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4257
4258 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4259 Free Software Foundation, Inc.
4260 This config.status script is free software; the Free Software Foundation
4261 gives unlimited permission to copy, distribute and modify it."
4262 srcdir=$srcdir
4263 INSTALL="$INSTALL"
4264 _ACEOF
4265
4266 cat >>$CONFIG_STATUS <<\_ACEOF
4267 # If no file are specified by the user, then we need to provide default
4268 # value. By we need to know if files were specified by the user.
4269 ac_need_defaults=:
4270 while test $# != 0
4271 do
4272 case $1 in
4273 --*=*)
4274 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4275 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4276 shift
4277 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4278 shift
4279 ;;
4280 -*);;
4281 *) # This is not an option, so the user has probably given explicit
4282 # arguments.
4283 ac_need_defaults=false;;
4284 esac
4285
4286 case $1 in
4287 # Handling of the options.
4288 _ACEOF
4289 cat >>$CONFIG_STATUS <<_ACEOF
4290 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4291 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4292 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4293 _ACEOF
4294 cat >>$CONFIG_STATUS <<\_ACEOF
4295 --version | --vers* | -V )
4296 echo "$ac_cs_version"; exit 0 ;;
4297 --he | --h)
4298 # Conflict between --help and --header
4299 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4300 Try \`$0 --help' for more information." >&5
4301 echo "$as_me: error: ambiguous option: $1
4302 Try \`$0 --help' for more information." >&2;}
4303 { (exit 1); exit 1; }; };;
4304 --help | --hel | -h )
4305 echo "$ac_cs_usage"; exit 0 ;;
4306 --debug | --d* | -d )
4307 debug=: ;;
4308 --file | --fil | --fi | --f )
4309 shift
4310 CONFIG_FILES="$CONFIG_FILES $1"
4311 ac_need_defaults=false;;
4312 --header | --heade | --head | --hea )
4313 shift
4314 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4315 ac_need_defaults=false;;
4316
4317 # This is an error.
4318 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4319 Try \`$0 --help' for more information." >&5
4320 echo "$as_me: error: unrecognized option: $1
4321 Try \`$0 --help' for more information." >&2;}
4322 { (exit 1); exit 1; }; } ;;
4323
4324 *) ac_config_targets="$ac_config_targets $1" ;;
4325
4326 esac
4327 shift
4328 done
4329
4330 _ACEOF
4331
4332 cat >>$CONFIG_STATUS <<_ACEOF
4333 #
4334 # INIT-COMMANDS section.
4335 #
4336
4337 AMDEP_TRUE="$AMDEP_TRUE"
4338 ac_aux_dir="$ac_aux_dir"
4339
4340 _ACEOF
4341
4342
4343
4344 cat >>$CONFIG_STATUS <<\_ACEOF
4345 for ac_config_target in $ac_config_targets
4346 do
4347 case "$ac_config_target" in
4348 # Handling of arguments.
4349 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4350 "isoqlog/Makefile" ) CONFIG_FILES="$CONFIG_FILES isoqlog/Makefile" ;;
4351 "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
4352 "data/isoqlog.conf-dist" ) CONFIG_FILES="$CONFIG_FILES data/isoqlog.conf-dist" ;;
4353 "data/htmltemp/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/htmltemp/Makefile" ;;
4354 "data/htmltemp/images/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/htmltemp/images/Makefile" ;;
4355 "data/htmltemp/library/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/htmltemp/library/Makefile" ;;
4356 "data/lang/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/lang/Makefile" ;;
4357 "tr/Makefile" ) CONFIG_FILES="$CONFIG_FILES tr/Makefile" ;;
4358 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4359 "isoqlog/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS isoqlog/config.h" ;;
4360 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4361 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4362 { (exit 1); exit 1; }; };;
4363 esac
4364 done
4365
4366 # If the user did not use the arguments to specify the items to instantiate,
4367 # then the envvar interface is used. Set only those that are not.
4368 # We use the long form for the default assignment because of an extremely
4369 # bizarre bug on SunOS 4.1.3.
4370 if $ac_need_defaults; then
4371 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4372 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4373 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4374 fi
4375
4376 # Create a temporary directory, and hook for its removal unless debugging.
4377 $debug ||
4378 {
4379 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4380 trap '{ (exit 1); exit 1; }' 1 2 13 15
4381 }
4382
4383 # Create a (secure) tmp directory for tmp files.
4384 : ${TMPDIR=/tmp}
4385 {
4386 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4387 test -n "$tmp" && test -d "$tmp"
4388 } ||
4389 {
4390 tmp=$TMPDIR/cs$$-$RANDOM
4391 (umask 077 && mkdir $tmp)
4392 } ||
4393 {
4394 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4395 { (exit 1); exit 1; }
4396 }
4397
4398 _ACEOF
4399
4400 cat >>$CONFIG_STATUS <<_ACEOF
4401
4402 #
4403 # CONFIG_FILES section.
4404 #
4405
4406 # No need to generate the scripts if there are no CONFIG_FILES.
4407 # This happens for instance when ./config.status config.h
4408 if test -n "\$CONFIG_FILES"; then
4409 # Protect against being on the right side of a sed subst in config.status.
4410 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4411 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4412 s,@SHELL@,$SHELL,;t t
4413 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4414 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4415 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4416 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4417 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4418 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4419 s,@exec_prefix@,$exec_prefix,;t t
4420 s,@prefix@,$prefix,;t t
4421 s,@program_transform_name@,$program_transform_name,;t t
4422 s,@bindir@,$bindir,;t t
4423 s,@sbindir@,$sbindir,;t t
4424 s,@libexecdir@,$libexecdir,;t t
4425 s,@datadir@,$datadir,;t t
4426 s,@sysconfdir@,$sysconfdir,;t t
4427 s,@sharedstatedir@,$sharedstatedir,;t t
4428 s,@localstatedir@,$localstatedir,;t t
4429 s,@libdir@,$libdir,;t t
4430 s,@includedir@,$includedir,;t t
4431 s,@oldincludedir@,$oldincludedir,;t t
4432 s,@infodir@,$infodir,;t t
4433 s,@mandir@,$mandir,;t t
4434 s,@build_alias@,$build_alias,;t t
4435 s,@host_alias@,$host_alias,;t t
4436 s,@target_alias@,$target_alias,;t t
4437 s,@DEFS@,$DEFS,;t t
4438 s,@ECHO_C@,$ECHO_C,;t t
4439 s,@ECHO_N@,$ECHO_N,;t t
4440 s,@ECHO_T@,$ECHO_T,;t t
4441 s,@LIBS@,$LIBS,;t t
4442 s,@build@,$build,;t t
4443 s,@build_cpu@,$build_cpu,;t t
4444 s,@build_vendor@,$build_vendor,;t t
4445 s,@build_os@,$build_os,;t t
4446 s,@host@,$host,;t t
4447 s,@host_cpu@,$host_cpu,;t t
4448 s,@host_vendor@,$host_vendor,;t t
4449 s,@host_os@,$host_os,;t t
4450 s,@target@,$target,;t t
4451 s,@target_cpu@,$target_cpu,;t t
4452 s,@target_vendor@,$target_vendor,;t t
4453 s,@target_os@,$target_os,;t t
4454 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4455 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4456 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4457 s,@PACKAGE@,$PACKAGE,;t t
4458 s,@VERSION@,$VERSION,;t t
4459 s,@EXEEXT@,$EXEEXT,;t t
4460 s,@OBJEXT@,$OBJEXT,;t t
4461 s,@ACLOCAL@,$ACLOCAL,;t t
4462 s,@AUTOCONF@,$AUTOCONF,;t t
4463 s,@AUTOMAKE@,$AUTOMAKE,;t t
4464 s,@AUTOHEADER@,$AUTOHEADER,;t t
4465 s,@MAKEINFO@,$MAKEINFO,;t t
4466 s,@AMTAR@,$AMTAR,;t t
4467 s,@install_sh@,$install_sh,;t t
4468 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4469 s,@AWK@,$AWK,;t t
4470 s,@SET_MAKE@,$SET_MAKE,;t t
4471 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4472 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4473 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4474 s,@DEPDIR@,$DEPDIR,;t t
4475 s,@CC@,$CC,;t t
4476 s,@CFLAGS@,$CFLAGS,;t t
4477 s,@LDFLAGS@,$LDFLAGS,;t t
4478 s,@CPPFLAGS@,$CPPFLAGS,;t t
4479 s,@ac_ct_CC@,$ac_ct_CC,;t t
4480 s,@am__include@,$am__include,;t t
4481 s,@am__quote@,$am__quote,;t t
4482 s,@CCDEPMODE@,$CCDEPMODE,;t t
4483 s,@CPP@,$CPP,;t t
4484 s,@LIBOBJS@,$LIBOBJS,;t t
4485 CEOF
4486
4487 _ACEOF
4488
4489 cat >>$CONFIG_STATUS <<\_ACEOF
4490 # Split the substitutions into bite-sized pieces for seds with
4491 # small command number limits, like on Digital OSF/1 and HP-UX.
4492 ac_max_sed_lines=48
4493 ac_sed_frag=1 # Number of current file.
4494 ac_beg=1 # First line for current file.
4495 ac_end=$ac_max_sed_lines # Line after last line for current file.
4496 ac_more_lines=:
4497 ac_sed_cmds=
4498 while $ac_more_lines; do
4499 if test $ac_beg -gt 1; then
4500 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4501 else
4502 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4503 fi
4504 if test ! -s $tmp/subs.frag; then
4505 ac_more_lines=false
4506 else
4507 # The purpose of the label and of the branching condition is to
4508 # speed up the sed processing (if there are no `@' at all, there
4509 # is no need to browse any of the substitutions).
4510 # These are the two extra sed commands mentioned above.
4511 (echo ':t
4512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4513 if test -z "$ac_sed_cmds"; then
4514 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4515 else
4516 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4517 fi
4518 ac_sed_frag=`expr $ac_sed_frag + 1`
4519 ac_beg=$ac_end
4520 ac_end=`expr $ac_end + $ac_max_sed_lines`
4521 fi
4522 done
4523 if test -z "$ac_sed_cmds"; then
4524 ac_sed_cmds=cat
4525 fi
4526 fi # test -n "$CONFIG_FILES"
4527
4528 _ACEOF
4529 cat >>$CONFIG_STATUS <<\_ACEOF
4530 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4531 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4532 case $ac_file in
4533 - | *:- | *:-:* ) # input from stdin
4534 cat >$tmp/stdin
4535 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4536 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4537 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4538 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4539 * ) ac_file_in=$ac_file.in ;;
4540 esac
4541
4542 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4543 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4544 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4545 X"$ac_file" : 'X\(//\)[^/]' \| \
4546 X"$ac_file" : 'X\(//\)$' \| \
4547 X"$ac_file" : 'X\(/\)' \| \
4548 . : '\(.\)' 2>/dev/null ||
4549 echo X"$ac_file" |
4550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4551 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4552 /^X\(\/\/\)$/{ s//\1/; q; }
4553 /^X\(\/\).*/{ s//\1/; q; }
4554 s/.*/./; q'`
4555 { case "$ac_dir" in
4556 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4557 *) as_incr_dir=.;;
4558 esac
4559 as_dummy="$ac_dir"
4560 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4561 case $as_mkdir_dir in
4562 # Skip DOS drivespec
4563 ?:) as_incr_dir=$as_mkdir_dir ;;
4564 *)
4565 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4566 test -d "$as_incr_dir" ||
4567 mkdir "$as_incr_dir" ||
4568 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4569 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4570 { (exit 1); exit 1; }; }
4571 ;;
4572 esac
4573 done; }
4574
4575 ac_builddir=.
4576
4577 if test "$ac_dir" != .; then
4578 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4579 # A "../" for each directory in $ac_dir_suffix.
4580 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4581 else
4582 ac_dir_suffix= ac_top_builddir=
4583 fi
4584
4585 case $srcdir in
4586 .) # No --srcdir option. We are building in place.
4587 ac_srcdir=.
4588 if test -z "$ac_top_builddir"; then
4589 ac_top_srcdir=.
4590 else
4591 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4592 fi ;;
4593 [\\/]* | ?:[\\/]* ) # Absolute path.
4594 ac_srcdir=$srcdir$ac_dir_suffix;
4595 ac_top_srcdir=$srcdir ;;
4596 *) # Relative path.
4597 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4598 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4599 esac
4600 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4601 # absolute.
4602 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4603 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4604 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4605 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4606
4607
4608 case $INSTALL in
4609 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4610 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4611 esac
4612
4613 if test x"$ac_file" != x-; then
4614 { echo "$as_me:$LINENO: creating $ac_file" >&5
4615 echo "$as_me: creating $ac_file" >&6;}
4616 rm -f "$ac_file"
4617 fi
4618 # Let's still pretend it is `configure' which instantiates (i.e., don't
4619 # use $as_me), people would be surprised to read:
4620 # /* config.h. Generated by config.status. */
4621 if test x"$ac_file" = x-; then
4622 configure_input=
4623 else
4624 configure_input="$ac_file. "
4625 fi
4626 configure_input=$configure_input"Generated from `echo $ac_file_in |
4627 sed 's,.*/,,'` by configure."
4628
4629 # First look for the input files in the build tree, otherwise in the
4630 # src tree.
4631 ac_file_inputs=`IFS=:
4632 for f in $ac_file_in; do
4633 case $f in
4634 -) echo $tmp/stdin ;;
4635 [\\/$]*)
4636 # Absolute (can't be DOS-style, as IFS=:)
4637 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4638 echo "$as_me: error: cannot find input file: $f" >&2;}
4639 { (exit 1); exit 1; }; }
4640 echo $f;;
4641 *) # Relative
4642 if test -f "$f"; then
4643 # Build tree
4644 echo $f
4645 elif test -f "$srcdir/$f"; then
4646 # Source tree
4647 echo $srcdir/$f
4648 else
4649 # /dev/null tree
4650 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4651 echo "$as_me: error: cannot find input file: $f" >&2;}
4652 { (exit 1); exit 1; }; }
4653 fi;;
4654 esac
4655 done` || { (exit 1); exit 1; }
4656 _ACEOF
4657 cat >>$CONFIG_STATUS <<_ACEOF
4658 sed "$ac_vpsub
4659 $extrasub
4660 _ACEOF
4661 cat >>$CONFIG_STATUS <<\_ACEOF
4662 :t
4663 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4664 s,@configure_input@,$configure_input,;t t
4665 s,@srcdir@,$ac_srcdir,;t t
4666 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4667 s,@top_srcdir@,$ac_top_srcdir,;t t
4668 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4669 s,@builddir@,$ac_builddir,;t t
4670 s,@abs_builddir@,$ac_abs_builddir,;t t
4671 s,@top_builddir@,$ac_top_builddir,;t t
4672 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4673 s,@INSTALL@,$ac_INSTALL,;t t
4674 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4675 rm -f $tmp/stdin
4676 if test x"$ac_file" != x-; then
4677 mv $tmp/out $ac_file
4678 else
4679 cat $tmp/out
4680 rm -f $tmp/out
4681 fi
4682
4683 done
4684 _ACEOF
4685 cat >>$CONFIG_STATUS <<\_ACEOF
4686
4687 #
4688 # CONFIG_HEADER section.
4689 #
4690
4691 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4692 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4693 #
4694 # ac_d sets the value in "#define NAME VALUE" lines.
4695 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4696 ac_dB='[ ].*$,\1#\2'
4697 ac_dC=' '
4698 ac_dD=',;t'
4699 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4700 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4701 ac_uB='$,\1#\2define\3'
4702 ac_uC=' '
4703 ac_uD=',;t'
4704
4705 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4706 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4707 case $ac_file in
4708 - | *:- | *:-:* ) # input from stdin
4709 cat >$tmp/stdin
4710 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4711 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4712 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4713 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4714 * ) ac_file_in=$ac_file.in ;;
4715 esac
4716
4717 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4718 echo "$as_me: creating $ac_file" >&6;}
4719
4720 # First look for the input files in the build tree, otherwise in the
4721 # src tree.
4722 ac_file_inputs=`IFS=:
4723 for f in $ac_file_in; do
4724 case $f in
4725 -) echo $tmp/stdin ;;
4726 [\\/$]*)
4727 # Absolute (can't be DOS-style, as IFS=:)
4728 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4729 echo "$as_me: error: cannot find input file: $f" >&2;}
4730 { (exit 1); exit 1; }; }
4731 echo $f;;
4732 *) # Relative
4733 if test -f "$f"; then
4734 # Build tree
4735 echo $f
4736 elif test -f "$srcdir/$f"; then
4737 # Source tree
4738 echo $srcdir/$f
4739 else
4740 # /dev/null tree
4741 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4742 echo "$as_me: error: cannot find input file: $f" >&2;}
4743 { (exit 1); exit 1; }; }
4744 fi;;
4745 esac
4746 done` || { (exit 1); exit 1; }
4747 # Remove the trailing spaces.
4748 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4749
4750 _ACEOF
4751
4752 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4753 # `conftest.undefs', that substitutes the proper values into
4754 # config.h.in to produce config.h. The first handles `#define'
4755 # templates, and the second `#undef' templates.
4756 # And first: Protect against being on the right side of a sed subst in
4757 # config.status. Protect against being in an unquoted here document
4758 # in config.status.
4759 rm -f conftest.defines conftest.undefs
4760 # Using a here document instead of a string reduces the quoting nightmare.
4761 # Putting comments in sed scripts is not portable.
4762 #
4763 # `end' is used to avoid that the second main sed command (meant for
4764 # 0-ary CPP macros) applies to n-ary macro definitions.
4765 # See the Autoconf documentation for `clear'.
4766 cat >confdef2sed.sed <<\_ACEOF
4767 s/[\\&,]/\\&/g
4768 s,[\\$`],\\&,g
4769 t clear
4770 : clear
4771 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4772 t end
4773 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4774 : end
4775 _ACEOF
4776 # If some macros were called several times there might be several times
4777 # the same #defines, which is useless. Nevertheless, we may not want to
4778 # sort them, since we want the *last* AC-DEFINE to be honored.
4779 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4780 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4781 rm -f confdef2sed.sed
4782
4783 # This sed command replaces #undef with comments. This is necessary, for
4784 # example, in the case of _POSIX_SOURCE, which is predefined and required
4785 # on some systems where configure will not decide to define it.
4786 cat >>conftest.undefs <<\_ACEOF
4787 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4788 _ACEOF
4789
4790 # Break up conftest.defines because some shells have a limit on the size
4791 # of here documents, and old seds have small limits too (100 cmds).
4792 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4793 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4794 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4795 echo ' :' >>$CONFIG_STATUS
4796 rm -f conftest.tail
4797 while grep . conftest.defines >/dev/null
4798 do
4799 # Write a limited-size here document to $tmp/defines.sed.
4800 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4801 # Speed up: don't consider the non `#define' lines.
4802 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4803 # Work around the forget-to-reset-the-flag bug.
4804 echo 't clr' >>$CONFIG_STATUS
4805 echo ': clr' >>$CONFIG_STATUS
4806 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4807 echo 'CEOF
4808 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4809 rm -f $tmp/in
4810 mv $tmp/out $tmp/in
4811 ' >>$CONFIG_STATUS
4812 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4813 rm -f conftest.defines
4814 mv conftest.tail conftest.defines
4815 done
4816 rm -f conftest.defines
4817 echo ' fi # egrep' >>$CONFIG_STATUS
4818 echo >>$CONFIG_STATUS
4819
4820 # Break up conftest.undefs because some shells have a limit on the size
4821 # of here documents, and old seds have small limits too (100 cmds).
4822 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4823 rm -f conftest.tail
4824 while grep . conftest.undefs >/dev/null
4825 do
4826 # Write a limited-size here document to $tmp/undefs.sed.
4827 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4828 # Speed up: don't consider the non `#undef'
4829 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4830 # Work around the forget-to-reset-the-flag bug.
4831 echo 't clr' >>$CONFIG_STATUS
4832 echo ': clr' >>$CONFIG_STATUS
4833 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4834 echo 'CEOF
4835 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4836 rm -f $tmp/in
4837 mv $tmp/out $tmp/in
4838 ' >>$CONFIG_STATUS
4839 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4840 rm -f conftest.undefs
4841 mv conftest.tail conftest.undefs
4842 done
4843 rm -f conftest.undefs
4844
4845 cat >>$CONFIG_STATUS <<\_ACEOF
4846 # Let's still pretend it is `configure' which instantiates (i.e., don't
4847 # use $as_me), people would be surprised to read:
4848 # /* config.h. Generated by config.status. */
4849 if test x"$ac_file" = x-; then
4850 echo "/* Generated by configure. */" >$tmp/config.h
4851 else
4852 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4853 fi
4854 cat $tmp/in >>$tmp/config.h
4855 rm -f $tmp/in
4856 if test x"$ac_file" != x-; then
4857 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4858 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4859 echo "$as_me: $ac_file is unchanged" >&6;}
4860 else
4861 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4863 X"$ac_file" : 'X\(//\)[^/]' \| \
4864 X"$ac_file" : 'X\(//\)$' \| \
4865 X"$ac_file" : 'X\(/\)' \| \
4866 . : '\(.\)' 2>/dev/null ||
4867 echo X"$ac_file" |
4868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4870 /^X\(\/\/\)$/{ s//\1/; q; }
4871 /^X\(\/\).*/{ s//\1/; q; }
4872 s/.*/./; q'`
4873 { case "$ac_dir" in
4874 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4875 *) as_incr_dir=.;;
4876 esac
4877 as_dummy="$ac_dir"
4878 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4879 case $as_mkdir_dir in
4880 # Skip DOS drivespec
4881 ?:) as_incr_dir=$as_mkdir_dir ;;
4882 *)
4883 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4884 test -d "$as_incr_dir" ||
4885 mkdir "$as_incr_dir" ||
4886 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4887 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4888 { (exit 1); exit 1; }; }
4889 ;;
4890 esac
4891 done; }
4892
4893 rm -f $ac_file
4894 mv $tmp/config.h $ac_file
4895 fi
4896 else
4897 cat $tmp/config.h
4898 rm -f $tmp/config.h
4899 fi
4900 # Run the commands associated with the file.
4901 case $ac_file in
4902 isoqlog/config.h ) # update the timestamp
4903 echo timestamp >"isoqlog/stamp-h1"
4904 ;;
4905 esac
4906 done
4907 _ACEOF
4908 cat >>$CONFIG_STATUS <<\_ACEOF
4909
4910 #
4911 # CONFIG_COMMANDS section.
4912 #
4913 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4914 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4915 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4916 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4917 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4918 X"$ac_dest" : 'X\(//\)[^/]' \| \
4919 X"$ac_dest" : 'X\(//\)$' \| \
4920 X"$ac_dest" : 'X\(/\)' \| \
4921 . : '\(.\)' 2>/dev/null ||
4922 echo X"$ac_dest" |
4923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4924 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4925 /^X\(\/\/\)$/{ s//\1/; q; }
4926 /^X\(\/\).*/{ s//\1/; q; }
4927 s/.*/./; q'`
4928 ac_builddir=.
4929
4930 if test "$ac_dir" != .; then
4931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4932 # A "../" for each directory in $ac_dir_suffix.
4933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4934 else
4935 ac_dir_suffix= ac_top_builddir=
4936 fi
4937
4938 case $srcdir in
4939 .) # No --srcdir option. We are building in place.
4940 ac_srcdir=.
4941 if test -z "$ac_top_builddir"; then
4942 ac_top_srcdir=.
4943 else
4944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4945 fi ;;
4946 [\\/]* | ?:[\\/]* ) # Absolute path.
4947 ac_srcdir=$srcdir$ac_dir_suffix;
4948 ac_top_srcdir=$srcdir ;;
4949 *) # Relative path.
4950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4952 esac
4953 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4954 # absolute.
4955 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4956 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4957 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4958 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4959
4960
4961 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4962 echo "$as_me: executing $ac_dest commands" >&6;}
4963 case $ac_dest in
4964 default-1 )
4965 test x"$AMDEP_TRUE" != x"" ||
4966 for mf in $CONFIG_FILES; do
4967 case "$mf" in
4968 Makefile) dirpart=.;;
4969 */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
4970 *) continue;;
4971 esac
4972 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4973 # Extract the definition of DEP_FILES from the Makefile without
4974 # running `make'.
4975 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4976 test -z "$DEPDIR" && continue
4977 # When using ansi2knr, U may be empty or an underscore; expand it
4978 U=`sed -n -e '/^U = / s///p' < "$mf"`
4979 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4980 # We invoke sed twice because it is the simplest approach to
4981 # changing $(DEPDIR) to its actual value in the expansion.
4982 for file in `sed -n -e '
4983 /^DEP_FILES = .*\\\\$/ {
4984 s/^DEP_FILES = //
4985 :loop
4986 s/\\\\$//
4987 p
4988 n
4989 /\\\\$/ b loop
4990 p
4991 }
4992 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4993 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4994 # Make sure the directory exists.
4995 test -f "$dirpart/$file" && continue
4996 fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
4997 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
4998 # echo "creating $dirpart/$file"
4999 echo '# dummy' > "$dirpart/$file"
5000 done
5001 done
5002 ;;
5003 esac
5004 done
5005 _ACEOF
5006
5007 cat >>$CONFIG_STATUS <<\_ACEOF
5008
5009 { (exit 0); exit 0; }
5010 _ACEOF
5011 chmod +x $CONFIG_STATUS
5012 ac_clean_files=$ac_clean_files_save
5013
5014
5015 # configure is writing to config.log, and then calls config.status.
5016 # config.status does its own redirection, appending to config.log.
5017 # Unfortunately, on DOS this fails, as config.log is still kept open
5018 # by configure, so config.status won't be able to write to it; its
5019 # output is simply discarded. So we exec the FD to /dev/null,
5020 # effectively closing config.log, so it can be properly (re)opened and
5021 # appended to by config.status. When coming back to configure, we
5022 # need to make the FD available again.
5023 if test "$no_create" != yes; then
5024 ac_cs_success=:
5025 exec 5>/dev/null
5026 $SHELL $CONFIG_STATUS || ac_cs_success=false
5027 exec 5>>config.log
5028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5029 # would make configure fail if this is the last instruction.
5030 $ac_cs_success || { (exit 1); exit 1; }
5031 fi
5032