Debian Codegraph @

configure

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