comparison interps/egobf/configure @ 996:859f9b4339e6

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