2005-09-27 Bob Rossi <bob@brasko.net>
[deliverable/binutils-gdb.git] / gdb / rdi-share / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
274 ac_unique_file="adp.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 RANLIB ac_ct_RANLIB CPP EGREP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 this package 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
843 cat <<\_ACEOF
844
845 Optional Features:
846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848 --disable-dependency-tracking speeds up one-time build
849 --enable-dependency-tracking do not reject slow dependency extractors
850 --enable-maintainer-mode enable make rules and dependencies not useful
851 (and sometimes confusing) to the casual installer
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
961 Copyright (C) 2003 Free Software Foundation, Inc.
962 This configure script is free software; the Free Software Foundation
963 gives unlimited permission to copy, distribute and modify it.
964 _ACEOF
965 exit 0
966 fi
967 exec 5>config.log
968 cat >&5 <<_ACEOF
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
971
972 It was created by $as_me, which was
973 generated by GNU Autoconf 2.59. Invocation command line was
974
975 $ $0 $@
976
977 _ACEOF
978 {
979 cat <<_ASUNAME
980 ## --------- ##
981 ## Platform. ##
982 ## --------- ##
983
984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
989
990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
991 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
992
993 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
994 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
996 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
997 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
998 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1000
1001 _ASUNAME
1002
1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1004 for as_dir in $PATH
1005 do
1006 IFS=$as_save_IFS
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1009 done
1010
1011 } >&5
1012
1013 cat >&5 <<_ACEOF
1014
1015
1016 ## ----------- ##
1017 ## Core tests. ##
1018 ## ----------- ##
1019
1020 _ACEOF
1021
1022
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Strip out --silent because we don't want to record it for future runs.
1026 # Also quote any args containing shell meta-characters.
1027 # Make two passes to allow for proper duplicate-argument suppression.
1028 ac_configure_args=
1029 ac_configure_args0=
1030 ac_configure_args1=
1031 ac_sep=
1032 ac_must_keep_next=false
1033 for ac_pass in 1 2
1034 do
1035 for ac_arg
1036 do
1037 case $ac_arg in
1038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1041 continue ;;
1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1044 esac
1045 case $ac_pass in
1046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1047 2)
1048 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049 if test $ac_must_keep_next = true; then
1050 ac_must_keep_next=false # Got value, back to normal.
1051 else
1052 case $ac_arg in
1053 *=* | --config-cache | -C | -disable-* | --disable-* \
1054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056 | -with-* | --with-* | -without-* | --without-* | --x)
1057 case "$ac_configure_args0 " in
1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1059 esac
1060 ;;
1061 -* ) ac_must_keep_next=true ;;
1062 esac
1063 fi
1064 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065 # Get rid of the leading space.
1066 ac_sep=" "
1067 ;;
1068 esac
1069 done
1070 done
1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1073
1074 # When interrupted or exit'd, cleanup temporary files, and complete
1075 # config.log. We remove comments because anyway the quotes in there
1076 # would cause problems or look ugly.
1077 # WARNING: Be sure not to use single quotes in there, as some shells,
1078 # such as our DU 5.0 friend, will then `close' the trap.
1079 trap 'exit_status=$?
1080 # Save into config.log some information that might help in debugging.
1081 {
1082 echo
1083
1084 cat <<\_ASBOX
1085 ## ---------------- ##
1086 ## Cache variables. ##
1087 ## ---------------- ##
1088 _ASBOX
1089 echo
1090 # The following way of writing the cache mishandles newlines in values,
1091 {
1092 (set) 2>&1 |
1093 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1094 *ac_space=\ *)
1095 sed -n \
1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1098 ;;
1099 *)
1100 sed -n \
1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1102 ;;
1103 esac;
1104 }
1105 echo
1106
1107 cat <<\_ASBOX
1108 ## ----------------- ##
1109 ## Output variables. ##
1110 ## ----------------- ##
1111 _ASBOX
1112 echo
1113 for ac_var in $ac_subst_vars
1114 do
1115 eval ac_val=$`echo $ac_var`
1116 echo "$ac_var='"'"'$ac_val'"'"'"
1117 done | sort
1118 echo
1119
1120 if test -n "$ac_subst_files"; then
1121 cat <<\_ASBOX
1122 ## ------------- ##
1123 ## Output files. ##
1124 ## ------------- ##
1125 _ASBOX
1126 echo
1127 for ac_var in $ac_subst_files
1128 do
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1131 done | sort
1132 echo
1133 fi
1134
1135 if test -s confdefs.h; then
1136 cat <<\_ASBOX
1137 ## ----------- ##
1138 ## confdefs.h. ##
1139 ## ----------- ##
1140 _ASBOX
1141 echo
1142 sed "/^$/d" confdefs.h | sort
1143 echo
1144 fi
1145 test "$ac_signal" != 0 &&
1146 echo "$as_me: caught signal $ac_signal"
1147 echo "$as_me: exit $exit_status"
1148 } >&5
1149 rm -f core *.core &&
1150 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1151 exit $exit_status
1152 ' 0
1153 for ac_signal in 1 2 13 15; do
1154 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1155 done
1156 ac_signal=0
1157
1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1159 rm -rf conftest* confdefs.h
1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1161 echo >confdefs.h
1162
1163 # Predefined preprocessor variables.
1164
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_NAME "$PACKAGE_NAME"
1167 _ACEOF
1168
1169
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1172 _ACEOF
1173
1174
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1177 _ACEOF
1178
1179
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_STRING "$PACKAGE_STRING"
1182 _ACEOF
1183
1184
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1187 _ACEOF
1188
1189
1190 # Let the site file select an alternate cache file if it wants to.
1191 # Prefer explicitly selected file to automatically selected ones.
1192 if test -z "$CONFIG_SITE"; then
1193 if test "x$prefix" != xNONE; then
1194 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1195 else
1196 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1197 fi
1198 fi
1199 for ac_site_file in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202 echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's/^/| /' "$ac_site_file" >&5
1204 . "$ac_site_file"
1205 fi
1206 done
1207
1208 if test -r "$cache_file"; then
1209 # Some versions of bash will fail to source /dev/null (special
1210 # files actually), so we avoid doing that.
1211 if test -f "$cache_file"; then
1212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213 echo "$as_me: loading cache $cache_file" >&6;}
1214 case $cache_file in
1215 [\\/]* | ?:[\\/]* ) . $cache_file;;
1216 *) . ./$cache_file;;
1217 esac
1218 fi
1219 else
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221 echo "$as_me: creating cache $cache_file" >&6;}
1222 >$cache_file
1223 fi
1224
1225 # Check that the precious variables saved in the cache have kept the same
1226 # value.
1227 ac_cache_corrupted=false
1228 for ac_var in `(set) 2>&1 |
1229 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231 eval ac_new_set=\$ac_env_${ac_var}_set
1232 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1233 eval ac_new_val="\$ac_env_${ac_var}_value"
1234 case $ac_old_set,$ac_new_set in
1235 set,)
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1238 ac_cache_corrupted=: ;;
1239 ,set)
1240 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242 ac_cache_corrupted=: ;;
1243 ,);;
1244 *)
1245 if test "x$ac_old_val" != "x$ac_new_val"; then
1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1247 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249 echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251 echo "$as_me: current value: $ac_new_val" >&2;}
1252 ac_cache_corrupted=:
1253 fi;;
1254 esac
1255 # Pass precious variables to config.status.
1256 if test "$ac_new_set" = set; then
1257 case $ac_new_val in
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1260 *) ac_arg=$ac_var=$ac_new_val ;;
1261 esac
1262 case " $ac_configure_args " in
1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1265 esac
1266 fi
1267 done
1268 if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1272 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
1274 fi
1275
1276 ac_ext=c
1277 ac_cpp='$CPP $CPPFLAGS'
1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301 am__api_version="1.9"
1302 ac_aux_dir=
1303 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1304 if test -f $ac_dir/install-sh; then
1305 ac_aux_dir=$ac_dir
1306 ac_install_sh="$ac_aux_dir/install-sh -c"
1307 break
1308 elif test -f $ac_dir/install.sh; then
1309 ac_aux_dir=$ac_dir
1310 ac_install_sh="$ac_aux_dir/install.sh -c"
1311 break
1312 elif test -f $ac_dir/shtool; then
1313 ac_aux_dir=$ac_dir
1314 ac_install_sh="$ac_aux_dir/shtool install -c"
1315 break
1316 fi
1317 done
1318 if test -z "$ac_aux_dir"; then
1319 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1320 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1321 { (exit 1); exit 1; }; }
1322 fi
1323 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1324 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1325 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1326
1327 # Find a good install program. We prefer a C program (faster),
1328 # so one script is as good as another. But avoid the broken or
1329 # incompatible versions:
1330 # SysV /etc/install, /usr/sbin/install
1331 # SunOS /usr/etc/install
1332 # IRIX /sbin/install
1333 # AIX /bin/install
1334 # AmigaOS /C/install, which installs bootblocks on floppy discs
1335 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1336 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1337 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1338 # OS/2's system install, which has a completely different semantic
1339 # ./install, which can be erroneously created by make from ./install.sh.
1340 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1341 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1342 if test -z "$INSTALL"; then
1343 if test "${ac_cv_path_install+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 else
1346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1347 for as_dir in $PATH
1348 do
1349 IFS=$as_save_IFS
1350 test -z "$as_dir" && as_dir=.
1351 # Account for people who put trailing slashes in PATH elements.
1352 case $as_dir/ in
1353 ./ | .// | /cC/* | \
1354 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1355 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1356 /usr/ucb/* ) ;;
1357 *)
1358 # OSF1 and SCO ODT 3.0 have their own names for install.
1359 # Don't use installbsd from OSF since it installs stuff as root
1360 # by default.
1361 for ac_prog in ginstall scoinst install; do
1362 for ac_exec_ext in '' $ac_executable_extensions; do
1363 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1364 if test $ac_prog = install &&
1365 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1366 # AIX install. It has an incompatible calling convention.
1367 :
1368 elif test $ac_prog = install &&
1369 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1370 # program-specific install script used by HP pwplus--don't use.
1371 :
1372 else
1373 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1374 break 3
1375 fi
1376 fi
1377 done
1378 done
1379 ;;
1380 esac
1381 done
1382
1383
1384 fi
1385 if test "${ac_cv_path_install+set}" = set; then
1386 INSTALL=$ac_cv_path_install
1387 else
1388 # As a last resort, use the slow shell script. We don't cache a
1389 # path for INSTALL within a source directory, because that will
1390 # break other packages using the cache if that directory is
1391 # removed, or if the path is relative.
1392 INSTALL=$ac_install_sh
1393 fi
1394 fi
1395 echo "$as_me:$LINENO: result: $INSTALL" >&5
1396 echo "${ECHO_T}$INSTALL" >&6
1397
1398 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1399 # It thinks the first close brace ends the variable substitution.
1400 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1401
1402 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1403
1404 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1405
1406 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1407 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1408 # Just in case
1409 sleep 1
1410 echo timestamp > conftest.file
1411 # Do `set' in a subshell so we don't clobber the current shell's
1412 # arguments. Must try -L first in case configure is actually a
1413 # symlink; some systems play weird games with the mod time of symlinks
1414 # (eg FreeBSD returns the mod time of the symlink's containing
1415 # directory).
1416 if (
1417 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1418 if test "$*" = "X"; then
1419 # -L didn't work.
1420 set X `ls -t $srcdir/configure conftest.file`
1421 fi
1422 rm -f conftest.file
1423 if test "$*" != "X $srcdir/configure conftest.file" \
1424 && test "$*" != "X conftest.file $srcdir/configure"; then
1425
1426 # If neither matched, then we have a broken ls. This can happen
1427 # if, for instance, CONFIG_SHELL is bash and it inherits a
1428 # broken ls alias from the environment. This has actually
1429 # happened. Such a system could not be considered "sane".
1430 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1431 alias in your environment" >&5
1432 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1433 alias in your environment" >&2;}
1434 { (exit 1); exit 1; }; }
1435 fi
1436
1437 test "$2" = conftest.file
1438 )
1439 then
1440 # Ok.
1441 :
1442 else
1443 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1444 Check your system clock" >&5
1445 echo "$as_me: error: newly created file is older than distributed files!
1446 Check your system clock" >&2;}
1447 { (exit 1); exit 1; }; }
1448 fi
1449 echo "$as_me:$LINENO: result: yes" >&5
1450 echo "${ECHO_T}yes" >&6
1451 test "$program_prefix" != NONE &&
1452 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1453 # Use a double $ so make ignores it.
1454 test "$program_suffix" != NONE &&
1455 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1456 # Double any \ or $. echo might interpret backslashes.
1457 # By default was `s,x,x', remove it if useless.
1458 cat <<\_ACEOF >conftest.sed
1459 s/[\\$]/&&/g;s/;s,x,x,$//
1460 _ACEOF
1461 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1462 rm conftest.sed
1463
1464 # expand $ac_aux_dir to an absolute path
1465 am_aux_dir=`cd $ac_aux_dir && pwd`
1466
1467 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1468 # Use eval to expand $SHELL
1469 if eval "$MISSING --run true"; then
1470 am_missing_run="$MISSING --run "
1471 else
1472 am_missing_run=
1473 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1474 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1475 fi
1476
1477 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1478 # We used to keeping the `.' as first argument, in order to
1479 # allow $(mkdir_p) to be used without argument. As in
1480 # $(mkdir_p) $(somedir)
1481 # where $(somedir) is conditionally defined. However this is wrong
1482 # for two reasons:
1483 # 1. if the package is installed by a user who cannot write `.'
1484 # make install will fail,
1485 # 2. the above comment should most certainly read
1486 # $(mkdir_p) $(DESTDIR)$(somedir)
1487 # so it does not work when $(somedir) is undefined and
1488 # $(DESTDIR) is not.
1489 # To support the latter case, we have to write
1490 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1491 # so the `.' trick is pointless.
1492 mkdir_p='mkdir -p --'
1493 else
1494 # On NextStep and OpenStep, the `mkdir' command does not
1495 # recognize any option. It will interpret all options as
1496 # directories to create, and then abort because `.' already
1497 # exists.
1498 for d in ./-p ./--version;
1499 do
1500 test -d $d && rmdir $d
1501 done
1502 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1503 if test -f "$ac_aux_dir/mkinstalldirs"; then
1504 mkdir_p='$(mkinstalldirs)'
1505 else
1506 mkdir_p='$(install_sh) -d'
1507 fi
1508 fi
1509
1510 for ac_prog in gawk mawk nawk awk
1511 do
1512 # Extract the first word of "$ac_prog", so it can be a program name with args.
1513 set dummy $ac_prog; ac_word=$2
1514 echo "$as_me:$LINENO: checking for $ac_word" >&5
1515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1516 if test "${ac_cv_prog_AWK+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 else
1519 if test -n "$AWK"; then
1520 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1521 else
1522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523 for as_dir in $PATH
1524 do
1525 IFS=$as_save_IFS
1526 test -z "$as_dir" && as_dir=.
1527 for ac_exec_ext in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1529 ac_cv_prog_AWK="$ac_prog"
1530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1531 break 2
1532 fi
1533 done
1534 done
1535
1536 fi
1537 fi
1538 AWK=$ac_cv_prog_AWK
1539 if test -n "$AWK"; then
1540 echo "$as_me:$LINENO: result: $AWK" >&5
1541 echo "${ECHO_T}$AWK" >&6
1542 else
1543 echo "$as_me:$LINENO: result: no" >&5
1544 echo "${ECHO_T}no" >&6
1545 fi
1546
1547 test -n "$AWK" && break
1548 done
1549
1550 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1551 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1552 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1553 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 cat >conftest.make <<\_ACEOF
1557 all:
1558 @echo 'ac_maketemp="$(MAKE)"'
1559 _ACEOF
1560 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1561 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1562 if test -n "$ac_maketemp"; then
1563 eval ac_cv_prog_make_${ac_make}_set=yes
1564 else
1565 eval ac_cv_prog_make_${ac_make}_set=no
1566 fi
1567 rm -f conftest.make
1568 fi
1569 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1570 echo "$as_me:$LINENO: result: yes" >&5
1571 echo "${ECHO_T}yes" >&6
1572 SET_MAKE=
1573 else
1574 echo "$as_me:$LINENO: result: no" >&5
1575 echo "${ECHO_T}no" >&6
1576 SET_MAKE="MAKE=${MAKE-make}"
1577 fi
1578
1579 rm -rf .tst 2>/dev/null
1580 mkdir .tst 2>/dev/null
1581 if test -d .tst; then
1582 am__leading_dot=.
1583 else
1584 am__leading_dot=_
1585 fi
1586 rmdir .tst 2>/dev/null
1587
1588 # test to see if srcdir already configured
1589 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1590 test -f $srcdir/config.status; then
1591 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1592 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1593 { (exit 1); exit 1; }; }
1594 fi
1595
1596 # test whether we have cygpath
1597 if test -z "$CYGPATH_W"; then
1598 if (cygpath --version) >/dev/null 2>/dev/null; then
1599 CYGPATH_W='cygpath -w'
1600 else
1601 CYGPATH_W=echo
1602 fi
1603 fi
1604
1605
1606 # Define the identity of the package.
1607 PACKAGE=rdi-share
1608 VERSION=1.0
1609
1610
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE "$PACKAGE"
1613 _ACEOF
1614
1615
1616 cat >>confdefs.h <<_ACEOF
1617 #define VERSION "$VERSION"
1618 _ACEOF
1619
1620 # Some tools Automake needs.
1621
1622 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1623
1624
1625 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1626
1627
1628 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1629
1630
1631 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1632
1633
1634 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1635
1636 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1637
1638 # Installed binaries are usually stripped using `strip' when the user
1639 # run `make install-strip'. However `strip' might not be the right
1640 # tool to use in cross-compilation environments, therefore Automake
1641 # will honor the `STRIP' environment variable to overrule this program.
1642 if test "$cross_compiling" != no; then
1643 if test -n "$ac_tool_prefix"; then
1644 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1645 set dummy ${ac_tool_prefix}strip; ac_word=$2
1646 echo "$as_me:$LINENO: checking for $ac_word" >&5
1647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648 if test "${ac_cv_prog_STRIP+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 else
1651 if test -n "$STRIP"; then
1652 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1653 else
1654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 for as_dir in $PATH
1656 do
1657 IFS=$as_save_IFS
1658 test -z "$as_dir" && as_dir=.
1659 for ac_exec_ext in '' $ac_executable_extensions; do
1660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1661 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 break 2
1664 fi
1665 done
1666 done
1667
1668 fi
1669 fi
1670 STRIP=$ac_cv_prog_STRIP
1671 if test -n "$STRIP"; then
1672 echo "$as_me:$LINENO: result: $STRIP" >&5
1673 echo "${ECHO_T}$STRIP" >&6
1674 else
1675 echo "$as_me:$LINENO: result: no" >&5
1676 echo "${ECHO_T}no" >&6
1677 fi
1678
1679 fi
1680 if test -z "$ac_cv_prog_STRIP"; then
1681 ac_ct_STRIP=$STRIP
1682 # Extract the first word of "strip", so it can be a program name with args.
1683 set dummy strip; ac_word=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 else
1689 if test -n "$ac_ct_STRIP"; then
1690 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1691 else
1692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 for as_dir in $PATH
1694 do
1695 IFS=$as_save_IFS
1696 test -z "$as_dir" && as_dir=.
1697 for ac_exec_ext in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_ac_ct_STRIP="strip"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1701 break 2
1702 fi
1703 done
1704 done
1705
1706 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1707 fi
1708 fi
1709 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1710 if test -n "$ac_ct_STRIP"; then
1711 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1712 echo "${ECHO_T}$ac_ct_STRIP" >&6
1713 else
1714 echo "$as_me:$LINENO: result: no" >&5
1715 echo "${ECHO_T}no" >&6
1716 fi
1717
1718 STRIP=$ac_ct_STRIP
1719 else
1720 STRIP="$ac_cv_prog_STRIP"
1721 fi
1722
1723 fi
1724 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1725
1726 # We need awk for the "check" target. The system "awk" is bad on
1727 # some platforms.
1728 # Always define AMTAR for backward compatibility.
1729
1730 AMTAR=${AMTAR-"${am_missing_run}tar"}
1731
1732 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1733
1734
1735
1736
1737
1738
1739 PACKAGE=rdi-share
1740 VERSION=1.0
1741
1742 ac_ext=c
1743 ac_cpp='$CPP $CPPFLAGS'
1744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1747 if test -n "$ac_tool_prefix"; then
1748 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1749 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1750 echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752 if test "${ac_cv_prog_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 if test -n "$CC"; then
1756 ac_cv_prog_CC="$CC" # Let the user override the test.
1757 else
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 for as_dir in $PATH
1760 do
1761 IFS=$as_save_IFS
1762 test -z "$as_dir" && as_dir=.
1763 for ac_exec_ext in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1765 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767 break 2
1768 fi
1769 done
1770 done
1771
1772 fi
1773 fi
1774 CC=$ac_cv_prog_CC
1775 if test -n "$CC"; then
1776 echo "$as_me:$LINENO: result: $CC" >&5
1777 echo "${ECHO_T}$CC" >&6
1778 else
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1781 fi
1782
1783 fi
1784 if test -z "$ac_cv_prog_CC"; then
1785 ac_ct_CC=$CC
1786 # Extract the first word of "gcc", so it can be a program name with args.
1787 set dummy gcc; ac_word=$2
1788 echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 else
1793 if test -n "$ac_ct_CC"; then
1794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1795 else
1796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 for as_dir in $PATH
1798 do
1799 IFS=$as_save_IFS
1800 test -z "$as_dir" && as_dir=.
1801 for ac_exec_ext in '' $ac_executable_extensions; do
1802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803 ac_cv_prog_ac_ct_CC="gcc"
1804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 break 2
1806 fi
1807 done
1808 done
1809
1810 fi
1811 fi
1812 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1813 if test -n "$ac_ct_CC"; then
1814 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1815 echo "${ECHO_T}$ac_ct_CC" >&6
1816 else
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1819 fi
1820
1821 CC=$ac_ct_CC
1822 else
1823 CC="$ac_cv_prog_CC"
1824 fi
1825
1826 if test -z "$CC"; then
1827 if test -n "$ac_tool_prefix"; then
1828 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1829 set dummy ${ac_tool_prefix}cc; ac_word=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_CC+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1834 else
1835 if test -n "$CC"; then
1836 ac_cv_prog_CC="$CC" # Let the user override the test.
1837 else
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH
1840 do
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_exec_ext in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_CC="${ac_tool_prefix}cc"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1847 break 2
1848 fi
1849 done
1850 done
1851
1852 fi
1853 fi
1854 CC=$ac_cv_prog_CC
1855 if test -n "$CC"; then
1856 echo "$as_me:$LINENO: result: $CC" >&5
1857 echo "${ECHO_T}$CC" >&6
1858 else
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1861 fi
1862
1863 fi
1864 if test -z "$ac_cv_prog_CC"; then
1865 ac_ct_CC=$CC
1866 # Extract the first word of "cc", so it can be a program name with args.
1867 set dummy cc; ac_word=$2
1868 echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 else
1873 if test -n "$ac_ct_CC"; then
1874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1875 else
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877 for as_dir in $PATH
1878 do
1879 IFS=$as_save_IFS
1880 test -z "$as_dir" && as_dir=.
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1883 ac_cv_prog_ac_ct_CC="cc"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885 break 2
1886 fi
1887 done
1888 done
1889
1890 fi
1891 fi
1892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1893 if test -n "$ac_ct_CC"; then
1894 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1895 echo "${ECHO_T}$ac_ct_CC" >&6
1896 else
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1899 fi
1900
1901 CC=$ac_ct_CC
1902 else
1903 CC="$ac_cv_prog_CC"
1904 fi
1905
1906 fi
1907 if test -z "$CC"; then
1908 # Extract the first word of "cc", so it can be a program name with args.
1909 set dummy cc; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_CC+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$CC"; then
1916 ac_cv_prog_CC="$CC" # Let the user override the test.
1917 else
1918 ac_prog_rejected=no
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 for as_dir in $PATH
1921 do
1922 IFS=$as_save_IFS
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1927 ac_prog_rejected=yes
1928 continue
1929 fi
1930 ac_cv_prog_CC="cc"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 break 2
1933 fi
1934 done
1935 done
1936
1937 if test $ac_prog_rejected = yes; then
1938 # We found a bogon in the path, so make sure we never use it.
1939 set dummy $ac_cv_prog_CC
1940 shift
1941 if test $# != 0; then
1942 # We chose a different compiler from the bogus one.
1943 # However, it has the same basename, so the bogon will be chosen
1944 # first if we set CC to just the basename; use the full file name.
1945 shift
1946 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1947 fi
1948 fi
1949 fi
1950 fi
1951 CC=$ac_cv_prog_CC
1952 if test -n "$CC"; then
1953 echo "$as_me:$LINENO: result: $CC" >&5
1954 echo "${ECHO_T}$CC" >&6
1955 else
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1958 fi
1959
1960 fi
1961 if test -z "$CC"; then
1962 if test -n "$ac_tool_prefix"; then
1963 for ac_prog in cl
1964 do
1965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972 if test -n "$CC"; then
1973 ac_cv_prog_CC="$CC" # Let the user override the test.
1974 else
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1977 do
1978 IFS=$as_save_IFS
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 break 2
1985 fi
1986 done
1987 done
1988
1989 fi
1990 fi
1991 CC=$ac_cv_prog_CC
1992 if test -n "$CC"; then
1993 echo "$as_me:$LINENO: result: $CC" >&5
1994 echo "${ECHO_T}$CC" >&6
1995 else
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
1998 fi
1999
2000 test -n "$CC" && break
2001 done
2002 fi
2003 if test -z "$CC"; then
2004 ac_ct_CC=$CC
2005 for ac_prog in cl
2006 do
2007 # Extract the first word of "$ac_prog", so it can be a program name with args.
2008 set dummy $ac_prog; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 if test -n "$ac_ct_CC"; then
2015 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2016 else
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 for as_dir in $PATH
2019 do
2020 IFS=$as_save_IFS
2021 test -z "$as_dir" && as_dir=.
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024 ac_cv_prog_ac_ct_CC="$ac_prog"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 break 2
2027 fi
2028 done
2029 done
2030
2031 fi
2032 fi
2033 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2034 if test -n "$ac_ct_CC"; then
2035 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2036 echo "${ECHO_T}$ac_ct_CC" >&6
2037 else
2038 echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2040 fi
2041
2042 test -n "$ac_ct_CC" && break
2043 done
2044
2045 CC=$ac_ct_CC
2046 fi
2047
2048 fi
2049
2050
2051 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2052 See \`config.log' for more details." >&5
2053 echo "$as_me: error: no acceptable C compiler found in \$PATH
2054 See \`config.log' for more details." >&2;}
2055 { (exit 1); exit 1; }; }
2056
2057 # Provide some information about the compiler.
2058 echo "$as_me:$LINENO:" \
2059 "checking for C compiler version" >&5
2060 ac_compiler=`set X $ac_compile; echo $2`
2061 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2062 (eval $ac_compiler --version </dev/null >&5) 2>&5
2063 ac_status=$?
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }
2066 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2067 (eval $ac_compiler -v </dev/null >&5) 2>&5
2068 ac_status=$?
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }
2071 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2072 (eval $ac_compiler -V </dev/null >&5) 2>&5
2073 ac_status=$?
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }
2076
2077 cat >conftest.$ac_ext <<_ACEOF
2078 /* confdefs.h. */
2079 _ACEOF
2080 cat confdefs.h >>conftest.$ac_ext
2081 cat >>conftest.$ac_ext <<_ACEOF
2082 /* end confdefs.h. */
2083
2084 int
2085 main ()
2086 {
2087
2088 ;
2089 return 0;
2090 }
2091 _ACEOF
2092 ac_clean_files_save=$ac_clean_files
2093 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2094 # Try to create an executable without -o first, disregard a.out.
2095 # It will help us diagnose broken compilers, and finding out an intuition
2096 # of exeext.
2097 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2098 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2099 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2100 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2101 (eval $ac_link_default) 2>&5
2102 ac_status=$?
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; then
2105 # Find the output, starting from the most likely. This scheme is
2106 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2107 # resort.
2108
2109 # Be careful to initialize this variable, since it used to be cached.
2110 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2111 ac_cv_exeext=
2112 # b.out is created by i960 compilers.
2113 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2114 do
2115 test -f "$ac_file" || continue
2116 case $ac_file in
2117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2118 ;;
2119 conftest.$ac_ext )
2120 # This is the source file.
2121 ;;
2122 [ab].out )
2123 # We found the default executable, but exeext='' is most
2124 # certainly right.
2125 break;;
2126 *.* )
2127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2128 # FIXME: I believe we export ac_cv_exeext for Libtool,
2129 # but it would be cool to find out if it's true. Does anybody
2130 # maintain Libtool? --akim.
2131 export ac_cv_exeext
2132 break;;
2133 * )
2134 break;;
2135 esac
2136 done
2137 else
2138 echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2140
2141 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2142 See \`config.log' for more details." >&5
2143 echo "$as_me: error: C compiler cannot create executables
2144 See \`config.log' for more details." >&2;}
2145 { (exit 77); exit 77; }; }
2146 fi
2147
2148 ac_exeext=$ac_cv_exeext
2149 echo "$as_me:$LINENO: result: $ac_file" >&5
2150 echo "${ECHO_T}$ac_file" >&6
2151
2152 # Check the compiler produces executables we can run. If not, either
2153 # the compiler is broken, or we cross compile.
2154 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2155 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2156 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2157 # If not cross compiling, check that we can run a simple program.
2158 if test "$cross_compiling" != yes; then
2159 if { ac_try='./$ac_file'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 (eval $ac_try) 2>&5
2162 ac_status=$?
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2165 cross_compiling=no
2166 else
2167 if test "$cross_compiling" = maybe; then
2168 cross_compiling=yes
2169 else
2170 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2171 If you meant to cross compile, use \`--host'.
2172 See \`config.log' for more details." >&5
2173 echo "$as_me: error: cannot run C compiled programs.
2174 If you meant to cross compile, use \`--host'.
2175 See \`config.log' for more details." >&2;}
2176 { (exit 1); exit 1; }; }
2177 fi
2178 fi
2179 fi
2180 echo "$as_me:$LINENO: result: yes" >&5
2181 echo "${ECHO_T}yes" >&6
2182
2183 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2184 ac_clean_files=$ac_clean_files_save
2185 # Check the compiler produces executables we can run. If not, either
2186 # the compiler is broken, or we cross compile.
2187 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2188 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2189 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2190 echo "${ECHO_T}$cross_compiling" >&6
2191
2192 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2193 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2195 (eval $ac_link) 2>&5
2196 ac_status=$?
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; then
2199 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2200 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2201 # work properly (i.e., refer to `conftest.exe'), while it won't with
2202 # `rm'.
2203 for ac_file in conftest.exe conftest conftest.*; do
2204 test -f "$ac_file" || continue
2205 case $ac_file in
2206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2207 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2208 export ac_cv_exeext
2209 break;;
2210 * ) break;;
2211 esac
2212 done
2213 else
2214 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2215 See \`config.log' for more details." >&5
2216 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2217 See \`config.log' for more details." >&2;}
2218 { (exit 1); exit 1; }; }
2219 fi
2220
2221 rm -f conftest$ac_cv_exeext
2222 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2223 echo "${ECHO_T}$ac_cv_exeext" >&6
2224
2225 rm -f conftest.$ac_ext
2226 EXEEXT=$ac_cv_exeext
2227 ac_exeext=$EXEEXT
2228 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2229 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2230 if test "${ac_cv_objext+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 else
2233 cat >conftest.$ac_ext <<_ACEOF
2234 /* confdefs.h. */
2235 _ACEOF
2236 cat confdefs.h >>conftest.$ac_ext
2237 cat >>conftest.$ac_ext <<_ACEOF
2238 /* end confdefs.h. */
2239
2240 int
2241 main ()
2242 {
2243
2244 ;
2245 return 0;
2246 }
2247 _ACEOF
2248 rm -f conftest.o conftest.obj
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>&5
2251 ac_status=$?
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; then
2254 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2255 case $ac_file in
2256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2257 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2258 break;;
2259 esac
2260 done
2261 else
2262 echo "$as_me: failed program was:" >&5
2263 sed 's/^/| /' conftest.$ac_ext >&5
2264
2265 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2266 See \`config.log' for more details." >&5
2267 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2268 See \`config.log' for more details." >&2;}
2269 { (exit 1); exit 1; }; }
2270 fi
2271
2272 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2273 fi
2274 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2275 echo "${ECHO_T}$ac_cv_objext" >&6
2276 OBJEXT=$ac_cv_objext
2277 ac_objext=$OBJEXT
2278 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2279 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2280 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 else
2283 cat >conftest.$ac_ext <<_ACEOF
2284 /* confdefs.h. */
2285 _ACEOF
2286 cat confdefs.h >>conftest.$ac_ext
2287 cat >>conftest.$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2289
2290 int
2291 main ()
2292 {
2293 #ifndef __GNUC__
2294 choke me
2295 #endif
2296
2297 ;
2298 return 0;
2299 }
2300 _ACEOF
2301 rm -f conftest.$ac_objext
2302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303 (eval $ac_compile) 2>conftest.er1
2304 ac_status=$?
2305 grep -v '^ *+' conftest.er1 >conftest.err
2306 rm -f conftest.er1
2307 cat conftest.err >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); } &&
2310 { ac_try='test -z "$ac_c_werror_flag"
2311 || test ! -s conftest.err'
2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2313 (eval $ac_try) 2>&5
2314 ac_status=$?
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; } &&
2317 { ac_try='test -s conftest.$ac_objext'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 (eval $ac_try) 2>&5
2320 ac_status=$?
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; }; then
2323 ac_compiler_gnu=yes
2324 else
2325 echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.$ac_ext >&5
2327
2328 ac_compiler_gnu=no
2329 fi
2330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2332
2333 fi
2334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2336 GCC=`test $ac_compiler_gnu = yes && echo yes`
2337 ac_test_CFLAGS=${CFLAGS+set}
2338 ac_save_CFLAGS=$CFLAGS
2339 CFLAGS="-g"
2340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2342 if test "${ac_cv_prog_cc_g+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 else
2345 cat >conftest.$ac_ext <<_ACEOF
2346 /* confdefs.h. */
2347 _ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2351
2352 int
2353 main ()
2354 {
2355
2356 ;
2357 return 0;
2358 }
2359 _ACEOF
2360 rm -f conftest.$ac_objext
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>conftest.er1
2363 ac_status=$?
2364 grep -v '^ *+' conftest.er1 >conftest.err
2365 rm -f conftest.er1
2366 cat conftest.err >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); } &&
2369 { ac_try='test -z "$ac_c_werror_flag"
2370 || test ! -s conftest.err'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2372 (eval $ac_try) 2>&5
2373 ac_status=$?
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; } &&
2376 { ac_try='test -s conftest.$ac_objext'
2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378 (eval $ac_try) 2>&5
2379 ac_status=$?
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; }; then
2382 ac_cv_prog_cc_g=yes
2383 else
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2386
2387 ac_cv_prog_cc_g=no
2388 fi
2389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2390 fi
2391 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2392 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2393 if test "$ac_test_CFLAGS" = set; then
2394 CFLAGS=$ac_save_CFLAGS
2395 elif test $ac_cv_prog_cc_g = yes; then
2396 if test "$GCC" = yes; then
2397 CFLAGS="-g -O2"
2398 else
2399 CFLAGS="-g"
2400 fi
2401 else
2402 if test "$GCC" = yes; then
2403 CFLAGS="-O2"
2404 else
2405 CFLAGS=
2406 fi
2407 fi
2408 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2409 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2410 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 else
2413 ac_cv_prog_cc_stdc=no
2414 ac_save_CC=$CC
2415 cat >conftest.$ac_ext <<_ACEOF
2416 /* confdefs.h. */
2417 _ACEOF
2418 cat confdefs.h >>conftest.$ac_ext
2419 cat >>conftest.$ac_ext <<_ACEOF
2420 /* end confdefs.h. */
2421 #include <stdarg.h>
2422 #include <stdio.h>
2423 #include <sys/types.h>
2424 #include <sys/stat.h>
2425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2426 struct buf { int x; };
2427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2428 static char *e (p, i)
2429 char **p;
2430 int i;
2431 {
2432 return p[i];
2433 }
2434 static char *f (char * (*g) (char **, int), char **p, ...)
2435 {
2436 char *s;
2437 va_list v;
2438 va_start (v,p);
2439 s = g (p, va_arg (v,int));
2440 va_end (v);
2441 return s;
2442 }
2443
2444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2445 function prototypes and stuff, but not '\xHH' hex character constants.
2446 These don't provoke an error unfortunately, instead are silently treated
2447 as 'x'. The following induces an error, until -std1 is added to get
2448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2449 array size at least. It's necessary to write '\x00'==0 to get something
2450 that's true only with -std1. */
2451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2452
2453 int test (int i, double x);
2454 struct s1 {int (*f) (int a);};
2455 struct s2 {int (*f) (double a);};
2456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2457 int argc;
2458 char **argv;
2459 int
2460 main ()
2461 {
2462 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2463 ;
2464 return 0;
2465 }
2466 _ACEOF
2467 # Don't try gcc -ansi; that turns off useful extensions and
2468 # breaks some systems' header files.
2469 # AIX -qlanglvl=ansi
2470 # Ultrix and OSF/1 -std1
2471 # HP-UX 10.20 and later -Ae
2472 # HP-UX older versions -Aa -D_HPUX_SOURCE
2473 # SVR4 -Xc -D__EXTENSIONS__
2474 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2475 do
2476 CC="$ac_save_CC $ac_arg"
2477 rm -f conftest.$ac_objext
2478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2479 (eval $ac_compile) 2>conftest.er1
2480 ac_status=$?
2481 grep -v '^ *+' conftest.er1 >conftest.err
2482 rm -f conftest.er1
2483 cat conftest.err >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); } &&
2486 { ac_try='test -z "$ac_c_werror_flag"
2487 || test ! -s conftest.err'
2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 (eval $ac_try) 2>&5
2490 ac_status=$?
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; } &&
2493 { ac_try='test -s conftest.$ac_objext'
2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 (eval $ac_try) 2>&5
2496 ac_status=$?
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; }; then
2499 ac_cv_prog_cc_stdc=$ac_arg
2500 break
2501 else
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.$ac_ext >&5
2504
2505 fi
2506 rm -f conftest.err conftest.$ac_objext
2507 done
2508 rm -f conftest.$ac_ext conftest.$ac_objext
2509 CC=$ac_save_CC
2510
2511 fi
2512
2513 case "x$ac_cv_prog_cc_stdc" in
2514 x|xno)
2515 echo "$as_me:$LINENO: result: none needed" >&5
2516 echo "${ECHO_T}none needed" >&6 ;;
2517 *)
2518 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2519 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2520 CC="$CC $ac_cv_prog_cc_stdc" ;;
2521 esac
2522
2523 # Some people use a C++ compiler to compile C. Since we use `exit',
2524 # in C++ we need to declare it. In case someone uses the same compiler
2525 # for both compiling C and C++ we need to have the C++ compiler decide
2526 # the declaration of exit, since it's the most demanding environment.
2527 cat >conftest.$ac_ext <<_ACEOF
2528 #ifndef __cplusplus
2529 choke me
2530 #endif
2531 _ACEOF
2532 rm -f conftest.$ac_objext
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 (eval $ac_compile) 2>conftest.er1
2535 ac_status=$?
2536 grep -v '^ *+' conftest.er1 >conftest.err
2537 rm -f conftest.er1
2538 cat conftest.err >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } &&
2541 { ac_try='test -z "$ac_c_werror_flag"
2542 || test ! -s conftest.err'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544 (eval $ac_try) 2>&5
2545 ac_status=$?
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; } &&
2548 { ac_try='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 (eval $ac_try) 2>&5
2551 ac_status=$?
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2554 for ac_declaration in \
2555 '' \
2556 'extern "C" void std::exit (int) throw (); using std::exit;' \
2557 'extern "C" void std::exit (int); using std::exit;' \
2558 'extern "C" void exit (int) throw ();' \
2559 'extern "C" void exit (int);' \
2560 'void exit (int);'
2561 do
2562 cat >conftest.$ac_ext <<_ACEOF
2563 /* confdefs.h. */
2564 _ACEOF
2565 cat confdefs.h >>conftest.$ac_ext
2566 cat >>conftest.$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2568 $ac_declaration
2569 #include <stdlib.h>
2570 int
2571 main ()
2572 {
2573 exit (42);
2574 ;
2575 return 0;
2576 }
2577 _ACEOF
2578 rm -f conftest.$ac_objext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580 (eval $ac_compile) 2>conftest.er1
2581 ac_status=$?
2582 grep -v '^ *+' conftest.er1 >conftest.err
2583 rm -f conftest.er1
2584 cat conftest.err >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try='test -z "$ac_c_werror_flag"
2588 || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 (eval $ac_try) 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 (eval $ac_try) 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2600 :
2601 else
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 continue
2606 fi
2607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2608 cat >conftest.$ac_ext <<_ACEOF
2609 /* confdefs.h. */
2610 _ACEOF
2611 cat confdefs.h >>conftest.$ac_ext
2612 cat >>conftest.$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2614 $ac_declaration
2615 int
2616 main ()
2617 {
2618 exit (42);
2619 ;
2620 return 0;
2621 }
2622 _ACEOF
2623 rm -f conftest.$ac_objext
2624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2625 (eval $ac_compile) 2>conftest.er1
2626 ac_status=$?
2627 grep -v '^ *+' conftest.er1 >conftest.err
2628 rm -f conftest.er1
2629 cat conftest.err >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try='test -z "$ac_c_werror_flag"
2633 || test ! -s conftest.err'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 (eval $ac_try) 2>&5
2636 ac_status=$?
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; } &&
2639 { ac_try='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 (eval $ac_try) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2645 break
2646 else
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2649
2650 fi
2651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652 done
2653 rm -f conftest*
2654 if test -n "$ac_declaration"; then
2655 echo '#ifdef __cplusplus' >>confdefs.h
2656 echo $ac_declaration >>confdefs.h
2657 echo '#endif' >>confdefs.h
2658 fi
2659
2660 else
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2663
2664 fi
2665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2666 ac_ext=c
2667 ac_cpp='$CPP $CPPFLAGS'
2668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2671 DEPDIR="${am__leading_dot}deps"
2672
2673 ac_config_commands="$ac_config_commands depfiles"
2674
2675
2676 am_make=${MAKE-make}
2677 cat > confinc << 'END'
2678 am__doit:
2679 @echo done
2680 .PHONY: am__doit
2681 END
2682 # If we don't find an include directive, just comment out the code.
2683 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2684 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2685 am__include="#"
2686 am__quote=
2687 _am_result=none
2688 # First try GNU make style include.
2689 echo "include confinc" > confmf
2690 # We grep out `Entering directory' and `Leaving directory'
2691 # messages which can occur if `w' ends up in MAKEFLAGS.
2692 # In particular we don't look at `^make:' because GNU make might
2693 # be invoked under some other name (usually "gmake"), in which
2694 # case it prints its new name instead of `make'.
2695 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2696 am__include=include
2697 am__quote=
2698 _am_result=GNU
2699 fi
2700 # Now try BSD make style include.
2701 if test "$am__include" = "#"; then
2702 echo '.include "confinc"' > confmf
2703 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2704 am__include=.include
2705 am__quote="\""
2706 _am_result=BSD
2707 fi
2708 fi
2709
2710
2711 echo "$as_me:$LINENO: result: $_am_result" >&5
2712 echo "${ECHO_T}$_am_result" >&6
2713 rm -f confinc confmf
2714
2715 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2716 if test "${enable_dependency_tracking+set}" = set; then
2717 enableval="$enable_dependency_tracking"
2718
2719 fi;
2720 if test "x$enable_dependency_tracking" != xno; then
2721 am_depcomp="$ac_aux_dir/depcomp"
2722 AMDEPBACKSLASH='\'
2723 fi
2724
2725
2726 if test "x$enable_dependency_tracking" != xno; then
2727 AMDEP_TRUE=
2728 AMDEP_FALSE='#'
2729 else
2730 AMDEP_TRUE='#'
2731 AMDEP_FALSE=
2732 fi
2733
2734
2735
2736
2737 depcc="$CC" am_compiler_list=
2738
2739 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2740 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2741 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2743 else
2744 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2745 # We make a subdir and do the tests there. Otherwise we can end up
2746 # making bogus files that we don't know about and never remove. For
2747 # instance it was reported that on HP-UX the gcc test will end up
2748 # making a dummy file named `D' -- because `-MD' means `put the output
2749 # in D'.
2750 mkdir conftest.dir
2751 # Copy depcomp to subdir because otherwise we won't find it if we're
2752 # using a relative directory.
2753 cp "$am_depcomp" conftest.dir
2754 cd conftest.dir
2755 # We will build objects and dependencies in a subdirectory because
2756 # it helps to detect inapplicable dependency modes. For instance
2757 # both Tru64's cc and ICC support -MD to output dependencies as a
2758 # side effect of compilation, but ICC will put the dependencies in
2759 # the current directory while Tru64 will put them in the object
2760 # directory.
2761 mkdir sub
2762
2763 am_cv_CC_dependencies_compiler_type=none
2764 if test "$am_compiler_list" = ""; then
2765 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2766 fi
2767 for depmode in $am_compiler_list; do
2768 # Setup a source with many dependencies, because some compilers
2769 # like to wrap large dependency lists on column 80 (with \), and
2770 # we should not choose a depcomp mode which is confused by this.
2771 #
2772 # We need to recreate these files for each test, as the compiler may
2773 # overwrite some of them when testing with obscure command lines.
2774 # This happens at least with the AIX C compiler.
2775 : > sub/conftest.c
2776 for i in 1 2 3 4 5 6; do
2777 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2778 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2779 # Solaris 8's {/usr,}/bin/sh.
2780 touch sub/conftst$i.h
2781 done
2782 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2783
2784 case $depmode in
2785 nosideeffect)
2786 # after this tag, mechanisms are not by side-effect, so they'll
2787 # only be used when explicitly requested
2788 if test "x$enable_dependency_tracking" = xyes; then
2789 continue
2790 else
2791 break
2792 fi
2793 ;;
2794 none) break ;;
2795 esac
2796 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2797 # mode. It turns out that the SunPro C++ compiler does not properly
2798 # handle `-M -o', and we need to detect this.
2799 if depmode=$depmode \
2800 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2801 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2802 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2803 >/dev/null 2>conftest.err &&
2804 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2805 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2806 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2807 # icc doesn't choke on unknown options, it will just issue warnings
2808 # or remarks (even with -Werror). So we grep stderr for any message
2809 # that says an option was ignored or not supported.
2810 # When given -MP, icc 7.0 and 7.1 complain thusly:
2811 # icc: Command line warning: ignoring option '-M'; no argument required
2812 # The diagnosis changed in icc 8.0:
2813 # icc: Command line remark: option '-MP' not supported
2814 if (grep 'ignoring option' conftest.err ||
2815 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2816 am_cv_CC_dependencies_compiler_type=$depmode
2817 break
2818 fi
2819 fi
2820 done
2821
2822 cd ..
2823 rm -rf conftest.dir
2824 else
2825 am_cv_CC_dependencies_compiler_type=none
2826 fi
2827
2828 fi
2829 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2830 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2831 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2832
2833
2834
2835 if
2836 test "x$enable_dependency_tracking" != xno \
2837 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2838 am__fastdepCC_TRUE=
2839 am__fastdepCC_FALSE='#'
2840 else
2841 am__fastdepCC_TRUE='#'
2842 am__fastdepCC_FALSE=
2843 fi
2844
2845
2846 # Find a good install program. We prefer a C program (faster),
2847 # so one script is as good as another. But avoid the broken or
2848 # incompatible versions:
2849 # SysV /etc/install, /usr/sbin/install
2850 # SunOS /usr/etc/install
2851 # IRIX /sbin/install
2852 # AIX /bin/install
2853 # AmigaOS /C/install, which installs bootblocks on floppy discs
2854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2857 # OS/2's system install, which has a completely different semantic
2858 # ./install, which can be erroneously created by make from ./install.sh.
2859 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2860 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2861 if test -z "$INSTALL"; then
2862 if test "${ac_cv_path_install+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2864 else
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 for as_dir in $PATH
2867 do
2868 IFS=$as_save_IFS
2869 test -z "$as_dir" && as_dir=.
2870 # Account for people who put trailing slashes in PATH elements.
2871 case $as_dir/ in
2872 ./ | .// | /cC/* | \
2873 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2874 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2875 /usr/ucb/* ) ;;
2876 *)
2877 # OSF1 and SCO ODT 3.0 have their own names for install.
2878 # Don't use installbsd from OSF since it installs stuff as root
2879 # by default.
2880 for ac_prog in ginstall scoinst install; do
2881 for ac_exec_ext in '' $ac_executable_extensions; do
2882 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2883 if test $ac_prog = install &&
2884 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2885 # AIX install. It has an incompatible calling convention.
2886 :
2887 elif test $ac_prog = install &&
2888 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2889 # program-specific install script used by HP pwplus--don't use.
2890 :
2891 else
2892 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2893 break 3
2894 fi
2895 fi
2896 done
2897 done
2898 ;;
2899 esac
2900 done
2901
2902
2903 fi
2904 if test "${ac_cv_path_install+set}" = set; then
2905 INSTALL=$ac_cv_path_install
2906 else
2907 # As a last resort, use the slow shell script. We don't cache a
2908 # path for INSTALL within a source directory, because that will
2909 # break other packages using the cache if that directory is
2910 # removed, or if the path is relative.
2911 INSTALL=$ac_install_sh
2912 fi
2913 fi
2914 echo "$as_me:$LINENO: result: $INSTALL" >&5
2915 echo "${ECHO_T}$INSTALL" >&6
2916
2917 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2918 # It thinks the first close brace ends the variable substitution.
2919 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2920
2921 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2922
2923 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2924
2925 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2926 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2927 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2928 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 else
2931 cat >conftest.make <<\_ACEOF
2932 all:
2933 @echo 'ac_maketemp="$(MAKE)"'
2934 _ACEOF
2935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2936 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2937 if test -n "$ac_maketemp"; then
2938 eval ac_cv_prog_make_${ac_make}_set=yes
2939 else
2940 eval ac_cv_prog_make_${ac_make}_set=no
2941 fi
2942 rm -f conftest.make
2943 fi
2944 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2945 echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6
2947 SET_MAKE=
2948 else
2949 echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951 SET_MAKE="MAKE=${MAKE-make}"
2952 fi
2953
2954 if test -n "$ac_tool_prefix"; then
2955 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2956 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2957 echo "$as_me:$LINENO: checking for $ac_word" >&5
2958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2959 if test "${ac_cv_prog_RANLIB+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 else
2962 if test -n "$RANLIB"; then
2963 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2964 else
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 for as_dir in $PATH
2967 do
2968 IFS=$as_save_IFS
2969 test -z "$as_dir" && as_dir=.
2970 for ac_exec_ext in '' $ac_executable_extensions; do
2971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2974 break 2
2975 fi
2976 done
2977 done
2978
2979 fi
2980 fi
2981 RANLIB=$ac_cv_prog_RANLIB
2982 if test -n "$RANLIB"; then
2983 echo "$as_me:$LINENO: result: $RANLIB" >&5
2984 echo "${ECHO_T}$RANLIB" >&6
2985 else
2986 echo "$as_me:$LINENO: result: no" >&5
2987 echo "${ECHO_T}no" >&6
2988 fi
2989
2990 fi
2991 if test -z "$ac_cv_prog_RANLIB"; then
2992 ac_ct_RANLIB=$RANLIB
2993 # Extract the first word of "ranlib", so it can be a program name with args.
2994 set dummy ranlib; ac_word=$2
2995 echo "$as_me:$LINENO: checking for $ac_word" >&5
2996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2997 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
2999 else
3000 if test -n "$ac_ct_RANLIB"; then
3001 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3002 else
3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004 for as_dir in $PATH
3005 do
3006 IFS=$as_save_IFS
3007 test -z "$as_dir" && as_dir=.
3008 for ac_exec_ext in '' $ac_executable_extensions; do
3009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010 ac_cv_prog_ac_ct_RANLIB="ranlib"
3011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 break 2
3013 fi
3014 done
3015 done
3016
3017 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3018 fi
3019 fi
3020 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3021 if test -n "$ac_ct_RANLIB"; then
3022 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3023 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3024 else
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 fi
3028
3029 RANLIB=$ac_ct_RANLIB
3030 else
3031 RANLIB="$ac_cv_prog_RANLIB"
3032 fi
3033
3034
3035
3036
3037 ac_ext=c
3038 ac_cpp='$CPP $CPPFLAGS'
3039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3042 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3043 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3044 # On Suns, sometimes $CPP names a directory.
3045 if test -n "$CPP" && test -d "$CPP"; then
3046 CPP=
3047 fi
3048 if test -z "$CPP"; then
3049 if test "${ac_cv_prog_CPP+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3051 else
3052 # Double quotes because CPP needs to be expanded
3053 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3054 do
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 break
3150 fi
3151
3152 done
3153 ac_cv_prog_CPP=$CPP
3154
3155 fi
3156 CPP=$ac_cv_prog_CPP
3157 else
3158 ac_cv_prog_CPP=$CPP
3159 fi
3160 echo "$as_me:$LINENO: result: $CPP" >&5
3161 echo "${ECHO_T}$CPP" >&6
3162 ac_preproc_ok=false
3163 for ac_c_preproc_warn_flag in '' yes
3164 do
3165 # Use a header file that comes with gcc, so configuring glibc
3166 # with a fresh cross-compiler works.
3167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3168 # <limits.h> exists even on freestanding compilers.
3169 # On the NeXT, cc -E runs the code through the compiler's parser,
3170 # not just through cpp. "Syntax error" is here to catch this case.
3171 cat >conftest.$ac_ext <<_ACEOF
3172 /* confdefs.h. */
3173 _ACEOF
3174 cat confdefs.h >>conftest.$ac_ext
3175 cat >>conftest.$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3177 #ifdef __STDC__
3178 # include <limits.h>
3179 #else
3180 # include <assert.h>
3181 #endif
3182 Syntax error
3183 _ACEOF
3184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3186 ac_status=$?
3187 grep -v '^ *+' conftest.er1 >conftest.err
3188 rm -f conftest.er1
3189 cat conftest.err >&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } >/dev/null; then
3192 if test -s conftest.err; then
3193 ac_cpp_err=$ac_c_preproc_warn_flag
3194 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3195 else
3196 ac_cpp_err=
3197 fi
3198 else
3199 ac_cpp_err=yes
3200 fi
3201 if test -z "$ac_cpp_err"; then
3202 :
3203 else
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3206
3207 # Broken: fails on valid input.
3208 continue
3209 fi
3210 rm -f conftest.err conftest.$ac_ext
3211
3212 # OK, works on sane cases. Now check whether non-existent headers
3213 # can be detected and how.
3214 cat >conftest.$ac_ext <<_ACEOF
3215 /* confdefs.h. */
3216 _ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3220 #include <ac_nonexistent.h>
3221 _ACEOF
3222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3223 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3224 ac_status=$?
3225 grep -v '^ *+' conftest.er1 >conftest.err
3226 rm -f conftest.er1
3227 cat conftest.err >&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } >/dev/null; then
3230 if test -s conftest.err; then
3231 ac_cpp_err=$ac_c_preproc_warn_flag
3232 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3233 else
3234 ac_cpp_err=
3235 fi
3236 else
3237 ac_cpp_err=yes
3238 fi
3239 if test -z "$ac_cpp_err"; then
3240 # Broken: success on invalid input.
3241 continue
3242 else
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.$ac_ext >&5
3245
3246 # Passes both tests.
3247 ac_preproc_ok=:
3248 break
3249 fi
3250 rm -f conftest.err conftest.$ac_ext
3251
3252 done
3253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3254 rm -f conftest.err conftest.$ac_ext
3255 if $ac_preproc_ok; then
3256 :
3257 else
3258 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3259 See \`config.log' for more details." >&5
3260 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3261 See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }
3263 fi
3264
3265 ac_ext=c
3266 ac_cpp='$CPP $CPPFLAGS'
3267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270
3271
3272 echo "$as_me:$LINENO: checking for egrep" >&5
3273 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3274 if test "${ac_cv_prog_egrep+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 else
3277 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3278 then ac_cv_prog_egrep='grep -E'
3279 else ac_cv_prog_egrep='egrep'
3280 fi
3281 fi
3282 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3283 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3284 EGREP=$ac_cv_prog_egrep
3285
3286
3287 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3288 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3289 if test "${ac_cv_header_stdc+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 else
3292 cat >conftest.$ac_ext <<_ACEOF
3293 /* confdefs.h. */
3294 _ACEOF
3295 cat confdefs.h >>conftest.$ac_ext
3296 cat >>conftest.$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3298 #include <stdlib.h>
3299 #include <stdarg.h>
3300 #include <string.h>
3301 #include <float.h>
3302
3303 int
3304 main ()
3305 {
3306
3307 ;
3308 return 0;
3309 }
3310 _ACEOF
3311 rm -f conftest.$ac_objext
3312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3313 (eval $ac_compile) 2>conftest.er1
3314 ac_status=$?
3315 grep -v '^ *+' conftest.er1 >conftest.err
3316 rm -f conftest.er1
3317 cat conftest.err >&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } &&
3320 { ac_try='test -z "$ac_c_werror_flag"
3321 || test ! -s conftest.err'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 (eval $ac_try) 2>&5
3324 ac_status=$?
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; } &&
3327 { ac_try='test -s conftest.$ac_objext'
3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329 (eval $ac_try) 2>&5
3330 ac_status=$?
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }; }; then
3333 ac_cv_header_stdc=yes
3334 else
3335 echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.$ac_ext >&5
3337
3338 ac_cv_header_stdc=no
3339 fi
3340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3341
3342 if test $ac_cv_header_stdc = yes; then
3343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3344 cat >conftest.$ac_ext <<_ACEOF
3345 /* confdefs.h. */
3346 _ACEOF
3347 cat confdefs.h >>conftest.$ac_ext
3348 cat >>conftest.$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3350 #include <string.h>
3351
3352 _ACEOF
3353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3354 $EGREP "memchr" >/dev/null 2>&1; then
3355 :
3356 else
3357 ac_cv_header_stdc=no
3358 fi
3359 rm -f conftest*
3360
3361 fi
3362
3363 if test $ac_cv_header_stdc = yes; then
3364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 #include <stdlib.h>
3372
3373 _ACEOF
3374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3375 $EGREP "free" >/dev/null 2>&1; then
3376 :
3377 else
3378 ac_cv_header_stdc=no
3379 fi
3380 rm -f conftest*
3381
3382 fi
3383
3384 if test $ac_cv_header_stdc = yes; then
3385 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3386 if test "$cross_compiling" = yes; then
3387 :
3388 else
3389 cat >conftest.$ac_ext <<_ACEOF
3390 /* confdefs.h. */
3391 _ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3395 #include <ctype.h>
3396 #if ((' ' & 0x0FF) == 0x020)
3397 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3398 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3399 #else
3400 # define ISLOWER(c) \
3401 (('a' <= (c) && (c) <= 'i') \
3402 || ('j' <= (c) && (c) <= 'r') \
3403 || ('s' <= (c) && (c) <= 'z'))
3404 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3405 #endif
3406
3407 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3408 int
3409 main ()
3410 {
3411 int i;
3412 for (i = 0; i < 256; i++)
3413 if (XOR (islower (i), ISLOWER (i))
3414 || toupper (i) != TOUPPER (i))
3415 exit(2);
3416 exit (0);
3417 }
3418 _ACEOF
3419 rm -f conftest$ac_exeext
3420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3421 (eval $ac_link) 2>&5
3422 ac_status=$?
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 (eval $ac_try) 2>&5
3427 ac_status=$?
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; }; then
3430 :
3431 else
3432 echo "$as_me: program exited with status $ac_status" >&5
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3435
3436 ( exit $ac_status )
3437 ac_cv_header_stdc=no
3438 fi
3439 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3440 fi
3441 fi
3442 fi
3443 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3444 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3445 if test $ac_cv_header_stdc = yes; then
3446
3447 cat >>confdefs.h <<\_ACEOF
3448 #define STDC_HEADERS 1
3449 _ACEOF
3450
3451 fi
3452
3453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3464 inttypes.h stdint.h unistd.h
3465 do
3466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3467 echo "$as_me:$LINENO: checking for $ac_header" >&5
3468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3471 else
3472 cat >conftest.$ac_ext <<_ACEOF
3473 /* confdefs.h. */
3474 _ACEOF
3475 cat confdefs.h >>conftest.$ac_ext
3476 cat >>conftest.$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3478 $ac_includes_default
3479
3480 #include <$ac_header>
3481 _ACEOF
3482 rm -f conftest.$ac_objext
3483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3484 (eval $ac_compile) 2>conftest.er1
3485 ac_status=$?
3486 grep -v '^ *+' conftest.er1 >conftest.err
3487 rm -f conftest.er1
3488 cat conftest.err >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } &&
3491 { ac_try='test -z "$ac_c_werror_flag"
3492 || test ! -s conftest.err'
3493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3494 (eval $ac_try) 2>&5
3495 ac_status=$?
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); }; } &&
3498 { ac_try='test -s conftest.$ac_objext'
3499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 (eval $ac_try) 2>&5
3501 ac_status=$?
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); }; }; then
3504 eval "$as_ac_Header=yes"
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3508
3509 eval "$as_ac_Header=no"
3510 fi
3511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3512 fi
3513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3516 cat >>confdefs.h <<_ACEOF
3517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3518 _ACEOF
3519
3520 fi
3521
3522 done
3523
3524
3525
3526
3527
3528
3529
3530 for ac_header in fcntl.h sys/ioctl.h sys/time.h unistd.h sys/filio.h
3531 do
3532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3534 echo "$as_me:$LINENO: checking for $ac_header" >&5
3535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 fi
3539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3541 else
3542 # Is the header compilable?
3543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3545 cat >conftest.$ac_ext <<_ACEOF
3546 /* confdefs.h. */
3547 _ACEOF
3548 cat confdefs.h >>conftest.$ac_ext
3549 cat >>conftest.$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3551 $ac_includes_default
3552 #include <$ac_header>
3553 _ACEOF
3554 rm -f conftest.$ac_objext
3555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3556 (eval $ac_compile) 2>conftest.er1
3557 ac_status=$?
3558 grep -v '^ *+' conftest.er1 >conftest.err
3559 rm -f conftest.er1
3560 cat conftest.err >&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); } &&
3563 { ac_try='test -z "$ac_c_werror_flag"
3564 || test ! -s conftest.err'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 (eval $ac_try) 2>&5
3567 ac_status=$?
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; } &&
3570 { ac_try='test -s conftest.$ac_objext'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 (eval $ac_try) 2>&5
3573 ac_status=$?
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3576 ac_header_compiler=yes
3577 else
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.$ac_ext >&5
3580
3581 ac_header_compiler=no
3582 fi
3583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3585 echo "${ECHO_T}$ac_header_compiler" >&6
3586
3587 # Is the header present?
3588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3590 cat >conftest.$ac_ext <<_ACEOF
3591 /* confdefs.h. */
3592 _ACEOF
3593 cat confdefs.h >>conftest.$ac_ext
3594 cat >>conftest.$ac_ext <<_ACEOF
3595 /* end confdefs.h. */
3596 #include <$ac_header>
3597 _ACEOF
3598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev/null; then
3606 if test -s conftest.err; then
3607 ac_cpp_err=$ac_c_preproc_warn_flag
3608 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3609 else
3610 ac_cpp_err=
3611 fi
3612 else
3613 ac_cpp_err=yes
3614 fi
3615 if test -z "$ac_cpp_err"; then
3616 ac_header_preproc=yes
3617 else
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_header_preproc=no
3622 fi
3623 rm -f conftest.err conftest.$ac_ext
3624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3625 echo "${ECHO_T}$ac_header_preproc" >&6
3626
3627 # So? What about this header?
3628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3629 yes:no: )
3630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3634 ac_header_preproc=yes
3635 ;;
3636 no:yes:* )
3637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3649 (
3650 cat <<\_ASBOX
3651 ## ------------------------------------------ ##
3652 ## Report this to the AC_PACKAGE_NAME lists. ##
3653 ## ------------------------------------------ ##
3654 _ASBOX
3655 ) |
3656 sed "s/^/$as_me: WARNING: /" >&2
3657 ;;
3658 esac
3659 echo "$as_me:$LINENO: checking for $ac_header" >&5
3660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 else
3664 eval "$as_ac_Header=\$ac_header_preproc"
3665 fi
3666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3668
3669 fi
3670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3671 cat >>confdefs.h <<_ACEOF
3672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3673 _ACEOF
3674
3675 fi
3676
3677 done
3678
3679
3680 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3681 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3682 if test "${ac_cv_c_const+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 else
3685 cat >conftest.$ac_ext <<_ACEOF
3686 /* confdefs.h. */
3687 _ACEOF
3688 cat confdefs.h >>conftest.$ac_ext
3689 cat >>conftest.$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3691
3692 int
3693 main ()
3694 {
3695 /* FIXME: Include the comments suggested by Paul. */
3696 #ifndef __cplusplus
3697 /* Ultrix mips cc rejects this. */
3698 typedef int charset[2];
3699 const charset x;
3700 /* SunOS 4.1.1 cc rejects this. */
3701 char const *const *ccp;
3702 char **p;
3703 /* NEC SVR4.0.2 mips cc rejects this. */
3704 struct point {int x, y;};
3705 static struct point const zero = {0,0};
3706 /* AIX XL C 1.02.0.0 rejects this.
3707 It does not let you subtract one const X* pointer from another in
3708 an arm of an if-expression whose if-part is not a constant
3709 expression */
3710 const char *g = "string";
3711 ccp = &g + (g ? g-g : 0);
3712 /* HPUX 7.0 cc rejects these. */
3713 ++ccp;
3714 p = (char**) ccp;
3715 ccp = (char const *const *) p;
3716 { /* SCO 3.2v4 cc rejects this. */
3717 char *t;
3718 char const *s = 0 ? (char *) 0 : (char const *) 0;
3719
3720 *t++ = 0;
3721 }
3722 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3723 int x[] = {25, 17};
3724 const int *foo = &x[0];
3725 ++foo;
3726 }
3727 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3728 typedef const int *iptr;
3729 iptr p = 0;
3730 ++p;
3731 }
3732 { /* AIX XL C 1.02.0.0 rejects this saying
3733 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3734 struct s { int j; const int *ap[3]; };
3735 struct s *b; b->j = 5;
3736 }
3737 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3738 const int foo = 10;
3739 }
3740 #endif
3741
3742 ;
3743 return 0;
3744 }
3745 _ACEOF
3746 rm -f conftest.$ac_objext
3747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3748 (eval $ac_compile) 2>conftest.er1
3749 ac_status=$?
3750 grep -v '^ *+' conftest.er1 >conftest.err
3751 rm -f conftest.er1
3752 cat conftest.err >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } &&
3755 { ac_try='test -z "$ac_c_werror_flag"
3756 || test ! -s conftest.err'
3757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758 (eval $ac_try) 2>&5
3759 ac_status=$?
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }; } &&
3762 { ac_try='test -s conftest.$ac_objext'
3763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3764 (eval $ac_try) 2>&5
3765 ac_status=$?
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); }; }; then
3768 ac_cv_c_const=yes
3769 else
3770 echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3772
3773 ac_cv_c_const=no
3774 fi
3775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3776 fi
3777 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3778 echo "${ECHO_T}$ac_cv_c_const" >&6
3779 if test $ac_cv_c_const = no; then
3780
3781 cat >>confdefs.h <<\_ACEOF
3782 #define const
3783 _ACEOF
3784
3785 fi
3786
3787 echo "$as_me:$LINENO: checking for size_t" >&5
3788 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3789 if test "${ac_cv_type_size_t+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792 cat >conftest.$ac_ext <<_ACEOF
3793 /* confdefs.h. */
3794 _ACEOF
3795 cat confdefs.h >>conftest.$ac_ext
3796 cat >>conftest.$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3798 $ac_includes_default
3799 int
3800 main ()
3801 {
3802 if ((size_t *) 0)
3803 return 0;
3804 if (sizeof (size_t))
3805 return 0;
3806 ;
3807 return 0;
3808 }
3809 _ACEOF
3810 rm -f conftest.$ac_objext
3811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 (eval $ac_compile) 2>conftest.er1
3813 ac_status=$?
3814 grep -v '^ *+' conftest.er1 >conftest.err
3815 rm -f conftest.er1
3816 cat conftest.err >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try='test -z "$ac_c_werror_flag"
3820 || test ! -s conftest.err'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 (eval $ac_try) 2>&5
3823 ac_status=$?
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; } &&
3826 { ac_try='test -s conftest.$ac_objext'
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 (eval $ac_try) 2>&5
3829 ac_status=$?
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then
3832 ac_cv_type_size_t=yes
3833 else
3834 echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.$ac_ext >&5
3836
3837 ac_cv_type_size_t=no
3838 fi
3839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3840 fi
3841 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3842 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3843 if test $ac_cv_type_size_t = yes; then
3844 :
3845 else
3846
3847 cat >>confdefs.h <<_ACEOF
3848 #define size_t unsigned
3849 _ACEOF
3850
3851 fi
3852
3853 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3854 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3855 if test "${ac_cv_header_time+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 else
3858 cat >conftest.$ac_ext <<_ACEOF
3859 /* confdefs.h. */
3860 _ACEOF
3861 cat confdefs.h >>conftest.$ac_ext
3862 cat >>conftest.$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3864 #include <sys/types.h>
3865 #include <sys/time.h>
3866 #include <time.h>
3867
3868 int
3869 main ()
3870 {
3871 if ((struct tm *) 0)
3872 return 0;
3873 ;
3874 return 0;
3875 }
3876 _ACEOF
3877 rm -f conftest.$ac_objext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3879 (eval $ac_compile) 2>conftest.er1
3880 ac_status=$?
3881 grep -v '^ *+' conftest.er1 >conftest.err
3882 rm -f conftest.er1
3883 cat conftest.err >&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } &&
3886 { ac_try='test -z "$ac_c_werror_flag"
3887 || test ! -s conftest.err'
3888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889 (eval $ac_try) 2>&5
3890 ac_status=$?
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; } &&
3893 { ac_try='test -s conftest.$ac_objext'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895 (eval $ac_try) 2>&5
3896 ac_status=$?
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; }; then
3899 ac_cv_header_time=yes
3900 else
3901 echo "$as_me: failed program was:" >&5
3902 sed 's/^/| /' conftest.$ac_ext >&5
3903
3904 ac_cv_header_time=no
3905 fi
3906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3907 fi
3908 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3909 echo "${ECHO_T}$ac_cv_header_time" >&6
3910 if test $ac_cv_header_time = yes; then
3911
3912 cat >>confdefs.h <<\_ACEOF
3913 #define TIME_WITH_SYS_TIME 1
3914 _ACEOF
3915
3916 fi
3917
3918
3919 if test $ac_cv_c_compiler_gnu = yes; then
3920 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3921 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3922 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 else
3925 ac_pattern="Autoconf.*'x'"
3926 cat >conftest.$ac_ext <<_ACEOF
3927 /* confdefs.h. */
3928 _ACEOF
3929 cat confdefs.h >>conftest.$ac_ext
3930 cat >>conftest.$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3932 #include <sgtty.h>
3933 Autoconf TIOCGETP
3934 _ACEOF
3935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3936 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3937 ac_cv_prog_gcc_traditional=yes
3938 else
3939 ac_cv_prog_gcc_traditional=no
3940 fi
3941 rm -f conftest*
3942
3943
3944 if test $ac_cv_prog_gcc_traditional = no; then
3945 cat >conftest.$ac_ext <<_ACEOF
3946 /* confdefs.h. */
3947 _ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 #include <termio.h>
3952 Autoconf TCGETA
3953 _ACEOF
3954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3955 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3956 ac_cv_prog_gcc_traditional=yes
3957 fi
3958 rm -f conftest*
3959
3960 fi
3961 fi
3962 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3963 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3964 if test $ac_cv_prog_gcc_traditional = yes; then
3965 CC="$CC -traditional"
3966 fi
3967 fi
3968
3969 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3970 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3971 if test "${ac_cv_type_signal+set}" = set; then
3972 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 else
3974 cat >conftest.$ac_ext <<_ACEOF
3975 /* confdefs.h. */
3976 _ACEOF
3977 cat confdefs.h >>conftest.$ac_ext
3978 cat >>conftest.$ac_ext <<_ACEOF
3979 /* end confdefs.h. */
3980 #include <sys/types.h>
3981 #include <signal.h>
3982 #ifdef signal
3983 # undef signal
3984 #endif
3985 #ifdef __cplusplus
3986 extern "C" void (*signal (int, void (*)(int)))(int);
3987 #else
3988 void (*signal ()) ();
3989 #endif
3990
3991 int
3992 main ()
3993 {
3994 int i;
3995 ;
3996 return 0;
3997 }
3998 _ACEOF
3999 rm -f conftest.$ac_objext
4000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4001 (eval $ac_compile) 2>conftest.er1
4002 ac_status=$?
4003 grep -v '^ *+' conftest.er1 >conftest.err
4004 rm -f conftest.er1
4005 cat conftest.err >&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } &&
4008 { ac_try='test -z "$ac_c_werror_flag"
4009 || test ! -s conftest.err'
4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011 (eval $ac_try) 2>&5
4012 ac_status=$?
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); }; } &&
4015 { ac_try='test -s conftest.$ac_objext'
4016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 (eval $ac_try) 2>&5
4018 ac_status=$?
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); }; }; then
4021 ac_cv_type_signal=void
4022 else
4023 echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.$ac_ext >&5
4025
4026 ac_cv_type_signal=int
4027 fi
4028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4029 fi
4030 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4031 echo "${ECHO_T}$ac_cv_type_signal" >&6
4032
4033 cat >>confdefs.h <<_ACEOF
4034 #define RETSIGTYPE $ac_cv_type_signal
4035 _ACEOF
4036
4037
4038
4039 for ac_func in vprintf
4040 do
4041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4042 echo "$as_me:$LINENO: checking for $ac_func" >&5
4043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4044 if eval "test \"\${$as_ac_var+set}\" = set"; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 else
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4055 #define $ac_func innocuous_$ac_func
4056
4057 /* System header to define __stub macros and hopefully few prototypes,
4058 which can conflict with char $ac_func (); below.
4059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4060 <limits.h> exists even on freestanding compilers. */
4061
4062 #ifdef __STDC__
4063 # include <limits.h>
4064 #else
4065 # include <assert.h>
4066 #endif
4067
4068 #undef $ac_func
4069
4070 /* Override any gcc2 internal prototype to avoid an error. */
4071 #ifdef __cplusplus
4072 extern "C"
4073 {
4074 #endif
4075 /* We use char because int might match the return type of a gcc2
4076 builtin and then its argument prototype would still apply. */
4077 char $ac_func ();
4078 /* The GNU C library defines this for functions which it implements
4079 to always fail with ENOSYS. Some functions are actually named
4080 something starting with __ and the normal name is an alias. */
4081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4082 choke me
4083 #else
4084 char (*f) () = $ac_func;
4085 #endif
4086 #ifdef __cplusplus
4087 }
4088 #endif
4089
4090 int
4091 main ()
4092 {
4093 return f != $ac_func;
4094 ;
4095 return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.$ac_objext conftest$ac_exeext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4100 (eval $ac_link) 2>conftest.er1
4101 ac_status=$?
4102 grep -v '^ *+' conftest.er1 >conftest.err
4103 rm -f conftest.er1
4104 cat conftest.err >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); } &&
4107 { ac_try='test -z "$ac_c_werror_flag"
4108 || test ! -s conftest.err'
4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 (eval $ac_try) 2>&5
4111 ac_status=$?
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); }; } &&
4114 { ac_try='test -s conftest$ac_exeext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4116 (eval $ac_try) 2>&5
4117 ac_status=$?
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then
4120 eval "$as_ac_var=yes"
4121 else
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4124
4125 eval "$as_ac_var=no"
4126 fi
4127 rm -f conftest.err conftest.$ac_objext \
4128 conftest$ac_exeext conftest.$ac_ext
4129 fi
4130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4132 if test `eval echo '${'$as_ac_var'}'` = yes; then
4133 cat >>confdefs.h <<_ACEOF
4134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4135 _ACEOF
4136
4137 echo "$as_me:$LINENO: checking for _doprnt" >&5
4138 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4139 if test "${ac_cv_func__doprnt+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 else
4142 cat >conftest.$ac_ext <<_ACEOF
4143 /* confdefs.h. */
4144 _ACEOF
4145 cat confdefs.h >>conftest.$ac_ext
4146 cat >>conftest.$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4148 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4150 #define _doprnt innocuous__doprnt
4151
4152 /* System header to define __stub macros and hopefully few prototypes,
4153 which can conflict with char _doprnt (); below.
4154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4155 <limits.h> exists even on freestanding compilers. */
4156
4157 #ifdef __STDC__
4158 # include <limits.h>
4159 #else
4160 # include <assert.h>
4161 #endif
4162
4163 #undef _doprnt
4164
4165 /* Override any gcc2 internal prototype to avoid an error. */
4166 #ifdef __cplusplus
4167 extern "C"
4168 {
4169 #endif
4170 /* We use char because int might match the return type of a gcc2
4171 builtin and then its argument prototype would still apply. */
4172 char _doprnt ();
4173 /* The GNU C library defines this for functions which it implements
4174 to always fail with ENOSYS. Some functions are actually named
4175 something starting with __ and the normal name is an alias. */
4176 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4177 choke me
4178 #else
4179 char (*f) () = _doprnt;
4180 #endif
4181 #ifdef __cplusplus
4182 }
4183 #endif
4184
4185 int
4186 main ()
4187 {
4188 return f != _doprnt;
4189 ;
4190 return 0;
4191 }
4192 _ACEOF
4193 rm -f conftest.$ac_objext conftest$ac_exeext
4194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4195 (eval $ac_link) 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } &&
4202 { ac_try='test -z "$ac_c_werror_flag"
4203 || test ! -s conftest.err'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4205 (eval $ac_try) 2>&5
4206 ac_status=$?
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; } &&
4209 { ac_try='test -s conftest$ac_exeext'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4211 (eval $ac_try) 2>&5
4212 ac_status=$?
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; }; then
4215 ac_cv_func__doprnt=yes
4216 else
4217 echo "$as_me: failed program was:" >&5
4218 sed 's/^/| /' conftest.$ac_ext >&5
4219
4220 ac_cv_func__doprnt=no
4221 fi
4222 rm -f conftest.err conftest.$ac_objext \
4223 conftest$ac_exeext conftest.$ac_ext
4224 fi
4225 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4226 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4227 if test $ac_cv_func__doprnt = yes; then
4228
4229 cat >>confdefs.h <<\_ACEOF
4230 #define HAVE_DOPRNT 1
4231 _ACEOF
4232
4233 fi
4234
4235 fi
4236 done
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246 for ac_func in gettimeofday select socket strtod strtoul memcpy memmove
4247 do
4248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4249 echo "$as_me:$LINENO: checking for $ac_func" >&5
4250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4251 if eval "test \"\${$as_ac_var+set}\" = set"; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4253 else
4254 cat >conftest.$ac_ext <<_ACEOF
4255 /* confdefs.h. */
4256 _ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4262 #define $ac_func innocuous_$ac_func
4263
4264 /* System header to define __stub macros and hopefully few prototypes,
4265 which can conflict with char $ac_func (); below.
4266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4267 <limits.h> exists even on freestanding compilers. */
4268
4269 #ifdef __STDC__
4270 # include <limits.h>
4271 #else
4272 # include <assert.h>
4273 #endif
4274
4275 #undef $ac_func
4276
4277 /* Override any gcc2 internal prototype to avoid an error. */
4278 #ifdef __cplusplus
4279 extern "C"
4280 {
4281 #endif
4282 /* We use char because int might match the return type of a gcc2
4283 builtin and then its argument prototype would still apply. */
4284 char $ac_func ();
4285 /* The GNU C library defines this for functions which it implements
4286 to always fail with ENOSYS. Some functions are actually named
4287 something starting with __ and the normal name is an alias. */
4288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4289 choke me
4290 #else
4291 char (*f) () = $ac_func;
4292 #endif
4293 #ifdef __cplusplus
4294 }
4295 #endif
4296
4297 int
4298 main ()
4299 {
4300 return f != $ac_func;
4301 ;
4302 return 0;
4303 }
4304 _ACEOF
4305 rm -f conftest.$ac_objext conftest$ac_exeext
4306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4307 (eval $ac_link) 2>conftest.er1
4308 ac_status=$?
4309 grep -v '^ *+' conftest.er1 >conftest.err
4310 rm -f conftest.er1
4311 cat conftest.err >&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } &&
4314 { ac_try='test -z "$ac_c_werror_flag"
4315 || test ! -s conftest.err'
4316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317 (eval $ac_try) 2>&5
4318 ac_status=$?
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); }; } &&
4321 { ac_try='test -s conftest$ac_exeext'
4322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 (eval $ac_try) 2>&5
4324 ac_status=$?
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); }; }; then
4327 eval "$as_ac_var=yes"
4328 else
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.$ac_ext >&5
4331
4332 eval "$as_ac_var=no"
4333 fi
4334 rm -f conftest.err conftest.$ac_objext \
4335 conftest$ac_exeext conftest.$ac_ext
4336 fi
4337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4339 if test `eval echo '${'$as_ac_var'}'` = yes; then
4340 cat >>confdefs.h <<_ACEOF
4341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4342 _ACEOF
4343
4344 fi
4345 done
4346
4347
4348 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4349 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4350 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4351 if test "${enable_maintainer_mode+set}" = set; then
4352 enableval="$enable_maintainer_mode"
4353 USE_MAINTAINER_MODE=$enableval
4354 else
4355 USE_MAINTAINER_MODE=no
4356 fi;
4357 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4358 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4359
4360
4361 if test $USE_MAINTAINER_MODE = yes; then
4362 MAINTAINER_MODE_TRUE=
4363 MAINTAINER_MODE_FALSE='#'
4364 else
4365 MAINTAINER_MODE_TRUE='#'
4366 MAINTAINER_MODE_FALSE=
4367 fi
4368
4369 MAINT=$MAINTAINER_MODE_TRUE
4370
4371
4372
4373
4374 ac_config_files="$ac_config_files Makefile"
4375 cat >confcache <<\_ACEOF
4376 # This file is a shell script that caches the results of configure
4377 # tests run on this system so they can be shared between configure
4378 # scripts and configure runs, see configure's option --config-cache.
4379 # It is not useful on other systems. If it contains results you don't
4380 # want to keep, you may remove or edit it.
4381 #
4382 # config.status only pays attention to the cache file if you give it
4383 # the --recheck option to rerun configure.
4384 #
4385 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4386 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4387 # following values.
4388
4389 _ACEOF
4390
4391 # The following way of writing the cache mishandles newlines in values,
4392 # but we know of no workaround that is simple, portable, and efficient.
4393 # So, don't put newlines in cache variables' values.
4394 # Ultrix sh set writes to stderr and can't be redirected directly,
4395 # and sets the high bit in the cache file unless we assign to the vars.
4396 {
4397 (set) 2>&1 |
4398 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4399 *ac_space=\ *)
4400 # `set' does not quote correctly, so add quotes (double-quote
4401 # substitution turns \\\\ into \\, and sed turns \\ into \).
4402 sed -n \
4403 "s/'/'\\\\''/g;
4404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4405 ;;
4406 *)
4407 # `set' quotes correctly as required by POSIX, so do not add quotes.
4408 sed -n \
4409 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4410 ;;
4411 esac;
4412 } |
4413 sed '
4414 t clear
4415 : clear
4416 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4417 t end
4418 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4419 : end' >>confcache
4420 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4421 if test -w $cache_file; then
4422 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4423 cat confcache >$cache_file
4424 else
4425 echo "not updating unwritable cache $cache_file"
4426 fi
4427 fi
4428 rm -f confcache
4429
4430 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4431 # Let make expand exec_prefix.
4432 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4433
4434 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4435 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4436 # trailing colons and then remove the whole line if VPATH becomes empty
4437 # (actually we leave an empty line to preserve line numbers).
4438 if test "x$srcdir" = x.; then
4439 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4440 s/:*\$(srcdir):*/:/;
4441 s/:*\${srcdir}:*/:/;
4442 s/:*@srcdir@:*/:/;
4443 s/^\([^=]*=[ ]*\):*/\1/;
4444 s/:*$//;
4445 s/^[^=]*=[ ]*$//;
4446 }'
4447 fi
4448
4449 # Transform confdefs.h into DEFS.
4450 # Protect against shell expansion while executing Makefile rules.
4451 # Protect against Makefile macro expansion.
4452 #
4453 # If the first sed substitution is executed (which looks for macros that
4454 # take arguments), then we branch to the quote section. Otherwise,
4455 # look for a macro that doesn't take arguments.
4456 cat >confdef2opt.sed <<\_ACEOF
4457 t clear
4458 : clear
4459 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4460 t quote
4461 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4462 t quote
4463 d
4464 : quote
4465 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4466 s,\[,\\&,g
4467 s,\],\\&,g
4468 s,\$,$$,g
4469 p
4470 _ACEOF
4471 # We use echo to avoid assuming a particular line-breaking character.
4472 # The extra dot is to prevent the shell from consuming trailing
4473 # line-breaks from the sub-command output. A line-break within
4474 # single-quotes doesn't work because, if this script is created in a
4475 # platform that uses two characters for line-breaks (e.g., DOS), tr
4476 # would break.
4477 ac_LF_and_DOT=`echo; echo .`
4478 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4479 rm -f confdef2opt.sed
4480
4481
4482 ac_libobjs=
4483 ac_ltlibobjs=
4484 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4485 # 1. Remove the extension, and $U if already installed.
4486 ac_i=`echo "$ac_i" |
4487 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4488 # 2. Add them.
4489 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4490 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4491 done
4492 LIBOBJS=$ac_libobjs
4493
4494 LTLIBOBJS=$ac_ltlibobjs
4495
4496
4497 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4498 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4499 Usually this means the macro was only invoked conditionally." >&5
4500 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4501 Usually this means the macro was only invoked conditionally." >&2;}
4502 { (exit 1); exit 1; }; }
4503 fi
4504 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4505 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4506 Usually this means the macro was only invoked conditionally." >&5
4507 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4508 Usually this means the macro was only invoked conditionally." >&2;}
4509 { (exit 1); exit 1; }; }
4510 fi
4511 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4512 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4513 Usually this means the macro was only invoked conditionally." >&5
4514 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4515 Usually this means the macro was only invoked conditionally." >&2;}
4516 { (exit 1); exit 1; }; }
4517 fi
4518
4519 : ${CONFIG_STATUS=./config.status}
4520 ac_clean_files_save=$ac_clean_files
4521 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4522 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4523 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4524 cat >$CONFIG_STATUS <<_ACEOF
4525 #! $SHELL
4526 # Generated by $as_me.
4527 # Run this file to recreate the current configuration.
4528 # Compiler output produced by configure, useful for debugging
4529 # configure, is in config.log if it exists.
4530
4531 debug=false
4532 ac_cs_recheck=false
4533 ac_cs_silent=false
4534 SHELL=\${CONFIG_SHELL-$SHELL}
4535 _ACEOF
4536
4537 cat >>$CONFIG_STATUS <<\_ACEOF
4538 ## --------------------- ##
4539 ## M4sh Initialization. ##
4540 ## --------------------- ##
4541
4542 # Be Bourne compatible
4543 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4544 emulate sh
4545 NULLCMD=:
4546 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4547 # is contrary to our usage. Disable this feature.
4548 alias -g '${1+"$@"}'='"$@"'
4549 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4550 set -o posix
4551 fi
4552 DUALCASE=1; export DUALCASE # for MKS sh
4553
4554 # Support unset when possible.
4555 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4556 as_unset=unset
4557 else
4558 as_unset=false
4559 fi
4560
4561
4562 # Work around bugs in pre-3.0 UWIN ksh.
4563 $as_unset ENV MAIL MAILPATH
4564 PS1='$ '
4565 PS2='> '
4566 PS4='+ '
4567
4568 # NLS nuisances.
4569 for as_var in \
4570 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4571 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4572 LC_TELEPHONE LC_TIME
4573 do
4574 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4575 eval $as_var=C; export $as_var
4576 else
4577 $as_unset $as_var
4578 fi
4579 done
4580
4581 # Required to use basename.
4582 if expr a : '\(a\)' >/dev/null 2>&1; then
4583 as_expr=expr
4584 else
4585 as_expr=false
4586 fi
4587
4588 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4589 as_basename=basename
4590 else
4591 as_basename=false
4592 fi
4593
4594
4595 # Name of the executable.
4596 as_me=`$as_basename "$0" ||
4597 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4598 X"$0" : 'X\(//\)$' \| \
4599 X"$0" : 'X\(/\)$' \| \
4600 . : '\(.\)' 2>/dev/null ||
4601 echo X/"$0" |
4602 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4603 /^X\/\(\/\/\)$/{ s//\1/; q; }
4604 /^X\/\(\/\).*/{ s//\1/; q; }
4605 s/.*/./; q'`
4606
4607
4608 # PATH needs CR, and LINENO needs CR and PATH.
4609 # Avoid depending upon Character Ranges.
4610 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4611 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4612 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4613 as_cr_digits='0123456789'
4614 as_cr_alnum=$as_cr_Letters$as_cr_digits
4615
4616 # The user is always right.
4617 if test "${PATH_SEPARATOR+set}" != set; then
4618 echo "#! /bin/sh" >conf$$.sh
4619 echo "exit 0" >>conf$$.sh
4620 chmod +x conf$$.sh
4621 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4622 PATH_SEPARATOR=';'
4623 else
4624 PATH_SEPARATOR=:
4625 fi
4626 rm -f conf$$.sh
4627 fi
4628
4629
4630 as_lineno_1=$LINENO
4631 as_lineno_2=$LINENO
4632 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4633 test "x$as_lineno_1" != "x$as_lineno_2" &&
4634 test "x$as_lineno_3" = "x$as_lineno_2" || {
4635 # Find who we are. Look in the path if we contain no path at all
4636 # relative or not.
4637 case $0 in
4638 *[\\/]* ) as_myself=$0 ;;
4639 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH
4641 do
4642 IFS=$as_save_IFS
4643 test -z "$as_dir" && as_dir=.
4644 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4645 done
4646
4647 ;;
4648 esac
4649 # We did not find ourselves, most probably we were run as `sh COMMAND'
4650 # in which case we are not to be found in the path.
4651 if test "x$as_myself" = x; then
4652 as_myself=$0
4653 fi
4654 if test ! -f "$as_myself"; then
4655 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4656 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4657 { (exit 1); exit 1; }; }
4658 fi
4659 case $CONFIG_SHELL in
4660 '')
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4663 do
4664 IFS=$as_save_IFS
4665 test -z "$as_dir" && as_dir=.
4666 for as_base in sh bash ksh sh5; do
4667 case $as_dir in
4668 /*)
4669 if ("$as_dir/$as_base" -c '
4670 as_lineno_1=$LINENO
4671 as_lineno_2=$LINENO
4672 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4673 test "x$as_lineno_1" != "x$as_lineno_2" &&
4674 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4675 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4676 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4677 CONFIG_SHELL=$as_dir/$as_base
4678 export CONFIG_SHELL
4679 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4680 fi;;
4681 esac
4682 done
4683 done
4684 ;;
4685 esac
4686
4687 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4688 # uniformly replaced by the line number. The first 'sed' inserts a
4689 # line-number line before each line; the second 'sed' does the real
4690 # work. The second script uses 'N' to pair each line-number line
4691 # with the numbered line, and appends trailing '-' during
4692 # substitution so that $LINENO is not a special case at line end.
4693 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4694 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4695 sed '=' <$as_myself |
4696 sed '
4697 N
4698 s,$,-,
4699 : loop
4700 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4701 t loop
4702 s,-$,,
4703 s,^['$as_cr_digits']*\n,,
4704 ' >$as_me.lineno &&
4705 chmod +x $as_me.lineno ||
4706 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4707 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4708 { (exit 1); exit 1; }; }
4709
4710 # Don't try to exec as it changes $[0], causing all sort of problems
4711 # (the dirname of $[0] is not the place where we might find the
4712 # original and so on. Autoconf is especially sensible to this).
4713 . ./$as_me.lineno
4714 # Exit status is that of the last command.
4715 exit
4716 }
4717
4718
4719 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4720 *c*,-n*) ECHO_N= ECHO_C='
4721 ' ECHO_T=' ' ;;
4722 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4723 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4724 esac
4725
4726 if expr a : '\(a\)' >/dev/null 2>&1; then
4727 as_expr=expr
4728 else
4729 as_expr=false
4730 fi
4731
4732 rm -f conf$$ conf$$.exe conf$$.file
4733 echo >conf$$.file
4734 if ln -s conf$$.file conf$$ 2>/dev/null; then
4735 # We could just check for DJGPP; but this test a) works b) is more generic
4736 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4737 if test -f conf$$.exe; then
4738 # Don't use ln at all; we don't have any links
4739 as_ln_s='cp -p'
4740 else
4741 as_ln_s='ln -s'
4742 fi
4743 elif ln conf$$.file conf$$ 2>/dev/null; then
4744 as_ln_s=ln
4745 else
4746 as_ln_s='cp -p'
4747 fi
4748 rm -f conf$$ conf$$.exe conf$$.file
4749
4750 if mkdir -p . 2>/dev/null; then
4751 as_mkdir_p=:
4752 else
4753 test -d ./-p && rmdir ./-p
4754 as_mkdir_p=false
4755 fi
4756
4757 as_executable_p="test -f"
4758
4759 # Sed expression to map a string onto a valid CPP name.
4760 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4761
4762 # Sed expression to map a string onto a valid variable name.
4763 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4764
4765
4766 # IFS
4767 # We need space, tab and new line, in precisely that order.
4768 as_nl='
4769 '
4770 IFS=" $as_nl"
4771
4772 # CDPATH.
4773 $as_unset CDPATH
4774
4775 exec 6>&1
4776
4777 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4778 # report actual input values of CONFIG_FILES etc. instead of their
4779 # values after options handling. Logging --version etc. is OK.
4780 exec 5>>config.log
4781 {
4782 echo
4783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4784 ## Running $as_me. ##
4785 _ASBOX
4786 } >&5
4787 cat >&5 <<_CSEOF
4788
4789 This file was extended by $as_me, which was
4790 generated by GNU Autoconf 2.59. Invocation command line was
4791
4792 CONFIG_FILES = $CONFIG_FILES
4793 CONFIG_HEADERS = $CONFIG_HEADERS
4794 CONFIG_LINKS = $CONFIG_LINKS
4795 CONFIG_COMMANDS = $CONFIG_COMMANDS
4796 $ $0 $@
4797
4798 _CSEOF
4799 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4800 echo >&5
4801 _ACEOF
4802
4803 # Files that config.status was made for.
4804 if test -n "$ac_config_files"; then
4805 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4806 fi
4807
4808 if test -n "$ac_config_headers"; then
4809 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4810 fi
4811
4812 if test -n "$ac_config_links"; then
4813 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4814 fi
4815
4816 if test -n "$ac_config_commands"; then
4817 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4818 fi
4819
4820 cat >>$CONFIG_STATUS <<\_ACEOF
4821
4822 ac_cs_usage="\
4823 \`$as_me' instantiates files from templates according to the
4824 current configuration.
4825
4826 Usage: $0 [OPTIONS] [FILE]...
4827
4828 -h, --help print this help, then exit
4829 -V, --version print version number, then exit
4830 -q, --quiet do not print progress messages
4831 -d, --debug don't remove temporary files
4832 --recheck update $as_me by reconfiguring in the same conditions
4833 --file=FILE[:TEMPLATE]
4834 instantiate the configuration file FILE
4835
4836 Configuration files:
4837 $config_files
4838
4839 Configuration commands:
4840 $config_commands
4841
4842 Report bugs to <bug-autoconf@gnu.org>."
4843 _ACEOF
4844
4845 cat >>$CONFIG_STATUS <<_ACEOF
4846 ac_cs_version="\\
4847 config.status
4848 configured by $0, generated by GNU Autoconf 2.59,
4849 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4850
4851 Copyright (C) 2003 Free Software Foundation, Inc.
4852 This config.status script is free software; the Free Software Foundation
4853 gives unlimited permission to copy, distribute and modify it."
4854 srcdir=$srcdir
4855 INSTALL="$INSTALL"
4856 _ACEOF
4857
4858 cat >>$CONFIG_STATUS <<\_ACEOF
4859 # If no file are specified by the user, then we need to provide default
4860 # value. By we need to know if files were specified by the user.
4861 ac_need_defaults=:
4862 while test $# != 0
4863 do
4864 case $1 in
4865 --*=*)
4866 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4867 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4868 ac_shift=:
4869 ;;
4870 -*)
4871 ac_option=$1
4872 ac_optarg=$2
4873 ac_shift=shift
4874 ;;
4875 *) # This is not an option, so the user has probably given explicit
4876 # arguments.
4877 ac_option=$1
4878 ac_need_defaults=false;;
4879 esac
4880
4881 case $ac_option in
4882 # Handling of the options.
4883 _ACEOF
4884 cat >>$CONFIG_STATUS <<\_ACEOF
4885 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4886 ac_cs_recheck=: ;;
4887 --version | --vers* | -V )
4888 echo "$ac_cs_version"; exit 0 ;;
4889 --he | --h)
4890 # Conflict between --help and --header
4891 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4892 Try \`$0 --help' for more information." >&5
4893 echo "$as_me: error: ambiguous option: $1
4894 Try \`$0 --help' for more information." >&2;}
4895 { (exit 1); exit 1; }; };;
4896 --help | --hel | -h )
4897 echo "$ac_cs_usage"; exit 0 ;;
4898 --debug | --d* | -d )
4899 debug=: ;;
4900 --file | --fil | --fi | --f )
4901 $ac_shift
4902 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4903 ac_need_defaults=false;;
4904 --header | --heade | --head | --hea )
4905 $ac_shift
4906 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4907 ac_need_defaults=false;;
4908 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4909 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4910 ac_cs_silent=: ;;
4911
4912 # This is an error.
4913 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4914 Try \`$0 --help' for more information." >&5
4915 echo "$as_me: error: unrecognized option: $1
4916 Try \`$0 --help' for more information." >&2;}
4917 { (exit 1); exit 1; }; } ;;
4918
4919 *) ac_config_targets="$ac_config_targets $1" ;;
4920
4921 esac
4922 shift
4923 done
4924
4925 ac_configure_extra_args=
4926
4927 if $ac_cs_silent; then
4928 exec 6>/dev/null
4929 ac_configure_extra_args="$ac_configure_extra_args --silent"
4930 fi
4931
4932 _ACEOF
4933 cat >>$CONFIG_STATUS <<_ACEOF
4934 if \$ac_cs_recheck; then
4935 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4936 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4937 fi
4938
4939 _ACEOF
4940
4941 cat >>$CONFIG_STATUS <<_ACEOF
4942 #
4943 # INIT-COMMANDS section.
4944 #
4945
4946 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4947
4948 _ACEOF
4949
4950
4951
4952 cat >>$CONFIG_STATUS <<\_ACEOF
4953 for ac_config_target in $ac_config_targets
4954 do
4955 case "$ac_config_target" in
4956 # Handling of arguments.
4957 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4958 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4959 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4960 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4961 { (exit 1); exit 1; }; };;
4962 esac
4963 done
4964
4965 # If the user did not use the arguments to specify the items to instantiate,
4966 # then the envvar interface is used. Set only those that are not.
4967 # We use the long form for the default assignment because of an extremely
4968 # bizarre bug on SunOS 4.1.3.
4969 if $ac_need_defaults; then
4970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4972 fi
4973
4974 # Have a temporary directory for convenience. Make it in the build tree
4975 # simply because there is no reason to put it here, and in addition,
4976 # creating and moving files from /tmp can sometimes cause problems.
4977 # Create a temporary directory, and hook for its removal unless debugging.
4978 $debug ||
4979 {
4980 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4981 trap '{ (exit 1); exit 1; }' 1 2 13 15
4982 }
4983
4984 # Create a (secure) tmp directory for tmp files.
4985
4986 {
4987 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4988 test -n "$tmp" && test -d "$tmp"
4989 } ||
4990 {
4991 tmp=./confstat$$-$RANDOM
4992 (umask 077 && mkdir $tmp)
4993 } ||
4994 {
4995 echo "$me: cannot create a temporary directory in ." >&2
4996 { (exit 1); exit 1; }
4997 }
4998
4999 _ACEOF
5000
5001 cat >>$CONFIG_STATUS <<_ACEOF
5002
5003 #
5004 # CONFIG_FILES section.
5005 #
5006
5007 # No need to generate the scripts if there are no CONFIG_FILES.
5008 # This happens for instance when ./config.status config.h
5009 if test -n "\$CONFIG_FILES"; then
5010 # Protect against being on the right side of a sed subst in config.status.
5011 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5012 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5013 s,@SHELL@,$SHELL,;t t
5014 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5015 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5016 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5017 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5018 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5019 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5020 s,@exec_prefix@,$exec_prefix,;t t
5021 s,@prefix@,$prefix,;t t
5022 s,@program_transform_name@,$program_transform_name,;t t
5023 s,@bindir@,$bindir,;t t
5024 s,@sbindir@,$sbindir,;t t
5025 s,@libexecdir@,$libexecdir,;t t
5026 s,@datadir@,$datadir,;t t
5027 s,@sysconfdir@,$sysconfdir,;t t
5028 s,@sharedstatedir@,$sharedstatedir,;t t
5029 s,@localstatedir@,$localstatedir,;t t
5030 s,@libdir@,$libdir,;t t
5031 s,@includedir@,$includedir,;t t
5032 s,@oldincludedir@,$oldincludedir,;t t
5033 s,@infodir@,$infodir,;t t
5034 s,@mandir@,$mandir,;t t
5035 s,@build_alias@,$build_alias,;t t
5036 s,@host_alias@,$host_alias,;t t
5037 s,@target_alias@,$target_alias,;t t
5038 s,@DEFS@,$DEFS,;t t
5039 s,@ECHO_C@,$ECHO_C,;t t
5040 s,@ECHO_N@,$ECHO_N,;t t
5041 s,@ECHO_T@,$ECHO_T,;t t
5042 s,@LIBS@,$LIBS,;t t
5043 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5044 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5045 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5046 s,@CYGPATH_W@,$CYGPATH_W,;t t
5047 s,@PACKAGE@,$PACKAGE,;t t
5048 s,@VERSION@,$VERSION,;t t
5049 s,@ACLOCAL@,$ACLOCAL,;t t
5050 s,@AUTOCONF@,$AUTOCONF,;t t
5051 s,@AUTOMAKE@,$AUTOMAKE,;t t
5052 s,@AUTOHEADER@,$AUTOHEADER,;t t
5053 s,@MAKEINFO@,$MAKEINFO,;t t
5054 s,@install_sh@,$install_sh,;t t
5055 s,@STRIP@,$STRIP,;t t
5056 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5057 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5058 s,@mkdir_p@,$mkdir_p,;t t
5059 s,@AWK@,$AWK,;t t
5060 s,@SET_MAKE@,$SET_MAKE,;t t
5061 s,@am__leading_dot@,$am__leading_dot,;t t
5062 s,@AMTAR@,$AMTAR,;t t
5063 s,@am__tar@,$am__tar,;t t
5064 s,@am__untar@,$am__untar,;t t
5065 s,@CC@,$CC,;t t
5066 s,@CFLAGS@,$CFLAGS,;t t
5067 s,@LDFLAGS@,$LDFLAGS,;t t
5068 s,@CPPFLAGS@,$CPPFLAGS,;t t
5069 s,@ac_ct_CC@,$ac_ct_CC,;t t
5070 s,@EXEEXT@,$EXEEXT,;t t
5071 s,@OBJEXT@,$OBJEXT,;t t
5072 s,@DEPDIR@,$DEPDIR,;t t
5073 s,@am__include@,$am__include,;t t
5074 s,@am__quote@,$am__quote,;t t
5075 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5076 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5077 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5078 s,@CCDEPMODE@,$CCDEPMODE,;t t
5079 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5080 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5081 s,@RANLIB@,$RANLIB,;t t
5082 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5083 s,@CPP@,$CPP,;t t
5084 s,@EGREP@,$EGREP,;t t
5085 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5086 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5087 s,@MAINT@,$MAINT,;t t
5088 s,@LIBOBJS@,$LIBOBJS,;t t
5089 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5090 CEOF
5091
5092 _ACEOF
5093
5094 cat >>$CONFIG_STATUS <<\_ACEOF
5095 # Split the substitutions into bite-sized pieces for seds with
5096 # small command number limits, like on Digital OSF/1 and HP-UX.
5097 ac_max_sed_lines=48
5098 ac_sed_frag=1 # Number of current file.
5099 ac_beg=1 # First line for current file.
5100 ac_end=$ac_max_sed_lines # Line after last line for current file.
5101 ac_more_lines=:
5102 ac_sed_cmds=
5103 while $ac_more_lines; do
5104 if test $ac_beg -gt 1; then
5105 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5106 else
5107 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5108 fi
5109 if test ! -s $tmp/subs.frag; then
5110 ac_more_lines=false
5111 else
5112 # The purpose of the label and of the branching condition is to
5113 # speed up the sed processing (if there are no `@' at all, there
5114 # is no need to browse any of the substitutions).
5115 # These are the two extra sed commands mentioned above.
5116 (echo ':t
5117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5118 if test -z "$ac_sed_cmds"; then
5119 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5120 else
5121 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5122 fi
5123 ac_sed_frag=`expr $ac_sed_frag + 1`
5124 ac_beg=$ac_end
5125 ac_end=`expr $ac_end + $ac_max_sed_lines`
5126 fi
5127 done
5128 if test -z "$ac_sed_cmds"; then
5129 ac_sed_cmds=cat
5130 fi
5131 fi # test -n "$CONFIG_FILES"
5132
5133 _ACEOF
5134 cat >>$CONFIG_STATUS <<\_ACEOF
5135 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5136 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5137 case $ac_file in
5138 - | *:- | *:-:* ) # input from stdin
5139 cat >$tmp/stdin
5140 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5141 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5142 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5143 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5144 * ) ac_file_in=$ac_file.in ;;
5145 esac
5146
5147 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5148 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5149 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5150 X"$ac_file" : 'X\(//\)[^/]' \| \
5151 X"$ac_file" : 'X\(//\)$' \| \
5152 X"$ac_file" : 'X\(/\)' \| \
5153 . : '\(.\)' 2>/dev/null ||
5154 echo X"$ac_file" |
5155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5157 /^X\(\/\/\)$/{ s//\1/; q; }
5158 /^X\(\/\).*/{ s//\1/; q; }
5159 s/.*/./; q'`
5160 { if $as_mkdir_p; then
5161 mkdir -p "$ac_dir"
5162 else
5163 as_dir="$ac_dir"
5164 as_dirs=
5165 while test ! -d "$as_dir"; do
5166 as_dirs="$as_dir $as_dirs"
5167 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5169 X"$as_dir" : 'X\(//\)[^/]' \| \
5170 X"$as_dir" : 'X\(//\)$' \| \
5171 X"$as_dir" : 'X\(/\)' \| \
5172 . : '\(.\)' 2>/dev/null ||
5173 echo X"$as_dir" |
5174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5176 /^X\(\/\/\)$/{ s//\1/; q; }
5177 /^X\(\/\).*/{ s//\1/; q; }
5178 s/.*/./; q'`
5179 done
5180 test ! -n "$as_dirs" || mkdir $as_dirs
5181 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5183 { (exit 1); exit 1; }; }; }
5184
5185 ac_builddir=.
5186
5187 if test "$ac_dir" != .; then
5188 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5189 # A "../" for each directory in $ac_dir_suffix.
5190 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5191 else
5192 ac_dir_suffix= ac_top_builddir=
5193 fi
5194
5195 case $srcdir in
5196 .) # No --srcdir option. We are building in place.
5197 ac_srcdir=.
5198 if test -z "$ac_top_builddir"; then
5199 ac_top_srcdir=.
5200 else
5201 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5202 fi ;;
5203 [\\/]* | ?:[\\/]* ) # Absolute path.
5204 ac_srcdir=$srcdir$ac_dir_suffix;
5205 ac_top_srcdir=$srcdir ;;
5206 *) # Relative path.
5207 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5208 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5209 esac
5210
5211 # Do not use `cd foo && pwd` to compute absolute paths, because
5212 # the directories may not exist.
5213 case `pwd` in
5214 .) ac_abs_builddir="$ac_dir";;
5215 *)
5216 case "$ac_dir" in
5217 .) ac_abs_builddir=`pwd`;;
5218 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5219 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5220 esac;;
5221 esac
5222 case $ac_abs_builddir in
5223 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5224 *)
5225 case ${ac_top_builddir}. in
5226 .) ac_abs_top_builddir=$ac_abs_builddir;;
5227 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5228 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5229 esac;;
5230 esac
5231 case $ac_abs_builddir in
5232 .) ac_abs_srcdir=$ac_srcdir;;
5233 *)
5234 case $ac_srcdir in
5235 .) ac_abs_srcdir=$ac_abs_builddir;;
5236 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5237 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5238 esac;;
5239 esac
5240 case $ac_abs_builddir in
5241 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5242 *)
5243 case $ac_top_srcdir in
5244 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5245 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5246 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5247 esac;;
5248 esac
5249
5250
5251 case $INSTALL in
5252 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5253 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5254 esac
5255
5256 if test x"$ac_file" != x-; then
5257 { echo "$as_me:$LINENO: creating $ac_file" >&5
5258 echo "$as_me: creating $ac_file" >&6;}
5259 rm -f "$ac_file"
5260 fi
5261 # Let's still pretend it is `configure' which instantiates (i.e., don't
5262 # use $as_me), people would be surprised to read:
5263 # /* config.h. Generated by config.status. */
5264 if test x"$ac_file" = x-; then
5265 configure_input=
5266 else
5267 configure_input="$ac_file. "
5268 fi
5269 configure_input=$configure_input"Generated from `echo $ac_file_in |
5270 sed 's,.*/,,'` by configure."
5271
5272 # First look for the input files in the build tree, otherwise in the
5273 # src tree.
5274 ac_file_inputs=`IFS=:
5275 for f in $ac_file_in; do
5276 case $f in
5277 -) echo $tmp/stdin ;;
5278 [\\/$]*)
5279 # Absolute (can't be DOS-style, as IFS=:)
5280 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5281 echo "$as_me: error: cannot find input file: $f" >&2;}
5282 { (exit 1); exit 1; }; }
5283 echo "$f";;
5284 *) # Relative
5285 if test -f "$f"; then
5286 # Build tree
5287 echo "$f"
5288 elif test -f "$srcdir/$f"; then
5289 # Source tree
5290 echo "$srcdir/$f"
5291 else
5292 # /dev/null tree
5293 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5294 echo "$as_me: error: cannot find input file: $f" >&2;}
5295 { (exit 1); exit 1; }; }
5296 fi;;
5297 esac
5298 done` || { (exit 1); exit 1; }
5299 _ACEOF
5300 cat >>$CONFIG_STATUS <<_ACEOF
5301 sed "$ac_vpsub
5302 $extrasub
5303 _ACEOF
5304 cat >>$CONFIG_STATUS <<\_ACEOF
5305 :t
5306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5307 s,@configure_input@,$configure_input,;t t
5308 s,@srcdir@,$ac_srcdir,;t t
5309 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5310 s,@top_srcdir@,$ac_top_srcdir,;t t
5311 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5312 s,@builddir@,$ac_builddir,;t t
5313 s,@abs_builddir@,$ac_abs_builddir,;t t
5314 s,@top_builddir@,$ac_top_builddir,;t t
5315 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5316 s,@INSTALL@,$ac_INSTALL,;t t
5317 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5318 rm -f $tmp/stdin
5319 if test x"$ac_file" != x-; then
5320 mv $tmp/out $ac_file
5321 else
5322 cat $tmp/out
5323 rm -f $tmp/out
5324 fi
5325
5326 done
5327 _ACEOF
5328 cat >>$CONFIG_STATUS <<\_ACEOF
5329
5330 #
5331 # CONFIG_COMMANDS section.
5332 #
5333 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5334 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5335 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5336 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5337 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5338 X"$ac_dest" : 'X\(//\)[^/]' \| \
5339 X"$ac_dest" : 'X\(//\)$' \| \
5340 X"$ac_dest" : 'X\(/\)' \| \
5341 . : '\(.\)' 2>/dev/null ||
5342 echo X"$ac_dest" |
5343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5344 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5345 /^X\(\/\/\)$/{ s//\1/; q; }
5346 /^X\(\/\).*/{ s//\1/; q; }
5347 s/.*/./; q'`
5348 { if $as_mkdir_p; then
5349 mkdir -p "$ac_dir"
5350 else
5351 as_dir="$ac_dir"
5352 as_dirs=
5353 while test ! -d "$as_dir"; do
5354 as_dirs="$as_dir $as_dirs"
5355 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5356 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5357 X"$as_dir" : 'X\(//\)[^/]' \| \
5358 X"$as_dir" : 'X\(//\)$' \| \
5359 X"$as_dir" : 'X\(/\)' \| \
5360 . : '\(.\)' 2>/dev/null ||
5361 echo X"$as_dir" |
5362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5364 /^X\(\/\/\)$/{ s//\1/; q; }
5365 /^X\(\/\).*/{ s//\1/; q; }
5366 s/.*/./; q'`
5367 done
5368 test ! -n "$as_dirs" || mkdir $as_dirs
5369 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5370 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5371 { (exit 1); exit 1; }; }; }
5372
5373 ac_builddir=.
5374
5375 if test "$ac_dir" != .; then
5376 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5377 # A "../" for each directory in $ac_dir_suffix.
5378 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5379 else
5380 ac_dir_suffix= ac_top_builddir=
5381 fi
5382
5383 case $srcdir in
5384 .) # No --srcdir option. We are building in place.
5385 ac_srcdir=.
5386 if test -z "$ac_top_builddir"; then
5387 ac_top_srcdir=.
5388 else
5389 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5390 fi ;;
5391 [\\/]* | ?:[\\/]* ) # Absolute path.
5392 ac_srcdir=$srcdir$ac_dir_suffix;
5393 ac_top_srcdir=$srcdir ;;
5394 *) # Relative path.
5395 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5396 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5397 esac
5398
5399 # Do not use `cd foo && pwd` to compute absolute paths, because
5400 # the directories may not exist.
5401 case `pwd` in
5402 .) ac_abs_builddir="$ac_dir";;
5403 *)
5404 case "$ac_dir" in
5405 .) ac_abs_builddir=`pwd`;;
5406 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5407 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5408 esac;;
5409 esac
5410 case $ac_abs_builddir in
5411 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5412 *)
5413 case ${ac_top_builddir}. in
5414 .) ac_abs_top_builddir=$ac_abs_builddir;;
5415 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5416 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5417 esac;;
5418 esac
5419 case $ac_abs_builddir in
5420 .) ac_abs_srcdir=$ac_srcdir;;
5421 *)
5422 case $ac_srcdir in
5423 .) ac_abs_srcdir=$ac_abs_builddir;;
5424 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5425 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5426 esac;;
5427 esac
5428 case $ac_abs_builddir in
5429 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5430 *)
5431 case $ac_top_srcdir in
5432 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5433 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5434 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5435 esac;;
5436 esac
5437
5438
5439 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5440 echo "$as_me: executing $ac_dest commands" >&6;}
5441 case $ac_dest in
5442 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5443 # Strip MF so we end up with the name of the file.
5444 mf=`echo "$mf" | sed -e 's/:.*$//'`
5445 # Check whether this is an Automake generated Makefile or not.
5446 # We used to match only the files named `Makefile.in', but
5447 # some people rename them; so instead we look at the file content.
5448 # Grep'ing the first line is not enough: some people post-process
5449 # each Makefile.in and add a new line on top of each file to say so.
5450 # So let's grep whole file.
5451 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5452 dirpart=`(dirname "$mf") 2>/dev/null ||
5453 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5454 X"$mf" : 'X\(//\)[^/]' \| \
5455 X"$mf" : 'X\(//\)$' \| \
5456 X"$mf" : 'X\(/\)' \| \
5457 . : '\(.\)' 2>/dev/null ||
5458 echo X"$mf" |
5459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5461 /^X\(\/\/\)$/{ s//\1/; q; }
5462 /^X\(\/\).*/{ s//\1/; q; }
5463 s/.*/./; q'`
5464 else
5465 continue
5466 fi
5467 # Extract the definition of DEPDIR, am__include, and am__quote
5468 # from the Makefile without running `make'.
5469 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5470 test -z "$DEPDIR" && continue
5471 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5472 test -z "am__include" && continue
5473 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5474 # When using ansi2knr, U may be empty or an underscore; expand it
5475 U=`sed -n 's/^U = //p' < "$mf"`
5476 # Find all dependency output files, they are included files with
5477 # $(DEPDIR) in their names. We invoke sed twice because it is the
5478 # simplest approach to changing $(DEPDIR) to its actual value in the
5479 # expansion.
5480 for file in `sed -n "
5481 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5482 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5483 # Make sure the directory exists.
5484 test -f "$dirpart/$file" && continue
5485 fdir=`(dirname "$file") 2>/dev/null ||
5486 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5487 X"$file" : 'X\(//\)[^/]' \| \
5488 X"$file" : 'X\(//\)$' \| \
5489 X"$file" : 'X\(/\)' \| \
5490 . : '\(.\)' 2>/dev/null ||
5491 echo X"$file" |
5492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5493 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5494 /^X\(\/\/\)$/{ s//\1/; q; }
5495 /^X\(\/\).*/{ s//\1/; q; }
5496 s/.*/./; q'`
5497 { if $as_mkdir_p; then
5498 mkdir -p $dirpart/$fdir
5499 else
5500 as_dir=$dirpart/$fdir
5501 as_dirs=
5502 while test ! -d "$as_dir"; do
5503 as_dirs="$as_dir $as_dirs"
5504 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5505 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5506 X"$as_dir" : 'X\(//\)[^/]' \| \
5507 X"$as_dir" : 'X\(//\)$' \| \
5508 X"$as_dir" : 'X\(/\)' \| \
5509 . : '\(.\)' 2>/dev/null ||
5510 echo X"$as_dir" |
5511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5512 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5513 /^X\(\/\/\)$/{ s//\1/; q; }
5514 /^X\(\/\).*/{ s//\1/; q; }
5515 s/.*/./; q'`
5516 done
5517 test ! -n "$as_dirs" || mkdir $as_dirs
5518 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5519 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5520 { (exit 1); exit 1; }; }; }
5521
5522 # echo "creating $dirpart/$file"
5523 echo '# dummy' > "$dirpart/$file"
5524 done
5525 done
5526 ;;
5527 esac
5528 done
5529 _ACEOF
5530
5531 cat >>$CONFIG_STATUS <<\_ACEOF
5532
5533 { (exit 0); exit 0; }
5534 _ACEOF
5535 chmod +x $CONFIG_STATUS
5536 ac_clean_files=$ac_clean_files_save
5537
5538
5539 # configure is writing to config.log, and then calls config.status.
5540 # config.status does its own redirection, appending to config.log.
5541 # Unfortunately, on DOS this fails, as config.log is still kept open
5542 # by configure, so config.status won't be able to write to it; its
5543 # output is simply discarded. So we exec the FD to /dev/null,
5544 # effectively closing config.log, so it can be properly (re)opened and
5545 # appended to by config.status. When coming back to configure, we
5546 # need to make the FD available again.
5547 if test "$no_create" != yes; then
5548 ac_cs_success=:
5549 ac_config_status_args=
5550 test "$silent" = yes &&
5551 ac_config_status_args="$ac_config_status_args --quiet"
5552 exec 5>/dev/null
5553 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5554 exec 5>>config.log
5555 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5556 # would make configure fail if this is the last instruction.
5557 $ac_cs_success || { (exit 1); exit 1; }
5558 fi
5559
This page took 0.190296 seconds and 4 git commands to generate.