comparison interps/egobch/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 EgoBCh 0.1.
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='EgoBCh'
269 PACKAGE_TARNAME='egobch'
270 PACKAGE_VERSION='0.1'
271 PACKAGE_STRING='EgoBCh 0.1'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/egobch.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 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 EgoBCh 0.1 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 EgoBCh 0.1:";;
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 EgoBCh configure 0.1
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 EgoBCh $as_me 0.1, 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
1311 ac_aux_dir=
1312 for ac_dir in scripts $srcdir/scripts; do
1313 if test -f $ac_dir/install-sh; then
1314 ac_aux_dir=$ac_dir
1315 ac_install_sh="$ac_aux_dir/install-sh -c"
1316 break
1317 elif test -f $ac_dir/install.sh; then
1318 ac_aux_dir=$ac_dir
1319 ac_install_sh="$ac_aux_dir/install.sh -c"
1320 break
1321 elif test -f $ac_dir/shtool; then
1322 ac_aux_dir=$ac_dir
1323 ac_install_sh="$ac_aux_dir/shtool install -c"
1324 break
1325 fi
1326 done
1327 if test -z "$ac_aux_dir"; then
1328 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&5
1329 echo "$as_me: error: cannot find install-sh or install.sh in scripts $srcdir/scripts" >&2;}
1330 { (exit 1); exit 1; }; }
1331 fi
1332 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1333 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1334 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1335
1336 am__api_version="1.9"
1337 # Find a good install program. We prefer a C program (faster),
1338 # so one script is as good as another. But avoid the broken or
1339 # incompatible versions:
1340 # SysV /etc/install, /usr/sbin/install
1341 # SunOS /usr/etc/install
1342 # IRIX /sbin/install
1343 # AIX /bin/install
1344 # AmigaOS /C/install, which installs bootblocks on floppy discs
1345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1348 # OS/2's system install, which has a completely different semantic
1349 # ./install, which can be erroneously created by make from ./install.sh.
1350 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1351 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1352 if test -z "$INSTALL"; then
1353 if test "${ac_cv_path_install+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 else
1356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1357 for as_dir in $PATH
1358 do
1359 IFS=$as_save_IFS
1360 test -z "$as_dir" && as_dir=.
1361 # Account for people who put trailing slashes in PATH elements.
1362 case $as_dir/ in
1363 ./ | .// | /cC/* | \
1364 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1365 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1366 /usr/ucb/* ) ;;
1367 *)
1368 # OSF1 and SCO ODT 3.0 have their own names for install.
1369 # Don't use installbsd from OSF since it installs stuff as root
1370 # by default.
1371 for ac_prog in ginstall scoinst install; do
1372 for ac_exec_ext in '' $ac_executable_extensions; do
1373 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1374 if test $ac_prog = install &&
1375 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1376 # AIX install. It has an incompatible calling convention.
1377 :
1378 elif test $ac_prog = install &&
1379 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1380 # program-specific install script used by HP pwplus--don't use.
1381 :
1382 else
1383 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1384 break 3
1385 fi
1386 fi
1387 done
1388 done
1389 ;;
1390 esac
1391 done
1392
1393
1394 fi
1395 if test "${ac_cv_path_install+set}" = set; then
1396 INSTALL=$ac_cv_path_install
1397 else
1398 # As a last resort, use the slow shell script. We don't cache a
1399 # path for INSTALL within a source directory, because that will
1400 # break other packages using the cache if that directory is
1401 # removed, or if the path is relative.
1402 INSTALL=$ac_install_sh
1403 fi
1404 fi
1405 echo "$as_me:$LINENO: result: $INSTALL" >&5
1406 echo "${ECHO_T}$INSTALL" >&6
1407
1408 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1409 # It thinks the first close brace ends the variable substitution.
1410 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1411
1412 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1413
1414 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1415
1416 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1417 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1418 # Just in case
1419 sleep 1
1420 echo timestamp > conftest.file
1421 # Do `set' in a subshell so we don't clobber the current shell's
1422 # arguments. Must try -L first in case configure is actually a
1423 # symlink; some systems play weird games with the mod time of symlinks
1424 # (eg FreeBSD returns the mod time of the symlink's containing
1425 # directory).
1426 if (
1427 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1428 if test "$*" = "X"; then
1429 # -L didn't work.
1430 set X `ls -t $srcdir/configure conftest.file`
1431 fi
1432 rm -f conftest.file
1433 if test "$*" != "X $srcdir/configure conftest.file" \
1434 && test "$*" != "X conftest.file $srcdir/configure"; then
1435
1436 # If neither matched, then we have a broken ls. This can happen
1437 # if, for instance, CONFIG_SHELL is bash and it inherits a
1438 # broken ls alias from the environment. This has actually
1439 # happened. Such a system could not be considered "sane".
1440 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1441 alias in your environment" >&5
1442 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1443 alias in your environment" >&2;}
1444 { (exit 1); exit 1; }; }
1445 fi
1446
1447 test "$2" = conftest.file
1448 )
1449 then
1450 # Ok.
1451 :
1452 else
1453 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1454 Check your system clock" >&5
1455 echo "$as_me: error: newly created file is older than distributed files!
1456 Check your system clock" >&2;}
1457 { (exit 1); exit 1; }; }
1458 fi
1459 echo "$as_me:$LINENO: result: yes" >&5
1460 echo "${ECHO_T}yes" >&6
1461 test "$program_prefix" != NONE &&
1462 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1463 # Use a double $ so make ignores it.
1464 test "$program_suffix" != NONE &&
1465 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1466 # Double any \ or $. echo might interpret backslashes.
1467 # By default was `s,x,x', remove it if useless.
1468 cat <<\_ACEOF >conftest.sed
1469 s/[\\$]/&&/g;s/;s,x,x,$//
1470 _ACEOF
1471 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1472 rm conftest.sed
1473
1474 # expand $ac_aux_dir to an absolute path
1475 am_aux_dir=`cd $ac_aux_dir && pwd`
1476
1477 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1478 # Use eval to expand $SHELL
1479 if eval "$MISSING --run true"; then
1480 am_missing_run="$MISSING --run "
1481 else
1482 am_missing_run=
1483 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1484 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1485 fi
1486
1487 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1488 # We used to keeping the `.' as first argument, in order to
1489 # allow $(mkdir_p) to be used without argument. As in
1490 # $(mkdir_p) $(somedir)
1491 # where $(somedir) is conditionally defined. However this is wrong
1492 # for two reasons:
1493 # 1. if the package is installed by a user who cannot write `.'
1494 # make install will fail,
1495 # 2. the above comment should most certainly read
1496 # $(mkdir_p) $(DESTDIR)$(somedir)
1497 # so it does not work when $(somedir) is undefined and
1498 # $(DESTDIR) is not.
1499 # To support the latter case, we have to write
1500 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1501 # so the `.' trick is pointless.
1502 mkdir_p='mkdir -p --'
1503 else
1504 # On NextStep and OpenStep, the `mkdir' command does not
1505 # recognize any option. It will interpret all options as
1506 # directories to create, and then abort because `.' already
1507 # exists.
1508 for d in ./-p ./--version;
1509 do
1510 test -d $d && rmdir $d
1511 done
1512 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1513 if test -f "$ac_aux_dir/mkinstalldirs"; then
1514 mkdir_p='$(mkinstalldirs)'
1515 else
1516 mkdir_p='$(install_sh) -d'
1517 fi
1518 fi
1519
1520 for ac_prog in gawk mawk nawk awk
1521 do
1522 # Extract the first word of "$ac_prog", so it can be a program name with args.
1523 set dummy $ac_prog; ac_word=$2
1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_AWK+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 else
1529 if test -n "$AWK"; then
1530 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1531 else
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533 for as_dir in $PATH
1534 do
1535 IFS=$as_save_IFS
1536 test -z "$as_dir" && as_dir=.
1537 for ac_exec_ext in '' $ac_executable_extensions; do
1538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1539 ac_cv_prog_AWK="$ac_prog"
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541 break 2
1542 fi
1543 done
1544 done
1545
1546 fi
1547 fi
1548 AWK=$ac_cv_prog_AWK
1549 if test -n "$AWK"; then
1550 echo "$as_me:$LINENO: result: $AWK" >&5
1551 echo "${ECHO_T}$AWK" >&6
1552 else
1553 echo "$as_me:$LINENO: result: no" >&5
1554 echo "${ECHO_T}no" >&6
1555 fi
1556
1557 test -n "$AWK" && break
1558 done
1559
1560 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1561 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1562 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1563 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 else
1566 cat >conftest.make <<\_ACEOF
1567 all:
1568 @echo 'ac_maketemp="$(MAKE)"'
1569 _ACEOF
1570 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1571 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1572 if test -n "$ac_maketemp"; then
1573 eval ac_cv_prog_make_${ac_make}_set=yes
1574 else
1575 eval ac_cv_prog_make_${ac_make}_set=no
1576 fi
1577 rm -f conftest.make
1578 fi
1579 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1580 echo "$as_me:$LINENO: result: yes" >&5
1581 echo "${ECHO_T}yes" >&6
1582 SET_MAKE=
1583 else
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1586 SET_MAKE="MAKE=${MAKE-make}"
1587 fi
1588
1589 rm -rf .tst 2>/dev/null
1590 mkdir .tst 2>/dev/null
1591 if test -d .tst; then
1592 am__leading_dot=.
1593 else
1594 am__leading_dot=_
1595 fi
1596 rmdir .tst 2>/dev/null
1597
1598 # test to see if srcdir already configured
1599 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1600 test -f $srcdir/config.status; then
1601 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1602 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1603 { (exit 1); exit 1; }; }
1604 fi
1605
1606 # test whether we have cygpath
1607 if test -z "$CYGPATH_W"; then
1608 if (cygpath --version) >/dev/null 2>/dev/null; then
1609 CYGPATH_W='cygpath -w'
1610 else
1611 CYGPATH_W=echo
1612 fi
1613 fi
1614
1615
1616 # Define the identity of the package.
1617 PACKAGE='egobch'
1618 VERSION='0.1'
1619
1620
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE "$PACKAGE"
1623 _ACEOF
1624
1625
1626 cat >>confdefs.h <<_ACEOF
1627 #define VERSION "$VERSION"
1628 _ACEOF
1629
1630 # Some tools Automake needs.
1631
1632 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1633
1634
1635 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1636
1637
1638 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1639
1640
1641 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1642
1643
1644 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1645
1646 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1647
1648 # Installed binaries are usually stripped using `strip' when the user
1649 # run `make install-strip'. However `strip' might not be the right
1650 # tool to use in cross-compilation environments, therefore Automake
1651 # will honor the `STRIP' environment variable to overrule this program.
1652 if test "$cross_compiling" != no; then
1653 if test -n "$ac_tool_prefix"; then
1654 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1655 set dummy ${ac_tool_prefix}strip; ac_word=$2
1656 echo "$as_me:$LINENO: checking for $ac_word" >&5
1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1658 if test "${ac_cv_prog_STRIP+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 else
1661 if test -n "$STRIP"; then
1662 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1663 else
1664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665 for as_dir in $PATH
1666 do
1667 IFS=$as_save_IFS
1668 test -z "$as_dir" && as_dir=.
1669 for ac_exec_ext in '' $ac_executable_extensions; do
1670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1671 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 break 2
1674 fi
1675 done
1676 done
1677
1678 fi
1679 fi
1680 STRIP=$ac_cv_prog_STRIP
1681 if test -n "$STRIP"; then
1682 echo "$as_me:$LINENO: result: $STRIP" >&5
1683 echo "${ECHO_T}$STRIP" >&6
1684 else
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1687 fi
1688
1689 fi
1690 if test -z "$ac_cv_prog_STRIP"; then
1691 ac_ct_STRIP=$STRIP
1692 # Extract the first word of "strip", so it can be a program name with args.
1693 set dummy strip; ac_word=$2
1694 echo "$as_me:$LINENO: checking for $ac_word" >&5
1695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1696 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1697 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 else
1699 if test -n "$ac_ct_STRIP"; then
1700 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1701 else
1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703 for as_dir in $PATH
1704 do
1705 IFS=$as_save_IFS
1706 test -z "$as_dir" && as_dir=.
1707 for ac_exec_ext in '' $ac_executable_extensions; do
1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1709 ac_cv_prog_ac_ct_STRIP="strip"
1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1711 break 2
1712 fi
1713 done
1714 done
1715
1716 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1717 fi
1718 fi
1719 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1720 if test -n "$ac_ct_STRIP"; then
1721 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1722 echo "${ECHO_T}$ac_ct_STRIP" >&6
1723 else
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1726 fi
1727
1728 STRIP=$ac_ct_STRIP
1729 else
1730 STRIP="$ac_cv_prog_STRIP"
1731 fi
1732
1733 fi
1734 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1735
1736 # We need awk for the "check" target. The system "awk" is bad on
1737 # some platforms.
1738 # Always define AMTAR for backward compatibility.
1739
1740 AMTAR=${AMTAR-"${am_missing_run}tar"}
1741
1742 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
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 # FIXME: Replace `main' with a function in `-lm':
2859
2860
2861 echo "$as_me:$LINENO: checking for main in -lm" >&5
2862 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
2863 if test "${ac_cv_lib_m_main+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 else
2866 ac_check_lib_save_LIBS=$LIBS
2867 LIBS="-lm $LIBS"
2868 cat >conftest.$ac_ext <<_ACEOF
2869 /* confdefs.h. */
2870 _ACEOF
2871 cat confdefs.h >>conftest.$ac_ext
2872 cat >>conftest.$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2874
2875
2876 int
2877 main ()
2878 {
2879 main ();
2880 ;
2881 return 0;
2882 }
2883 _ACEOF
2884 rm -f conftest.$ac_objext conftest$ac_exeext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2886 (eval $ac_link) 2>conftest.er1
2887 ac_status=$?
2888 grep -v '^ *+' conftest.er1 >conftest.err
2889 rm -f conftest.er1
2890 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } &&
2893 { ac_try='test -z "$ac_c_werror_flag"
2894 || test ! -s conftest.err'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 (eval $ac_try) 2>&5
2897 ac_status=$?
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; } &&
2900 { ac_try='test -s conftest$ac_exeext'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2902 (eval $ac_try) 2>&5
2903 ac_status=$?
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2906 ac_cv_lib_m_main=yes
2907 else
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2910
2911 ac_cv_lib_m_main=no
2912 fi
2913 rm -f conftest.err conftest.$ac_objext \
2914 conftest$ac_exeext conftest.$ac_ext
2915 LIBS=$ac_check_lib_save_LIBS
2916 fi
2917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
2918 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
2919 if test $ac_cv_lib_m_main = yes; then
2920 cat >>confdefs.h <<_ACEOF
2921 #define HAVE_LIBM 1
2922 _ACEOF
2923
2924 LIBS="-lm $LIBS"
2925
2926 fi
2927
2928
2929 # Checks for header files.
2930 ac_ext=c
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2936 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2937 # On Suns, sometimes $CPP names a directory.
2938 if test -n "$CPP" && test -d "$CPP"; then
2939 CPP=
2940 fi
2941 if test -z "$CPP"; then
2942 if test "${ac_cv_prog_CPP+set}" = set; then
2943 echo $ECHO_N "(cached) $ECHO_C" >&6
2944 else
2945 # Double quotes because CPP needs to be expanded
2946 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2947 do
2948 ac_preproc_ok=false
2949 for ac_c_preproc_warn_flag in '' yes
2950 do
2951 # Use a header file that comes with gcc, so configuring glibc
2952 # with a fresh cross-compiler works.
2953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2954 # <limits.h> exists even on freestanding compilers.
2955 # On the NeXT, cc -E runs the code through the compiler's parser,
2956 # not just through cpp. "Syntax error" is here to catch this case.
2957 cat >conftest.$ac_ext <<_ACEOF
2958 /* confdefs.h. */
2959 _ACEOF
2960 cat confdefs.h >>conftest.$ac_ext
2961 cat >>conftest.$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2963 #ifdef __STDC__
2964 # include <limits.h>
2965 #else
2966 # include <assert.h>
2967 #endif
2968 Syntax error
2969 _ACEOF
2970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2972 ac_status=$?
2973 grep -v '^ *+' conftest.er1 >conftest.err
2974 rm -f conftest.er1
2975 cat conftest.err >&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); } >/dev/null; then
2978 if test -s conftest.err; then
2979 ac_cpp_err=$ac_c_preproc_warn_flag
2980 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2981 else
2982 ac_cpp_err=
2983 fi
2984 else
2985 ac_cpp_err=yes
2986 fi
2987 if test -z "$ac_cpp_err"; then
2988 :
2989 else
2990 echo "$as_me: failed program was:" >&5
2991 sed 's/^/| /' conftest.$ac_ext >&5
2992
2993 # Broken: fails on valid input.
2994 continue
2995 fi
2996 rm -f conftest.err conftest.$ac_ext
2997
2998 # OK, works on sane cases. Now check whether non-existent headers
2999 # can be detected and how.
3000 cat >conftest.$ac_ext <<_ACEOF
3001 /* confdefs.h. */
3002 _ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3006 #include <ac_nonexistent.h>
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 # Broken: success on invalid input.
3027 continue
3028 else
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3031
3032 # Passes both tests.
3033 ac_preproc_ok=:
3034 break
3035 fi
3036 rm -f conftest.err conftest.$ac_ext
3037
3038 done
3039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3040 rm -f conftest.err conftest.$ac_ext
3041 if $ac_preproc_ok; then
3042 break
3043 fi
3044
3045 done
3046 ac_cv_prog_CPP=$CPP
3047
3048 fi
3049 CPP=$ac_cv_prog_CPP
3050 else
3051 ac_cv_prog_CPP=$CPP
3052 fi
3053 echo "$as_me:$LINENO: result: $CPP" >&5
3054 echo "${ECHO_T}$CPP" >&6
3055 ac_preproc_ok=false
3056 for ac_c_preproc_warn_flag in '' yes
3057 do
3058 # Use a header file that comes with gcc, so configuring glibc
3059 # with a fresh cross-compiler works.
3060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3061 # <limits.h> exists even on freestanding compilers.
3062 # On the NeXT, cc -E runs the code through the compiler's parser,
3063 # not just through cpp. "Syntax error" is here to catch this case.
3064 cat >conftest.$ac_ext <<_ACEOF
3065 /* confdefs.h. */
3066 _ACEOF
3067 cat confdefs.h >>conftest.$ac_ext
3068 cat >>conftest.$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3070 #ifdef __STDC__
3071 # include <limits.h>
3072 #else
3073 # include <assert.h>
3074 #endif
3075 Syntax error
3076 _ACEOF
3077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3079 ac_status=$?
3080 grep -v '^ *+' conftest.er1 >conftest.err
3081 rm -f conftest.er1
3082 cat conftest.err >&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } >/dev/null; then
3085 if test -s conftest.err; then
3086 ac_cpp_err=$ac_c_preproc_warn_flag
3087 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3088 else
3089 ac_cpp_err=
3090 fi
3091 else
3092 ac_cpp_err=yes
3093 fi
3094 if test -z "$ac_cpp_err"; then
3095 :
3096 else
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.$ac_ext >&5
3099
3100 # Broken: fails on valid input.
3101 continue
3102 fi
3103 rm -f conftest.err conftest.$ac_ext
3104
3105 # OK, works on sane cases. Now check whether non-existent headers
3106 # can be detected and how.
3107 cat >conftest.$ac_ext <<_ACEOF
3108 /* confdefs.h. */
3109 _ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3113 #include <ac_nonexistent.h>
3114 _ACEOF
3115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3117 ac_status=$?
3118 grep -v '^ *+' conftest.er1 >conftest.err
3119 rm -f conftest.er1
3120 cat conftest.err >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } >/dev/null; then
3123 if test -s conftest.err; then
3124 ac_cpp_err=$ac_c_preproc_warn_flag
3125 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3126 else
3127 ac_cpp_err=
3128 fi
3129 else
3130 ac_cpp_err=yes
3131 fi
3132 if test -z "$ac_cpp_err"; then
3133 # Broken: success on invalid input.
3134 continue
3135 else
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3138
3139 # Passes both tests.
3140 ac_preproc_ok=:
3141 break
3142 fi
3143 rm -f conftest.err conftest.$ac_ext
3144
3145 done
3146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3147 rm -f conftest.err conftest.$ac_ext
3148 if $ac_preproc_ok; then
3149 :
3150 else
3151 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3152 See \`config.log' for more details." >&5
3153 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3154 See \`config.log' for more details." >&2;}
3155 { (exit 1); exit 1; }; }
3156 fi
3157
3158 ac_ext=c
3159 ac_cpp='$CPP $CPPFLAGS'
3160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3163
3164
3165 echo "$as_me:$LINENO: checking for egrep" >&5
3166 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3167 if test "${ac_cv_prog_egrep+set}" = set; then
3168 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 else
3170 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3171 then ac_cv_prog_egrep='grep -E'
3172 else ac_cv_prog_egrep='egrep'
3173 fi
3174 fi
3175 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3176 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3177 EGREP=$ac_cv_prog_egrep
3178
3179
3180 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3181 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3182 if test "${ac_cv_header_stdc+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 else
3185 cat >conftest.$ac_ext <<_ACEOF
3186 /* confdefs.h. */
3187 _ACEOF
3188 cat confdefs.h >>conftest.$ac_ext
3189 cat >>conftest.$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3191 #include <stdlib.h>
3192 #include <stdarg.h>
3193 #include <string.h>
3194 #include <float.h>
3195
3196 int
3197 main ()
3198 {
3199
3200 ;
3201 return 0;
3202 }
3203 _ACEOF
3204 rm -f conftest.$ac_objext
3205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3206 (eval $ac_compile) 2>conftest.er1
3207 ac_status=$?
3208 grep -v '^ *+' conftest.er1 >conftest.err
3209 rm -f conftest.er1
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_c_werror_flag"
3214 || test ! -s conftest.err'
3215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 (eval $ac_try) 2>&5
3217 ac_status=$?
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); }; } &&
3220 { ac_try='test -s conftest.$ac_objext'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 (eval $ac_try) 2>&5
3223 ac_status=$?
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; }; then
3226 ac_cv_header_stdc=yes
3227 else
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3230
3231 ac_cv_header_stdc=no
3232 fi
3233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3234
3235 if test $ac_cv_header_stdc = yes; then
3236 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3237 cat >conftest.$ac_ext <<_ACEOF
3238 /* confdefs.h. */
3239 _ACEOF
3240 cat confdefs.h >>conftest.$ac_ext
3241 cat >>conftest.$ac_ext <<_ACEOF
3242 /* end confdefs.h. */
3243 #include <string.h>
3244
3245 _ACEOF
3246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3247 $EGREP "memchr" >/dev/null 2>&1; then
3248 :
3249 else
3250 ac_cv_header_stdc=no
3251 fi
3252 rm -f conftest*
3253
3254 fi
3255
3256 if test $ac_cv_header_stdc = yes; then
3257 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3258 cat >conftest.$ac_ext <<_ACEOF
3259 /* confdefs.h. */
3260 _ACEOF
3261 cat confdefs.h >>conftest.$ac_ext
3262 cat >>conftest.$ac_ext <<_ACEOF
3263 /* end confdefs.h. */
3264 #include <stdlib.h>
3265
3266 _ACEOF
3267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3268 $EGREP "free" >/dev/null 2>&1; then
3269 :
3270 else
3271 ac_cv_header_stdc=no
3272 fi
3273 rm -f conftest*
3274
3275 fi
3276
3277 if test $ac_cv_header_stdc = yes; then
3278 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3279 if test "$cross_compiling" = yes; then
3280 :
3281 else
3282 cat >conftest.$ac_ext <<_ACEOF
3283 /* confdefs.h. */
3284 _ACEOF
3285 cat confdefs.h >>conftest.$ac_ext
3286 cat >>conftest.$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3288 #include <ctype.h>
3289 #if ((' ' & 0x0FF) == 0x020)
3290 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3291 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3292 #else
3293 # define ISLOWER(c) \
3294 (('a' <= (c) && (c) <= 'i') \
3295 || ('j' <= (c) && (c) <= 'r') \
3296 || ('s' <= (c) && (c) <= 'z'))
3297 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3298 #endif
3299
3300 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3301 int
3302 main ()
3303 {
3304 int i;
3305 for (i = 0; i < 256; i++)
3306 if (XOR (islower (i), ISLOWER (i))
3307 || toupper (i) != TOUPPER (i))
3308 exit(2);
3309 exit (0);
3310 }
3311 _ACEOF
3312 rm -f conftest$ac_exeext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3314 (eval $ac_link) 2>&5
3315 ac_status=$?
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 (eval $ac_try) 2>&5
3320 ac_status=$?
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); }; }; then
3323 :
3324 else
3325 echo "$as_me: program exited with status $ac_status" >&5
3326 echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3328
3329 ( exit $ac_status )
3330 ac_cv_header_stdc=no
3331 fi
3332 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3333 fi
3334 fi
3335 fi
3336 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3337 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3338 if test $ac_cv_header_stdc = yes; then
3339
3340 cat >>confdefs.h <<\_ACEOF
3341 #define STDC_HEADERS 1
3342 _ACEOF
3343
3344 fi
3345
3346 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3357 inttypes.h stdint.h unistd.h
3358 do
3359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3360 echo "$as_me:$LINENO: checking for $ac_header" >&5
3361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 else
3365 cat >conftest.$ac_ext <<_ACEOF
3366 /* confdefs.h. */
3367 _ACEOF
3368 cat confdefs.h >>conftest.$ac_ext
3369 cat >>conftest.$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3371 $ac_includes_default
3372
3373 #include <$ac_header>
3374 _ACEOF
3375 rm -f conftest.$ac_objext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3377 (eval $ac_compile) 2>conftest.er1
3378 ac_status=$?
3379 grep -v '^ *+' conftest.er1 >conftest.err
3380 rm -f conftest.er1
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } &&
3384 { ac_try='test -z "$ac_c_werror_flag"
3385 || test ! -s conftest.err'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387 (eval $ac_try) 2>&5
3388 ac_status=$?
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; } &&
3391 { ac_try='test -s conftest.$ac_objext'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393 (eval $ac_try) 2>&5
3394 ac_status=$?
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; }; then
3397 eval "$as_ac_Header=yes"
3398 else
3399 echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3401
3402 eval "$as_ac_Header=no"
3403 fi
3404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3405 fi
3406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3409 cat >>confdefs.h <<_ACEOF
3410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3411 _ACEOF
3412
3413 fi
3414
3415 done
3416
3417
3418
3419
3420
3421 for ac_header in stdint.h stdlib.h string.h
3422 do
3423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3425 echo "$as_me:$LINENO: checking for $ac_header" >&5
3426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 fi
3430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3432 else
3433 # Is the header compilable?
3434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3436 cat >conftest.$ac_ext <<_ACEOF
3437 /* confdefs.h. */
3438 _ACEOF
3439 cat confdefs.h >>conftest.$ac_ext
3440 cat >>conftest.$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3442 $ac_includes_default
3443 #include <$ac_header>
3444 _ACEOF
3445 rm -f conftest.$ac_objext
3446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3447 (eval $ac_compile) 2>conftest.er1
3448 ac_status=$?
3449 grep -v '^ *+' conftest.er1 >conftest.err
3450 rm -f conftest.er1
3451 cat conftest.err >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); } &&
3454 { ac_try='test -z "$ac_c_werror_flag"
3455 || test ! -s conftest.err'
3456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3457 (eval $ac_try) 2>&5
3458 ac_status=$?
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }; } &&
3461 { ac_try='test -s conftest.$ac_objext'
3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3463 (eval $ac_try) 2>&5
3464 ac_status=$?
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; }; then
3467 ac_header_compiler=yes
3468 else
3469 echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.$ac_ext >&5
3471
3472 ac_header_compiler=no
3473 fi
3474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3476 echo "${ECHO_T}$ac_header_compiler" >&6
3477
3478 # Is the header present?
3479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3481 cat >conftest.$ac_ext <<_ACEOF
3482 /* confdefs.h. */
3483 _ACEOF
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3487 #include <$ac_header>
3488 _ACEOF
3489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3491 ac_status=$?
3492 grep -v '^ *+' conftest.er1 >conftest.err
3493 rm -f conftest.er1
3494 cat conftest.err >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } >/dev/null; then
3497 if test -s conftest.err; then
3498 ac_cpp_err=$ac_c_preproc_warn_flag
3499 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3500 else
3501 ac_cpp_err=
3502 fi
3503 else
3504 ac_cpp_err=yes
3505 fi
3506 if test -z "$ac_cpp_err"; then
3507 ac_header_preproc=yes
3508 else
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3511
3512 ac_header_preproc=no
3513 fi
3514 rm -f conftest.err conftest.$ac_ext
3515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3516 echo "${ECHO_T}$ac_header_preproc" >&6
3517
3518 # So? What about this header?
3519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3520 yes:no: )
3521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3525 ac_header_preproc=yes
3526 ;;
3527 no:yes:* )
3528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3540 (
3541 cat <<\_ASBOX
3542 ## --------------------------------- ##
3543 ## Report this to the EgoBCh lists. ##
3544 ## --------------------------------- ##
3545 _ASBOX
3546 ) |
3547 sed "s/^/$as_me: WARNING: /" >&2
3548 ;;
3549 esac
3550 echo "$as_me:$LINENO: checking for $ac_header" >&5
3551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3553 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 else
3555 eval "$as_ac_Header=\$ac_header_preproc"
3556 fi
3557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3559
3560 fi
3561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3562 cat >>confdefs.h <<_ACEOF
3563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3564 _ACEOF
3565
3566 fi
3567
3568 done
3569
3570
3571 # Checks for typedefs, structures, and compiler characteristics.
3572
3573 # Checks for library functions.
3574
3575 for ac_func in memset
3576 do
3577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3578 echo "$as_me:$LINENO: checking for $ac_func" >&5
3579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3580 if eval "test \"\${$as_ac_var+set}\" = set"; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 else
3583 cat >conftest.$ac_ext <<_ACEOF
3584 /* confdefs.h. */
3585 _ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3591 #define $ac_func innocuous_$ac_func
3592
3593 /* System header to define __stub macros and hopefully few prototypes,
3594 which can conflict with char $ac_func (); below.
3595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3596 <limits.h> exists even on freestanding compilers. */
3597
3598 #ifdef __STDC__
3599 # include <limits.h>
3600 #else
3601 # include <assert.h>
3602 #endif
3603
3604 #undef $ac_func
3605
3606 /* Override any gcc2 internal prototype to avoid an error. */
3607 #ifdef __cplusplus
3608 extern "C"
3609 {
3610 #endif
3611 /* We use char because int might match the return type of a gcc2
3612 builtin and then its argument prototype would still apply. */
3613 char $ac_func ();
3614 /* The GNU C library defines this for functions which it implements
3615 to always fail with ENOSYS. Some functions are actually named
3616 something starting with __ and the normal name is an alias. */
3617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3618 choke me
3619 #else
3620 char (*f) () = $ac_func;
3621 #endif
3622 #ifdef __cplusplus
3623 }
3624 #endif
3625
3626 int
3627 main ()
3628 {
3629 return f != $ac_func;
3630 ;
3631 return 0;
3632 }
3633 _ACEOF
3634 rm -f conftest.$ac_objext conftest$ac_exeext
3635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3636 (eval $ac_link) 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } &&
3643 { ac_try='test -z "$ac_c_werror_flag"
3644 || test ! -s conftest.err'
3645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 (eval $ac_try) 2>&5
3647 ac_status=$?
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }; } &&
3650 { ac_try='test -s conftest$ac_exeext'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3652 (eval $ac_try) 2>&5
3653 ac_status=$?
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; }; then
3656 eval "$as_ac_var=yes"
3657 else
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3660
3661 eval "$as_ac_var=no"
3662 fi
3663 rm -f conftest.err conftest.$ac_objext \
3664 conftest$ac_exeext conftest.$ac_ext
3665 fi
3666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3668 if test `eval echo '${'$as_ac_var'}'` = yes; then
3669 cat >>confdefs.h <<_ACEOF
3670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3671 _ACEOF
3672
3673 fi
3674 done
3675
3676
3677 ac_config_files="$ac_config_files Makefile src/Makefile"
3678
3679 cat >confcache <<\_ACEOF
3680 # This file is a shell script that caches the results of configure
3681 # tests run on this system so they can be shared between configure
3682 # scripts and configure runs, see configure's option --config-cache.
3683 # It is not useful on other systems. If it contains results you don't
3684 # want to keep, you may remove or edit it.
3685 #
3686 # config.status only pays attention to the cache file if you give it
3687 # the --recheck option to rerun configure.
3688 #
3689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3691 # following values.
3692
3693 _ACEOF
3694
3695 # The following way of writing the cache mishandles newlines in values,
3696 # but we know of no workaround that is simple, portable, and efficient.
3697 # So, don't put newlines in cache variables' values.
3698 # Ultrix sh set writes to stderr and can't be redirected directly,
3699 # and sets the high bit in the cache file unless we assign to the vars.
3700 {
3701 (set) 2>&1 |
3702 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3703 *ac_space=\ *)
3704 # `set' does not quote correctly, so add quotes (double-quote
3705 # substitution turns \\\\ into \\, and sed turns \\ into \).
3706 sed -n \
3707 "s/'/'\\\\''/g;
3708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3709 ;;
3710 *)
3711 # `set' quotes correctly as required by POSIX, so do not add quotes.
3712 sed -n \
3713 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3714 ;;
3715 esac;
3716 } |
3717 sed '
3718 t clear
3719 : clear
3720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3721 t end
3722 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3723 : end' >>confcache
3724 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3725 if test -w $cache_file; then
3726 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3727 cat confcache >$cache_file
3728 else
3729 echo "not updating unwritable cache $cache_file"
3730 fi
3731 fi
3732 rm -f confcache
3733
3734 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3735 # Let make expand exec_prefix.
3736 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3737
3738 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3739 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3740 # trailing colons and then remove the whole line if VPATH becomes empty
3741 # (actually we leave an empty line to preserve line numbers).
3742 if test "x$srcdir" = x.; then
3743 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3744 s/:*\$(srcdir):*/:/;
3745 s/:*\${srcdir}:*/:/;
3746 s/:*@srcdir@:*/:/;
3747 s/^\([^=]*=[ ]*\):*/\1/;
3748 s/:*$//;
3749 s/^[^=]*=[ ]*$//;
3750 }'
3751 fi
3752
3753 DEFS=-DHAVE_CONFIG_H
3754
3755 ac_libobjs=
3756 ac_ltlibobjs=
3757 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3758 # 1. Remove the extension, and $U if already installed.
3759 ac_i=`echo "$ac_i" |
3760 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3761 # 2. Add them.
3762 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3763 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3764 done
3765 LIBOBJS=$ac_libobjs
3766
3767 LTLIBOBJS=$ac_ltlibobjs
3768
3769
3770 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3771 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3772 Usually this means the macro was only invoked conditionally." >&5
3773 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3774 Usually this means the macro was only invoked conditionally." >&2;}
3775 { (exit 1); exit 1; }; }
3776 fi
3777 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3778 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3779 Usually this means the macro was only invoked conditionally." >&5
3780 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3781 Usually this means the macro was only invoked conditionally." >&2;}
3782 { (exit 1); exit 1; }; }
3783 fi
3784
3785 : ${CONFIG_STATUS=./config.status}
3786 ac_clean_files_save=$ac_clean_files
3787 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3788 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3789 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3790 cat >$CONFIG_STATUS <<_ACEOF
3791 #! $SHELL
3792 # Generated by $as_me.
3793 # Run this file to recreate the current configuration.
3794 # Compiler output produced by configure, useful for debugging
3795 # configure, is in config.log if it exists.
3796
3797 debug=false
3798 ac_cs_recheck=false
3799 ac_cs_silent=false
3800 SHELL=\${CONFIG_SHELL-$SHELL}
3801 _ACEOF
3802
3803 cat >>$CONFIG_STATUS <<\_ACEOF
3804 ## --------------------- ##
3805 ## M4sh Initialization. ##
3806 ## --------------------- ##
3807
3808 # Be Bourne compatible
3809 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3810 emulate sh
3811 NULLCMD=:
3812 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3813 # is contrary to our usage. Disable this feature.
3814 alias -g '${1+"$@"}'='"$@"'
3815 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3816 set -o posix
3817 fi
3818 DUALCASE=1; export DUALCASE # for MKS sh
3819
3820 # Support unset when possible.
3821 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3822 as_unset=unset
3823 else
3824 as_unset=false
3825 fi
3826
3827
3828 # Work around bugs in pre-3.0 UWIN ksh.
3829 $as_unset ENV MAIL MAILPATH
3830 PS1='$ '
3831 PS2='> '
3832 PS4='+ '
3833
3834 # NLS nuisances.
3835 for as_var in \
3836 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3837 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3838 LC_TELEPHONE LC_TIME
3839 do
3840 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3841 eval $as_var=C; export $as_var
3842 else
3843 $as_unset $as_var
3844 fi
3845 done
3846
3847 # Required to use basename.
3848 if expr a : '\(a\)' >/dev/null 2>&1; then
3849 as_expr=expr
3850 else
3851 as_expr=false
3852 fi
3853
3854 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3855 as_basename=basename
3856 else
3857 as_basename=false
3858 fi
3859
3860
3861 # Name of the executable.
3862 as_me=`$as_basename "$0" ||
3863 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3864 X"$0" : 'X\(//\)$' \| \
3865 X"$0" : 'X\(/\)$' \| \
3866 . : '\(.\)' 2>/dev/null ||
3867 echo X/"$0" |
3868 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3869 /^X\/\(\/\/\)$/{ s//\1/; q; }
3870 /^X\/\(\/\).*/{ s//\1/; q; }
3871 s/.*/./; q'`
3872
3873
3874 # PATH needs CR, and LINENO needs CR and PATH.
3875 # Avoid depending upon Character Ranges.
3876 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3877 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3878 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3879 as_cr_digits='0123456789'
3880 as_cr_alnum=$as_cr_Letters$as_cr_digits
3881
3882 # The user is always right.
3883 if test "${PATH_SEPARATOR+set}" != set; then
3884 echo "#! /bin/sh" >conf$$.sh
3885 echo "exit 0" >>conf$$.sh
3886 chmod +x conf$$.sh
3887 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3888 PATH_SEPARATOR=';'
3889 else
3890 PATH_SEPARATOR=:
3891 fi
3892 rm -f conf$$.sh
3893 fi
3894
3895
3896 as_lineno_1=$LINENO
3897 as_lineno_2=$LINENO
3898 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3899 test "x$as_lineno_1" != "x$as_lineno_2" &&
3900 test "x$as_lineno_3" = "x$as_lineno_2" || {
3901 # Find who we are. Look in the path if we contain no path at all
3902 # relative or not.
3903 case $0 in
3904 *[\\/]* ) as_myself=$0 ;;
3905 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 for as_dir in $PATH
3907 do
3908 IFS=$as_save_IFS
3909 test -z "$as_dir" && as_dir=.
3910 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3911 done
3912
3913 ;;
3914 esac
3915 # We did not find ourselves, most probably we were run as `sh COMMAND'
3916 # in which case we are not to be found in the path.
3917 if test "x$as_myself" = x; then
3918 as_myself=$0
3919 fi
3920 if test ! -f "$as_myself"; then
3921 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3922 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3923 { (exit 1); exit 1; }; }
3924 fi
3925 case $CONFIG_SHELL in
3926 '')
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3929 do
3930 IFS=$as_save_IFS
3931 test -z "$as_dir" && as_dir=.
3932 for as_base in sh bash ksh sh5; do
3933 case $as_dir in
3934 /*)
3935 if ("$as_dir/$as_base" -c '
3936 as_lineno_1=$LINENO
3937 as_lineno_2=$LINENO
3938 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3939 test "x$as_lineno_1" != "x$as_lineno_2" &&
3940 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3941 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3942 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3943 CONFIG_SHELL=$as_dir/$as_base
3944 export CONFIG_SHELL
3945 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3946 fi;;
3947 esac
3948 done
3949 done
3950 ;;
3951 esac
3952
3953 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3954 # uniformly replaced by the line number. The first 'sed' inserts a
3955 # line-number line before each line; the second 'sed' does the real
3956 # work. The second script uses 'N' to pair each line-number line
3957 # with the numbered line, and appends trailing '-' during
3958 # substitution so that $LINENO is not a special case at line end.
3959 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3960 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3961 sed '=' <$as_myself |
3962 sed '
3963 N
3964 s,$,-,
3965 : loop
3966 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3967 t loop
3968 s,-$,,
3969 s,^['$as_cr_digits']*\n,,
3970 ' >$as_me.lineno &&
3971 chmod +x $as_me.lineno ||
3972 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3973 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3974 { (exit 1); exit 1; }; }
3975
3976 # Don't try to exec as it changes $[0], causing all sort of problems
3977 # (the dirname of $[0] is not the place where we might find the
3978 # original and so on. Autoconf is especially sensible to this).
3979 . ./$as_me.lineno
3980 # Exit status is that of the last command.
3981 exit
3982 }
3983
3984
3985 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3986 *c*,-n*) ECHO_N= ECHO_C='
3987 ' ECHO_T=' ' ;;
3988 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3989 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3990 esac
3991
3992 if expr a : '\(a\)' >/dev/null 2>&1; then
3993 as_expr=expr
3994 else
3995 as_expr=false
3996 fi
3997
3998 rm -f conf$$ conf$$.exe conf$$.file
3999 echo >conf$$.file
4000 if ln -s conf$$.file conf$$ 2>/dev/null; then
4001 # We could just check for DJGPP; but this test a) works b) is more generic
4002 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4003 if test -f conf$$.exe; then
4004 # Don't use ln at all; we don't have any links
4005 as_ln_s='cp -p'
4006 else
4007 as_ln_s='ln -s'
4008 fi
4009 elif ln conf$$.file conf$$ 2>/dev/null; then
4010 as_ln_s=ln
4011 else
4012 as_ln_s='cp -p'
4013 fi
4014 rm -f conf$$ conf$$.exe conf$$.file
4015
4016 if mkdir -p . 2>/dev/null; then
4017 as_mkdir_p=:
4018 else
4019 test -d ./-p && rmdir ./-p
4020 as_mkdir_p=false
4021 fi
4022
4023 as_executable_p="test -f"
4024
4025 # Sed expression to map a string onto a valid CPP name.
4026 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4027
4028 # Sed expression to map a string onto a valid variable name.
4029 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4030
4031
4032 # IFS
4033 # We need space, tab and new line, in precisely that order.
4034 as_nl='
4035 '
4036 IFS=" $as_nl"
4037
4038 # CDPATH.
4039 $as_unset CDPATH
4040
4041 exec 6>&1
4042
4043 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4044 # report actual input values of CONFIG_FILES etc. instead of their
4045 # values after options handling. Logging --version etc. is OK.
4046 exec 5>>config.log
4047 {
4048 echo
4049 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4050 ## Running $as_me. ##
4051 _ASBOX
4052 } >&5
4053 cat >&5 <<_CSEOF
4054
4055 This file was extended by EgoBCh $as_me 0.1, which was
4056 generated by GNU Autoconf 2.59. Invocation command line was
4057
4058 CONFIG_FILES = $CONFIG_FILES
4059 CONFIG_HEADERS = $CONFIG_HEADERS
4060 CONFIG_LINKS = $CONFIG_LINKS
4061 CONFIG_COMMANDS = $CONFIG_COMMANDS
4062 $ $0 $@
4063
4064 _CSEOF
4065 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4066 echo >&5
4067 _ACEOF
4068
4069 # Files that config.status was made for.
4070 if test -n "$ac_config_files"; then
4071 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4072 fi
4073
4074 if test -n "$ac_config_headers"; then
4075 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4076 fi
4077
4078 if test -n "$ac_config_links"; then
4079 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4080 fi
4081
4082 if test -n "$ac_config_commands"; then
4083 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4084 fi
4085
4086 cat >>$CONFIG_STATUS <<\_ACEOF
4087
4088 ac_cs_usage="\
4089 \`$as_me' instantiates files from templates according to the
4090 current configuration.
4091
4092 Usage: $0 [OPTIONS] [FILE]...
4093
4094 -h, --help print this help, then exit
4095 -V, --version print version number, then exit
4096 -q, --quiet do not print progress messages
4097 -d, --debug don't remove temporary files
4098 --recheck update $as_me by reconfiguring in the same conditions
4099 --file=FILE[:TEMPLATE]
4100 instantiate the configuration file FILE
4101 --header=FILE[:TEMPLATE]
4102 instantiate the configuration header FILE
4103
4104 Configuration files:
4105 $config_files
4106
4107 Configuration headers:
4108 $config_headers
4109
4110 Configuration commands:
4111 $config_commands
4112
4113 Report bugs to <bug-autoconf@gnu.org>."
4114 _ACEOF
4115
4116 cat >>$CONFIG_STATUS <<_ACEOF
4117 ac_cs_version="\\
4118 EgoBCh config.status 0.1
4119 configured by $0, generated by GNU Autoconf 2.59,
4120 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4121
4122 Copyright (C) 2003 Free Software Foundation, Inc.
4123 This config.status script is free software; the Free Software Foundation
4124 gives unlimited permission to copy, distribute and modify it."
4125 srcdir=$srcdir
4126 INSTALL="$INSTALL"
4127 _ACEOF
4128
4129 cat >>$CONFIG_STATUS <<\_ACEOF
4130 # If no file are specified by the user, then we need to provide default
4131 # value. By we need to know if files were specified by the user.
4132 ac_need_defaults=:
4133 while test $# != 0
4134 do
4135 case $1 in
4136 --*=*)
4137 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4138 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4139 ac_shift=:
4140 ;;
4141 -*)
4142 ac_option=$1
4143 ac_optarg=$2
4144 ac_shift=shift
4145 ;;
4146 *) # This is not an option, so the user has probably given explicit
4147 # arguments.
4148 ac_option=$1
4149 ac_need_defaults=false;;
4150 esac
4151
4152 case $ac_option in
4153 # Handling of the options.
4154 _ACEOF
4155 cat >>$CONFIG_STATUS <<\_ACEOF
4156 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4157 ac_cs_recheck=: ;;
4158 --version | --vers* | -V )
4159 echo "$ac_cs_version"; exit 0 ;;
4160 --he | --h)
4161 # Conflict between --help and --header
4162 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4163 Try \`$0 --help' for more information." >&5
4164 echo "$as_me: error: ambiguous option: $1
4165 Try \`$0 --help' for more information." >&2;}
4166 { (exit 1); exit 1; }; };;
4167 --help | --hel | -h )
4168 echo "$ac_cs_usage"; exit 0 ;;
4169 --debug | --d* | -d )
4170 debug=: ;;
4171 --file | --fil | --fi | --f )
4172 $ac_shift
4173 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4174 ac_need_defaults=false;;
4175 --header | --heade | --head | --hea )
4176 $ac_shift
4177 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4178 ac_need_defaults=false;;
4179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4180 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4181 ac_cs_silent=: ;;
4182
4183 # This is an error.
4184 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4185 Try \`$0 --help' for more information." >&5
4186 echo "$as_me: error: unrecognized option: $1
4187 Try \`$0 --help' for more information." >&2;}
4188 { (exit 1); exit 1; }; } ;;
4189
4190 *) ac_config_targets="$ac_config_targets $1" ;;
4191
4192 esac
4193 shift
4194 done
4195
4196 ac_configure_extra_args=
4197
4198 if $ac_cs_silent; then
4199 exec 6>/dev/null
4200 ac_configure_extra_args="$ac_configure_extra_args --silent"
4201 fi
4202
4203 _ACEOF
4204 cat >>$CONFIG_STATUS <<_ACEOF
4205 if \$ac_cs_recheck; then
4206 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4207 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4208 fi
4209
4210 _ACEOF
4211
4212 cat >>$CONFIG_STATUS <<_ACEOF
4213 #
4214 # INIT-COMMANDS section.
4215 #
4216
4217 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4218
4219 _ACEOF
4220
4221
4222
4223 cat >>$CONFIG_STATUS <<\_ACEOF
4224 for ac_config_target in $ac_config_targets
4225 do
4226 case "$ac_config_target" in
4227 # Handling of arguments.
4228 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4229 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4230 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4231 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4232 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4233 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4234 { (exit 1); exit 1; }; };;
4235 esac
4236 done
4237
4238 # If the user did not use the arguments to specify the items to instantiate,
4239 # then the envvar interface is used. Set only those that are not.
4240 # We use the long form for the default assignment because of an extremely
4241 # bizarre bug on SunOS 4.1.3.
4242 if $ac_need_defaults; then
4243 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4244 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4245 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4246 fi
4247
4248 # Have a temporary directory for convenience. Make it in the build tree
4249 # simply because there is no reason to put it here, and in addition,
4250 # creating and moving files from /tmp can sometimes cause problems.
4251 # Create a temporary directory, and hook for its removal unless debugging.
4252 $debug ||
4253 {
4254 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4255 trap '{ (exit 1); exit 1; }' 1 2 13 15
4256 }
4257
4258 # Create a (secure) tmp directory for tmp files.
4259
4260 {
4261 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4262 test -n "$tmp" && test -d "$tmp"
4263 } ||
4264 {
4265 tmp=./confstat$$-$RANDOM
4266 (umask 077 && mkdir $tmp)
4267 } ||
4268 {
4269 echo "$me: cannot create a temporary directory in ." >&2
4270 { (exit 1); exit 1; }
4271 }
4272
4273 _ACEOF
4274
4275 cat >>$CONFIG_STATUS <<_ACEOF
4276
4277 #
4278 # CONFIG_FILES section.
4279 #
4280
4281 # No need to generate the scripts if there are no CONFIG_FILES.
4282 # This happens for instance when ./config.status config.h
4283 if test -n "\$CONFIG_FILES"; then
4284 # Protect against being on the right side of a sed subst in config.status.
4285 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4286 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4287 s,@SHELL@,$SHELL,;t t
4288 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4289 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4290 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4291 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4292 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4293 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4294 s,@exec_prefix@,$exec_prefix,;t t
4295 s,@prefix@,$prefix,;t t
4296 s,@program_transform_name@,$program_transform_name,;t t
4297 s,@bindir@,$bindir,;t t
4298 s,@sbindir@,$sbindir,;t t
4299 s,@libexecdir@,$libexecdir,;t t
4300 s,@datadir@,$datadir,;t t
4301 s,@sysconfdir@,$sysconfdir,;t t
4302 s,@sharedstatedir@,$sharedstatedir,;t t
4303 s,@localstatedir@,$localstatedir,;t t
4304 s,@libdir@,$libdir,;t t
4305 s,@includedir@,$includedir,;t t
4306 s,@oldincludedir@,$oldincludedir,;t t
4307 s,@infodir@,$infodir,;t t
4308 s,@mandir@,$mandir,;t t
4309 s,@build_alias@,$build_alias,;t t
4310 s,@host_alias@,$host_alias,;t t
4311 s,@target_alias@,$target_alias,;t t
4312 s,@DEFS@,$DEFS,;t t
4313 s,@ECHO_C@,$ECHO_C,;t t
4314 s,@ECHO_N@,$ECHO_N,;t t
4315 s,@ECHO_T@,$ECHO_T,;t t
4316 s,@LIBS@,$LIBS,;t t
4317 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4318 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4319 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4320 s,@CYGPATH_W@,$CYGPATH_W,;t t
4321 s,@PACKAGE@,$PACKAGE,;t t
4322 s,@VERSION@,$VERSION,;t t
4323 s,@ACLOCAL@,$ACLOCAL,;t t
4324 s,@AUTOCONF@,$AUTOCONF,;t t
4325 s,@AUTOMAKE@,$AUTOMAKE,;t t
4326 s,@AUTOHEADER@,$AUTOHEADER,;t t
4327 s,@MAKEINFO@,$MAKEINFO,;t t
4328 s,@install_sh@,$install_sh,;t t
4329 s,@STRIP@,$STRIP,;t t
4330 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4331 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4332 s,@mkdir_p@,$mkdir_p,;t t
4333 s,@AWK@,$AWK,;t t
4334 s,@SET_MAKE@,$SET_MAKE,;t t
4335 s,@am__leading_dot@,$am__leading_dot,;t t
4336 s,@AMTAR@,$AMTAR,;t t
4337 s,@am__tar@,$am__tar,;t t
4338 s,@am__untar@,$am__untar,;t t
4339 s,@CC@,$CC,;t t
4340 s,@CFLAGS@,$CFLAGS,;t t
4341 s,@LDFLAGS@,$LDFLAGS,;t t
4342 s,@CPPFLAGS@,$CPPFLAGS,;t t
4343 s,@ac_ct_CC@,$ac_ct_CC,;t t
4344 s,@EXEEXT@,$EXEEXT,;t t
4345 s,@OBJEXT@,$OBJEXT,;t t
4346 s,@DEPDIR@,$DEPDIR,;t t
4347 s,@am__include@,$am__include,;t t
4348 s,@am__quote@,$am__quote,;t t
4349 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4350 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4351 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4352 s,@CCDEPMODE@,$CCDEPMODE,;t t
4353 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4354 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4355 s,@CPP@,$CPP,;t t
4356 s,@EGREP@,$EGREP,;t t
4357 s,@LIBOBJS@,$LIBOBJS,;t t
4358 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4359 CEOF
4360
4361 _ACEOF
4362
4363 cat >>$CONFIG_STATUS <<\_ACEOF
4364 # Split the substitutions into bite-sized pieces for seds with
4365 # small command number limits, like on Digital OSF/1 and HP-UX.
4366 ac_max_sed_lines=48
4367 ac_sed_frag=1 # Number of current file.
4368 ac_beg=1 # First line for current file.
4369 ac_end=$ac_max_sed_lines # Line after last line for current file.
4370 ac_more_lines=:
4371 ac_sed_cmds=
4372 while $ac_more_lines; do
4373 if test $ac_beg -gt 1; then
4374 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4375 else
4376 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4377 fi
4378 if test ! -s $tmp/subs.frag; then
4379 ac_more_lines=false
4380 else
4381 # The purpose of the label and of the branching condition is to
4382 # speed up the sed processing (if there are no `@' at all, there
4383 # is no need to browse any of the substitutions).
4384 # These are the two extra sed commands mentioned above.
4385 (echo ':t
4386 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4387 if test -z "$ac_sed_cmds"; then
4388 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4389 else
4390 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4391 fi
4392 ac_sed_frag=`expr $ac_sed_frag + 1`
4393 ac_beg=$ac_end
4394 ac_end=`expr $ac_end + $ac_max_sed_lines`
4395 fi
4396 done
4397 if test -z "$ac_sed_cmds"; then
4398 ac_sed_cmds=cat
4399 fi
4400 fi # test -n "$CONFIG_FILES"
4401
4402 _ACEOF
4403 cat >>$CONFIG_STATUS <<\_ACEOF
4404 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4405 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4406 case $ac_file in
4407 - | *:- | *:-:* ) # input from stdin
4408 cat >$tmp/stdin
4409 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4410 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4411 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4412 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4413 * ) ac_file_in=$ac_file.in ;;
4414 esac
4415
4416 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4417 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4419 X"$ac_file" : 'X\(//\)[^/]' \| \
4420 X"$ac_file" : 'X\(//\)$' \| \
4421 X"$ac_file" : 'X\(/\)' \| \
4422 . : '\(.\)' 2>/dev/null ||
4423 echo X"$ac_file" |
4424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4426 /^X\(\/\/\)$/{ s//\1/; q; }
4427 /^X\(\/\).*/{ s//\1/; q; }
4428 s/.*/./; q'`
4429 { if $as_mkdir_p; then
4430 mkdir -p "$ac_dir"
4431 else
4432 as_dir="$ac_dir"
4433 as_dirs=
4434 while test ! -d "$as_dir"; do
4435 as_dirs="$as_dir $as_dirs"
4436 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4438 X"$as_dir" : 'X\(//\)[^/]' \| \
4439 X"$as_dir" : 'X\(//\)$' \| \
4440 X"$as_dir" : 'X\(/\)' \| \
4441 . : '\(.\)' 2>/dev/null ||
4442 echo X"$as_dir" |
4443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4444 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4445 /^X\(\/\/\)$/{ s//\1/; q; }
4446 /^X\(\/\).*/{ s//\1/; q; }
4447 s/.*/./; q'`
4448 done
4449 test ! -n "$as_dirs" || mkdir $as_dirs
4450 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4451 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4452 { (exit 1); exit 1; }; }; }
4453
4454 ac_builddir=.
4455
4456 if test "$ac_dir" != .; then
4457 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4458 # A "../" for each directory in $ac_dir_suffix.
4459 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4460 else
4461 ac_dir_suffix= ac_top_builddir=
4462 fi
4463
4464 case $srcdir in
4465 .) # No --srcdir option. We are building in place.
4466 ac_srcdir=.
4467 if test -z "$ac_top_builddir"; then
4468 ac_top_srcdir=.
4469 else
4470 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4471 fi ;;
4472 [\\/]* | ?:[\\/]* ) # Absolute path.
4473 ac_srcdir=$srcdir$ac_dir_suffix;
4474 ac_top_srcdir=$srcdir ;;
4475 *) # Relative path.
4476 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4477 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4478 esac
4479
4480 # Do not use `cd foo && pwd` to compute absolute paths, because
4481 # the directories may not exist.
4482 case `pwd` in
4483 .) ac_abs_builddir="$ac_dir";;
4484 *)
4485 case "$ac_dir" in
4486 .) ac_abs_builddir=`pwd`;;
4487 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4488 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4489 esac;;
4490 esac
4491 case $ac_abs_builddir in
4492 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4493 *)
4494 case ${ac_top_builddir}. in
4495 .) ac_abs_top_builddir=$ac_abs_builddir;;
4496 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4497 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4498 esac;;
4499 esac
4500 case $ac_abs_builddir in
4501 .) ac_abs_srcdir=$ac_srcdir;;
4502 *)
4503 case $ac_srcdir in
4504 .) ac_abs_srcdir=$ac_abs_builddir;;
4505 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4506 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4507 esac;;
4508 esac
4509 case $ac_abs_builddir in
4510 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4511 *)
4512 case $ac_top_srcdir in
4513 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4514 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4515 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4516 esac;;
4517 esac
4518
4519
4520 case $INSTALL in
4521 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4522 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4523 esac
4524
4525 if test x"$ac_file" != x-; then
4526 { echo "$as_me:$LINENO: creating $ac_file" >&5
4527 echo "$as_me: creating $ac_file" >&6;}
4528 rm -f "$ac_file"
4529 fi
4530 # Let's still pretend it is `configure' which instantiates (i.e., don't
4531 # use $as_me), people would be surprised to read:
4532 # /* config.h. Generated by config.status. */
4533 if test x"$ac_file" = x-; then
4534 configure_input=
4535 else
4536 configure_input="$ac_file. "
4537 fi
4538 configure_input=$configure_input"Generated from `echo $ac_file_in |
4539 sed 's,.*/,,'` by configure."
4540
4541 # First look for the input files in the build tree, otherwise in the
4542 # src tree.
4543 ac_file_inputs=`IFS=:
4544 for f in $ac_file_in; do
4545 case $f in
4546 -) echo $tmp/stdin ;;
4547 [\\/$]*)
4548 # Absolute (can't be DOS-style, as IFS=:)
4549 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4550 echo "$as_me: error: cannot find input file: $f" >&2;}
4551 { (exit 1); exit 1; }; }
4552 echo "$f";;
4553 *) # Relative
4554 if test -f "$f"; then
4555 # Build tree
4556 echo "$f"
4557 elif test -f "$srcdir/$f"; then
4558 # Source tree
4559 echo "$srcdir/$f"
4560 else
4561 # /dev/null tree
4562 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4563 echo "$as_me: error: cannot find input file: $f" >&2;}
4564 { (exit 1); exit 1; }; }
4565 fi;;
4566 esac
4567 done` || { (exit 1); exit 1; }
4568 _ACEOF
4569 cat >>$CONFIG_STATUS <<_ACEOF
4570 sed "$ac_vpsub
4571 $extrasub
4572 _ACEOF
4573 cat >>$CONFIG_STATUS <<\_ACEOF
4574 :t
4575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4576 s,@configure_input@,$configure_input,;t t
4577 s,@srcdir@,$ac_srcdir,;t t
4578 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4579 s,@top_srcdir@,$ac_top_srcdir,;t t
4580 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4581 s,@builddir@,$ac_builddir,;t t
4582 s,@abs_builddir@,$ac_abs_builddir,;t t
4583 s,@top_builddir@,$ac_top_builddir,;t t
4584 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4585 s,@INSTALL@,$ac_INSTALL,;t t
4586 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4587 rm -f $tmp/stdin
4588 if test x"$ac_file" != x-; then
4589 mv $tmp/out $ac_file
4590 else
4591 cat $tmp/out
4592 rm -f $tmp/out
4593 fi
4594
4595 done
4596 _ACEOF
4597 cat >>$CONFIG_STATUS <<\_ACEOF
4598
4599 #
4600 # CONFIG_HEADER section.
4601 #
4602
4603 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4604 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4605 #
4606 # ac_d sets the value in "#define NAME VALUE" lines.
4607 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4608 ac_dB='[ ].*$,\1#\2'
4609 ac_dC=' '
4610 ac_dD=',;t'
4611 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4612 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4613 ac_uB='$,\1#\2define\3'
4614 ac_uC=' '
4615 ac_uD=',;t'
4616
4617 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4618 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4619 case $ac_file in
4620 - | *:- | *:-:* ) # input from stdin
4621 cat >$tmp/stdin
4622 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4623 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4624 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4625 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4626 * ) ac_file_in=$ac_file.in ;;
4627 esac
4628
4629 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4630 echo "$as_me: creating $ac_file" >&6;}
4631
4632 # First look for the input files in the build tree, otherwise in the
4633 # src tree.
4634 ac_file_inputs=`IFS=:
4635 for f in $ac_file_in; do
4636 case $f in
4637 -) echo $tmp/stdin ;;
4638 [\\/$]*)
4639 # Absolute (can't be DOS-style, as IFS=:)
4640 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4641 echo "$as_me: error: cannot find input file: $f" >&2;}
4642 { (exit 1); exit 1; }; }
4643 # Do quote $f, to prevent DOS paths from being IFS'd.
4644 echo "$f";;
4645 *) # Relative
4646 if test -f "$f"; then
4647 # Build tree
4648 echo "$f"
4649 elif test -f "$srcdir/$f"; then
4650 # Source tree
4651 echo "$srcdir/$f"
4652 else
4653 # /dev/null tree
4654 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4655 echo "$as_me: error: cannot find input file: $f" >&2;}
4656 { (exit 1); exit 1; }; }
4657 fi;;
4658 esac
4659 done` || { (exit 1); exit 1; }
4660 # Remove the trailing spaces.
4661 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4662
4663 _ACEOF
4664
4665 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4666 # `conftest.undefs', that substitutes the proper values into
4667 # config.h.in to produce config.h. The first handles `#define'
4668 # templates, and the second `#undef' templates.
4669 # And first: Protect against being on the right side of a sed subst in
4670 # config.status. Protect against being in an unquoted here document
4671 # in config.status.
4672 rm -f conftest.defines conftest.undefs
4673 # Using a here document instead of a string reduces the quoting nightmare.
4674 # Putting comments in sed scripts is not portable.
4675 #
4676 # `end' is used to avoid that the second main sed command (meant for
4677 # 0-ary CPP macros) applies to n-ary macro definitions.
4678 # See the Autoconf documentation for `clear'.
4679 cat >confdef2sed.sed <<\_ACEOF
4680 s/[\\&,]/\\&/g
4681 s,[\\$`],\\&,g
4682 t clear
4683 : clear
4684 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4685 t end
4686 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4687 : end
4688 _ACEOF
4689 # If some macros were called several times there might be several times
4690 # the same #defines, which is useless. Nevertheless, we may not want to
4691 # sort them, since we want the *last* AC-DEFINE to be honored.
4692 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4693 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4694 rm -f confdef2sed.sed
4695
4696 # This sed command replaces #undef with comments. This is necessary, for
4697 # example, in the case of _POSIX_SOURCE, which is predefined and required
4698 # on some systems where configure will not decide to define it.
4699 cat >>conftest.undefs <<\_ACEOF
4700 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4701 _ACEOF
4702
4703 # Break up conftest.defines because some shells have a limit on the size
4704 # of here documents, and old seds have small limits too (100 cmds).
4705 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4706 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4707 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4708 echo ' :' >>$CONFIG_STATUS
4709 rm -f conftest.tail
4710 while grep . conftest.defines >/dev/null
4711 do
4712 # Write a limited-size here document to $tmp/defines.sed.
4713 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4714 # Speed up: don't consider the non `#define' lines.
4715 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4716 # Work around the forget-to-reset-the-flag bug.
4717 echo 't clr' >>$CONFIG_STATUS
4718 echo ': clr' >>$CONFIG_STATUS
4719 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4720 echo 'CEOF
4721 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4722 rm -f $tmp/in
4723 mv $tmp/out $tmp/in
4724 ' >>$CONFIG_STATUS
4725 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4726 rm -f conftest.defines
4727 mv conftest.tail conftest.defines
4728 done
4729 rm -f conftest.defines
4730 echo ' fi # grep' >>$CONFIG_STATUS
4731 echo >>$CONFIG_STATUS
4732
4733 # Break up conftest.undefs because some shells have a limit on the size
4734 # of here documents, and old seds have small limits too (100 cmds).
4735 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4736 rm -f conftest.tail
4737 while grep . conftest.undefs >/dev/null
4738 do
4739 # Write a limited-size here document to $tmp/undefs.sed.
4740 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4741 # Speed up: don't consider the non `#undef'
4742 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4743 # Work around the forget-to-reset-the-flag bug.
4744 echo 't clr' >>$CONFIG_STATUS
4745 echo ': clr' >>$CONFIG_STATUS
4746 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4747 echo 'CEOF
4748 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4749 rm -f $tmp/in
4750 mv $tmp/out $tmp/in
4751 ' >>$CONFIG_STATUS
4752 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4753 rm -f conftest.undefs
4754 mv conftest.tail conftest.undefs
4755 done
4756 rm -f conftest.undefs
4757
4758 cat >>$CONFIG_STATUS <<\_ACEOF
4759 # Let's still pretend it is `configure' which instantiates (i.e., don't
4760 # use $as_me), people would be surprised to read:
4761 # /* config.h. Generated by config.status. */
4762 if test x"$ac_file" = x-; then
4763 echo "/* Generated by configure. */" >$tmp/config.h
4764 else
4765 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4766 fi
4767 cat $tmp/in >>$tmp/config.h
4768 rm -f $tmp/in
4769 if test x"$ac_file" != x-; then
4770 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4771 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4772 echo "$as_me: $ac_file is unchanged" >&6;}
4773 else
4774 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4776 X"$ac_file" : 'X\(//\)[^/]' \| \
4777 X"$ac_file" : 'X\(//\)$' \| \
4778 X"$ac_file" : 'X\(/\)' \| \
4779 . : '\(.\)' 2>/dev/null ||
4780 echo X"$ac_file" |
4781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4783 /^X\(\/\/\)$/{ s//\1/; q; }
4784 /^X\(\/\).*/{ s//\1/; q; }
4785 s/.*/./; q'`
4786 { if $as_mkdir_p; then
4787 mkdir -p "$ac_dir"
4788 else
4789 as_dir="$ac_dir"
4790 as_dirs=
4791 while test ! -d "$as_dir"; do
4792 as_dirs="$as_dir $as_dirs"
4793 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4795 X"$as_dir" : 'X\(//\)[^/]' \| \
4796 X"$as_dir" : 'X\(//\)$' \| \
4797 X"$as_dir" : 'X\(/\)' \| \
4798 . : '\(.\)' 2>/dev/null ||
4799 echo X"$as_dir" |
4800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4802 /^X\(\/\/\)$/{ s//\1/; q; }
4803 /^X\(\/\).*/{ s//\1/; q; }
4804 s/.*/./; q'`
4805 done
4806 test ! -n "$as_dirs" || mkdir $as_dirs
4807 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4808 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4809 { (exit 1); exit 1; }; }; }
4810
4811 rm -f $ac_file
4812 mv $tmp/config.h $ac_file
4813 fi
4814 else
4815 cat $tmp/config.h
4816 rm -f $tmp/config.h
4817 fi
4818 # Compute $ac_file's index in $config_headers.
4819 _am_stamp_count=1
4820 for _am_header in $config_headers :; do
4821 case $_am_header in
4822 $ac_file | $ac_file:* )
4823 break ;;
4824 * )
4825 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4826 esac
4827 done
4828 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4829 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4830 X$ac_file : 'X\(//\)[^/]' \| \
4831 X$ac_file : 'X\(//\)$' \| \
4832 X$ac_file : 'X\(/\)' \| \
4833 . : '\(.\)' 2>/dev/null ||
4834 echo X$ac_file |
4835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4837 /^X\(\/\/\)$/{ s//\1/; q; }
4838 /^X\(\/\).*/{ s//\1/; q; }
4839 s/.*/./; q'`/stamp-h$_am_stamp_count
4840 done
4841 _ACEOF
4842 cat >>$CONFIG_STATUS <<\_ACEOF
4843
4844 #
4845 # CONFIG_COMMANDS section.
4846 #
4847 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4848 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4849 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4850 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4851 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4852 X"$ac_dest" : 'X\(//\)[^/]' \| \
4853 X"$ac_dest" : 'X\(//\)$' \| \
4854 X"$ac_dest" : 'X\(/\)' \| \
4855 . : '\(.\)' 2>/dev/null ||
4856 echo X"$ac_dest" |
4857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4859 /^X\(\/\/\)$/{ s//\1/; q; }
4860 /^X\(\/\).*/{ s//\1/; q; }
4861 s/.*/./; q'`
4862 { if $as_mkdir_p; then
4863 mkdir -p "$ac_dir"
4864 else
4865 as_dir="$ac_dir"
4866 as_dirs=
4867 while test ! -d "$as_dir"; do
4868 as_dirs="$as_dir $as_dirs"
4869 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4870 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4871 X"$as_dir" : 'X\(//\)[^/]' \| \
4872 X"$as_dir" : 'X\(//\)$' \| \
4873 X"$as_dir" : 'X\(/\)' \| \
4874 . : '\(.\)' 2>/dev/null ||
4875 echo X"$as_dir" |
4876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4878 /^X\(\/\/\)$/{ s//\1/; q; }
4879 /^X\(\/\).*/{ s//\1/; q; }
4880 s/.*/./; q'`
4881 done
4882 test ! -n "$as_dirs" || mkdir $as_dirs
4883 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4884 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4885 { (exit 1); exit 1; }; }; }
4886
4887 ac_builddir=.
4888
4889 if test "$ac_dir" != .; then
4890 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4891 # A "../" for each directory in $ac_dir_suffix.
4892 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4893 else
4894 ac_dir_suffix= ac_top_builddir=
4895 fi
4896
4897 case $srcdir in
4898 .) # No --srcdir option. We are building in place.
4899 ac_srcdir=.
4900 if test -z "$ac_top_builddir"; then
4901 ac_top_srcdir=.
4902 else
4903 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4904 fi ;;
4905 [\\/]* | ?:[\\/]* ) # Absolute path.
4906 ac_srcdir=$srcdir$ac_dir_suffix;
4907 ac_top_srcdir=$srcdir ;;
4908 *) # Relative path.
4909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4911 esac
4912
4913 # Do not use `cd foo && pwd` to compute absolute paths, because
4914 # the directories may not exist.
4915 case `pwd` in
4916 .) ac_abs_builddir="$ac_dir";;
4917 *)
4918 case "$ac_dir" in
4919 .) ac_abs_builddir=`pwd`;;
4920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4922 esac;;
4923 esac
4924 case $ac_abs_builddir in
4925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4926 *)
4927 case ${ac_top_builddir}. in
4928 .) ac_abs_top_builddir=$ac_abs_builddir;;
4929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4931 esac;;
4932 esac
4933 case $ac_abs_builddir in
4934 .) ac_abs_srcdir=$ac_srcdir;;
4935 *)
4936 case $ac_srcdir in
4937 .) ac_abs_srcdir=$ac_abs_builddir;;
4938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4940 esac;;
4941 esac
4942 case $ac_abs_builddir in
4943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4944 *)
4945 case $ac_top_srcdir in
4946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4949 esac;;
4950 esac
4951
4952
4953 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4954 echo "$as_me: executing $ac_dest commands" >&6;}
4955 case $ac_dest in
4956 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4957 # Strip MF so we end up with the name of the file.
4958 mf=`echo "$mf" | sed -e 's/:.*$//'`
4959 # Check whether this is an Automake generated Makefile or not.
4960 # We used to match only the files named `Makefile.in', but
4961 # some people rename them; so instead we look at the file content.
4962 # Grep'ing the first line is not enough: some people post-process
4963 # each Makefile.in and add a new line on top of each file to say so.
4964 # So let's grep whole file.
4965 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4966 dirpart=`(dirname "$mf") 2>/dev/null ||
4967 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4968 X"$mf" : 'X\(//\)[^/]' \| \
4969 X"$mf" : 'X\(//\)$' \| \
4970 X"$mf" : 'X\(/\)' \| \
4971 . : '\(.\)' 2>/dev/null ||
4972 echo X"$mf" |
4973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4974 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4975 /^X\(\/\/\)$/{ s//\1/; q; }
4976 /^X\(\/\).*/{ s//\1/; q; }
4977 s/.*/./; q'`
4978 else
4979 continue
4980 fi
4981 # Extract the definition of DEPDIR, am__include, and am__quote
4982 # from the Makefile without running `make'.
4983 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4984 test -z "$DEPDIR" && continue
4985 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4986 test -z "am__include" && continue
4987 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4988 # When using ansi2knr, U may be empty or an underscore; expand it
4989 U=`sed -n 's/^U = //p' < "$mf"`
4990 # Find all dependency output files, they are included files with
4991 # $(DEPDIR) in their names. We invoke sed twice because it is the
4992 # simplest approach to changing $(DEPDIR) to its actual value in the
4993 # expansion.
4994 for file in `sed -n "
4995 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4996 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4997 # Make sure the directory exists.
4998 test -f "$dirpart/$file" && continue
4999 fdir=`(dirname "$file") 2>/dev/null ||
5000 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5001 X"$file" : 'X\(//\)[^/]' \| \
5002 X"$file" : 'X\(//\)$' \| \
5003 X"$file" : 'X\(/\)' \| \
5004 . : '\(.\)' 2>/dev/null ||
5005 echo X"$file" |
5006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5008 /^X\(\/\/\)$/{ s//\1/; q; }
5009 /^X\(\/\).*/{ s//\1/; q; }
5010 s/.*/./; q'`
5011 { if $as_mkdir_p; then
5012 mkdir -p $dirpart/$fdir
5013 else
5014 as_dir=$dirpart/$fdir
5015 as_dirs=
5016 while test ! -d "$as_dir"; do
5017 as_dirs="$as_dir $as_dirs"
5018 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5020 X"$as_dir" : 'X\(//\)[^/]' \| \
5021 X"$as_dir" : 'X\(//\)$' \| \
5022 X"$as_dir" : 'X\(/\)' \| \
5023 . : '\(.\)' 2>/dev/null ||
5024 echo X"$as_dir" |
5025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5027 /^X\(\/\/\)$/{ s//\1/; q; }
5028 /^X\(\/\).*/{ s//\1/; q; }
5029 s/.*/./; q'`
5030 done
5031 test ! -n "$as_dirs" || mkdir $as_dirs
5032 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5033 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5034 { (exit 1); exit 1; }; }; }
5035
5036 # echo "creating $dirpart/$file"
5037 echo '# dummy' > "$dirpart/$file"
5038 done
5039 done
5040 ;;
5041 esac
5042 done
5043 _ACEOF
5044
5045 cat >>$CONFIG_STATUS <<\_ACEOF
5046
5047 { (exit 0); exit 0; }
5048 _ACEOF
5049 chmod +x $CONFIG_STATUS
5050 ac_clean_files=$ac_clean_files_save
5051
5052
5053 # configure is writing to config.log, and then calls config.status.
5054 # config.status does its own redirection, appending to config.log.
5055 # Unfortunately, on DOS this fails, as config.log is still kept open
5056 # by configure, so config.status won't be able to write to it; its
5057 # output is simply discarded. So we exec the FD to /dev/null,
5058 # effectively closing config.log, so it can be properly (re)opened and
5059 # appended to by config.status. When coming back to configure, we
5060 # need to make the FD available again.
5061 if test "$no_create" != yes; then
5062 ac_cs_success=:
5063 ac_config_status_args=
5064 test "$silent" = yes &&
5065 ac_config_status_args="$ac_config_status_args --quiet"
5066 exec 5>/dev/null
5067 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5068 exec 5>>config.log
5069 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5070 # would make configure fail if this is the last instruction.
5071 $ac_cs_success || { (exit 1); exit 1; }
5072 fi
5073