2005-09-27 Bob Rossi <bob@brasko.net>
[deliverable/binutils-gdb.git] / gdb / rdi-share / configure
CommitLineData
c906108c 1#! /bin/sh
c906108c 2# Guess values for system-dependent variables and create Makefiles.
1c44323f 3# Generated by GNU Autoconf 2.59.
c906108c 4#
1c44323f 5# Copyright (C) 2003 Free Software Foundation, Inc.
c906108c
SS
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
1c44323f
JB
8## --------------------- ##
9## M4sh Initialization. ##
10## --------------------- ##
11
12# Be Bourne compatible
13if 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+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for 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
43do
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
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo 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.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if 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
97fi
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
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
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
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
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
152done
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
187case `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= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if 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
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_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.
231as_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.
236as_nl='
237'
238IFS=" $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
c906108c 242
1c44323f
JB
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.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
c906108c 254ac_default_prefix=/usr/local
1c44323f
JB
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${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.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274ac_unique_file="adp.h"
275# Factoring default headers for most tests.
276ac_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
312ac_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'
313ac_subst_files=''
c906108c
SS
314
315# Initialize some variables set by options.
1c44323f
JB
316ac_init_help=
317ac_init_version=false
c906108c
SS
318# The variables have the same names as the options, with
319# dashes changed to underlines.
1c44323f 320cache_file=/dev/null
c906108c 321exec_prefix=NONE
c906108c 322no_create=
c906108c
SS
323no_recursion=
324prefix=NONE
325program_prefix=NONE
326program_suffix=NONE
327program_transform_name=s,x,x,
328silent=
329site=
330srcdir=
c906108c
SS
331verbose=
332x_includes=NONE
333x_libraries=NONE
1c44323f
JB
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.
c906108c
SS
340bindir='${exec_prefix}/bin'
341sbindir='${exec_prefix}/sbin'
342libexecdir='${exec_prefix}/libexec'
343datadir='${prefix}/share'
344sysconfdir='${prefix}/etc'
345sharedstatedir='${prefix}/com'
346localstatedir='${prefix}/var'
347libdir='${exec_prefix}/lib'
348includedir='${prefix}/include'
349oldincludedir='/usr/include'
350infodir='${prefix}/info'
351mandir='${prefix}/man'
352
c906108c
SS
353ac_prev=
354for ac_option
355do
c906108c
SS
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
1c44323f 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
c906108c
SS
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
1c44323f 367 case $ac_option in
c906108c
SS
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1c44323f 372 bindir=$ac_optarg ;;
c906108c
SS
373
374 -build | --build | --buil | --bui | --bu)
1c44323f 375 ac_prev=build_alias ;;
c906108c 376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1c44323f 377 build_alias=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f
JB
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
c906108c
SS
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
1c44323f 393 datadir=$ac_optarg ;;
c906108c
SS
394
395 -disable-* | --disable-*)
1c44323f 396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
c906108c 397 # Reject names that are not valid shell variable names.
1c44323f
JB
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" ;;
c906108c
SS
403
404 -enable-* | --enable-*)
1c44323f 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
c906108c 406 # Reject names that are not valid shell variable names.
1c44323f
JB
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"`;;
c906108c
SS
413 *) ac_optarg=yes ;;
414 esac
1c44323f 415 eval "enable_$ac_feature='$ac_optarg'" ;;
c906108c
SS
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=*)
1c44323f 424 exec_prefix=$ac_optarg ;;
c906108c
SS
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
1c44323f
JB
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 ;;
c906108c
SS
436
437 -host | --host | --hos | --ho)
1c44323f 438 ac_prev=host_alias ;;
c906108c 439 -host=* | --host=* | --hos=* | --ho=*)
1c44323f 440 host_alias=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 447 includedir=$ac_optarg ;;
c906108c
SS
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1c44323f 452 infodir=$ac_optarg ;;
c906108c
SS
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1c44323f 457 libdir=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 464 libexecdir=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 473 localstatedir=$ac_optarg ;;
c906108c
SS
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1c44323f 478 mandir=$ac_optarg ;;
c906108c
SS
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 \
1c44323f 485 | --no-cr | --no-c | -n)
c906108c
SS
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=*)
1c44323f 499 oldincludedir=$ac_optarg ;;
c906108c
SS
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1c44323f 504 prefix=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 511 program_prefix=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 518 program_suffix=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 535 program_transform_name=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 545 sbindir=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 556 sharedstatedir=$ac_optarg ;;
c906108c
SS
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
1c44323f 561 site=$ac_optarg ;;
c906108c
SS
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1c44323f 566 srcdir=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 573 sysconfdir=$ac_optarg ;;
c906108c
SS
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
1c44323f 576 ac_prev=target_alias ;;
c906108c 577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1c44323f 578 target_alias=$ac_optarg ;;
c906108c
SS
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
1c44323f
JB
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
c906108c
SS
585
586 -with-* | --with-*)
1c44323f 587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
c906108c 588 # Reject names that are not valid shell variable names.
1c44323f
JB
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; }; }
c906108c 592 ac_package=`echo $ac_package| sed 's/-/_/g'`
1c44323f
JB
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
c906108c
SS
595 *) ac_optarg=yes ;;
596 esac
1c44323f 597 eval "with_$ac_package='$ac_optarg'" ;;
c906108c
SS
598
599 -without-* | --without-*)
1c44323f 600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
c906108c 601 # Reject names that are not valid shell variable names.
1c44323f
JB
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" ;;
c906108c
SS
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=*)
1c44323f 617 x_includes=$ac_optarg ;;
c906108c
SS
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=*)
1c44323f 624 x_libraries=$ac_optarg ;;
c906108c 625
1c44323f
JB
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
c906108c
SS
629 ;;
630
1c44323f
JB
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
c906108c 641 *)
1c44323f
JB
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}
c906108c
SS
647 ;;
648
649 esac
650done
651
652if test -n "$ac_prev"; then
1c44323f
JB
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; }; }
c906108c 656fi
c906108c 657
1c44323f
JB
658# Be sure to have absolute paths.
659for ac_var in exec_prefix prefix
660do
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
667done
c906108c 668
1c44323f
JB
669# Be sure to have absolute paths.
670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
c906108c 672do
1c44323f
JB
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; }; };;
c906108c
SS
678 esac
679done
680
1c44323f
JB
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.
684build=$build_alias
685host=$host_alias
686target=$target_alias
687
688# FIXME: To remove some day.
689if 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
697fi
c906108c 698
1c44323f
JB
699ac_tool_prefix=
700test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702test "$silent" = yes && exec 6>/dev/null
c906108c 703
c906108c
SS
704
705# Find the source files, if location was not specified.
706if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
1c44323f
JB
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 ||
715echo 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'`
c906108c
SS
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725else
726 ac_srcdir_defaulted=no
727fi
728if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
1c44323f
JB
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
c906108c 732 else
1c44323f
JB
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
c906108c
SS
735 fi
736fi
1c44323f
JB
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; }; }
740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741ac_env_build_alias_set=${build_alias+set}
742ac_env_build_alias_value=$build_alias
743ac_cv_env_build_alias_set=${build_alias+set}
744ac_cv_env_build_alias_value=$build_alias
745ac_env_host_alias_set=${host_alias+set}
746ac_env_host_alias_value=$host_alias
747ac_cv_env_host_alias_set=${host_alias+set}
748ac_cv_env_host_alias_value=$host_alias
749ac_env_target_alias_set=${target_alias+set}
750ac_env_target_alias_value=$target_alias
751ac_cv_env_target_alias_set=${target_alias+set}
752ac_cv_env_target_alias_value=$target_alias
753ac_env_CC_set=${CC+set}
754ac_env_CC_value=$CC
755ac_cv_env_CC_set=${CC+set}
756ac_cv_env_CC_value=$CC
757ac_env_CFLAGS_set=${CFLAGS+set}
758ac_env_CFLAGS_value=$CFLAGS
759ac_cv_env_CFLAGS_set=${CFLAGS+set}
760ac_cv_env_CFLAGS_value=$CFLAGS
761ac_env_LDFLAGS_set=${LDFLAGS+set}
762ac_env_LDFLAGS_value=$LDFLAGS
763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764ac_cv_env_LDFLAGS_value=$LDFLAGS
765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766ac_env_CPPFLAGS_value=$CPPFLAGS
767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769ac_env_CPP_set=${CPP+set}
770ac_env_CPP_value=$CPP
771ac_cv_env_CPP_set=${CPP+set}
772ac_cv_env_CPP_value=$CPP
773
774#
775# Report the --help message.
776#
777if 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
783Usage: $0 [OPTION]... [VAR=VALUE]...
784
785To assign environment variables (e.g., CC, CFLAGS...), specify them as
786VAR=VALUE. See below for descriptions of some of the useful variables.
787
788Defaults for the options are specified in brackets.
789
790Configuration:
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
804Installation 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
810By default, \`make install' will install all the files in
811\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813for instance \`--prefix=\$HOME'.
814
815For better control, use the options below.
816
817Fine 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
834Program 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
839fi
840
841if test -n "$ac_init_help"; then
842
843 cat <<\_ACEOF
844
845Optional 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
853Some 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
862Use these variables to override the choices made by `configure' or to help
863it to find libraries and programs with nonstandard names/locations.
864
865_ACEOF
866fi
867
868if 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
875if 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'`
879else
880 ac_dir_suffix= ac_top_builddir=
881fi
882
883case $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 ;;
897esac
898
899# Do not use `cd foo && pwd` to compute absolute paths, because
900# the directories may not exist.
901case `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;;
909esac
910case $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;;
918esac
919case $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;;
927esac
928case $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;;
936esac
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
955fi
956
957test -n "$ac_init_help" && exit 0
958if $ac_init_version; then
959 cat <<\_ACEOF
960
961Copyright (C) 2003 Free Software Foundation, Inc.
962This configure script is free software; the Free Software Foundation
963gives unlimited permission to copy, distribute and modify it.
964_ACEOF
965 exit 0
966fi
967exec 5>config.log
968cat >&5 <<_ACEOF
969This file contains any messages produced by compilers while
970running configure, to aid debugging if configure makes a mistake.
971
972It was created by $as_me, which was
973generated by GNU Autoconf 2.59. Invocation command line was
974
975 $ $0 $@
976
977_ACEOF
978{
979cat <<_ASUNAME
980## --------- ##
981## Platform. ##
982## --------- ##
983
984hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
985uname -m = `(uname -m) 2>/dev/null || echo unknown`
986uname -r = `(uname -r) 2>/dev/null || echo unknown`
987uname -s = `(uname -s) 2>/dev/null || echo unknown`
988uname -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`
996hostinfo = `(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
1003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1004for as_dir in $PATH
1005do
1006 IFS=$as_save_IFS
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1009done
1010
1011} >&5
1012
1013cat >&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.
1028ac_configure_args=
1029ac_configure_args0=
1030ac_configure_args1=
1031ac_sep=
1032ac_must_keep_next=false
1033for ac_pass in 1 2
1034do
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
1070done
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.
1079trap '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
1153for ac_signal in 1 2 13 15; do
1154 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1155done
1156ac_signal=0
1157
1158# confdefs.h avoids OS command line length limits that DEFS can exceed.
1159rm -rf conftest* confdefs.h
1160# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1161echo >confdefs.h
1162
1163# Predefined preprocessor variables.
1164
1165cat >>confdefs.h <<_ACEOF
1166#define PACKAGE_NAME "$PACKAGE_NAME"
1167_ACEOF
1168
c906108c 1169
1c44323f
JB
1170cat >>confdefs.h <<_ACEOF
1171#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1172_ACEOF
1173
1174
1175cat >>confdefs.h <<_ACEOF
1176#define PACKAGE_VERSION "$PACKAGE_VERSION"
1177_ACEOF
1178
1179
1180cat >>confdefs.h <<_ACEOF
1181#define PACKAGE_STRING "$PACKAGE_STRING"
1182_ACEOF
1183
1184
1185cat >>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.
c906108c
SS
1191# Prefer explicitly selected file to automatically selected ones.
1192if 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
1198fi
1199for ac_site_file in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1c44323f
JB
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's/^/| /' "$ac_site_file" >&5
c906108c
SS
1204 . "$ac_site_file"
1205 fi
1206done
1207
1208if test -r "$cache_file"; then
1c44323f
JB
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
1213echo "$as_me: loading cache $cache_file" >&6;}
1214 case $cache_file in
1215 [\\/]* | ?:[\\/]* ) . $cache_file;;
1216 *) . ./$cache_file;;
1217 esac
1218 fi
c906108c 1219else
1c44323f
JB
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221echo "$as_me: creating cache $cache_file" >&6;}
1222 >$cache_file
c906108c
SS
1223fi
1224
1c44323f
JB
1225# Check that the precious variables saved in the cache have kept the same
1226# value.
1227ac_cache_corrupted=false
1228for 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
1237echo "$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
1241echo "$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
1247echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251echo "$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
c906108c 1266 fi
1c44323f
JB
1267done
1268if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270echo "$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
1272echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
c906108c
SS
1274fi
1275
1c44323f
JB
1276ac_ext=c
1277ac_cpp='$CPP $CPPFLAGS'
1278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1280ac_compiler_gnu=$ac_cv_c_compiler_gnu
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
c906108c
SS
1292
1293
1c44323f
JB
1294
1295
1296
1297
1298
1299
1300
1301am__api_version="1.9"
c906108c
SS
1302ac_aux_dir=
1303for 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
1c44323f
JB
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
c906108c
SS
1316 fi
1317done
1318if test -z "$ac_aux_dir"; then
1c44323f
JB
1319 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1320echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1321 { (exit 1); exit 1; }; }
c906108c 1322fi
1c44323f
JB
1323ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1324ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1325ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
c906108c
SS
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
1c44323f 1334# AmigaOS /C/install, which installs bootblocks on floppy discs
c906108c
SS
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"
1c44323f 1338# OS/2's system install, which has a completely different semantic
c906108c 1339# ./install, which can be erroneously created by make from ./install.sh.
1c44323f
JB
1340echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1341echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
c906108c 1342if test -z "$INSTALL"; then
1c44323f
JB
1343if test "${ac_cv_path_install+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1345else
1346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1347for as_dir in $PATH
1348do
1349 IFS=$as_save_IFS
1350 test -z "$as_dir" && as_dir=.
1351 # Account for people who put trailing slashes in PATH elements.
1352case $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
c906108c 1364 if test $ac_prog = install &&
1c44323f 1365 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
c906108c
SS
1366 # AIX install. It has an incompatible calling convention.
1367 :
1c44323f
JB
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 :
c906108c 1372 else
1c44323f
JB
1373 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1374 break 3
c906108c
SS
1375 fi
1376 fi
1377 done
1c44323f
JB
1378 done
1379 ;;
1380esac
1381done
1382
c906108c
SS
1383
1384fi
1385 if test "${ac_cv_path_install+set}" = set; then
1c44323f 1386 INSTALL=$ac_cv_path_install
c906108c
SS
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.
1c44323f 1392 INSTALL=$ac_install_sh
c906108c
SS
1393 fi
1394fi
1c44323f
JB
1395echo "$as_me:$LINENO: result: $INSTALL" >&5
1396echo "${ECHO_T}$INSTALL" >&6
c906108c
SS
1397
1398# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1399# It thinks the first close brace ends the variable substitution.
1400test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1401
1c44323f 1402test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
c906108c 1403
1c44323f 1404test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
c906108c 1405
1c44323f
JB
1406echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1407echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
c906108c
SS
1408# Just in case
1409sleep 1
1c44323f 1410echo timestamp > conftest.file
c906108c
SS
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).
1416if (
1c44323f 1417 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
c906108c
SS
1418 if test "$*" = "X"; then
1419 # -L didn't work.
1c44323f 1420 set X `ls -t $srcdir/configure conftest.file`
c906108c 1421 fi
1c44323f
JB
1422 rm -f conftest.file
1423 if test "$*" != "X $srcdir/configure conftest.file" \
1424 && test "$*" != "X conftest.file $srcdir/configure"; then
c906108c
SS
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".
1c44323f
JB
1430 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1431alias in your environment" >&5
1432echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1433alias in your environment" >&2;}
1434 { (exit 1); exit 1; }; }
c906108c
SS
1435 fi
1436
1c44323f 1437 test "$2" = conftest.file
c906108c
SS
1438 )
1439then
1440 # Ok.
1441 :
1442else
1c44323f
JB
1443 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1444Check your system clock" >&5
1445echo "$as_me: error: newly created file is older than distributed files!
1446Check your system clock" >&2;}
1447 { (exit 1); exit 1; }; }
c906108c 1448fi
1c44323f
JB
1449echo "$as_me:$LINENO: result: yes" >&5
1450echo "${ECHO_T}yes" >&6
c906108c 1451test "$program_prefix" != NONE &&
1c44323f 1452 program_transform_name="s,^,$program_prefix,;$program_transform_name"
c906108c
SS
1453# Use a double $ so make ignores it.
1454test "$program_suffix" != NONE &&
1c44323f
JB
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.
1458cat <<\_ACEOF >conftest.sed
1459s/[\\$]/&&/g;s/;s,x,x,$//
1460_ACEOF
1461program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1462rm conftest.sed
1463
1464# expand $ac_aux_dir to an absolute path
1465am_aux_dir=`cd $ac_aux_dir && pwd`
1466
1467test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1468# Use eval to expand $SHELL
1469if eval "$MISSING --run true"; then
1470 am_missing_run="$MISSING --run "
1471else
1472 am_missing_run=
1473 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1474echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1475fi
c906108c 1476
1c44323f
JB
1477if 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 --'
c906108c 1493else
1c44323f
JB
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
1508fi
1509
1510for ac_prog in gawk mawk nawk awk
1511do
1512 # Extract the first word of "$ac_prog", so it can be a program name with args.
1513set dummy $ac_prog; ac_word=$2
1514echo "$as_me:$LINENO: checking for $ac_word" >&5
1515echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1516if test "${ac_cv_prog_AWK+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1518else
1519 if test -n "$AWK"; then
1520 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1521else
1522as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523for as_dir in $PATH
1524do
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
1533done
1534done
1535
1536fi
1537fi
1538AWK=$ac_cv_prog_AWK
1539if test -n "$AWK"; then
1540 echo "$as_me:$LINENO: result: $AWK" >&5
1541echo "${ECHO_T}$AWK" >&6
1542else
1543 echo "$as_me:$LINENO: result: no" >&5
1544echo "${ECHO_T}no" >&6
1545fi
1546
1547 test -n "$AWK" && break
1548done
1549
1550echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1551echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1552set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1553if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555else
1556 cat >conftest.make <<\_ACEOF
1557all:
1558 @echo 'ac_maketemp="$(MAKE)"'
1559_ACEOF
1560# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1561eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1562if test -n "$ac_maketemp"; then
c906108c
SS
1563 eval ac_cv_prog_make_${ac_make}_set=yes
1564else
1565 eval ac_cv_prog_make_${ac_make}_set=no
1566fi
1c44323f 1567rm -f conftest.make
c906108c
SS
1568fi
1569if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1c44323f
JB
1570 echo "$as_me:$LINENO: result: yes" >&5
1571echo "${ECHO_T}yes" >&6
c906108c
SS
1572 SET_MAKE=
1573else
1c44323f
JB
1574 echo "$as_me:$LINENO: result: no" >&5
1575echo "${ECHO_T}no" >&6
c906108c
SS
1576 SET_MAKE="MAKE=${MAKE-make}"
1577fi
1578
1c44323f
JB
1579rm -rf .tst 2>/dev/null
1580mkdir .tst 2>/dev/null
1581if test -d .tst; then
1582 am__leading_dot=.
1583else
1584 am__leading_dot=_
1585fi
1586rmdir .tst 2>/dev/null
1587
1588# test to see if srcdir already configured
1589if 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
1592echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1593 { (exit 1); exit 1; }; }
1594fi
c906108c 1595
1c44323f
JB
1596# test whether we have cygpath
1597if 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
1603fi
c906108c 1604
c906108c 1605
1c44323f
JB
1606# Define the identity of the package.
1607 PACKAGE=rdi-share
1608 VERSION=1.0
1609
1610
1611cat >>confdefs.h <<_ACEOF
c906108c 1612#define PACKAGE "$PACKAGE"
1c44323f
JB
1613_ACEOF
1614
c906108c 1615
1c44323f 1616cat >>confdefs.h <<_ACEOF
c906108c 1617#define VERSION "$VERSION"
1c44323f
JB
1618_ACEOF
1619
1620# Some tools Automake needs.
1621
1622ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1623
1624
1625AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1626
1627
1628AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1629
1630
1631AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1632
c906108c 1633
1c44323f 1634MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
c906108c 1635
1c44323f 1636install_sh=${install_sh-"$am_aux_dir/install-sh"}
c906108c 1637
1c44323f
JB
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.
1642if 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.
1645set dummy ${ac_tool_prefix}strip; ac_word=$2
1646echo "$as_me:$LINENO: checking for $ac_word" >&5
1647echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648if test "${ac_cv_prog_STRIP+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 1650else
1c44323f
JB
1651 if test -n "$STRIP"; then
1652 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1653else
1654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655for as_dir in $PATH
1656do
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
1665done
1666done
c906108c 1667
1c44323f
JB
1668fi
1669fi
1670STRIP=$ac_cv_prog_STRIP
1671if test -n "$STRIP"; then
1672 echo "$as_me:$LINENO: result: $STRIP" >&5
1673echo "${ECHO_T}$STRIP" >&6
c906108c 1674else
1c44323f
JB
1675 echo "$as_me:$LINENO: result: no" >&5
1676echo "${ECHO_T}no" >&6
c906108c
SS
1677fi
1678
c906108c 1679fi
1c44323f
JB
1680if 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.
1683set dummy strip; ac_word=$2
1684echo "$as_me:$LINENO: checking for $ac_word" >&5
1685echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1688else
1689 if test -n "$ac_ct_STRIP"; then
1690 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1691else
1692as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693for as_dir in $PATH
1694do
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
1703done
1704done
c906108c 1705
1c44323f
JB
1706 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1707fi
1708fi
1709ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1710if test -n "$ac_ct_STRIP"; then
1711 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1712echo "${ECHO_T}$ac_ct_STRIP" >&6
c906108c 1713else
1c44323f
JB
1714 echo "$as_me:$LINENO: result: no" >&5
1715echo "${ECHO_T}no" >&6
c906108c
SS
1716fi
1717
1c44323f 1718 STRIP=$ac_ct_STRIP
c906108c 1719else
1c44323f
JB
1720 STRIP="$ac_cv_prog_STRIP"
1721fi
1722
c906108c 1723fi
1c44323f
JB
1724INSTALL_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
1730AMTAR=${AMTAR-"${am_missing_run}tar"}
1731
1732am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1733
1734
1735
c906108c
SS
1736
1737
1738
1739PACKAGE=rdi-share
1740VERSION=1.0
1741
1c44323f
JB
1742ac_ext=c
1743ac_cpp='$CPP $CPPFLAGS'
1744ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1745ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1746ac_compiler_gnu=$ac_cv_c_compiler_gnu
1747if 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.
1749set dummy ${ac_tool_prefix}gcc; ac_word=$2
1750echo "$as_me:$LINENO: checking for $ac_word" >&5
1751echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752if test "${ac_cv_prog_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754else
1755 if test -n "$CC"; then
1756 ac_cv_prog_CC="$CC" # Let the user override the test.
1757else
1758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759for as_dir in $PATH
1760do
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
1769done
1770done
1771
1772fi
1773fi
1774CC=$ac_cv_prog_CC
1775if test -n "$CC"; then
1776 echo "$as_me:$LINENO: result: $CC" >&5
1777echo "${ECHO_T}$CC" >&6
1778else
1779 echo "$as_me:$LINENO: result: no" >&5
1780echo "${ECHO_T}no" >&6
1781fi
1782
1783fi
1784if 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.
c906108c 1787set dummy gcc; ac_word=$2
1c44323f
JB
1788echo "$as_me:$LINENO: checking for $ac_word" >&5
1789echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1792else
1793 if test -n "$ac_ct_CC"; then
1794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1795else
1796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797for as_dir in $PATH
1798do
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
1807done
1808done
1809
1810fi
1811fi
1812ac_ct_CC=$ac_cv_prog_ac_ct_CC
1813if test -n "$ac_ct_CC"; then
1814 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1815echo "${ECHO_T}$ac_ct_CC" >&6
1816else
1817 echo "$as_me:$LINENO: result: no" >&5
1818echo "${ECHO_T}no" >&6
1819fi
1820
1821 CC=$ac_ct_CC
1822else
1823 CC="$ac_cv_prog_CC"
1824fi
1825
1826if 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.
1829set dummy ${ac_tool_prefix}cc; ac_word=$2
1830echo "$as_me:$LINENO: checking for $ac_word" >&5
1831echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832if test "${ac_cv_prog_CC+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c
SS
1834else
1835 if test -n "$CC"; then
1836 ac_cv_prog_CC="$CC" # Let the user override the test.
1837else
1c44323f
JB
1838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839for as_dir in $PATH
1840do
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
1849done
1850done
1851
c906108c
SS
1852fi
1853fi
1c44323f 1854CC=$ac_cv_prog_CC
c906108c 1855if test -n "$CC"; then
1c44323f
JB
1856 echo "$as_me:$LINENO: result: $CC" >&5
1857echo "${ECHO_T}$CC" >&6
c906108c 1858else
1c44323f
JB
1859 echo "$as_me:$LINENO: result: no" >&5
1860echo "${ECHO_T}no" >&6
c906108c
SS
1861fi
1862
1c44323f
JB
1863fi
1864if 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.
1867set dummy cc; ac_word=$2
1868echo "$as_me:$LINENO: checking for $ac_word" >&5
1869echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1870if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1872else
1873 if test -n "$ac_ct_CC"; then
1874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1875else
1876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877for as_dir in $PATH
1878do
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
1887done
1888done
1889
1890fi
1891fi
1892ac_ct_CC=$ac_cv_prog_ac_ct_CC
1893if test -n "$ac_ct_CC"; then
1894 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1895echo "${ECHO_T}$ac_ct_CC" >&6
1896else
1897 echo "$as_me:$LINENO: result: no" >&5
1898echo "${ECHO_T}no" >&6
1899fi
1900
1901 CC=$ac_ct_CC
1902else
1903 CC="$ac_cv_prog_CC"
1904fi
1905
1906fi
c906108c
SS
1907if test -z "$CC"; then
1908 # Extract the first word of "cc", so it can be a program name with args.
1909set dummy cc; ac_word=$2
1c44323f
JB
1910echo "$as_me:$LINENO: checking for $ac_word" >&5
1911echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912if test "${ac_cv_prog_CC+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c
SS
1914else
1915 if test -n "$CC"; then
1916 ac_cv_prog_CC="$CC" # Let the user override the test.
1917else
c906108c 1918 ac_prog_rejected=no
1c44323f
JB
1919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920for as_dir in $PATH
1921do
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
1934done
1935done
1936
c906108c
SS
1937if 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
1c44323f 1941 if test $# != 0; then
c906108c
SS
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
1c44323f 1946 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
c906108c
SS
1947 fi
1948fi
1949fi
1950fi
1c44323f 1951CC=$ac_cv_prog_CC
c906108c 1952if test -n "$CC"; then
1c44323f
JB
1953 echo "$as_me:$LINENO: result: $CC" >&5
1954echo "${ECHO_T}$CC" >&6
c906108c 1955else
1c44323f
JB
1956 echo "$as_me:$LINENO: result: no" >&5
1957echo "${ECHO_T}no" >&6
c906108c
SS
1958fi
1959
1c44323f
JB
1960fi
1961if 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.
1966set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1967echo "$as_me:$LINENO: checking for $ac_word" >&5
1968echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969if test "${ac_cv_prog_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c
SS
1971else
1972 if test -n "$CC"; then
1973 ac_cv_prog_CC="$CC" # Let the user override the test.
1974else
1c44323f
JB
1975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976for as_dir in $PATH
1977do
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
1986done
1987done
1988
c906108c
SS
1989fi
1990fi
1c44323f 1991CC=$ac_cv_prog_CC
c906108c 1992if test -n "$CC"; then
1c44323f
JB
1993 echo "$as_me:$LINENO: result: $CC" >&5
1994echo "${ECHO_T}$CC" >&6
c906108c 1995else
1c44323f
JB
1996 echo "$as_me:$LINENO: result: no" >&5
1997echo "${ECHO_T}no" >&6
c906108c 1998fi
1c44323f
JB
1999
2000 test -n "$CC" && break
2001 done
2002fi
2003if test -z "$CC"; then
2004 ac_ct_CC=$CC
2005 for ac_prog in cl
2006do
2007 # Extract the first word of "$ac_prog", so it can be a program name with args.
2008set dummy $ac_prog; ac_word=$2
2009echo "$as_me:$LINENO: checking for $ac_word" >&5
2010echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013else
2014 if test -n "$ac_ct_CC"; then
2015 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2016else
2017as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018for as_dir in $PATH
2019do
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
c906108c 2027 fi
1c44323f
JB
2028done
2029done
2030
2031fi
2032fi
2033ac_ct_CC=$ac_cv_prog_ac_ct_CC
2034if test -n "$ac_ct_CC"; then
2035 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2036echo "${ECHO_T}$ac_ct_CC" >&6
2037else
2038 echo "$as_me:$LINENO: result: no" >&5
2039echo "${ECHO_T}no" >&6
c906108c
SS
2040fi
2041
1c44323f
JB
2042 test -n "$ac_ct_CC" && break
2043done
c906108c 2044
1c44323f 2045 CC=$ac_ct_CC
c906108c 2046fi
c906108c 2047
c906108c 2048fi
c906108c 2049
1c44323f
JB
2050
2051test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2052See \`config.log' for more details." >&5
2053echo "$as_me: error: no acceptable C compiler found in \$PATH
2054See \`config.log' for more details." >&2;}
2055 { (exit 1); exit 1; }; }
2056
2057# Provide some information about the compiler.
2058echo "$as_me:$LINENO:" \
2059 "checking for C compiler version" >&5
2060ac_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
2077cat >conftest.$ac_ext <<_ACEOF
2078/* confdefs.h. */
2079_ACEOF
2080cat confdefs.h >>conftest.$ac_ext
2081cat >>conftest.$ac_ext <<_ACEOF
2082/* end confdefs.h. */
2083
2084int
2085main ()
2086{
2087
2088 ;
2089 return 0;
2090}
2091_ACEOF
2092ac_clean_files_save=$ac_clean_files
2093ac_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.
2097echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2098echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2099ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2100if { (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.
2111ac_cv_exeext=
2112# b.out is created by i960 compilers.
2113for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2114do
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
2136done
c906108c 2137else
1c44323f
JB
2138 echo "$as_me: failed program was:" >&5
2139sed 's/^/| /' conftest.$ac_ext >&5
2140
2141{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2142See \`config.log' for more details." >&5
2143echo "$as_me: error: C compiler cannot create executables
2144See \`config.log' for more details." >&2;}
2145 { (exit 77); exit 77; }; }
2146fi
2147
2148ac_exeext=$ac_cv_exeext
2149echo "$as_me:$LINENO: result: $ac_file" >&5
2150echo "${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.
2154echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2155echo $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.
2158if 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.
2171If you meant to cross compile, use \`--host'.
2172See \`config.log' for more details." >&5
2173echo "$as_me: error: cannot run C compiled programs.
2174If you meant to cross compile, use \`--host'.
2175See \`config.log' for more details." >&2;}
2176 { (exit 1); exit 1; }; }
2177 fi
2178 fi
2179fi
2180echo "$as_me:$LINENO: result: yes" >&5
2181echo "${ECHO_T}yes" >&6
2182
2183rm -f a.out a.exe conftest$ac_cv_exeext b.out
2184ac_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.
2187echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2188echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2189echo "$as_me:$LINENO: result: $cross_compiling" >&5
2190echo "${ECHO_T}$cross_compiling" >&6
2191
2192echo "$as_me:$LINENO: checking for suffix of executables" >&5
2193echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2194if { (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'.
2203for 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
2212done
c906108c 2213else
1c44323f
JB
2214 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2215See \`config.log' for more details." >&5
2216echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2217See \`config.log' for more details." >&2;}
2218 { (exit 1); exit 1; }; }
c906108c 2219fi
1c44323f
JB
2220
2221rm -f conftest$ac_cv_exeext
2222echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2223echo "${ECHO_T}$ac_cv_exeext" >&6
2224
2225rm -f conftest.$ac_ext
2226EXEEXT=$ac_cv_exeext
2227ac_exeext=$EXEEXT
2228echo "$as_me:$LINENO: checking for suffix of object files" >&5
2229echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2230if test "${ac_cv_objext+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2232else
2233 cat >conftest.$ac_ext <<_ACEOF
2234/* confdefs.h. */
2235_ACEOF
2236cat confdefs.h >>conftest.$ac_ext
2237cat >>conftest.$ac_ext <<_ACEOF
2238/* end confdefs.h. */
2239
2240int
2241main ()
2242{
2243
2244 ;
2245 return 0;
2246}
2247_ACEOF
2248rm -f conftest.o conftest.obj
2249if { (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
2260done
2261else
2262 echo "$as_me: failed program was:" >&5
2263sed 's/^/| /' conftest.$ac_ext >&5
2264
2265{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2266See \`config.log' for more details." >&5
2267echo "$as_me: error: cannot compute suffix of object files: cannot compile
2268See \`config.log' for more details." >&2;}
2269 { (exit 1); exit 1; }; }
c906108c
SS
2270fi
2271
1c44323f
JB
2272rm -f conftest.$ac_cv_objext conftest.$ac_ext
2273fi
2274echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2275echo "${ECHO_T}$ac_cv_objext" >&6
2276OBJEXT=$ac_cv_objext
2277ac_objext=$OBJEXT
2278echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2279echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2280if test "${ac_cv_c_compiler_gnu+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2282else
2283 cat >conftest.$ac_ext <<_ACEOF
2284/* confdefs.h. */
2285_ACEOF
2286cat confdefs.h >>conftest.$ac_ext
2287cat >>conftest.$ac_ext <<_ACEOF
2288/* end confdefs.h. */
2289
2290int
2291main ()
2292{
2293#ifndef __GNUC__
2294 choke me
2295#endif
c906108c 2296
1c44323f
JB
2297 ;
2298 return 0;
2299}
2300_ACEOF
2301rm -f conftest.$ac_objext
2302if { (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
c906108c 2324else
1c44323f
JB
2325 echo "$as_me: failed program was:" >&5
2326sed 's/^/| /' conftest.$ac_ext >&5
2327
2328ac_compiler_gnu=no
c906108c 2329fi
1c44323f
JB
2330rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2331ac_cv_c_compiler_gnu=$ac_compiler_gnu
c906108c 2332
1c44323f
JB
2333fi
2334echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2335echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2336GCC=`test $ac_compiler_gnu = yes && echo yes`
2337ac_test_CFLAGS=${CFLAGS+set}
2338ac_save_CFLAGS=$CFLAGS
2339CFLAGS="-g"
2340echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2341echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2342if test "${ac_cv_prog_cc_g+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 2344else
1c44323f
JB
2345 cat >conftest.$ac_ext <<_ACEOF
2346/* confdefs.h. */
2347_ACEOF
2348cat confdefs.h >>conftest.$ac_ext
2349cat >>conftest.$ac_ext <<_ACEOF
2350/* end confdefs.h. */
2351
2352int
2353main ()
2354{
2355
2356 ;
2357 return 0;
2358}
2359_ACEOF
2360rm -f conftest.$ac_objext
2361if { (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
c906108c
SS
2382 ac_cv_prog_cc_g=yes
2383else
1c44323f
JB
2384 echo "$as_me: failed program was:" >&5
2385sed 's/^/| /' conftest.$ac_ext >&5
c906108c 2386
1c44323f 2387ac_cv_prog_cc_g=no
c906108c 2388fi
1c44323f
JB
2389rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2390fi
2391echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2392echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
c906108c 2393if test "$ac_test_CFLAGS" = set; then
1c44323f 2394 CFLAGS=$ac_save_CFLAGS
c906108c
SS
2395elif 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
2401else
2402 if test "$GCC" = yes; then
2403 CFLAGS="-O2"
2404 else
2405 CFLAGS=
2406 fi
2407fi
1c44323f
JB
2408echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2409echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2410if test "${ac_cv_prog_cc_stdc+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2412else
2413 ac_cv_prog_cc_stdc=no
2414ac_save_CC=$CC
2415cat >conftest.$ac_ext <<_ACEOF
2416/* confdefs.h. */
2417_ACEOF
2418cat confdefs.h >>conftest.$ac_ext
2419cat >>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. */
2426struct buf { int x; };
2427FILE * (*rcsopen) (struct buf *, struct stat *, int);
2428static char *e (p, i)
2429 char **p;
2430 int i;
2431{
2432 return p[i];
2433}
2434static 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. */
2451int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2452
2453int test (int i, double x);
2454struct s1 {int (*f) (int a);};
2455struct s2 {int (*f) (double a);};
2456int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2457int argc;
2458char **argv;
2459int
2460main ()
2461{
2462return 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__
2474for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2475do
2476 CC="$ac_save_CC $ac_arg"
2477 rm -f conftest.$ac_objext
2478if { (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
2500break
2501else
2502 echo "$as_me: failed program was:" >&5
2503sed 's/^/| /' conftest.$ac_ext >&5
2504
2505fi
2506rm -f conftest.err conftest.$ac_objext
2507done
2508rm -f conftest.$ac_ext conftest.$ac_objext
2509CC=$ac_save_CC
2510
2511fi
2512
2513case "x$ac_cv_prog_cc_stdc" in
2514 x|xno)
2515 echo "$as_me:$LINENO: result: none needed" >&5
2516echo "${ECHO_T}none needed" >&6 ;;
2517 *)
2518 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2519echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2520 CC="$CC $ac_cv_prog_cc_stdc" ;;
2521esac
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.
2527cat >conftest.$ac_ext <<_ACEOF
2528#ifndef __cplusplus
2529 choke me
2530#endif
2531_ACEOF
2532rm -f conftest.$ac_objext
2533if { (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);'
2561do
2562 cat >conftest.$ac_ext <<_ACEOF
2563/* confdefs.h. */
2564_ACEOF
2565cat confdefs.h >>conftest.$ac_ext
2566cat >>conftest.$ac_ext <<_ACEOF
2567/* end confdefs.h. */
2568$ac_declaration
2569#include <stdlib.h>
2570int
2571main ()
2572{
2573exit (42);
2574 ;
2575 return 0;
2576}
2577_ACEOF
2578rm -f conftest.$ac_objext
2579if { (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 :
2601else
2602 echo "$as_me: failed program was:" >&5
2603sed 's/^/| /' conftest.$ac_ext >&5
2604
2605continue
2606fi
2607rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2608 cat >conftest.$ac_ext <<_ACEOF
2609/* confdefs.h. */
2610_ACEOF
2611cat confdefs.h >>conftest.$ac_ext
2612cat >>conftest.$ac_ext <<_ACEOF
2613/* end confdefs.h. */
2614$ac_declaration
2615int
2616main ()
2617{
2618exit (42);
2619 ;
2620 return 0;
2621}
2622_ACEOF
2623rm -f conftest.$ac_objext
2624if { (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
2646else
2647 echo "$as_me: failed program was:" >&5
2648sed 's/^/| /' conftest.$ac_ext >&5
2649
2650fi
2651rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2652done
2653rm -f conftest*
2654if test -n "$ac_declaration"; then
2655 echo '#ifdef __cplusplus' >>confdefs.h
2656 echo $ac_declaration >>confdefs.h
2657 echo '#endif' >>confdefs.h
2658fi
2659
2660else
2661 echo "$as_me: failed program was:" >&5
2662sed 's/^/| /' conftest.$ac_ext >&5
2663
2664fi
2665rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2666ac_ext=c
2667ac_cpp='$CPP $CPPFLAGS'
2668ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670ac_compiler_gnu=$ac_cv_c_compiler_gnu
2671DEPDIR="${am__leading_dot}deps"
2672
2673 ac_config_commands="$ac_config_commands depfiles"
2674
2675
2676am_make=${MAKE-make}
2677cat > confinc << 'END'
2678am__doit:
2679 @echo done
2680.PHONY: am__doit
2681END
2682# If we don't find an include directive, just comment out the code.
2683echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2684echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2685am__include="#"
2686am__quote=
2687_am_result=none
2688# First try GNU make style include.
2689echo "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'.
2695if 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
2699fi
2700# Now try BSD make style include.
2701if 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
2708fi
2709
2710
2711echo "$as_me:$LINENO: result: $_am_result" >&5
2712echo "${ECHO_T}$_am_result" >&6
2713rm -f confinc confmf
2714
2715# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2716if test "${enable_dependency_tracking+set}" = set; then
2717 enableval="$enable_dependency_tracking"
2718
2719fi;
2720if test "x$enable_dependency_tracking" != xno; then
2721 am_depcomp="$ac_aux_dir/depcomp"
2722 AMDEPBACKSLASH='\'
2723fi
2724
2725
2726if test "x$enable_dependency_tracking" != xno; then
2727 AMDEP_TRUE=
2728 AMDEP_FALSE='#'
2729else
2730 AMDEP_TRUE='#'
2731 AMDEP_FALSE=
2732fi
2733
2734
2735
2736
2737depcc="$CC" am_compiler_list=
2738
2739echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2740echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2741if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2743else
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
2824else
2825 am_cv_CC_dependencies_compiler_type=none
2826fi
2827
2828fi
2829echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2830echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2831CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2832
2833
2834
2835if
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='#'
2840else
2841 am__fastdepCC_TRUE='#'
2842 am__fastdepCC_FALSE=
2843fi
2844
c906108c
SS
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
1c44323f 2853# AmigaOS /C/install, which installs bootblocks on floppy discs
c906108c
SS
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"
1c44323f 2857# OS/2's system install, which has a completely different semantic
c906108c 2858# ./install, which can be erroneously created by make from ./install.sh.
1c44323f
JB
2859echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2860echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
c906108c 2861if test -z "$INSTALL"; then
1c44323f
JB
2862if test "${ac_cv_path_install+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2864else
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866for as_dir in $PATH
2867do
2868 IFS=$as_save_IFS
2869 test -z "$as_dir" && as_dir=.
2870 # Account for people who put trailing slashes in PATH elements.
2871case $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
c906108c 2883 if test $ac_prog = install &&
1c44323f 2884 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
c906108c
SS
2885 # AIX install. It has an incompatible calling convention.
2886 :
1c44323f
JB
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 :
c906108c 2891 else
1c44323f
JB
2892 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2893 break 3
c906108c
SS
2894 fi
2895 fi
2896 done
1c44323f
JB
2897 done
2898 ;;
2899esac
2900done
2901
c906108c
SS
2902
2903fi
2904 if test "${ac_cv_path_install+set}" = set; then
1c44323f 2905 INSTALL=$ac_cv_path_install
c906108c
SS
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.
1c44323f 2911 INSTALL=$ac_install_sh
c906108c
SS
2912 fi
2913fi
1c44323f
JB
2914echo "$as_me:$LINENO: result: $INSTALL" >&5
2915echo "${ECHO_T}$INSTALL" >&6
c906108c
SS
2916
2917# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2918# It thinks the first close brace ends the variable substitution.
2919test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2920
1c44323f
JB
2921test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2922
c906108c
SS
2923test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2924
1c44323f
JB
2925echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2926echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2927set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2928if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 2930else
1c44323f 2931 cat >conftest.make <<\_ACEOF
c906108c 2932all:
1c44323f
JB
2933 @echo 'ac_maketemp="$(MAKE)"'
2934_ACEOF
c906108c 2935# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1c44323f 2936eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
c906108c
SS
2937if test -n "$ac_maketemp"; then
2938 eval ac_cv_prog_make_${ac_make}_set=yes
2939else
2940 eval ac_cv_prog_make_${ac_make}_set=no
2941fi
1c44323f 2942rm -f conftest.make
c906108c
SS
2943fi
2944if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1c44323f
JB
2945 echo "$as_me:$LINENO: result: yes" >&5
2946echo "${ECHO_T}yes" >&6
c906108c
SS
2947 SET_MAKE=
2948else
1c44323f
JB
2949 echo "$as_me:$LINENO: result: no" >&5
2950echo "${ECHO_T}no" >&6
c906108c
SS
2951 SET_MAKE="MAKE=${MAKE-make}"
2952fi
2953
1c44323f
JB
2954if 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.
2956set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2957echo "$as_me:$LINENO: checking for $ac_word" >&5
2958echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2959if test "${ac_cv_prog_RANLIB+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c
SS
2961else
2962 if test -n "$RANLIB"; then
2963 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2964else
1c44323f
JB
2965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966for as_dir in $PATH
2967do
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
2976done
2977done
2978
c906108c
SS
2979fi
2980fi
1c44323f 2981RANLIB=$ac_cv_prog_RANLIB
c906108c 2982if test -n "$RANLIB"; then
1c44323f
JB
2983 echo "$as_me:$LINENO: result: $RANLIB" >&5
2984echo "${ECHO_T}$RANLIB" >&6
c906108c 2985else
1c44323f
JB
2986 echo "$as_me:$LINENO: result: no" >&5
2987echo "${ECHO_T}no" >&6
c906108c
SS
2988fi
2989
1c44323f
JB
2990fi
2991if 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.
2994set dummy ranlib; ac_word=$2
2995echo "$as_me:$LINENO: checking for $ac_word" >&5
2996echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2997if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
2999else
3000 if test -n "$ac_ct_RANLIB"; then
3001 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3002else
3003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3004for as_dir in $PATH
3005do
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
3014done
3015done
3016
3017 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3018fi
3019fi
3020ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3021if test -n "$ac_ct_RANLIB"; then
3022 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3023echo "${ECHO_T}$ac_ct_RANLIB" >&6
3024else
3025 echo "$as_me:$LINENO: result: no" >&5
3026echo "${ECHO_T}no" >&6
3027fi
3028
3029 RANLIB=$ac_ct_RANLIB
3030else
3031 RANLIB="$ac_cv_prog_RANLIB"
3032fi
c906108c
SS
3033
3034
1c44323f
JB
3035
3036
3037ac_ext=c
3038ac_cpp='$CPP $CPPFLAGS'
3039ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041ac_compiler_gnu=$ac_cv_c_compiler_gnu
3042echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3043echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
c906108c
SS
3044# On Suns, sometimes $CPP names a directory.
3045if test -n "$CPP" && test -d "$CPP"; then
3046 CPP=
3047fi
3048if test -z "$CPP"; then
1c44323f
JB
3049 if test "${ac_cv_prog_CPP+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 3051else
1c44323f
JB
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
3056for ac_c_preproc_warn_flag in '' yes
3057do
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.
c906108c 3062 # On the NeXT, cc -E runs the code through the compiler's parser,
1c44323f
JB
3063 # not just through cpp. "Syntax error" is here to catch this case.
3064 cat >conftest.$ac_ext <<_ACEOF
3065/* confdefs.h. */
3066_ACEOF
3067cat confdefs.h >>conftest.$ac_ext
3068cat >>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
3077if { (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
c906108c 3091else
1c44323f
JB
3092 ac_cpp_err=yes
3093fi
3094if test -z "$ac_cpp_err"; then
c906108c
SS
3095 :
3096else
1c44323f
JB
3097 echo "$as_me: failed program was:" >&5
3098sed 's/^/| /' conftest.$ac_ext >&5
3099
3100 # Broken: fails on valid input.
3101continue
3102fi
3103rm -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
3110cat confdefs.h >>conftest.$ac_ext
3111cat >>conftest.$ac_ext <<_ACEOF
3112/* end confdefs.h. */
3113#include <ac_nonexistent.h>
3114_ACEOF
3115if { (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
3129else
3130 ac_cpp_err=yes
3131fi
3132if test -z "$ac_cpp_err"; then
3133 # Broken: success on invalid input.
3134continue
3135else
3136 echo "$as_me: failed program was:" >&5
3137sed 's/^/| /' conftest.$ac_ext >&5
3138
3139 # Passes both tests.
3140ac_preproc_ok=:
3141break
3142fi
3143rm -f conftest.err conftest.$ac_ext
3144
3145done
3146# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3147rm -f conftest.err conftest.$ac_ext
3148if $ac_preproc_ok; then
3149 break
3150fi
3151
3152 done
3153 ac_cv_prog_CPP=$CPP
3154
3155fi
3156 CPP=$ac_cv_prog_CPP
3157else
3158 ac_cv_prog_CPP=$CPP
3159fi
3160echo "$as_me:$LINENO: result: $CPP" >&5
3161echo "${ECHO_T}$CPP" >&6
3162ac_preproc_ok=false
3163for ac_c_preproc_warn_flag in '' yes
3164do
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
3174cat confdefs.h >>conftest.$ac_ext
3175cat >>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
3184if { (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
3198else
3199 ac_cpp_err=yes
3200fi
3201if test -z "$ac_cpp_err"; then
c906108c
SS
3202 :
3203else
1c44323f
JB
3204 echo "$as_me: failed program was:" >&5
3205sed 's/^/| /' conftest.$ac_ext >&5
3206
3207 # Broken: fails on valid input.
3208continue
c906108c 3209fi
1c44323f
JB
3210rm -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
3217cat confdefs.h >>conftest.$ac_ext
3218cat >>conftest.$ac_ext <<_ACEOF
3219/* end confdefs.h. */
3220#include <ac_nonexistent.h>
3221_ACEOF
3222if { (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
3236else
3237 ac_cpp_err=yes
c906108c 3238fi
1c44323f
JB
3239if test -z "$ac_cpp_err"; then
3240 # Broken: success on invalid input.
3241continue
3242else
3243 echo "$as_me: failed program was:" >&5
3244sed 's/^/| /' conftest.$ac_ext >&5
3245
3246 # Passes both tests.
3247ac_preproc_ok=:
3248break
c906108c 3249fi
1c44323f
JB
3250rm -f conftest.err conftest.$ac_ext
3251
3252done
3253# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3254rm -f conftest.err conftest.$ac_ext
3255if $ac_preproc_ok; then
3256 :
3257else
3258 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3259See \`config.log' for more details." >&5
3260echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3261See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }
c906108c 3263fi
1c44323f
JB
3264
3265ac_ext=c
3266ac_cpp='$CPP $CPPFLAGS'
3267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269ac_compiler_gnu=$ac_cv_c_compiler_gnu
3270
3271
3272echo "$as_me:$LINENO: checking for egrep" >&5
3273echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3274if test "${ac_cv_prog_egrep+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 3276else
1c44323f
JB
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
c906108c 3281fi
1c44323f
JB
3282echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3283echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3284 EGREP=$ac_cv_prog_egrep
c906108c 3285
1c44323f
JB
3286
3287echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3288echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3289if test "${ac_cv_header_stdc+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 3291else
1c44323f
JB
3292 cat >conftest.$ac_ext <<_ACEOF
3293/* confdefs.h. */
3294_ACEOF
3295cat confdefs.h >>conftest.$ac_ext
3296cat >>conftest.$ac_ext <<_ACEOF
3297/* end confdefs.h. */
c906108c
SS
3298#include <stdlib.h>
3299#include <stdarg.h>
3300#include <string.h>
3301#include <float.h>
1c44323f
JB
3302
3303int
3304main ()
3305{
3306
3307 ;
3308 return 0;
3309}
3310_ACEOF
3311rm -f conftest.$ac_objext
3312if { (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
c906108c
SS
3333 ac_cv_header_stdc=yes
3334else
1c44323f
JB
3335 echo "$as_me: failed program was:" >&5
3336sed 's/^/| /' conftest.$ac_ext >&5
3337
3338ac_cv_header_stdc=no
c906108c 3339fi
1c44323f 3340rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
c906108c
SS
3341
3342if test $ac_cv_header_stdc = yes; then
3343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1c44323f
JB
3344 cat >conftest.$ac_ext <<_ACEOF
3345/* confdefs.h. */
3346_ACEOF
3347cat confdefs.h >>conftest.$ac_ext
3348cat >>conftest.$ac_ext <<_ACEOF
3349/* end confdefs.h. */
c906108c 3350#include <string.h>
1c44323f
JB
3351
3352_ACEOF
c906108c 3353if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1c44323f 3354 $EGREP "memchr" >/dev/null 2>&1; then
c906108c
SS
3355 :
3356else
c906108c
SS
3357 ac_cv_header_stdc=no
3358fi
3359rm -f conftest*
3360
3361fi
3362
3363if test $ac_cv_header_stdc = yes; then
3364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1c44323f
JB
3365 cat >conftest.$ac_ext <<_ACEOF
3366/* confdefs.h. */
3367_ACEOF
3368cat confdefs.h >>conftest.$ac_ext
3369cat >>conftest.$ac_ext <<_ACEOF
3370/* end confdefs.h. */
c906108c 3371#include <stdlib.h>
1c44323f
JB
3372
3373_ACEOF
c906108c 3374if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1c44323f 3375 $EGREP "free" >/dev/null 2>&1; then
c906108c
SS
3376 :
3377else
c906108c
SS
3378 ac_cv_header_stdc=no
3379fi
3380rm -f conftest*
3381
3382fi
3383
3384if test $ac_cv_header_stdc = yes; then
3385 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1c44323f 3386 if test "$cross_compiling" = yes; then
c906108c
SS
3387 :
3388else
1c44323f
JB
3389 cat >conftest.$ac_ext <<_ACEOF
3390/* confdefs.h. */
3391_ACEOF
3392cat confdefs.h >>conftest.$ac_ext
3393cat >>conftest.$ac_ext <<_ACEOF
3394/* end confdefs.h. */
c906108c 3395#include <ctype.h>
1c44323f
JB
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
c906108c 3406
1c44323f
JB
3407#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3408int
3409main ()
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
3419rm -f conftest$ac_exeext
3420if { (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
c906108c
SS
3430 :
3431else
1c44323f
JB
3432 echo "$as_me: program exited with status $ac_status" >&5
3433echo "$as_me: failed program was:" >&5
3434sed 's/^/| /' conftest.$ac_ext >&5
3435
3436( exit $ac_status )
3437ac_cv_header_stdc=no
c906108c 3438fi
1c44323f 3439rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
c906108c 3440fi
c906108c
SS
3441fi
3442fi
1c44323f
JB
3443echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3444echo "${ECHO_T}$ac_cv_header_stdc" >&6
c906108c 3445if test $ac_cv_header_stdc = yes; then
1c44323f
JB
3446
3447cat >>confdefs.h <<\_ACEOF
c906108c 3448#define STDC_HEADERS 1
1c44323f 3449_ACEOF
c906108c
SS
3450
3451fi
3452
1c44323f
JB
3453# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3464 inttypes.h stdint.h unistd.h
c906108c 3465do
1c44323f
JB
3466as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3467echo "$as_me:$LINENO: checking for $ac_header" >&5
3468echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3469if eval "test \"\${$as_ac_Header+set}\" = set"; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3471else
3472 cat >conftest.$ac_ext <<_ACEOF
3473/* confdefs.h. */
3474_ACEOF
3475cat confdefs.h >>conftest.$ac_ext
3476cat >>conftest.$ac_ext <<_ACEOF
3477/* end confdefs.h. */
3478$ac_includes_default
3479
3480#include <$ac_header>
3481_ACEOF
3482rm -f conftest.$ac_objext
3483if { (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"
3505else
3506 echo "$as_me: failed program was:" >&5
3507sed 's/^/| /' conftest.$ac_ext >&5
3508
3509eval "$as_ac_Header=no"
c906108c 3510fi
1c44323f
JB
3511rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3512fi
3513echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3514echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3515if 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
3520fi
3521
3522done
3523
3524
3525
3526
3527
3528
3529
3530for ac_header in fcntl.h sys/ioctl.h sys/time.h unistd.h sys/filio.h
3531do
3532as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3533if eval "test \"\${$as_ac_Header+set}\" = set"; then
3534 echo "$as_me:$LINENO: checking for $ac_header" >&5
3535echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3536if eval "test \"\${$as_ac_Header+set}\" = set"; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 3538fi
1c44323f
JB
3539echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3540echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3541else
3542 # Is the header compilable?
3543echo "$as_me:$LINENO: checking $ac_header usability" >&5
3544echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3545cat >conftest.$ac_ext <<_ACEOF
3546/* confdefs.h. */
3547_ACEOF
3548cat confdefs.h >>conftest.$ac_ext
3549cat >>conftest.$ac_ext <<_ACEOF
3550/* end confdefs.h. */
3551$ac_includes_default
3552#include <$ac_header>
3553_ACEOF
3554rm -f conftest.$ac_objext
3555if { (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
c906108c 3577else
1c44323f
JB
3578 echo "$as_me: failed program was:" >&5
3579sed 's/^/| /' conftest.$ac_ext >&5
3580
3581ac_header_compiler=no
c906108c 3582fi
1c44323f
JB
3583rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3584echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3585echo "${ECHO_T}$ac_header_compiler" >&6
3586
3587# Is the header present?
3588echo "$as_me:$LINENO: checking $ac_header presence" >&5
3589echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3590cat >conftest.$ac_ext <<_ACEOF
3591/* confdefs.h. */
3592_ACEOF
3593cat confdefs.h >>conftest.$ac_ext
3594cat >>conftest.$ac_ext <<_ACEOF
3595/* end confdefs.h. */
3596#include <$ac_header>
3597_ACEOF
3598if { (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
3612else
3613 ac_cpp_err=yes
3614fi
3615if test -z "$ac_cpp_err"; then
3616 ac_header_preproc=yes
3617else
3618 echo "$as_me: failed program was:" >&5
3619sed 's/^/| /' conftest.$ac_ext >&5
3620
3621 ac_header_preproc=no
3622fi
3623rm -f conftest.err conftest.$ac_ext
3624echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3625echo "${ECHO_T}$ac_header_preproc" >&6
3626
3627# So? What about this header?
3628case $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
3631echo "$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
3633echo "$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
3638echo "$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
3640echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3642echo "$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
3644echo "$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
3646echo "$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
3648echo "$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 ;;
3658esac
3659echo "$as_me:$LINENO: checking for $ac_header" >&5
3660echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3661if eval "test \"\${$as_ac_Header+set}\" = set"; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3663else
3664 eval "$as_ac_Header=\$ac_header_preproc"
3665fi
3666echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3667echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3668
3669fi
3670if 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
3675fi
3676
c906108c
SS
3677done
3678
3679
1c44323f
JB
3680echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3681echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3682if test "${ac_cv_c_const+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3684else
3685 cat >conftest.$ac_ext <<_ACEOF
3686/* confdefs.h. */
3687_ACEOF
3688cat confdefs.h >>conftest.$ac_ext
3689cat >>conftest.$ac_ext <<_ACEOF
3690/* end confdefs.h. */
3691
3692int
3693main ()
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
c906108c 3741
1c44323f
JB
3742 ;
3743 return 0;
3744}
3745_ACEOF
3746rm -f conftest.$ac_objext
3747if { (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
c906108c
SS
3768 ac_cv_c_const=yes
3769else
1c44323f
JB
3770 echo "$as_me: failed program was:" >&5
3771sed 's/^/| /' conftest.$ac_ext >&5
3772
3773ac_cv_c_const=no
c906108c 3774fi
1c44323f 3775rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
c906108c 3776fi
1c44323f
JB
3777echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3778echo "${ECHO_T}$ac_cv_c_const" >&6
c906108c 3779if test $ac_cv_c_const = no; then
1c44323f
JB
3780
3781cat >>confdefs.h <<\_ACEOF
3782#define const
3783_ACEOF
c906108c
SS
3784
3785fi
3786
1c44323f
JB
3787echo "$as_me:$LINENO: checking for size_t" >&5
3788echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3789if test "${ac_cv_type_size_t+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 3791else
1c44323f
JB
3792 cat >conftest.$ac_ext <<_ACEOF
3793/* confdefs.h. */
3794_ACEOF
3795cat confdefs.h >>conftest.$ac_ext
3796cat >>conftest.$ac_ext <<_ACEOF
3797/* end confdefs.h. */
3798$ac_includes_default
3799int
3800main ()
3801{
3802if ((size_t *) 0)
3803 return 0;
3804if (sizeof (size_t))
3805 return 0;
3806 ;
3807 return 0;
3808}
3809_ACEOF
3810rm -f conftest.$ac_objext
3811if { (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
c906108c
SS
3832 ac_cv_type_size_t=yes
3833else
1c44323f
JB
3834 echo "$as_me: failed program was:" >&5
3835sed 's/^/| /' conftest.$ac_ext >&5
c906108c 3836
1c44323f
JB
3837ac_cv_type_size_t=no
3838fi
3839rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
c906108c 3840fi
1c44323f
JB
3841echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3842echo "${ECHO_T}$ac_cv_type_size_t" >&6
3843if test $ac_cv_type_size_t = yes; then
3844 :
3845else
3846
3847cat >>confdefs.h <<_ACEOF
c906108c 3848#define size_t unsigned
1c44323f 3849_ACEOF
c906108c
SS
3850
3851fi
3852
1c44323f
JB
3853echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3854echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3855if test "${ac_cv_header_time+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 3857else
1c44323f
JB
3858 cat >conftest.$ac_ext <<_ACEOF
3859/* confdefs.h. */
3860_ACEOF
3861cat confdefs.h >>conftest.$ac_ext
3862cat >>conftest.$ac_ext <<_ACEOF
3863/* end confdefs.h. */
c906108c
SS
3864#include <sys/types.h>
3865#include <sys/time.h>
3866#include <time.h>
1c44323f
JB
3867
3868int
3869main ()
3870{
3871if ((struct tm *) 0)
3872return 0;
3873 ;
3874 return 0;
3875}
3876_ACEOF
3877rm -f conftest.$ac_objext
3878if { (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
c906108c
SS
3899 ac_cv_header_time=yes
3900else
1c44323f
JB
3901 echo "$as_me: failed program was:" >&5
3902sed 's/^/| /' conftest.$ac_ext >&5
3903
3904ac_cv_header_time=no
c906108c 3905fi
1c44323f 3906rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
c906108c 3907fi
1c44323f
JB
3908echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3909echo "${ECHO_T}$ac_cv_header_time" >&6
c906108c 3910if test $ac_cv_header_time = yes; then
1c44323f
JB
3911
3912cat >>confdefs.h <<\_ACEOF
c906108c 3913#define TIME_WITH_SYS_TIME 1
1c44323f 3914_ACEOF
c906108c
SS
3915
3916fi
3917
3918
1c44323f
JB
3919if test $ac_cv_c_compiler_gnu = yes; then
3920 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3921echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3922if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c
SS
3924else
3925 ac_pattern="Autoconf.*'x'"
1c44323f
JB
3926 cat >conftest.$ac_ext <<_ACEOF
3927/* confdefs.h. */
3928_ACEOF
3929cat confdefs.h >>conftest.$ac_ext
3930cat >>conftest.$ac_ext <<_ACEOF
3931/* end confdefs.h. */
c906108c
SS
3932#include <sgtty.h>
3933Autoconf TIOCGETP
1c44323f 3934_ACEOF
c906108c 3935if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1c44323f 3936 $EGREP "$ac_pattern" >/dev/null 2>&1; then
c906108c
SS
3937 ac_cv_prog_gcc_traditional=yes
3938else
c906108c
SS
3939 ac_cv_prog_gcc_traditional=no
3940fi
3941rm -f conftest*
3942
3943
3944 if test $ac_cv_prog_gcc_traditional = no; then
1c44323f
JB
3945 cat >conftest.$ac_ext <<_ACEOF
3946/* confdefs.h. */
3947_ACEOF
3948cat confdefs.h >>conftest.$ac_ext
3949cat >>conftest.$ac_ext <<_ACEOF
3950/* end confdefs.h. */
c906108c
SS
3951#include <termio.h>
3952Autoconf TCGETA
1c44323f 3953_ACEOF
c906108c 3954if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1c44323f 3955 $EGREP "$ac_pattern" >/dev/null 2>&1; then
c906108c
SS
3956 ac_cv_prog_gcc_traditional=yes
3957fi
3958rm -f conftest*
3959
3960 fi
3961fi
1c44323f
JB
3962echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3963echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
c906108c
SS
3964 if test $ac_cv_prog_gcc_traditional = yes; then
3965 CC="$CC -traditional"
3966 fi
3967fi
3968
1c44323f
JB
3969echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3970echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3971if test "${ac_cv_type_signal+set}" = set; then
3972 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 3973else
1c44323f
JB
3974 cat >conftest.$ac_ext <<_ACEOF
3975/* confdefs.h. */
3976_ACEOF
3977cat confdefs.h >>conftest.$ac_ext
3978cat >>conftest.$ac_ext <<_ACEOF
3979/* end confdefs.h. */
c906108c
SS
3980#include <sys/types.h>
3981#include <signal.h>
3982#ifdef signal
1c44323f 3983# undef signal
c906108c
SS
3984#endif
3985#ifdef __cplusplus
3986extern "C" void (*signal (int, void (*)(int)))(int);
3987#else
3988void (*signal ()) ();
3989#endif
3990
1c44323f
JB
3991int
3992main ()
3993{
c906108c 3994int i;
1c44323f
JB
3995 ;
3996 return 0;
3997}
3998_ACEOF
3999rm -f conftest.$ac_objext
4000if { (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
c906108c
SS
4021 ac_cv_type_signal=void
4022else
1c44323f
JB
4023 echo "$as_me: failed program was:" >&5
4024sed 's/^/| /' conftest.$ac_ext >&5
4025
4026ac_cv_type_signal=int
c906108c 4027fi
1c44323f 4028rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
c906108c 4029fi
1c44323f
JB
4030echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4031echo "${ECHO_T}$ac_cv_type_signal" >&6
c906108c 4032
1c44323f 4033cat >>confdefs.h <<_ACEOF
c906108c 4034#define RETSIGTYPE $ac_cv_type_signal
1c44323f
JB
4035_ACEOF
4036
c906108c
SS
4037
4038
1c44323f
JB
4039for ac_func in vprintf
4040do
4041as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4042echo "$as_me:$LINENO: checking for $ac_func" >&5
4043echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4044if eval "test \"\${$as_ac_var+set}\" = set"; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 4046else
1c44323f
JB
4047 cat >conftest.$ac_ext <<_ACEOF
4048/* confdefs.h. */
4049_ACEOF
4050cat confdefs.h >>conftest.$ac_ext
4051cat >>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
c906108c 4057/* System header to define __stub macros and hopefully few prototypes,
1c44323f
JB
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
c906108c 4067
1c44323f 4068#undef $ac_func
c906108c 4069
1c44323f
JB
4070/* Override any gcc2 internal prototype to avoid an error. */
4071#ifdef __cplusplus
4072extern "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. */
4077char $ac_func ();
c906108c
SS
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. */
1c44323f 4081#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
c906108c
SS
4082choke me
4083#else
1c44323f
JB
4084char (*f) () = $ac_func;
4085#endif
4086#ifdef __cplusplus
4087}
c906108c
SS
4088#endif
4089
1c44323f
JB
4090int
4091main ()
4092{
4093return f != $ac_func;
4094 ;
4095 return 0;
4096}
4097_ACEOF
4098rm -f conftest.$ac_objext conftest$ac_exeext
4099if { (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"
c906108c 4121else
1c44323f
JB
4122 echo "$as_me: failed program was:" >&5
4123sed 's/^/| /' conftest.$ac_ext >&5
4124
4125eval "$as_ac_var=no"
c906108c 4126fi
1c44323f
JB
4127rm -f conftest.err conftest.$ac_objext \
4128 conftest$ac_exeext conftest.$ac_ext
c906108c 4129fi
1c44323f
JB
4130echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4131echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4132if 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
4137echo "$as_me:$LINENO: checking for _doprnt" >&5
4138echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4139if test "${ac_cv_func__doprnt+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
c906108c 4141else
1c44323f
JB
4142 cat >conftest.$ac_ext <<_ACEOF
4143/* confdefs.h. */
4144_ACEOF
4145cat confdefs.h >>conftest.$ac_ext
4146cat >>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
c906108c 4151
c906108c 4152/* System header to define __stub macros and hopefully few prototypes,
1c44323f
JB
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
c906108c 4162
1c44323f 4163#undef _doprnt
c906108c 4164
1c44323f
JB
4165/* Override any gcc2 internal prototype to avoid an error. */
4166#ifdef __cplusplus
4167extern "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. */
4172char _doprnt ();
c906108c
SS
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)
4177choke me
4178#else
1c44323f
JB
4179char (*f) () = _doprnt;
4180#endif
4181#ifdef __cplusplus
4182}
c906108c
SS
4183#endif
4184
1c44323f
JB
4185int
4186main ()
4187{
4188return f != _doprnt;
4189 ;
4190 return 0;
4191}
4192_ACEOF
4193rm -f conftest.$ac_objext conftest$ac_exeext
4194if { (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
c906108c 4216else
1c44323f
JB
4217 echo "$as_me: failed program was:" >&5
4218sed 's/^/| /' conftest.$ac_ext >&5
4219
4220ac_cv_func__doprnt=no
c906108c 4221fi
1c44323f
JB
4222rm -f conftest.err conftest.$ac_objext \
4223 conftest$ac_exeext conftest.$ac_ext
c906108c 4224fi
1c44323f
JB
4225echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4226echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4227if test $ac_cv_func__doprnt = yes; then
c906108c 4228
1c44323f 4229cat >>confdefs.h <<\_ACEOF
c906108c 4230#define HAVE_DOPRNT 1
1c44323f 4231_ACEOF
c906108c 4232
c906108c
SS
4233fi
4234
4235fi
1c44323f
JB
4236done
4237
4238
4239
4240
4241
4242
4243
4244
c906108c
SS
4245
4246for ac_func in gettimeofday select socket strtod strtoul memcpy memmove
4247do
1c44323f
JB
4248as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4249echo "$as_me:$LINENO: checking for $ac_func" >&5
4250echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4251if eval "test \"\${$as_ac_var+set}\" = set"; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4253else
4254 cat >conftest.$ac_ext <<_ACEOF
4255/* confdefs.h. */
4256_ACEOF
4257cat confdefs.h >>conftest.$ac_ext
4258cat >>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
c906108c 4264/* System header to define __stub macros and hopefully few prototypes,
1c44323f
JB
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
c906108c 4274
1c44323f 4275#undef $ac_func
c906108c 4276
1c44323f
JB
4277/* Override any gcc2 internal prototype to avoid an error. */
4278#ifdef __cplusplus
4279extern "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. */
4284char $ac_func ();
c906108c
SS
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)
4289choke me
4290#else
1c44323f
JB
4291char (*f) () = $ac_func;
4292#endif
4293#ifdef __cplusplus
4294}
c906108c
SS
4295#endif
4296
1c44323f
JB
4297int
4298main ()
4299{
4300return f != $ac_func;
4301 ;
4302 return 0;
4303}
4304_ACEOF
4305rm -f conftest.$ac_objext conftest$ac_exeext
4306if { (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"
c906108c 4328else
1c44323f
JB
4329 echo "$as_me: failed program was:" >&5
4330sed 's/^/| /' conftest.$ac_ext >&5
4331
4332eval "$as_ac_var=no"
c906108c 4333fi
1c44323f
JB
4334rm -f conftest.err conftest.$ac_objext \
4335 conftest$ac_exeext conftest.$ac_ext
c906108c 4336fi
1c44323f
JB
4337echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4338echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4339if 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
c906108c 4343
c906108c
SS
4344fi
4345done
4346
4347
1c44323f
JB
4348echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4349echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
c906108c
SS
4350 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4351if test "${enable_maintainer_mode+set}" = set; then
4352 enableval="$enable_maintainer_mode"
4353 USE_MAINTAINER_MODE=$enableval
4354else
4355 USE_MAINTAINER_MODE=no
1c44323f
JB
4356fi;
4357 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4358echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
c906108c 4359
c906108c 4360
1c44323f
JB
4361if test $USE_MAINTAINER_MODE = yes; then
4362 MAINTAINER_MODE_TRUE=
4363 MAINTAINER_MODE_FALSE='#'
c906108c 4364else
1c44323f
JB
4365 MAINTAINER_MODE_TRUE='#'
4366 MAINTAINER_MODE_FALSE=
c906108c 4367fi
c906108c 4368
1c44323f 4369 MAINT=$MAINTAINER_MODE_TRUE
c906108c 4370
c906108c 4371
c906108c
SS
4372
4373
1c44323f
JB
4374 ac_config_files="$ac_config_files Makefile"
4375cat >confcache <<\_ACEOF
c906108c
SS
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
1c44323f
JB
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.
c906108c 4381#
1c44323f
JB
4382# config.status only pays attention to the cache file if you give it
4383# the --recheck option to rerun configure.
c906108c 4384#
1c44323f
JB
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
c906108c
SS
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.
1c44323f
JB
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
4420if diff $cache_file confcache >/dev/null 2>&1; then :; else
c906108c 4421 if test -w $cache_file; then
1c44323f
JB
4422 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4423 cat confcache >$cache_file
c906108c
SS
4424 else
4425 echo "not updating unwritable cache $cache_file"
4426 fi
4427fi
4428rm -f confcache
4429
c906108c
SS
4430test "x$prefix" = xNONE && prefix=$ac_default_prefix
4431# Let make expand exec_prefix.
4432test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4433
1c44323f
JB
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).
c906108c 4438if test "x$srcdir" = x.; then
1c44323f
JB
4439 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4440s/:*\$(srcdir):*/:/;
4441s/:*\${srcdir}:*/:/;
4442s/:*@srcdir@:*/:/;
4443s/^\([^=]*=[ ]*\):*/\1/;
4444s/:*$//;
4445s/^[^=]*=[ ]*$//;
4446}'
c906108c
SS
4447fi
4448
c906108c
SS
4449# Transform confdefs.h into DEFS.
4450# Protect against shell expansion while executing Makefile rules.
4451# Protect against Makefile macro expansion.
1c44323f
JB
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.
4456cat >confdef2opt.sed <<\_ACEOF
4457t clear
4458: clear
4459s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4460t quote
4461s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4462t quote
4463d
4464: quote
4465s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4466s,\[,\\&,g
4467s,\],\\&,g
4468s,\$,$$,g
4469p
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.
4477ac_LF_and_DOT=`echo; echo .`
4478DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4479rm -f confdef2opt.sed
4480
4481
4482ac_libobjs=
4483ac_ltlibobjs=
4484for 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'
4491done
4492LIBOBJS=$ac_libobjs
c906108c 4493
1c44323f
JB
4494LTLIBOBJS=$ac_ltlibobjs
4495
4496
4497if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4498 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4499Usually this means the macro was only invoked conditionally." >&5
4500echo "$as_me: error: conditional \"AMDEP\" was never defined.
4501Usually this means the macro was only invoked conditionally." >&2;}
4502 { (exit 1); exit 1; }; }
4503fi
4504if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4505 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4506Usually this means the macro was only invoked conditionally." >&5
4507echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4508Usually this means the macro was only invoked conditionally." >&2;}
4509 { (exit 1); exit 1; }; }
4510fi
4511if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4512 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4513Usually this means the macro was only invoked conditionally." >&5
4514echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4515Usually this means the macro was only invoked conditionally." >&2;}
4516 { (exit 1); exit 1; }; }
4517fi
4518
4519: ${CONFIG_STATUS=./config.status}
4520ac_clean_files_save=$ac_clean_files
4521ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4522{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4523echo "$as_me: creating $CONFIG_STATUS" >&6;}
4524cat >$CONFIG_STATUS <<_ACEOF
4525#! $SHELL
4526# Generated by $as_me.
c906108c 4527# Run this file to recreate the current configuration.
c906108c 4528# Compiler output produced by configure, useful for debugging
1c44323f
JB
4529# configure, is in config.log if it exists.
4530
4531debug=false
4532ac_cs_recheck=false
4533ac_cs_silent=false
4534SHELL=\${CONFIG_SHELL-$SHELL}
4535_ACEOF
4536
4537cat >>$CONFIG_STATUS <<\_ACEOF
4538## --------------------- ##
4539## M4sh Initialization. ##
4540## --------------------- ##
4541
4542# Be Bourne compatible
4543if 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+"$@"}'='"$@"'
4549elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4550 set -o posix
4551fi
4552DUALCASE=1; export DUALCASE # for MKS sh
c906108c 4553
1c44323f
JB
4554# Support unset when possible.
4555if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4556 as_unset=unset
4557else
4558 as_unset=false
4559fi
4560
4561
4562# Work around bugs in pre-3.0 UWIN ksh.
4563$as_unset ENV MAIL MAILPATH
4564PS1='$ '
4565PS2='> '
4566PS4='+ '
4567
4568# NLS nuisances.
4569for 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
c906108c 4573do
1c44323f
JB
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
c906108c
SS
4579done
4580
1c44323f
JB
4581# Required to use basename.
4582if expr a : '\(a\)' >/dev/null 2>&1; then
4583 as_expr=expr
4584else
4585 as_expr=false
4586fi
c906108c 4587
1c44323f
JB
4588if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4589 as_basename=basename
4590else
4591 as_basename=false
4592fi
c906108c 4593
c906108c 4594
1c44323f
JB
4595# Name of the executable.
4596as_me=`$as_basename "$0" ||
4597$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4598 X"$0" : 'X\(//\)$' \| \
4599 X"$0" : 'X\(/\)$' \| \
4600 . : '\(.\)' 2>/dev/null ||
4601echo 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.
4610as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4611as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4612as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4613as_cr_digits='0123456789'
4614as_cr_alnum=$as_cr_Letters$as_cr_digits
4615
4616# The user is always right.
4617if 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=';'
c906108c 4623 else
1c44323f
JB
4624 PATH_SEPARATOR=:
4625 fi
4626 rm -f conf$$.sh
4627fi
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
4640for as_dir in $PATH
4641do
4642 IFS=$as_save_IFS
4643 test -z "$as_dir" && as_dir=.
4644 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4645done
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
4656echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4657 { (exit 1); exit 1; }; }
c906108c 4658 fi
1c44323f
JB
4659 case $CONFIG_SHELL in
4660 '')
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4663do
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
4683done
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
4707echo "$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
4719case `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= ;;
4724esac
4725
4726if expr a : '\(a\)' >/dev/null 2>&1; then
4727 as_expr=expr
4728else
4729 as_expr=false
4730fi
4731
4732rm -f conf$$ conf$$.exe conf$$.file
4733echo >conf$$.file
4734if 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'
c906108c 4740 else
1c44323f 4741 as_ln_s='ln -s'
c906108c 4742 fi
1c44323f
JB
4743elif ln conf$$.file conf$$ 2>/dev/null; then
4744 as_ln_s=ln
4745else
4746 as_ln_s='cp -p'
4747fi
4748rm -f conf$$ conf$$.exe conf$$.file
4749
4750if mkdir -p . 2>/dev/null; then
4751 as_mkdir_p=:
4752else
4753 test -d ./-p && rmdir ./-p
4754 as_mkdir_p=false
4755fi
4756
4757as_executable_p="test -f"
4758
4759# Sed expression to map a string onto a valid CPP name.
4760as_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.
4763as_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.
4768as_nl='
4769'
4770IFS=" $as_nl"
4771
4772# CDPATH.
4773$as_unset CDPATH
4774
4775exec 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.
4780exec 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
4787cat >&5 <<_CSEOF
4788
4789This file was extended by $as_me, which was
4790generated 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
4799echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4800echo >&5
4801_ACEOF
4802
4803# Files that config.status was made for.
4804if test -n "$ac_config_files"; then
4805 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4806fi
4807
4808if test -n "$ac_config_headers"; then
4809 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4810fi
4811
4812if test -n "$ac_config_links"; then
4813 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4814fi
4815
4816if test -n "$ac_config_commands"; then
4817 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4818fi
4819
4820cat >>$CONFIG_STATUS <<\_ACEOF
4821
4822ac_cs_usage="\
4823\`$as_me' instantiates files from templates according to the
4824current configuration.
4825
4826Usage: $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
4836Configuration files:
4837$config_files
4838
4839Configuration commands:
4840$config_commands
4841
4842Report bugs to <bug-autoconf@gnu.org>."
4843_ACEOF
4844
4845cat >>$CONFIG_STATUS <<_ACEOF
4846ac_cs_version="\\
4847config.status
4848configured by $0, generated by GNU Autoconf 2.59,
4849 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4850
4851Copyright (C) 2003 Free Software Foundation, Inc.
4852This config.status script is free software; the Free Software Foundation
4853gives unlimited permission to copy, distribute and modify it."
4854srcdir=$srcdir
4855INSTALL="$INSTALL"
4856_ACEOF
4857
4858cat >>$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.
4861ac_need_defaults=:
4862while test $# != 0
4863do
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
4884cat >>$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
4892Try \`$0 --help' for more information." >&5
4893echo "$as_me: error: ambiguous option: $1
4894Try \`$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
4914Try \`$0 --help' for more information." >&5
4915echo "$as_me: error: unrecognized option: $1
4916Try \`$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
4923done
4924
4925ac_configure_extra_args=
4926
4927if $ac_cs_silent; then
4928 exec 6>/dev/null
4929 ac_configure_extra_args="$ac_configure_extra_args --silent"
4930fi
4931
4932_ACEOF
4933cat >>$CONFIG_STATUS <<_ACEOF
4934if \$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
4937fi
4938
4939_ACEOF
4940
4941cat >>$CONFIG_STATUS <<_ACEOF
4942#
4943# INIT-COMMANDS section.
4944#
4945
4946AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4947
4948_ACEOF
4949
4950
4951
4952cat >>$CONFIG_STATUS <<\_ACEOF
4953for ac_config_target in $ac_config_targets
4954do
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
4960echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4961 { (exit 1); exit 1; }; };;
4962 esac
c906108c 4963done
1c44323f
JB
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.
4969if $ac_need_defaults; then
4970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
c906108c 4972fi
c906108c 4973
1c44323f
JB
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
5001cat >>$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
5009if 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
5013s,@SHELL@,$SHELL,;t t
5014s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5015s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5016s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5017s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5018s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5019s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5020s,@exec_prefix@,$exec_prefix,;t t
5021s,@prefix@,$prefix,;t t
5022s,@program_transform_name@,$program_transform_name,;t t
5023s,@bindir@,$bindir,;t t
5024s,@sbindir@,$sbindir,;t t
5025s,@libexecdir@,$libexecdir,;t t
5026s,@datadir@,$datadir,;t t
5027s,@sysconfdir@,$sysconfdir,;t t
5028s,@sharedstatedir@,$sharedstatedir,;t t
5029s,@localstatedir@,$localstatedir,;t t
5030s,@libdir@,$libdir,;t t
5031s,@includedir@,$includedir,;t t
5032s,@oldincludedir@,$oldincludedir,;t t
5033s,@infodir@,$infodir,;t t
5034s,@mandir@,$mandir,;t t
5035s,@build_alias@,$build_alias,;t t
5036s,@host_alias@,$host_alias,;t t
5037s,@target_alias@,$target_alias,;t t
5038s,@DEFS@,$DEFS,;t t
5039s,@ECHO_C@,$ECHO_C,;t t
5040s,@ECHO_N@,$ECHO_N,;t t
5041s,@ECHO_T@,$ECHO_T,;t t
5042s,@LIBS@,$LIBS,;t t
5043s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5044s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5045s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5046s,@CYGPATH_W@,$CYGPATH_W,;t t
5047s,@PACKAGE@,$PACKAGE,;t t
5048s,@VERSION@,$VERSION,;t t
5049s,@ACLOCAL@,$ACLOCAL,;t t
5050s,@AUTOCONF@,$AUTOCONF,;t t
5051s,@AUTOMAKE@,$AUTOMAKE,;t t
5052s,@AUTOHEADER@,$AUTOHEADER,;t t
5053s,@MAKEINFO@,$MAKEINFO,;t t
5054s,@install_sh@,$install_sh,;t t
5055s,@STRIP@,$STRIP,;t t
5056s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5057s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5058s,@mkdir_p@,$mkdir_p,;t t
5059s,@AWK@,$AWK,;t t
5060s,@SET_MAKE@,$SET_MAKE,;t t
5061s,@am__leading_dot@,$am__leading_dot,;t t
5062s,@AMTAR@,$AMTAR,;t t
5063s,@am__tar@,$am__tar,;t t
5064s,@am__untar@,$am__untar,;t t
5065s,@CC@,$CC,;t t
5066s,@CFLAGS@,$CFLAGS,;t t
5067s,@LDFLAGS@,$LDFLAGS,;t t
5068s,@CPPFLAGS@,$CPPFLAGS,;t t
5069s,@ac_ct_CC@,$ac_ct_CC,;t t
5070s,@EXEEXT@,$EXEEXT,;t t
5071s,@OBJEXT@,$OBJEXT,;t t
5072s,@DEPDIR@,$DEPDIR,;t t
5073s,@am__include@,$am__include,;t t
5074s,@am__quote@,$am__quote,;t t
5075s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5076s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5077s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5078s,@CCDEPMODE@,$CCDEPMODE,;t t
5079s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5080s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5081s,@RANLIB@,$RANLIB,;t t
5082s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5083s,@CPP@,$CPP,;t t
5084s,@EGREP@,$EGREP,;t t
5085s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5086s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5087s,@MAINT@,$MAINT,;t t
5088s,@LIBOBJS@,$LIBOBJS,;t t
5089s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5090CEOF
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
5131fi # test -n "$CONFIG_FILES"
c906108c 5132
1c44323f
JB
5133_ACEOF
5134cat >>$CONFIG_STATUS <<\_ACEOF
5135for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
c906108c 5136 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1c44323f
JB
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 ;;
c906108c
SS
5145 esac
5146
1c44323f
JB
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 ||
5154echo 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"
c906108c 5162 else
1c44323f
JB
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 ||
5173echo 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
5182echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5183 { (exit 1); exit 1; }; }; }
5184
5185 ac_builddir=.
5186
5187if 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'`
5191else
5192 ac_dir_suffix= ac_top_builddir=
5193fi
c906108c 5194
1c44323f
JB
5195case $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 ;;
c906108c 5206 *) # Relative path.
1c44323f
JB
5207 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5208 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5209esac
5210
5211# Do not use `cd foo && pwd` to compute absolute paths, because
5212# the directories may not exist.
5213case `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;;
5221esac
5222case $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;;
5230esac
5231case $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;;
5239esac
5240case $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;;
5248esac
5249
5250
5251 case $INSTALL in
5252 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5253 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
c906108c
SS
5254 esac
5255
1c44323f
JB
5256 if test x"$ac_file" != x-; then
5257 { echo "$as_me:$LINENO: creating $ac_file" >&5
5258echo "$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
5281echo "$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
5294echo "$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
5300cat >>$CONFIG_STATUS <<_ACEOF
5301 sed "$ac_vpsub
5302$extrasub
5303_ACEOF
5304cat >>$CONFIG_STATUS <<\_ACEOF
5305:t
5306/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5307s,@configure_input@,$configure_input,;t t
5308s,@srcdir@,$ac_srcdir,;t t
5309s,@abs_srcdir@,$ac_abs_srcdir,;t t
5310s,@top_srcdir@,$ac_top_srcdir,;t t
5311s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5312s,@builddir@,$ac_builddir,;t t
5313s,@abs_builddir@,$ac_abs_builddir,;t t
5314s,@top_builddir@,$ac_top_builddir,;t t
5315s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5316s,@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
c906108c 5325
1c44323f
JB
5326done
5327_ACEOF
5328cat >>$CONFIG_STATUS <<\_ACEOF
c906108c 5329
1c44323f
JB
5330#
5331# CONFIG_COMMANDS section.
5332#
5333for 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 ||
5342echo 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 ||
5361echo 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
5370echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5371 { (exit 1); exit 1; }; }; }
5372
5373 ac_builddir=.
5374
5375if 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'`
5379else
5380 ac_dir_suffix= ac_top_builddir=
5381fi
c906108c 5382
1c44323f
JB
5383case $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 ;;
5397esac
5398
5399# Do not use `cd foo && pwd` to compute absolute paths, because
5400# the directories may not exist.
5401case `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;;
5409esac
5410case $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;;
5418esac
5419case $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;;
5427esac
5428case $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;;
5436esac
5437
5438
5439 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5440echo "$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 ||
5458echo 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 ||
5491echo 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 ||
5510echo 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
5519echo "$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
5525done
5526 ;;
5527 esac
5528done
5529_ACEOF
c906108c 5530
1c44323f 5531cat >>$CONFIG_STATUS <<\_ACEOF
c906108c 5532
1c44323f
JB
5533{ (exit 0); exit 0; }
5534_ACEOF
c906108c 5535chmod +x $CONFIG_STATUS
1c44323f
JB
5536ac_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.
5547if 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; }
5558fi
c906108c 5559
This page took 0.772455 seconds and 4 git commands to generate.