]> sourceware.org Git - newlib-cygwin.git/blame - winsup/doc/configure
update to newer autoconf
[newlib-cygwin.git] / winsup / doc / configure
CommitLineData
1fd5e000 1#! /bin/sh
1fd5e000 2# Guess values for system-dependent variables and create Makefiles.
99fc5e10 3# Generated by GNU Autoconf 2.59.
1fd5e000 4#
99fc5e10 5# Copyright (C) 2003 Free Software Foundation, Inc.
1fd5e000
CF
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
99fc5e10
CF
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
1fd5e000 224
99fc5e10
CF
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
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
1fd5e000 254ac_default_prefix=/usr/local
99fc5e10
CF
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="cygwin-api.in.sgml"
275ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC ac_ct_CC CFLAGS LDFLAGS CPPFLAGS EXEEXT OBJEXT build_exeext LIBOBJS LTLIBOBJS'
276ac_subst_files=''
1fd5e000
CF
277
278# Initialize some variables set by options.
99fc5e10
CF
279ac_init_help=
280ac_init_version=false
1fd5e000
CF
281# The variables have the same names as the options, with
282# dashes changed to underlines.
99fc5e10 283cache_file=/dev/null
1fd5e000 284exec_prefix=NONE
1fd5e000 285no_create=
1fd5e000
CF
286no_recursion=
287prefix=NONE
288program_prefix=NONE
289program_suffix=NONE
290program_transform_name=s,x,x,
291silent=
292site=
1fd5e000 293srcdir=
1fd5e000
CF
294verbose=
295x_includes=NONE
296x_libraries=NONE
99fc5e10
CF
297
298# Installation directory options.
299# These are left unexpanded so users can "make install exec_prefix=/foo"
300# and all the variables that are supposed to be based on exec_prefix
301# by default will actually change.
302# Use braces instead of parens because sh, perl, etc. also accept them.
1fd5e000
CF
303bindir='${exec_prefix}/bin'
304sbindir='${exec_prefix}/sbin'
305libexecdir='${exec_prefix}/libexec'
306datadir='${prefix}/share'
307sysconfdir='${prefix}/etc'
308sharedstatedir='${prefix}/com'
309localstatedir='${prefix}/var'
310libdir='${exec_prefix}/lib'
311includedir='${prefix}/include'
312oldincludedir='/usr/include'
313infodir='${prefix}/info'
314mandir='${prefix}/man'
315
1fd5e000
CF
316ac_prev=
317for ac_option
318do
1fd5e000
CF
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
322 ac_prev=
323 continue
324 fi
325
99fc5e10 326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1fd5e000
CF
327
328 # Accept the important Cygnus configure options, so we can diagnose typos.
329
99fc5e10 330 case $ac_option in
1fd5e000
CF
331
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
99fc5e10 335 bindir=$ac_optarg ;;
1fd5e000
CF
336
337 -build | --build | --buil | --bui | --bu)
99fc5e10 338 ac_prev=build_alias ;;
1fd5e000 339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
99fc5e10 340 build_alias=$ac_optarg ;;
1fd5e000
CF
341
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
99fc5e10
CF
347 cache_file=$ac_optarg ;;
348
349 --config-cache | -C)
350 cache_file=config.cache ;;
1fd5e000
CF
351
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 ac_prev=datadir ;;
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 | --da=*)
99fc5e10 356 datadir=$ac_optarg ;;
1fd5e000
CF
357
358 -disable-* | --disable-*)
99fc5e10 359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1fd5e000 360 # Reject names that are not valid shell variable names.
99fc5e10
CF
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
1fd5e000
CF
366
367 -enable-* | --enable-*)
99fc5e10 368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1fd5e000 369 # Reject names that are not valid shell variable names.
99fc5e10
CF
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 case $ac_option in
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1fd5e000
CF
376 *) ac_optarg=yes ;;
377 esac
99fc5e10 378 eval "enable_$ac_feature='$ac_optarg'" ;;
1fd5e000
CF
379
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
99fc5e10 387 exec_prefix=$ac_optarg ;;
1fd5e000
CF
388
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
391 with_gas=yes ;;
392
99fc5e10
CF
393 -help | --help | --hel | --he | -h)
394 ac_init_help=long ;;
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
1fd5e000
CF
399
400 -host | --host | --hos | --ho)
99fc5e10 401 ac_prev=host_alias ;;
1fd5e000 402 -host=* | --host=* | --hos=* | --ho=*)
99fc5e10 403 host_alias=$ac_optarg ;;
1fd5e000
CF
404
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
99fc5e10 410 includedir=$ac_optarg ;;
1fd5e000
CF
411
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
99fc5e10 415 infodir=$ac_optarg ;;
1fd5e000
CF
416
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
99fc5e10 420 libdir=$ac_optarg ;;
1fd5e000
CF
421
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
99fc5e10 427 libexecdir=$ac_optarg ;;
1fd5e000
CF
428
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
99fc5e10 436 localstatedir=$ac_optarg ;;
1fd5e000
CF
437
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
99fc5e10 441 mandir=$ac_optarg ;;
1fd5e000
CF
442
443 -nfp | --nfp | --nf)
444 # Obsolete; use --without-fp.
445 with_fp=no ;;
446
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
99fc5e10 448 | --no-cr | --no-c | -n)
1fd5e000
CF
449 no_create=yes ;;
450
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453 no_recursion=yes ;;
454
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
99fc5e10 462 oldincludedir=$ac_optarg ;;
1fd5e000
CF
463
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
99fc5e10 467 prefix=$ac_optarg ;;
1fd5e000
CF
468
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
99fc5e10 474 program_prefix=$ac_optarg ;;
1fd5e000
CF
475
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
99fc5e10 481 program_suffix=$ac_optarg ;;
1fd5e000
CF
482
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
99fc5e10 498 program_transform_name=$ac_optarg ;;
1fd5e000
CF
499
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
502 silent=yes ;;
503
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 ac_prev=sbindir ;;
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 | --sbi=* | --sb=*)
99fc5e10 508 sbindir=$ac_optarg ;;
1fd5e000
CF
509
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
513 | --sha | --sh)
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 | --sha=* | --sh=*)
99fc5e10 519 sharedstatedir=$ac_optarg ;;
1fd5e000
CF
520
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
99fc5e10 524 site=$ac_optarg ;;
1fd5e000 525
1fd5e000
CF
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
99fc5e10 529 srcdir=$ac_optarg ;;
1fd5e000
CF
530
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
99fc5e10 536 sysconfdir=$ac_optarg ;;
1fd5e000
CF
537
538 -target | --target | --targe | --targ | --tar | --ta | --t)
99fc5e10 539 ac_prev=target_alias ;;
1fd5e000 540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
99fc5e10 541 target_alias=$ac_optarg ;;
1fd5e000
CF
542
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 verbose=yes ;;
545
99fc5e10
CF
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
1fd5e000
CF
548
549 -with-* | --with-*)
99fc5e10 550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1fd5e000 551 # Reject names that are not valid shell variable names.
99fc5e10
CF
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
1fd5e000 555 ac_package=`echo $ac_package| sed 's/-/_/g'`
99fc5e10
CF
556 case $ac_option in
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1fd5e000
CF
558 *) ac_optarg=yes ;;
559 esac
99fc5e10 560 eval "with_$ac_package='$ac_optarg'" ;;
1fd5e000
CF
561
562 -without-* | --without-*)
99fc5e10 563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1fd5e000 564 # Reject names that are not valid shell variable names.
99fc5e10
CF
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
1fd5e000
CF
570
571 --x)
572 # Obsolete; use --with-x.
573 with_x=yes ;;
574
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
99fc5e10 580 x_includes=$ac_optarg ;;
1fd5e000
CF
581
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
99fc5e10 587 x_libraries=$ac_optarg ;;
1fd5e000 588
99fc5e10
CF
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
1fd5e000
CF
592 ;;
593
99fc5e10
CF
594 *=*)
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
602 export $ac_envvar ;;
603
1fd5e000 604 *)
99fc5e10
CF
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1fd5e000
CF
610 ;;
611
612 esac
613done
614
615if test -n "$ac_prev"; then
99fc5e10
CF
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
1fd5e000 619fi
1fd5e000 620
99fc5e10
CF
621# Be sure to have absolute paths.
622for ac_var in exec_prefix prefix
623do
624 eval ac_val=$`echo $ac_var`
625 case $ac_val in
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
629 esac
630done
1fd5e000 631
99fc5e10
CF
632# Be sure to have absolute paths.
633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
1fd5e000 635do
99fc5e10
CF
636 eval ac_val=$`echo $ac_var`
637 case $ac_val in
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
1fd5e000
CF
641 esac
642done
643
99fc5e10
CF
644# There might be people who depend on the old broken behavior: `$host'
645# used to hold the argument of --host etc.
646# FIXME: To remove some day.
647build=$build_alias
648host=$host_alias
649target=$target_alias
650
651# FIXME: To remove some day.
652if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
658 cross_compiling=yes
659 fi
660fi
1fd5e000 661
99fc5e10
CF
662ac_tool_prefix=
663test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665test "$silent" = yes && exec 6>/dev/null
1fd5e000 666
1fd5e000
CF
667
668# Find the source files, if location was not specified.
669if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
99fc5e10
CF
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
678echo X"$0" |
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
683 s/.*/./; q'`
1fd5e000
CF
684 srcdir=$ac_confdir
685 if test ! -r $srcdir/$ac_unique_file; then
686 srcdir=..
687 fi
688else
689 ac_srcdir_defaulted=no
690fi
691if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
99fc5e10
CF
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
1fd5e000 695 else
99fc5e10
CF
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
1fd5e000
CF
698 fi
699fi
99fc5e10
CF
700(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704ac_env_build_alias_set=${build_alias+set}
705ac_env_build_alias_value=$build_alias
706ac_cv_env_build_alias_set=${build_alias+set}
707ac_cv_env_build_alias_value=$build_alias
708ac_env_host_alias_set=${host_alias+set}
709ac_env_host_alias_value=$host_alias
710ac_cv_env_host_alias_set=${host_alias+set}
711ac_cv_env_host_alias_value=$host_alias
712ac_env_target_alias_set=${target_alias+set}
713ac_env_target_alias_value=$target_alias
714ac_cv_env_target_alias_set=${target_alias+set}
715ac_cv_env_target_alias_value=$target_alias
716ac_env_CC_set=${CC+set}
717ac_env_CC_value=$CC
718ac_cv_env_CC_set=${CC+set}
719ac_cv_env_CC_value=$CC
720ac_env_CFLAGS_set=${CFLAGS+set}
721ac_env_CFLAGS_value=$CFLAGS
722ac_cv_env_CFLAGS_set=${CFLAGS+set}
723ac_cv_env_CFLAGS_value=$CFLAGS
724ac_env_LDFLAGS_set=${LDFLAGS+set}
725ac_env_LDFLAGS_value=$LDFLAGS
726ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727ac_cv_env_LDFLAGS_value=$LDFLAGS
728ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729ac_env_CPPFLAGS_value=$CPPFLAGS
730ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732
733#
734# Report the --help message.
735#
736if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
739 cat <<_ACEOF
740\`configure' configures this package to adapt to many kinds of systems.
741
742Usage: $0 [OPTION]... [VAR=VALUE]...
743
744To assign environment variables (e.g., CC, CFLAGS...), specify them as
745VAR=VALUE. See below for descriptions of some of the useful variables.
746
747Defaults for the options are specified in brackets.
748
749Configuration:
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
759
760_ACEOF
761
762 cat <<_ACEOF
763Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
765 [$ac_default_prefix]
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
767 [PREFIX]
768
769By default, \`make install' will install all the files in
770\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772for instance \`--prefix=\$HOME'.
773
774For better control, use the options below.
775
776Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
789_ACEOF
790
791 cat <<\_ACEOF
792
793System types:
794 --build=BUILD configure for building on BUILD [guessed]
795 --host=HOST cross-compile to build programs to run on HOST [BUILD]
796 --target=TARGET configure for building compilers for TARGET [HOST]
797_ACEOF
798fi
799
800if test -n "$ac_init_help"; then
801
802 cat <<\_ACEOF
803
804Some influential environment variables:
805 CC C compiler command
806 CFLAGS C compiler flags
807 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
808 nonstandard directory <lib dir>
809 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
810 headers in a nonstandard directory <include dir>
811
812Use these variables to override the choices made by `configure' or to help
813it to find libraries and programs with nonstandard names/locations.
814
815_ACEOF
816fi
817
818if test "$ac_init_help" = "recursive"; then
819 # If there are subdirs, report their specific --help.
820 ac_popdir=`pwd`
821 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
822 test -d $ac_dir || continue
823 ac_builddir=.
824
825if test "$ac_dir" != .; then
826 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
827 # A "../" for each directory in $ac_dir_suffix.
828 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
829else
830 ac_dir_suffix= ac_top_builddir=
831fi
832
833case $srcdir in
834 .) # No --srcdir option. We are building in place.
835 ac_srcdir=.
836 if test -z "$ac_top_builddir"; then
837 ac_top_srcdir=.
838 else
839 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
840 fi ;;
841 [\\/]* | ?:[\\/]* ) # Absolute path.
842 ac_srcdir=$srcdir$ac_dir_suffix;
843 ac_top_srcdir=$srcdir ;;
844 *) # Relative path.
845 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
846 ac_top_srcdir=$ac_top_builddir$srcdir ;;
847esac
848
849# Do not use `cd foo && pwd` to compute absolute paths, because
850# the directories may not exist.
851case `pwd` in
852.) ac_abs_builddir="$ac_dir";;
853*)
854 case "$ac_dir" in
855 .) ac_abs_builddir=`pwd`;;
856 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
857 *) ac_abs_builddir=`pwd`/"$ac_dir";;
858 esac;;
859esac
860case $ac_abs_builddir in
861.) ac_abs_top_builddir=${ac_top_builddir}.;;
862*)
863 case ${ac_top_builddir}. in
864 .) ac_abs_top_builddir=$ac_abs_builddir;;
865 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
866 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
867 esac;;
868esac
869case $ac_abs_builddir in
870.) ac_abs_srcdir=$ac_srcdir;;
871*)
872 case $ac_srcdir in
873 .) ac_abs_srcdir=$ac_abs_builddir;;
874 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
875 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
876 esac;;
877esac
878case $ac_abs_builddir in
879.) ac_abs_top_srcdir=$ac_top_srcdir;;
880*)
881 case $ac_top_srcdir in
882 .) ac_abs_top_srcdir=$ac_abs_builddir;;
883 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
884 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
885 esac;;
886esac
887
888 cd $ac_dir
889 # Check for guested configure; otherwise get Cygnus style configure.
890 if test -f $ac_srcdir/configure.gnu; then
891 echo
892 $SHELL $ac_srcdir/configure.gnu --help=recursive
893 elif test -f $ac_srcdir/configure; then
894 echo
895 $SHELL $ac_srcdir/configure --help=recursive
896 elif test -f $ac_srcdir/configure.ac ||
897 test -f $ac_srcdir/configure.in; then
898 echo
899 $ac_configure --help
900 else
901 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
902 fi
903 cd "$ac_popdir"
904 done
905fi
906
907test -n "$ac_init_help" && exit 0
908if $ac_init_version; then
909 cat <<\_ACEOF
910
911Copyright (C) 2003 Free Software Foundation, Inc.
912This configure script is free software; the Free Software Foundation
913gives unlimited permission to copy, distribute and modify it.
914_ACEOF
915 exit 0
916fi
917exec 5>config.log
918cat >&5 <<_ACEOF
919This file contains any messages produced by compilers while
920running configure, to aid debugging if configure makes a mistake.
921
922It was created by $as_me, which was
923generated by GNU Autoconf 2.59. Invocation command line was
924
925 $ $0 $@
926
927_ACEOF
928{
929cat <<_ASUNAME
930## --------- ##
931## Platform. ##
932## --------- ##
933
934hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
935uname -m = `(uname -m) 2>/dev/null || echo unknown`
936uname -r = `(uname -r) 2>/dev/null || echo unknown`
937uname -s = `(uname -s) 2>/dev/null || echo unknown`
938uname -v = `(uname -v) 2>/dev/null || echo unknown`
939
940/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
941/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
942
943/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
944/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
945/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
946hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
947/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
948/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
949/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
950
951_ASUNAME
952
953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
954for as_dir in $PATH
955do
956 IFS=$as_save_IFS
957 test -z "$as_dir" && as_dir=.
958 echo "PATH: $as_dir"
959done
960
961} >&5
962
963cat >&5 <<_ACEOF
964
1fd5e000 965
99fc5e10
CF
966## ----------- ##
967## Core tests. ##
968## ----------- ##
969
970_ACEOF
971
972
973# Keep a trace of the command line.
974# Strip out --no-create and --no-recursion so they do not pile up.
975# Strip out --silent because we don't want to record it for future runs.
976# Also quote any args containing shell meta-characters.
977# Make two passes to allow for proper duplicate-argument suppression.
978ac_configure_args=
979ac_configure_args0=
980ac_configure_args1=
981ac_sep=
982ac_must_keep_next=false
983for ac_pass in 1 2
984do
985 for ac_arg
986 do
987 case $ac_arg in
988 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
991 continue ;;
992 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
993 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
994 esac
995 case $ac_pass in
996 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
997 2)
998 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
999 if test $ac_must_keep_next = true; then
1000 ac_must_keep_next=false # Got value, back to normal.
1001 else
1002 case $ac_arg in
1003 *=* | --config-cache | -C | -disable-* | --disable-* \
1004 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1005 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1006 | -with-* | --with-* | -without-* | --without-* | --x)
1007 case "$ac_configure_args0 " in
1008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1009 esac
1010 ;;
1011 -* ) ac_must_keep_next=true ;;
1012 esac
1013 fi
1014 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1015 # Get rid of the leading space.
1016 ac_sep=" "
1017 ;;
1018 esac
1019 done
1020done
1021$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1022$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1023
1024# When interrupted or exit'd, cleanup temporary files, and complete
1025# config.log. We remove comments because anyway the quotes in there
1026# would cause problems or look ugly.
1027# WARNING: Be sure not to use single quotes in there, as some shells,
1028# such as our DU 5.0 friend, will then `close' the trap.
1029trap 'exit_status=$?
1030 # Save into config.log some information that might help in debugging.
1031 {
1032 echo
1033
1034 cat <<\_ASBOX
1035## ---------------- ##
1036## Cache variables. ##
1037## ---------------- ##
1038_ASBOX
1039 echo
1040 # The following way of writing the cache mishandles newlines in values,
1041{
1042 (set) 2>&1 |
1043 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1044 *ac_space=\ *)
1045 sed -n \
1046 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1048 ;;
1049 *)
1050 sed -n \
1051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1052 ;;
1053 esac;
1054}
1055 echo
1056
1057 cat <<\_ASBOX
1058## ----------------- ##
1059## Output variables. ##
1060## ----------------- ##
1061_ASBOX
1062 echo
1063 for ac_var in $ac_subst_vars
1064 do
1065 eval ac_val=$`echo $ac_var`
1066 echo "$ac_var='"'"'$ac_val'"'"'"
1067 done | sort
1068 echo
1069
1070 if test -n "$ac_subst_files"; then
1071 cat <<\_ASBOX
1072## ------------- ##
1073## Output files. ##
1074## ------------- ##
1075_ASBOX
1076 echo
1077 for ac_var in $ac_subst_files
1078 do
1079 eval ac_val=$`echo $ac_var`
1080 echo "$ac_var='"'"'$ac_val'"'"'"
1081 done | sort
1082 echo
1083 fi
1084
1085 if test -s confdefs.h; then
1086 cat <<\_ASBOX
1087## ----------- ##
1088## confdefs.h. ##
1089## ----------- ##
1090_ASBOX
1091 echo
1092 sed "/^$/d" confdefs.h | sort
1093 echo
1094 fi
1095 test "$ac_signal" != 0 &&
1096 echo "$as_me: caught signal $ac_signal"
1097 echo "$as_me: exit $exit_status"
1098 } >&5
1099 rm -f core *.core &&
1100 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1101 exit $exit_status
1102 ' 0
1103for ac_signal in 1 2 13 15; do
1104 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1105done
1106ac_signal=0
1107
1108# confdefs.h avoids OS command line length limits that DEFS can exceed.
1109rm -rf conftest* confdefs.h
1110# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1111echo >confdefs.h
1112
1113# Predefined preprocessor variables.
1114
1115cat >>confdefs.h <<_ACEOF
1116#define PACKAGE_NAME "$PACKAGE_NAME"
1117_ACEOF
1118
1119
1120cat >>confdefs.h <<_ACEOF
1121#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1122_ACEOF
1123
1124
1125cat >>confdefs.h <<_ACEOF
1126#define PACKAGE_VERSION "$PACKAGE_VERSION"
1127_ACEOF
1128
1129
1130cat >>confdefs.h <<_ACEOF
1131#define PACKAGE_STRING "$PACKAGE_STRING"
1132_ACEOF
1133
1134
1135cat >>confdefs.h <<_ACEOF
1136#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1137_ACEOF
1138
1139
1140# Let the site file select an alternate cache file if it wants to.
1fd5e000 1141# Prefer explicitly selected file to automatically selected ones.
63928f60
CF
1142if test -z "$CONFIG_SITE"; then
1143 if test "x$prefix" != xNONE; then
1144 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1145 else
1146 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1fd5e000 1147 fi
1fd5e000
CF
1148fi
1149for ac_site_file in $CONFIG_SITE; do
1150 if test -r "$ac_site_file"; then
99fc5e10
CF
1151 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1152echo "$as_me: loading site script $ac_site_file" >&6;}
1153 sed 's/^/| /' "$ac_site_file" >&5
1fd5e000
CF
1154 . "$ac_site_file"
1155 fi
1156done
1157
1158if test -r "$cache_file"; then
99fc5e10
CF
1159 # Some versions of bash will fail to source /dev/null (special
1160 # files actually), so we avoid doing that.
1161 if test -f "$cache_file"; then
1162 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1163echo "$as_me: loading cache $cache_file" >&6;}
1164 case $cache_file in
1165 [\\/]* | ?:[\\/]* ) . $cache_file;;
1166 *) . ./$cache_file;;
1167 esac
1168 fi
1fd5e000 1169else
99fc5e10
CF
1170 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1171echo "$as_me: creating cache $cache_file" >&6;}
1172 >$cache_file
1fd5e000
CF
1173fi
1174
99fc5e10
CF
1175# Check that the precious variables saved in the cache have kept the same
1176# value.
1177ac_cache_corrupted=false
1178for ac_var in `(set) 2>&1 |
1179 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1180 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1181 eval ac_new_set=\$ac_env_${ac_var}_set
1182 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1183 eval ac_new_val="\$ac_env_${ac_var}_value"
1184 case $ac_old_set,$ac_new_set in
1185 set,)
1186 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1187echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1188 ac_cache_corrupted=: ;;
1189 ,set)
1190 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1191echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1192 ac_cache_corrupted=: ;;
1193 ,);;
1194 *)
1195 if test "x$ac_old_val" != "x$ac_new_val"; then
1196 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1197echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1198 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1199echo "$as_me: former value: $ac_old_val" >&2;}
1200 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1201echo "$as_me: current value: $ac_new_val" >&2;}
1202 ac_cache_corrupted=:
1203 fi;;
1204 esac
1205 # Pass precious variables to config.status.
1206 if test "$ac_new_set" = set; then
1207 case $ac_new_val in
1208 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1209 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1210 *) ac_arg=$ac_var=$ac_new_val ;;
1211 esac
1212 case " $ac_configure_args " in
1213 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1214 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1215 esac
1fd5e000 1216 fi
99fc5e10
CF
1217done
1218if $ac_cache_corrupted; then
1219 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1220echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1221 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1222echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1223 { (exit 1); exit 1; }; }
1fd5e000
CF
1224fi
1225
99fc5e10
CF
1226ac_ext=c
1227ac_cpp='$CPP $CPPFLAGS'
1228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1230ac_compiler_gnu=$ac_cv_c_compiler_gnu
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1fd5e000
CF
1246
1247
1248
1249
1250ac_aux_dir=
99fc5e10 1251for ac_dir in ../.. $srcdir/../..; do
1fd5e000
CF
1252 if test -f $ac_dir/install-sh; then
1253 ac_aux_dir=$ac_dir
1254 ac_install_sh="$ac_aux_dir/install-sh -c"
1255 break
1256 elif test -f $ac_dir/install.sh; then
1257 ac_aux_dir=$ac_dir
1258 ac_install_sh="$ac_aux_dir/install.sh -c"
1259 break
99fc5e10
CF
1260 elif test -f $ac_dir/shtool; then
1261 ac_aux_dir=$ac_dir
1262 ac_install_sh="$ac_aux_dir/shtool install -c"
1263 break
1fd5e000
CF
1264 fi
1265done
1266if test -z "$ac_aux_dir"; then
99fc5e10
CF
1267 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&5
1268echo "$as_me: error: cannot find install-sh or install.sh in ../.. $srcdir/../.." >&2;}
1269 { (exit 1); exit 1; }; }
1fd5e000 1270fi
99fc5e10
CF
1271ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1272ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1273ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1fd5e000
CF
1274
1275
1276# Make sure we can run config.sub.
99fc5e10
CF
1277$ac_config_sub sun4 >/dev/null 2>&1 ||
1278 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1279echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1280 { (exit 1); exit 1; }; }
1281
1282echo "$as_me:$LINENO: checking build system type" >&5
1283echo $ECHO_N "checking build system type... $ECHO_C" >&6
1284if test "${ac_cv_build+set}" = set; then
1285 echo $ECHO_N "(cached) $ECHO_C" >&6
1286else
1287 ac_cv_build_alias=$build_alias
1288test -z "$ac_cv_build_alias" &&
1289 ac_cv_build_alias=`$ac_config_guess`
1290test -z "$ac_cv_build_alias" &&
1291 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1292echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1293 { (exit 1); exit 1; }; }
1294ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1295 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1296echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1297 { (exit 1); exit 1; }; }
1fd5e000 1298
99fc5e10
CF
1299fi
1300echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1301echo "${ECHO_T}$ac_cv_build" >&6
1302build=$ac_cv_build
1303build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1304build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1305build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1306
1307
1308echo "$as_me:$LINENO: checking host system type" >&5
1309echo $ECHO_N "checking host system type... $ECHO_C" >&6
1310if test "${ac_cv_host+set}" = set; then
1311 echo $ECHO_N "(cached) $ECHO_C" >&6
1312else
1313 ac_cv_host_alias=$host_alias
1314test -z "$ac_cv_host_alias" &&
1315 ac_cv_host_alias=$ac_cv_build_alias
1316ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1317 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1318echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1319 { (exit 1); exit 1; }; }
1fd5e000 1320
99fc5e10
CF
1321fi
1322echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1323echo "${ECHO_T}$ac_cv_host" >&6
1324host=$ac_cv_host
1325host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1326host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1327host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1328
1329
1330echo "$as_me:$LINENO: checking target system type" >&5
1331echo $ECHO_N "checking target system type... $ECHO_C" >&6
1332if test "${ac_cv_target+set}" = set; then
1333 echo $ECHO_N "(cached) $ECHO_C" >&6
1334else
1335 ac_cv_target_alias=$target_alias
1336test "x$ac_cv_target_alias" = "x" &&
1337 ac_cv_target_alias=$ac_cv_host_alias
1338ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1339 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1340echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1341 { (exit 1); exit 1; }; }
1fd5e000 1342
99fc5e10
CF
1343fi
1344echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1345echo "${ECHO_T}$ac_cv_target" >&6
1346target=$ac_cv_target
1347target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1348target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1349target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1fd5e000 1350
1fd5e000 1351
99fc5e10
CF
1352# The aliases save the names the user supplied, while $host etc.
1353# will get canonicalized.
1354test -n "$target_alias" &&
1fd5e000
CF
1355 test "$program_prefix$program_suffix$program_transform_name" = \
1356 NONENONEs,x,x, &&
1357 program_prefix=${target_alias}-
1358
99fc5e10
CF
1359if test -n "$ac_tool_prefix"; then
1360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1fd5e000 1361set dummy ${ac_tool_prefix}gcc; ac_word=$2
99fc5e10
CF
1362echo "$as_me:$LINENO: checking for $ac_word" >&5
1363echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1364if test "${ac_cv_prog_CC+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1fd5e000
CF
1366else
1367 if test -n "$CC"; then
1368 ac_cv_prog_CC="$CC" # Let the user override the test.
1369else
99fc5e10
CF
1370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371for as_dir in $PATH
1372do
1373 IFS=$as_save_IFS
1374 test -z "$as_dir" && as_dir=.
1375 for ac_exec_ext in '' $ac_executable_extensions; do
1376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1377 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1379 break 2
1380 fi
1381done
1382done
1383
1fd5e000
CF
1384fi
1385fi
99fc5e10 1386CC=$ac_cv_prog_CC
1fd5e000 1387if test -n "$CC"; then
99fc5e10
CF
1388 echo "$as_me:$LINENO: result: $CC" >&5
1389echo "${ECHO_T}$CC" >&6
1fd5e000 1390else
99fc5e10
CF
1391 echo "$as_me:$LINENO: result: no" >&5
1392echo "${ECHO_T}no" >&6
1fd5e000
CF
1393fi
1394
99fc5e10 1395fi
1fd5e000 1396if test -z "$ac_cv_prog_CC"; then
99fc5e10 1397 ac_ct_CC=$CC
1fd5e000
CF
1398 # Extract the first word of "gcc", so it can be a program name with args.
1399set dummy gcc; ac_word=$2
99fc5e10
CF
1400echo "$as_me:$LINENO: checking for $ac_word" >&5
1401echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1402if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1404else
1405 if test -n "$ac_ct_CC"; then
1406 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1407else
1408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409for as_dir in $PATH
1410do
1411 IFS=$as_save_IFS
1412 test -z "$as_dir" && as_dir=.
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1415 ac_cv_prog_ac_ct_CC="gcc"
1416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1417 break 2
1418 fi
1419done
1420done
1421
1422 test -z "$ac_cv_prog_ac_ct_CC" && ac_cv_prog_ac_ct_CC="gcc"
1423fi
1424fi
1425ac_ct_CC=$ac_cv_prog_ac_ct_CC
1426if test -n "$ac_ct_CC"; then
1427 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1428echo "${ECHO_T}$ac_ct_CC" >&6
1429else
1430 echo "$as_me:$LINENO: result: no" >&5
1431echo "${ECHO_T}no" >&6
1432fi
1433
1434 CC=$ac_ct_CC
1435else
1436 CC="$ac_cv_prog_CC"
1437fi
1438
1439: ${CC:=gcc}
1440ac_ext=c
1441ac_cpp='$CPP $CPPFLAGS'
1442ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1443ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1444ac_compiler_gnu=$ac_cv_c_compiler_gnu
1445if test -n "$ac_tool_prefix"; then
1446 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1447set dummy ${ac_tool_prefix}gcc; ac_word=$2
1448echo "$as_me:$LINENO: checking for $ac_word" >&5
1449echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1450if test "${ac_cv_prog_CC+set}" = set; then
1451 echo $ECHO_N "(cached) $ECHO_C" >&6
1fd5e000
CF
1452else
1453 if test -n "$CC"; then
1454 ac_cv_prog_CC="$CC" # Let the user override the test.
1455else
99fc5e10
CF
1456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457for as_dir in $PATH
1458do
1459 IFS=$as_save_IFS
1460 test -z "$as_dir" && as_dir=.
1461 for ac_exec_ext in '' $ac_executable_extensions; do
1462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1463 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1465 break 2
1466 fi
1467done
1468done
1469
1470fi
1471fi
1472CC=$ac_cv_prog_CC
1473if test -n "$CC"; then
1474 echo "$as_me:$LINENO: result: $CC" >&5
1475echo "${ECHO_T}$CC" >&6
1476else
1477 echo "$as_me:$LINENO: result: no" >&5
1478echo "${ECHO_T}no" >&6
1479fi
1480
1481fi
1482if test -z "$ac_cv_prog_CC"; then
1483 ac_ct_CC=$CC
1484 # Extract the first word of "gcc", so it can be a program name with args.
1485set dummy gcc; ac_word=$2
1486echo "$as_me:$LINENO: checking for $ac_word" >&5
1487echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1490else
1491 if test -n "$ac_ct_CC"; then
1492 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1493else
1494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495for as_dir in $PATH
1496do
1497 IFS=$as_save_IFS
1498 test -z "$as_dir" && as_dir=.
1499 for ac_exec_ext in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 ac_cv_prog_ac_ct_CC="gcc"
1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503 break 2
1504 fi
1505done
1506done
1507
1508fi
1509fi
1510ac_ct_CC=$ac_cv_prog_ac_ct_CC
1511if test -n "$ac_ct_CC"; then
1512 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1513echo "${ECHO_T}$ac_ct_CC" >&6
1514else
1515 echo "$as_me:$LINENO: result: no" >&5
1516echo "${ECHO_T}no" >&6
1fd5e000 1517fi
99fc5e10
CF
1518
1519 CC=$ac_ct_CC
1520else
1521 CC="$ac_cv_prog_CC"
1fd5e000 1522fi
99fc5e10
CF
1523
1524if test -z "$CC"; then
1525 if test -n "$ac_tool_prefix"; then
1526 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1527set dummy ${ac_tool_prefix}cc; ac_word=$2
1528echo "$as_me:$LINENO: checking for $ac_word" >&5
1529echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1530if test "${ac_cv_prog_CC+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1532else
1533 if test -n "$CC"; then
1534 ac_cv_prog_CC="$CC" # Let the user override the test.
1535else
1536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537for as_dir in $PATH
1538do
1539 IFS=$as_save_IFS
1540 test -z "$as_dir" && as_dir=.
1541 for ac_exec_ext in '' $ac_executable_extensions; do
1542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1543 ac_cv_prog_CC="${ac_tool_prefix}cc"
1544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 break 2
1546 fi
1547done
1548done
1549
1550fi
1551fi
1552CC=$ac_cv_prog_CC
1fd5e000 1553if test -n "$CC"; then
99fc5e10
CF
1554 echo "$as_me:$LINENO: result: $CC" >&5
1555echo "${ECHO_T}$CC" >&6
1fd5e000 1556else
99fc5e10
CF
1557 echo "$as_me:$LINENO: result: no" >&5
1558echo "${ECHO_T}no" >&6
1559fi
1560
1fd5e000 1561fi
99fc5e10
CF
1562if test -z "$ac_cv_prog_CC"; then
1563 ac_ct_CC=$CC
1564 # Extract the first word of "cc", so it can be a program name with args.
1565set dummy cc; ac_word=$2
1566echo "$as_me:$LINENO: checking for $ac_word" >&5
1567echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1568if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1569 echo $ECHO_N "(cached) $ECHO_C" >&6
1570else
1571 if test -n "$ac_ct_CC"; then
1572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1573else
1574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575for as_dir in $PATH
1576do
1577 IFS=$as_save_IFS
1578 test -z "$as_dir" && as_dir=.
1579 for ac_exec_ext in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1581 ac_cv_prog_ac_ct_CC="cc"
1582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1583 break 2
1584 fi
1585done
1586done
1fd5e000 1587
99fc5e10
CF
1588fi
1589fi
1590ac_ct_CC=$ac_cv_prog_ac_ct_CC
1591if test -n "$ac_ct_CC"; then
1592 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1593echo "${ECHO_T}$ac_ct_CC" >&6
1fd5e000 1594else
99fc5e10
CF
1595 echo "$as_me:$LINENO: result: no" >&5
1596echo "${ECHO_T}no" >&6
1fd5e000 1597fi
99fc5e10
CF
1598
1599 CC=$ac_ct_CC
1600else
1601 CC="$ac_cv_prog_CC"
1fd5e000
CF
1602fi
1603
99fc5e10 1604fi
1fd5e000
CF
1605if test -z "$CC"; then
1606 # Extract the first word of "cc", so it can be a program name with args.
1607set dummy cc; ac_word=$2
99fc5e10
CF
1608echo "$as_me:$LINENO: checking for $ac_word" >&5
1609echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1610if test "${ac_cv_prog_CC+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1fd5e000
CF
1612else
1613 if test -n "$CC"; then
1614 ac_cv_prog_CC="$CC" # Let the user override the test.
1615else
1fd5e000 1616 ac_prog_rejected=no
99fc5e10
CF
1617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618for as_dir in $PATH
1619do
1620 IFS=$as_save_IFS
1621 test -z "$as_dir" && as_dir=.
1622 for ac_exec_ext in '' $ac_executable_extensions; do
1623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1624 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1625 ac_prog_rejected=yes
1626 continue
1627 fi
1628 ac_cv_prog_CC="cc"
1629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 break 2
1631 fi
1632done
1633done
1634
1fd5e000
CF
1635if test $ac_prog_rejected = yes; then
1636 # We found a bogon in the path, so make sure we never use it.
1637 set dummy $ac_cv_prog_CC
1638 shift
99fc5e10 1639 if test $# != 0; then
1fd5e000
CF
1640 # We chose a different compiler from the bogus one.
1641 # However, it has the same basename, so the bogon will be chosen
1642 # first if we set CC to just the basename; use the full file name.
1643 shift
99fc5e10 1644 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1fd5e000
CF
1645 fi
1646fi
1647fi
1648fi
99fc5e10 1649CC=$ac_cv_prog_CC
1fd5e000 1650if test -n "$CC"; then
99fc5e10
CF
1651 echo "$as_me:$LINENO: result: $CC" >&5
1652echo "${ECHO_T}$CC" >&6
1fd5e000 1653else
99fc5e10
CF
1654 echo "$as_me:$LINENO: result: no" >&5
1655echo "${ECHO_T}no" >&6
1fd5e000
CF
1656fi
1657
1fd5e000 1658fi
99fc5e10
CF
1659if test -z "$CC"; then
1660 if test -n "$ac_tool_prefix"; then
1661 for ac_prog in cl
1662 do
1663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1664set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1665echo "$as_me:$LINENO: checking for $ac_word" >&5
1666echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1667if test "${ac_cv_prog_CC+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669else
1670 if test -n "$CC"; then
1671 ac_cv_prog_CC="$CC" # Let the user override the test.
1672else
1673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674for as_dir in $PATH
1675do
1676 IFS=$as_save_IFS
1677 test -z "$as_dir" && as_dir=.
1678 for ac_exec_ext in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1680 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 break 2
1683 fi
1684done
1685done
1fd5e000 1686
99fc5e10
CF
1687fi
1688fi
1689CC=$ac_cv_prog_CC
1690if test -n "$CC"; then
1691 echo "$as_me:$LINENO: result: $CC" >&5
1692echo "${ECHO_T}$CC" >&6
1fd5e000 1693else
99fc5e10
CF
1694 echo "$as_me:$LINENO: result: no" >&5
1695echo "${ECHO_T}no" >&6
1696fi
1697
1698 test -n "$CC" && break
1699 done
1700fi
1701if test -z "$CC"; then
1702 ac_ct_CC=$CC
1703 for ac_prog in cl
1704do
1705 # Extract the first word of "$ac_prog", so it can be a program name with args.
1706set dummy $ac_prog; ac_word=$2
1707echo "$as_me:$LINENO: checking for $ac_word" >&5
1708echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1709if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1fd5e000 1711else
99fc5e10
CF
1712 if test -n "$ac_ct_CC"; then
1713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1714else
1715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716for as_dir in $PATH
1717do
1718 IFS=$as_save_IFS
1719 test -z "$as_dir" && as_dir=.
1720 for ac_exec_ext in '' $ac_executable_extensions; do
1721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1722 ac_cv_prog_ac_ct_CC="$ac_prog"
1723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1724 break 2
1725 fi
1726done
1727done
1728
1729fi
1730fi
1731ac_ct_CC=$ac_cv_prog_ac_ct_CC
1732if test -n "$ac_ct_CC"; then
1733 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1734echo "${ECHO_T}$ac_ct_CC" >&6
1735else
1736 echo "$as_me:$LINENO: result: no" >&5
1737echo "${ECHO_T}no" >&6
1fd5e000 1738fi
1fd5e000 1739
99fc5e10
CF
1740 test -n "$ac_ct_CC" && break
1741done
1742
1743 CC=$ac_ct_CC
1744fi
1745
1746fi
1747
1748
1749test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1750See \`config.log' for more details." >&5
1751echo "$as_me: error: no acceptable C compiler found in \$PATH
1752See \`config.log' for more details." >&2;}
1753 { (exit 1); exit 1; }; }
1754
1755# Provide some information about the compiler.
1756echo "$as_me:$LINENO:" \
1757 "checking for C compiler version" >&5
1758ac_compiler=`set X $ac_compile; echo $2`
1759{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1760 (eval $ac_compiler --version </dev/null >&5) 2>&5
1761 ac_status=$?
1762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1763 (exit $ac_status); }
1764{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1765 (eval $ac_compiler -v </dev/null >&5) 2>&5
1766 ac_status=$?
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }
1769{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1770 (eval $ac_compiler -V </dev/null >&5) 2>&5
1771 ac_status=$?
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }
1774
1775cat >conftest.$ac_ext <<_ACEOF
1776/* confdefs.h. */
1777_ACEOF
1778cat confdefs.h >>conftest.$ac_ext
1779cat >>conftest.$ac_ext <<_ACEOF
1780/* end confdefs.h. */
1781
1782int
1783main ()
1784{
1785
1786 ;
1787 return 0;
1788}
1789_ACEOF
1790ac_clean_files_save=$ac_clean_files
1791ac_clean_files="$ac_clean_files a.out a.exe b.out"
1792# Try to create an executable without -o first, disregard a.out.
1793# It will help us diagnose broken compilers, and finding out an intuition
1794# of exeext.
1795echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1796echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1797ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1798if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1799 (eval $ac_link_default) 2>&5
1800 ac_status=$?
1801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1802 (exit $ac_status); }; then
1803 # Find the output, starting from the most likely. This scheme is
1804# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1805# resort.
1806
1807# Be careful to initialize this variable, since it used to be cached.
1808# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1809ac_cv_exeext=
1810# b.out is created by i960 compilers.
1811for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1812do
1813 test -f "$ac_file" || continue
1814 case $ac_file in
1815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1816 ;;
1817 conftest.$ac_ext )
1818 # This is the source file.
1819 ;;
1820 [ab].out )
1821 # We found the default executable, but exeext='' is most
1822 # certainly right.
1823 break;;
1824 *.* )
1825 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1826 # FIXME: I believe we export ac_cv_exeext for Libtool,
1827 # but it would be cool to find out if it's true. Does anybody
1828 # maintain Libtool? --akim.
1829 export ac_cv_exeext
1830 break;;
1831 * )
1832 break;;
1833 esac
1834done
1835else
1836 echo "$as_me: failed program was:" >&5
1837sed 's/^/| /' conftest.$ac_ext >&5
1838
1839{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1840See \`config.log' for more details." >&5
1841echo "$as_me: error: C compiler cannot create executables
1842See \`config.log' for more details." >&2;}
1843 { (exit 77); exit 77; }; }
1fd5e000
CF
1844fi
1845
99fc5e10
CF
1846ac_exeext=$ac_cv_exeext
1847echo "$as_me:$LINENO: result: $ac_file" >&5
1848echo "${ECHO_T}$ac_file" >&6
1849
1850# Check the compiler produces executables we can run. If not, either
1851# the compiler is broken, or we cross compile.
1852echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1853echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1854# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1855# If not cross compiling, check that we can run a simple program.
1856if test "$cross_compiling" != yes; then
1857 if { ac_try='./$ac_file'
1858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1859 (eval $ac_try) 2>&5
1860 ac_status=$?
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }; }; then
1863 cross_compiling=no
1864 else
1865 if test "$cross_compiling" = maybe; then
1866 cross_compiling=yes
1867 else
1868 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1869If you meant to cross compile, use \`--host'.
1870See \`config.log' for more details." >&5
1871echo "$as_me: error: cannot run C compiled programs.
1872If you meant to cross compile, use \`--host'.
1873See \`config.log' for more details." >&2;}
1874 { (exit 1); exit 1; }; }
1875 fi
1876 fi
1877fi
1878echo "$as_me:$LINENO: result: yes" >&5
1879echo "${ECHO_T}yes" >&6
1880
1881rm -f a.out a.exe conftest$ac_cv_exeext b.out
1882ac_clean_files=$ac_clean_files_save
1883# Check the compiler produces executables we can run. If not, either
1884# the compiler is broken, or we cross compile.
1885echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1886echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1887echo "$as_me:$LINENO: result: $cross_compiling" >&5
1888echo "${ECHO_T}$cross_compiling" >&6
1889
1890echo "$as_me:$LINENO: checking for suffix of executables" >&5
1891echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1892if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1893 (eval $ac_link) 2>&5
1894 ac_status=$?
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); }; then
1897 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1898# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1899# work properly (i.e., refer to `conftest.exe'), while it won't with
1900# `rm'.
1901for ac_file in conftest.exe conftest conftest.*; do
1902 test -f "$ac_file" || continue
1903 case $ac_file in
1904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1905 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1906 export ac_cv_exeext
1907 break;;
1908 * ) break;;
1909 esac
1910done
1911else
1912 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1913See \`config.log' for more details." >&5
1914echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1915See \`config.log' for more details." >&2;}
1916 { (exit 1); exit 1; }; }
1917fi
1918
1919rm -f conftest$ac_cv_exeext
1920echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1921echo "${ECHO_T}$ac_cv_exeext" >&6
1922
1923rm -f conftest.$ac_ext
1924EXEEXT=$ac_cv_exeext
1925ac_exeext=$EXEEXT
1926echo "$as_me:$LINENO: checking for suffix of object files" >&5
1927echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1928if test "${ac_cv_objext+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1930else
1931 cat >conftest.$ac_ext <<_ACEOF
1932/* confdefs.h. */
1933_ACEOF
1934cat confdefs.h >>conftest.$ac_ext
1935cat >>conftest.$ac_ext <<_ACEOF
1936/* end confdefs.h. */
1937
1938int
1939main ()
1940{
1941
1942 ;
1943 return 0;
1944}
1945_ACEOF
1946rm -f conftest.o conftest.obj
1947if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1948 (eval $ac_compile) 2>&5
1949 ac_status=$?
1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); }; then
1952 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1953 case $ac_file in
1954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1955 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1956 break;;
1957 esac
1958done
1959else
1960 echo "$as_me: failed program was:" >&5
1961sed 's/^/| /' conftest.$ac_ext >&5
1962
1963{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1964See \`config.log' for more details." >&5
1965echo "$as_me: error: cannot compute suffix of object files: cannot compile
1966See \`config.log' for more details." >&2;}
1967 { (exit 1); exit 1; }; }
1968fi
1969
1970rm -f conftest.$ac_cv_objext conftest.$ac_ext
1971fi
1972echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1973echo "${ECHO_T}$ac_cv_objext" >&6
1974OBJEXT=$ac_cv_objext
1975ac_objext=$OBJEXT
1976echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1977echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1978if test "${ac_cv_c_compiler_gnu+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980else
1981 cat >conftest.$ac_ext <<_ACEOF
1982/* confdefs.h. */
1983_ACEOF
1984cat confdefs.h >>conftest.$ac_ext
1985cat >>conftest.$ac_ext <<_ACEOF
1986/* end confdefs.h. */
1987
1988int
1989main ()
1990{
1991#ifndef __GNUC__
1992 choke me
1993#endif
1994
1995 ;
1996 return 0;
1997}
1998_ACEOF
1999rm -f conftest.$ac_objext
2000if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2001 (eval $ac_compile) 2>conftest.er1
2002 ac_status=$?
2003 grep -v '^ *+' conftest.er1 >conftest.err
2004 rm -f conftest.er1
2005 cat conftest.err >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); } &&
2008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 (eval $ac_try) 2>&5
2011 ac_status=$?
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; } &&
2014 { ac_try='test -s conftest.$ac_objext'
2015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016 (eval $ac_try) 2>&5
2017 ac_status=$?
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); }; }; then
2020 ac_compiler_gnu=yes
2021else
2022 echo "$as_me: failed program was:" >&5
2023sed 's/^/| /' conftest.$ac_ext >&5
2024
2025ac_compiler_gnu=no
2026fi
2027rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2028ac_cv_c_compiler_gnu=$ac_compiler_gnu
2029
2030fi
2031echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2032echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2033GCC=`test $ac_compiler_gnu = yes && echo yes`
2034ac_test_CFLAGS=${CFLAGS+set}
2035ac_save_CFLAGS=$CFLAGS
2036CFLAGS="-g"
2037echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2038echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2039if test "${ac_cv_prog_cc_g+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2041else
2042 cat >conftest.$ac_ext <<_ACEOF
2043/* confdefs.h. */
2044_ACEOF
2045cat confdefs.h >>conftest.$ac_ext
2046cat >>conftest.$ac_ext <<_ACEOF
2047/* end confdefs.h. */
2048
2049int
2050main ()
2051{
2052
2053 ;
2054 return 0;
2055}
2056_ACEOF
2057rm -f conftest.$ac_objext
2058if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2059 (eval $ac_compile) 2>conftest.er1
2060 ac_status=$?
2061 grep -v '^ *+' conftest.er1 >conftest.err
2062 rm -f conftest.er1
2063 cat conftest.err >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); } &&
2066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2068 (eval $ac_try) 2>&5
2069 ac_status=$?
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; } &&
2072 { ac_try='test -s conftest.$ac_objext'
2073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2074 (eval $ac_try) 2>&5
2075 ac_status=$?
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); }; }; then
2078 ac_cv_prog_cc_g=yes
2079else
2080 echo "$as_me: failed program was:" >&5
2081sed 's/^/| /' conftest.$ac_ext >&5
2082
2083ac_cv_prog_cc_g=no
2084fi
2085rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2086fi
2087echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2088echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2089if test "$ac_test_CFLAGS" = set; then
2090 CFLAGS=$ac_save_CFLAGS
2091elif test $ac_cv_prog_cc_g = yes; then
2092 if test "$GCC" = yes; then
1fd5e000
CF
2093 CFLAGS="-g -O2"
2094 else
99fc5e10 2095 CFLAGS="-g"
1fd5e000 2096 fi
99fc5e10
CF
2097else
2098 if test "$GCC" = yes; then
2099 CFLAGS="-O2"
2100 else
2101 CFLAGS=
1fd5e000 2102 fi
99fc5e10
CF
2103fi
2104echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2105echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2106if test "${ac_cv_prog_cc_stdc+set}" = set; then
2107 echo $ECHO_N "(cached) $ECHO_C" >&6
2108else
2109 ac_cv_prog_cc_stdc=no
2110ac_save_CC=$CC
2111cat >conftest.$ac_ext <<_ACEOF
2112/* confdefs.h. */
2113_ACEOF
2114cat confdefs.h >>conftest.$ac_ext
2115cat >>conftest.$ac_ext <<_ACEOF
2116/* end confdefs.h. */
2117#include <stdarg.h>
2118#include <stdio.h>
2119#include <sys/types.h>
2120#include <sys/stat.h>
2121/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2122struct buf { int x; };
2123FILE * (*rcsopen) (struct buf *, struct stat *, int);
2124static char *e (p, i)
2125 char **p;
2126 int i;
2127{
2128 return p[i];
2129}
2130static char *f (char * (*g) (char **, int), char **p, ...)
2131{
2132 char *s;
2133 va_list v;
2134 va_start (v,p);
2135 s = g (p, va_arg (v,int));
2136 va_end (v);
2137 return s;
2138}
2139
2140/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2141 function prototypes and stuff, but not '\xHH' hex character constants.
2142 These don't provoke an error unfortunately, instead are silently treated
2143 as 'x'. The following induces an error, until -std1 is added to get
2144 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2145 array size at least. It's necessary to write '\x00'==0 to get something
2146 that's true only with -std1. */
2147int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2148
2149int test (int i, double x);
2150struct s1 {int (*f) (int a);};
2151struct s2 {int (*f) (double a);};
2152int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2153int argc;
2154char **argv;
2155int
2156main ()
2157{
2158return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2159 ;
2160 return 0;
2161}
2162_ACEOF
2163# Don't try gcc -ansi; that turns off useful extensions and
2164# breaks some systems' header files.
2165# AIX -qlanglvl=ansi
2166# Ultrix and OSF/1 -std1
2167# HP-UX 10.20 and later -Ae
2168# HP-UX older versions -Aa -D_HPUX_SOURCE
2169# SVR4 -Xc -D__EXTENSIONS__
2170for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2171do
2172 CC="$ac_save_CC $ac_arg"
2173 rm -f conftest.$ac_objext
2174if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2175 (eval $ac_compile) 2>conftest.er1
2176 ac_status=$?
2177 grep -v '^ *+' conftest.er1 >conftest.err
2178 rm -f conftest.er1
2179 cat conftest.err >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); } &&
2182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 (eval $ac_try) 2>&5
2185 ac_status=$?
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; } &&
2188 { ac_try='test -s conftest.$ac_objext'
2189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 (eval $ac_try) 2>&5
2191 ac_status=$?
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; }; then
2194 ac_cv_prog_cc_stdc=$ac_arg
2195break
1fd5e000 2196else
99fc5e10
CF
2197 echo "$as_me: failed program was:" >&5
2198sed 's/^/| /' conftest.$ac_ext >&5
2199
1fd5e000 2200fi
99fc5e10
CF
2201rm -f conftest.err conftest.$ac_objext
2202done
2203rm -f conftest.$ac_ext conftest.$ac_objext
2204CC=$ac_save_CC
2205
2206fi
2207
2208case "x$ac_cv_prog_cc_stdc" in
2209 x|xno)
2210 echo "$as_me:$LINENO: result: none needed" >&5
2211echo "${ECHO_T}none needed" >&6 ;;
2212 *)
2213 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2214echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2215 CC="$CC $ac_cv_prog_cc_stdc" ;;
2216esac
2217
2218# Some people use a C++ compiler to compile C. Since we use `exit',
2219# in C++ we need to declare it. In case someone uses the same compiler
2220# for both compiling C and C++ we need to have the C++ compiler decide
2221# the declaration of exit, since it's the most demanding environment.
2222cat >conftest.$ac_ext <<_ACEOF
2223#ifndef __cplusplus
2224 choke me
2225#endif
2226_ACEOF
2227rm -f conftest.$ac_objext
2228if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229 (eval $ac_compile) 2>conftest.er1
2230 ac_status=$?
2231 grep -v '^ *+' conftest.er1 >conftest.err
2232 rm -f conftest.er1
2233 cat conftest.err >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); } &&
2236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 (eval $ac_try) 2>&5
2239 ac_status=$?
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; } &&
2242 { ac_try='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2244 (eval $ac_try) 2>&5
2245 ac_status=$?
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2248 for ac_declaration in \
2249 '' \
2250 'extern "C" void std::exit (int) throw (); using std::exit;' \
2251 'extern "C" void std::exit (int); using std::exit;' \
2252 'extern "C" void exit (int) throw ();' \
2253 'extern "C" void exit (int);' \
2254 'void exit (int);'
2255do
2256 cat >conftest.$ac_ext <<_ACEOF
2257/* confdefs.h. */
2258_ACEOF
2259cat confdefs.h >>conftest.$ac_ext
2260cat >>conftest.$ac_ext <<_ACEOF
2261/* end confdefs.h. */
2262$ac_declaration
2263#include <stdlib.h>
2264int
2265main ()
2266{
2267exit (42);
2268 ;
2269 return 0;
2270}
2271_ACEOF
2272rm -f conftest.$ac_objext
2273if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2274 (eval $ac_compile) 2>conftest.er1
2275 ac_status=$?
2276 grep -v '^ *+' conftest.er1 >conftest.err
2277 rm -f conftest.er1
2278 cat conftest.err >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); } &&
2281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 (eval $ac_try) 2>&5
2284 ac_status=$?
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; } &&
2287 { ac_try='test -s conftest.$ac_objext'
2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289 (eval $ac_try) 2>&5
2290 ac_status=$?
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); }; }; then
2293 :
2294else
2295 echo "$as_me: failed program was:" >&5
2296sed 's/^/| /' conftest.$ac_ext >&5
2297
2298continue
2299fi
2300rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2301 cat >conftest.$ac_ext <<_ACEOF
2302/* confdefs.h. */
2303_ACEOF
2304cat confdefs.h >>conftest.$ac_ext
2305cat >>conftest.$ac_ext <<_ACEOF
2306/* end confdefs.h. */
2307$ac_declaration
2308int
2309main ()
2310{
2311exit (42);
2312 ;
2313 return 0;
2314}
2315_ACEOF
2316rm -f conftest.$ac_objext
2317if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2318 (eval $ac_compile) 2>conftest.er1
2319 ac_status=$?
2320 grep -v '^ *+' conftest.er1 >conftest.err
2321 rm -f conftest.er1
2322 cat conftest.err >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); } &&
2325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 (eval $ac_try) 2>&5
2328 ac_status=$?
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; } &&
2331 { ac_try='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333 (eval $ac_try) 2>&5
2334 ac_status=$?
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2337 break
2338else
2339 echo "$as_me: failed program was:" >&5
2340sed 's/^/| /' conftest.$ac_ext >&5
2341
2342fi
2343rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2344done
2345rm -f conftest*
2346if test -n "$ac_declaration"; then
2347 echo '#ifdef __cplusplus' >>confdefs.h
2348 echo $ac_declaration >>confdefs.h
2349 echo '#endif' >>confdefs.h
2350fi
2351
2352else
2353 echo "$as_me: failed program was:" >&5
2354sed 's/^/| /' conftest.$ac_ext >&5
2355
2356fi
2357rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2358ac_ext=c
2359ac_cpp='$CPP $CPPFLAGS'
2360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2362ac_compiler_gnu=$ac_cv_c_compiler_gnu
2363
2364test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2365echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2366 { (exit 1); exit 1; }; }
1fd5e000
CF
2367
2368
2369
2370
99fc5e10
CF
2371 ac_config_files="$ac_config_files Makefile"
2372cat >confcache <<\_ACEOF
1fd5e000
CF
2373# This file is a shell script that caches the results of configure
2374# tests run on this system so they can be shared between configure
99fc5e10
CF
2375# scripts and configure runs, see configure's option --config-cache.
2376# It is not useful on other systems. If it contains results you don't
2377# want to keep, you may remove or edit it.
1fd5e000 2378#
99fc5e10
CF
2379# config.status only pays attention to the cache file if you give it
2380# the --recheck option to rerun configure.
1fd5e000 2381#
99fc5e10
CF
2382# `ac_cv_env_foo' variables (set or unset) will be overridden when
2383# loading this file, other *unset* `ac_cv_foo' will be assigned the
2384# following values.
2385
2386_ACEOF
2387
1fd5e000
CF
2388# The following way of writing the cache mishandles newlines in values,
2389# but we know of no workaround that is simple, portable, and efficient.
2390# So, don't put newlines in cache variables' values.
2391# Ultrix sh set writes to stderr and can't be redirected directly,
2392# and sets the high bit in the cache file unless we assign to the vars.
99fc5e10
CF
2393{
2394 (set) 2>&1 |
2395 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2396 *ac_space=\ *)
2397 # `set' does not quote correctly, so add quotes (double-quote
2398 # substitution turns \\\\ into \\, and sed turns \\ into \).
2399 sed -n \
2400 "s/'/'\\\\''/g;
2401 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2402 ;;
2403 *)
2404 # `set' quotes correctly as required by POSIX, so do not add quotes.
2405 sed -n \
2406 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2407 ;;
2408 esac;
2409} |
2410 sed '
2411 t clear
2412 : clear
2413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2414 t end
2415 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2416 : end' >>confcache
2417if diff $cache_file confcache >/dev/null 2>&1; then :; else
1fd5e000 2418 if test -w $cache_file; then
99fc5e10
CF
2419 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2420 cat confcache >$cache_file
1fd5e000
CF
2421 else
2422 echo "not updating unwritable cache $cache_file"
2423 fi
2424fi
2425rm -f confcache
2426
1fd5e000
CF
2427test "x$prefix" = xNONE && prefix=$ac_default_prefix
2428# Let make expand exec_prefix.
2429test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2430
99fc5e10
CF
2431# VPATH may cause trouble with some makes, so we remove $(srcdir),
2432# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2433# trailing colons and then remove the whole line if VPATH becomes empty
2434# (actually we leave an empty line to preserve line numbers).
1fd5e000 2435if test "x$srcdir" = x.; then
99fc5e10
CF
2436 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2437s/:*\$(srcdir):*/:/;
2438s/:*\${srcdir}:*/:/;
2439s/:*@srcdir@:*/:/;
2440s/^\([^=]*=[ ]*\):*/\1/;
2441s/:*$//;
2442s/^[^=]*=[ ]*$//;
2443}'
1fd5e000
CF
2444fi
2445
1fd5e000
CF
2446# Transform confdefs.h into DEFS.
2447# Protect against shell expansion while executing Makefile rules.
2448# Protect against Makefile macro expansion.
99fc5e10
CF
2449#
2450# If the first sed substitution is executed (which looks for macros that
2451# take arguments), then we branch to the quote section. Otherwise,
2452# look for a macro that doesn't take arguments.
2453cat >confdef2opt.sed <<\_ACEOF
2454t clear
2455: clear
2456s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2457t quote
2458s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2459t quote
2460d
2461: quote
2462s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2463s,\[,\\&,g
2464s,\],\\&,g
2465s,\$,$$,g
2466p
2467_ACEOF
2468# We use echo to avoid assuming a particular line-breaking character.
2469# The extra dot is to prevent the shell from consuming trailing
2470# line-breaks from the sub-command output. A line-break within
2471# single-quotes doesn't work because, if this script is created in a
2472# platform that uses two characters for line-breaks (e.g., DOS), tr
2473# would break.
2474ac_LF_and_DOT=`echo; echo .`
2475DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2476rm -f confdef2opt.sed
2477
2478
2479ac_libobjs=
2480ac_ltlibobjs=
2481for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2482 # 1. Remove the extension, and $U if already installed.
2483 ac_i=`echo "$ac_i" |
2484 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2485 # 2. Add them.
2486 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2487 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2488done
2489LIBOBJS=$ac_libobjs
1fd5e000 2490
99fc5e10
CF
2491LTLIBOBJS=$ac_ltlibobjs
2492
2493
2494
2495: ${CONFIG_STATUS=./config.status}
2496ac_clean_files_save=$ac_clean_files
2497ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2498{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2499echo "$as_me: creating $CONFIG_STATUS" >&6;}
2500cat >$CONFIG_STATUS <<_ACEOF
2501#! $SHELL
2502# Generated by $as_me.
1fd5e000 2503# Run this file to recreate the current configuration.
1fd5e000 2504# Compiler output produced by configure, useful for debugging
99fc5e10
CF
2505# configure, is in config.log if it exists.
2506
2507debug=false
2508ac_cs_recheck=false
2509ac_cs_silent=false
2510SHELL=\${CONFIG_SHELL-$SHELL}
2511_ACEOF
2512
2513cat >>$CONFIG_STATUS <<\_ACEOF
2514## --------------------- ##
2515## M4sh Initialization. ##
2516## --------------------- ##
2517
2518# Be Bourne compatible
2519if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2520 emulate sh
2521 NULLCMD=:
2522 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2523 # is contrary to our usage. Disable this feature.
2524 alias -g '${1+"$@"}'='"$@"'
2525elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2526 set -o posix
2527fi
2528DUALCASE=1; export DUALCASE # for MKS sh
1fd5e000 2529
99fc5e10
CF
2530# Support unset when possible.
2531if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2532 as_unset=unset
2533else
2534 as_unset=false
2535fi
2536
2537
2538# Work around bugs in pre-3.0 UWIN ksh.
2539$as_unset ENV MAIL MAILPATH
2540PS1='$ '
2541PS2='> '
2542PS4='+ '
2543
2544# NLS nuisances.
2545for as_var in \
2546 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2547 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2548 LC_TELEPHONE LC_TIME
1fd5e000 2549do
99fc5e10
CF
2550 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2551 eval $as_var=C; export $as_var
2552 else
2553 $as_unset $as_var
2554 fi
1fd5e000
CF
2555done
2556
99fc5e10
CF
2557# Required to use basename.
2558if expr a : '\(a\)' >/dev/null 2>&1; then
2559 as_expr=expr
2560else
2561 as_expr=false
2562fi
1fd5e000 2563
99fc5e10
CF
2564if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2565 as_basename=basename
2566else
2567 as_basename=false
2568fi
1fd5e000 2569
1fd5e000 2570
99fc5e10
CF
2571# Name of the executable.
2572as_me=`$as_basename "$0" ||
2573$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2574 X"$0" : 'X\(//\)$' \| \
2575 X"$0" : 'X\(/\)$' \| \
2576 . : '\(.\)' 2>/dev/null ||
2577echo X/"$0" |
2578 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2579 /^X\/\(\/\/\)$/{ s//\1/; q; }
2580 /^X\/\(\/\).*/{ s//\1/; q; }
2581 s/.*/./; q'`
2582
2583
2584# PATH needs CR, and LINENO needs CR and PATH.
2585# Avoid depending upon Character Ranges.
2586as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2587as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2588as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2589as_cr_digits='0123456789'
2590as_cr_alnum=$as_cr_Letters$as_cr_digits
2591
2592# The user is always right.
2593if test "${PATH_SEPARATOR+set}" != set; then
2594 echo "#! /bin/sh" >conf$$.sh
2595 echo "exit 0" >>conf$$.sh
2596 chmod +x conf$$.sh
2597 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2598 PATH_SEPARATOR=';'
1fd5e000 2599 else
99fc5e10 2600 PATH_SEPARATOR=:
1fd5e000 2601 fi
99fc5e10
CF
2602 rm -f conf$$.sh
2603fi
2604
2605
2606 as_lineno_1=$LINENO
2607 as_lineno_2=$LINENO
2608 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2609 test "x$as_lineno_1" != "x$as_lineno_2" &&
2610 test "x$as_lineno_3" = "x$as_lineno_2" || {
2611 # Find who we are. Look in the path if we contain no path at all
2612 # relative or not.
2613 case $0 in
2614 *[\\/]* ) as_myself=$0 ;;
2615 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616for as_dir in $PATH
2617do
2618 IFS=$as_save_IFS
2619 test -z "$as_dir" && as_dir=.
2620 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2621done
2622
2623 ;;
2624 esac
2625 # We did not find ourselves, most probably we were run as `sh COMMAND'
2626 # in which case we are not to be found in the path.
2627 if test "x$as_myself" = x; then
2628 as_myself=$0
2629 fi
2630 if test ! -f "$as_myself"; then
2631 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2632echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2633 { (exit 1); exit 1; }; }
2634 fi
2635 case $CONFIG_SHELL in
2636 '')
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2639do
2640 IFS=$as_save_IFS
2641 test -z "$as_dir" && as_dir=.
2642 for as_base in sh bash ksh sh5; do
2643 case $as_dir in
2644 /*)
2645 if ("$as_dir/$as_base" -c '
2646 as_lineno_1=$LINENO
2647 as_lineno_2=$LINENO
2648 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2649 test "x$as_lineno_1" != "x$as_lineno_2" &&
2650 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2651 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2652 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2653 CONFIG_SHELL=$as_dir/$as_base
2654 export CONFIG_SHELL
2655 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2656 fi;;
2657 esac
2658 done
2659done
2660;;
2661 esac
2662
2663 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2664 # uniformly replaced by the line number. The first 'sed' inserts a
2665 # line-number line before each line; the second 'sed' does the real
2666 # work. The second script uses 'N' to pair each line-number line
2667 # with the numbered line, and appends trailing '-' during
2668 # substitution so that $LINENO is not a special case at line end.
2669 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2670 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2671 sed '=' <$as_myself |
2672 sed '
2673 N
2674 s,$,-,
2675 : loop
2676 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2677 t loop
2678 s,-$,,
2679 s,^['$as_cr_digits']*\n,,
2680 ' >$as_me.lineno &&
2681 chmod +x $as_me.lineno ||
2682 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2683echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2684 { (exit 1); exit 1; }; }
2685
2686 # Don't try to exec as it changes $[0], causing all sort of problems
2687 # (the dirname of $[0] is not the place where we might find the
2688 # original and so on. Autoconf is especially sensible to this).
2689 . ./$as_me.lineno
2690 # Exit status is that of the last command.
2691 exit
2692}
2693
2694
2695case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2696 *c*,-n*) ECHO_N= ECHO_C='
2697' ECHO_T=' ' ;;
2698 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2699 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2700esac
2701
2702if expr a : '\(a\)' >/dev/null 2>&1; then
2703 as_expr=expr
2704else
2705 as_expr=false
2706fi
2707
2708rm -f conf$$ conf$$.exe conf$$.file
2709echo >conf$$.file
2710if ln -s conf$$.file conf$$ 2>/dev/null; then
2711 # We could just check for DJGPP; but this test a) works b) is more generic
2712 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2713 if test -f conf$$.exe; then
2714 # Don't use ln at all; we don't have any links
2715 as_ln_s='cp -p'
1fd5e000 2716 else
99fc5e10 2717 as_ln_s='ln -s'
1fd5e000 2718 fi
99fc5e10
CF
2719elif ln conf$$.file conf$$ 2>/dev/null; then
2720 as_ln_s=ln
2721else
2722 as_ln_s='cp -p'
2723fi
2724rm -f conf$$ conf$$.exe conf$$.file
2725
2726if mkdir -p . 2>/dev/null; then
2727 as_mkdir_p=:
2728else
2729 test -d ./-p && rmdir ./-p
2730 as_mkdir_p=false
2731fi
2732
2733as_executable_p="test -f"
2734
2735# Sed expression to map a string onto a valid CPP name.
2736as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2737
2738# Sed expression to map a string onto a valid variable name.
2739as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2740
2741
2742# IFS
2743# We need space, tab and new line, in precisely that order.
2744as_nl='
2745'
2746IFS=" $as_nl"
2747
2748# CDPATH.
2749$as_unset CDPATH
2750
2751exec 6>&1
2752
2753# Open the log real soon, to keep \$[0] and so on meaningful, and to
2754# report actual input values of CONFIG_FILES etc. instead of their
2755# values after options handling. Logging --version etc. is OK.
2756exec 5>>config.log
2757{
2758 echo
2759 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2760## Running $as_me. ##
2761_ASBOX
2762} >&5
2763cat >&5 <<_CSEOF
2764
2765This file was extended by $as_me, which was
2766generated by GNU Autoconf 2.59. Invocation command line was
2767
2768 CONFIG_FILES = $CONFIG_FILES
2769 CONFIG_HEADERS = $CONFIG_HEADERS
2770 CONFIG_LINKS = $CONFIG_LINKS
2771 CONFIG_COMMANDS = $CONFIG_COMMANDS
2772 $ $0 $@
2773
2774_CSEOF
2775echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2776echo >&5
2777_ACEOF
2778
2779# Files that config.status was made for.
2780if test -n "$ac_config_files"; then
2781 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2782fi
2783
2784if test -n "$ac_config_headers"; then
2785 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2786fi
2787
2788if test -n "$ac_config_links"; then
2789 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2790fi
2791
2792if test -n "$ac_config_commands"; then
2793 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2794fi
2795
2796cat >>$CONFIG_STATUS <<\_ACEOF
2797
2798ac_cs_usage="\
2799\`$as_me' instantiates files from templates according to the
2800current configuration.
2801
2802Usage: $0 [OPTIONS] [FILE]...
2803
2804 -h, --help print this help, then exit
2805 -V, --version print version number, then exit
2806 -q, --quiet do not print progress messages
2807 -d, --debug don't remove temporary files
2808 --recheck update $as_me by reconfiguring in the same conditions
2809 --file=FILE[:TEMPLATE]
2810 instantiate the configuration file FILE
2811
2812Configuration files:
2813$config_files
2814
2815Report bugs to <bug-autoconf@gnu.org>."
2816_ACEOF
2817
2818cat >>$CONFIG_STATUS <<_ACEOF
2819ac_cs_version="\\
2820config.status
2821configured by $0, generated by GNU Autoconf 2.59,
2822 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2823
2824Copyright (C) 2003 Free Software Foundation, Inc.
2825This config.status script is free software; the Free Software Foundation
2826gives unlimited permission to copy, distribute and modify it."
2827srcdir=$srcdir
2828_ACEOF
2829
2830cat >>$CONFIG_STATUS <<\_ACEOF
2831# If no file are specified by the user, then we need to provide default
2832# value. By we need to know if files were specified by the user.
2833ac_need_defaults=:
2834while test $# != 0
2835do
2836 case $1 in
2837 --*=*)
2838 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2839 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2840 ac_shift=:
2841 ;;
2842 -*)
2843 ac_option=$1
2844 ac_optarg=$2
2845 ac_shift=shift
2846 ;;
2847 *) # This is not an option, so the user has probably given explicit
2848 # arguments.
2849 ac_option=$1
2850 ac_need_defaults=false;;
2851 esac
2852
2853 case $ac_option in
2854 # Handling of the options.
2855_ACEOF
2856cat >>$CONFIG_STATUS <<\_ACEOF
2857 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2858 ac_cs_recheck=: ;;
2859 --version | --vers* | -V )
2860 echo "$ac_cs_version"; exit 0 ;;
2861 --he | --h)
2862 # Conflict between --help and --header
2863 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2864Try \`$0 --help' for more information." >&5
2865echo "$as_me: error: ambiguous option: $1
2866Try \`$0 --help' for more information." >&2;}
2867 { (exit 1); exit 1; }; };;
2868 --help | --hel | -h )
2869 echo "$ac_cs_usage"; exit 0 ;;
2870 --debug | --d* | -d )
2871 debug=: ;;
2872 --file | --fil | --fi | --f )
2873 $ac_shift
2874 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2875 ac_need_defaults=false;;
2876 --header | --heade | --head | --hea )
2877 $ac_shift
2878 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2879 ac_need_defaults=false;;
2880 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2881 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2882 ac_cs_silent=: ;;
2883
2884 # This is an error.
2885 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2886Try \`$0 --help' for more information." >&5
2887echo "$as_me: error: unrecognized option: $1
2888Try \`$0 --help' for more information." >&2;}
2889 { (exit 1); exit 1; }; } ;;
2890
2891 *) ac_config_targets="$ac_config_targets $1" ;;
2892
2893 esac
2894 shift
1fd5e000 2895done
99fc5e10
CF
2896
2897ac_configure_extra_args=
2898
2899if $ac_cs_silent; then
2900 exec 6>/dev/null
2901 ac_configure_extra_args="$ac_configure_extra_args --silent"
1fd5e000 2902fi
1fd5e000 2903
99fc5e10
CF
2904_ACEOF
2905cat >>$CONFIG_STATUS <<_ACEOF
2906if \$ac_cs_recheck; then
2907 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2908 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2909fi
1fd5e000 2910
99fc5e10
CF
2911_ACEOF
2912
2913
2914
2915
2916
2917cat >>$CONFIG_STATUS <<\_ACEOF
2918for ac_config_target in $ac_config_targets
2919do
2920 case "$ac_config_target" in
2921 # Handling of arguments.
2922 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2923 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2924echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2925 { (exit 1); exit 1; }; };;
1fd5e000 2926 esac
99fc5e10
CF
2927done
2928
2929# If the user did not use the arguments to specify the items to instantiate,
2930# then the envvar interface is used. Set only those that are not.
2931# We use the long form for the default assignment because of an extremely
2932# bizarre bug on SunOS 4.1.3.
2933if $ac_need_defaults; then
2934 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2935fi
1fd5e000 2936
99fc5e10
CF
2937# Have a temporary directory for convenience. Make it in the build tree
2938# simply because there is no reason to put it here, and in addition,
2939# creating and moving files from /tmp can sometimes cause problems.
2940# Create a temporary directory, and hook for its removal unless debugging.
2941$debug ||
2942{
2943 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2944 trap '{ (exit 1); exit 1; }' 1 2 13 15
2945}
2946
2947# Create a (secure) tmp directory for tmp files.
2948
2949{
2950 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2951 test -n "$tmp" && test -d "$tmp"
2952} ||
2953{
2954 tmp=./confstat$$-$RANDOM
2955 (umask 077 && mkdir $tmp)
2956} ||
2957{
2958 echo "$me: cannot create a temporary directory in ." >&2
2959 { (exit 1); exit 1; }
2960}
2961
2962_ACEOF
2963
2964cat >>$CONFIG_STATUS <<_ACEOF
1fd5e000 2965
99fc5e10
CF
2966#
2967# CONFIG_FILES section.
2968#
2969
2970# No need to generate the scripts if there are no CONFIG_FILES.
2971# This happens for instance when ./config.status config.h
2972if test -n "\$CONFIG_FILES"; then
2973 # Protect against being on the right side of a sed subst in config.status.
2974 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2975 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2976s,@SHELL@,$SHELL,;t t
2977s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2978s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2979s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2980s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2981s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2982s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2983s,@exec_prefix@,$exec_prefix,;t t
2984s,@prefix@,$prefix,;t t
2985s,@program_transform_name@,$program_transform_name,;t t
2986s,@bindir@,$bindir,;t t
2987s,@sbindir@,$sbindir,;t t
2988s,@libexecdir@,$libexecdir,;t t
2989s,@datadir@,$datadir,;t t
2990s,@sysconfdir@,$sysconfdir,;t t
2991s,@sharedstatedir@,$sharedstatedir,;t t
2992s,@localstatedir@,$localstatedir,;t t
2993s,@libdir@,$libdir,;t t
2994s,@includedir@,$includedir,;t t
2995s,@oldincludedir@,$oldincludedir,;t t
2996s,@infodir@,$infodir,;t t
2997s,@mandir@,$mandir,;t t
2998s,@build_alias@,$build_alias,;t t
2999s,@host_alias@,$host_alias,;t t
3000s,@target_alias@,$target_alias,;t t
3001s,@DEFS@,$DEFS,;t t
3002s,@ECHO_C@,$ECHO_C,;t t
3003s,@ECHO_N@,$ECHO_N,;t t
3004s,@ECHO_T@,$ECHO_T,;t t
3005s,@LIBS@,$LIBS,;t t
3006s,@build@,$build,;t t
3007s,@build_cpu@,$build_cpu,;t t
3008s,@build_vendor@,$build_vendor,;t t
3009s,@build_os@,$build_os,;t t
3010s,@host@,$host,;t t
3011s,@host_cpu@,$host_cpu,;t t
3012s,@host_vendor@,$host_vendor,;t t
3013s,@host_os@,$host_os,;t t
3014s,@target@,$target,;t t
3015s,@target_cpu@,$target_cpu,;t t
3016s,@target_vendor@,$target_vendor,;t t
3017s,@target_os@,$target_os,;t t
3018s,@CC@,$CC,;t t
3019s,@ac_ct_CC@,$ac_ct_CC,;t t
3020s,@CFLAGS@,$CFLAGS,;t t
3021s,@LDFLAGS@,$LDFLAGS,;t t
3022s,@CPPFLAGS@,$CPPFLAGS,;t t
3023s,@EXEEXT@,$EXEEXT,;t t
3024s,@OBJEXT@,$OBJEXT,;t t
3025s,@build_exeext@,$build_exeext,;t t
3026s,@LIBOBJS@,$LIBOBJS,;t t
3027s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3028CEOF
3029
3030_ACEOF
3031
3032 cat >>$CONFIG_STATUS <<\_ACEOF
3033 # Split the substitutions into bite-sized pieces for seds with
3034 # small command number limits, like on Digital OSF/1 and HP-UX.
3035 ac_max_sed_lines=48
3036 ac_sed_frag=1 # Number of current file.
3037 ac_beg=1 # First line for current file.
3038 ac_end=$ac_max_sed_lines # Line after last line for current file.
3039 ac_more_lines=:
3040 ac_sed_cmds=
3041 while $ac_more_lines; do
3042 if test $ac_beg -gt 1; then
3043 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3044 else
3045 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3046 fi
3047 if test ! -s $tmp/subs.frag; then
3048 ac_more_lines=false
3049 else
3050 # The purpose of the label and of the branching condition is to
3051 # speed up the sed processing (if there are no `@' at all, there
3052 # is no need to browse any of the substitutions).
3053 # These are the two extra sed commands mentioned above.
3054 (echo ':t
3055 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3056 if test -z "$ac_sed_cmds"; then
3057 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3058 else
3059 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3060 fi
3061 ac_sed_frag=`expr $ac_sed_frag + 1`
3062 ac_beg=$ac_end
3063 ac_end=`expr $ac_end + $ac_max_sed_lines`
3064 fi
3065 done
3066 if test -z "$ac_sed_cmds"; then
3067 ac_sed_cmds=cat
1fd5e000 3068 fi
99fc5e10 3069fi # test -n "$CONFIG_FILES"
1fd5e000 3070
99fc5e10
CF
3071_ACEOF
3072cat >>$CONFIG_STATUS <<\_ACEOF
3073for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3074 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3075 case $ac_file in
3076 - | *:- | *:-:* ) # input from stdin
3077 cat >$tmp/stdin
3078 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3079 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3080 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3081 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3082 * ) ac_file_in=$ac_file.in ;;
1fd5e000
CF
3083 esac
3084
99fc5e10
CF
3085 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3086 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3087$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3088 X"$ac_file" : 'X\(//\)[^/]' \| \
3089 X"$ac_file" : 'X\(//\)$' \| \
3090 X"$ac_file" : 'X\(/\)' \| \
3091 . : '\(.\)' 2>/dev/null ||
3092echo X"$ac_file" |
3093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3095 /^X\(\/\/\)$/{ s//\1/; q; }
3096 /^X\(\/\).*/{ s//\1/; q; }
3097 s/.*/./; q'`
3098 { if $as_mkdir_p; then
3099 mkdir -p "$ac_dir"
3100 else
3101 as_dir="$ac_dir"
3102 as_dirs=
3103 while test ! -d "$as_dir"; do
3104 as_dirs="$as_dir $as_dirs"
3105 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3106$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3107 X"$as_dir" : 'X\(//\)[^/]' \| \
3108 X"$as_dir" : 'X\(//\)$' \| \
3109 X"$as_dir" : 'X\(/\)' \| \
3110 . : '\(.\)' 2>/dev/null ||
3111echo X"$as_dir" |
3112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3114 /^X\(\/\/\)$/{ s//\1/; q; }
3115 /^X\(\/\).*/{ s//\1/; q; }
3116 s/.*/./; q'`
3117 done
3118 test ! -n "$as_dirs" || mkdir $as_dirs
3119 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3120echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3121 { (exit 1); exit 1; }; }; }
3122
3123 ac_builddir=.
3124
3125if test "$ac_dir" != .; then
3126 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3127 # A "../" for each directory in $ac_dir_suffix.
3128 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3129else
3130 ac_dir_suffix= ac_top_builddir=
3131fi
1fd5e000 3132
99fc5e10
CF
3133case $srcdir in
3134 .) # No --srcdir option. We are building in place.
3135 ac_srcdir=.
3136 if test -z "$ac_top_builddir"; then
3137 ac_top_srcdir=.
3138 else
3139 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3140 fi ;;
3141 [\\/]* | ?:[\\/]* ) # Absolute path.
3142 ac_srcdir=$srcdir$ac_dir_suffix;
3143 ac_top_srcdir=$srcdir ;;
3144 *) # Relative path.
3145 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3146 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3147esac
3148
3149# Do not use `cd foo && pwd` to compute absolute paths, because
3150# the directories may not exist.
3151case `pwd` in
3152.) ac_abs_builddir="$ac_dir";;
3153*)
3154 case "$ac_dir" in
3155 .) ac_abs_builddir=`pwd`;;
3156 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3157 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3158 esac;;
3159esac
3160case $ac_abs_builddir in
3161.) ac_abs_top_builddir=${ac_top_builddir}.;;
3162*)
3163 case ${ac_top_builddir}. in
3164 .) ac_abs_top_builddir=$ac_abs_builddir;;
3165 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3166 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3167 esac;;
3168esac
3169case $ac_abs_builddir in
3170.) ac_abs_srcdir=$ac_srcdir;;
3171*)
3172 case $ac_srcdir in
3173 .) ac_abs_srcdir=$ac_abs_builddir;;
3174 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3175 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3176 esac;;
3177esac
3178case $ac_abs_builddir in
3179.) ac_abs_top_srcdir=$ac_top_srcdir;;
3180*)
3181 case $ac_top_srcdir in
3182 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3183 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3184 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3185 esac;;
3186esac
1fd5e000 3187
1fd5e000 3188
1fd5e000 3189
99fc5e10
CF
3190 # Let's still pretend it is `configure' which instantiates (i.e., don't
3191 # use $as_me), people would be surprised to read:
3192 # /* config.h. Generated by config.status. */
3193 if test x"$ac_file" = x-; then
3194 configure_input=
3195 else
3196 configure_input="$ac_file. "
3197 fi
3198 configure_input=$configure_input"Generated from `echo $ac_file_in |
3199 sed 's,.*/,,'` by configure."
3200
3201 # First look for the input files in the build tree, otherwise in the
3202 # src tree.
3203 ac_file_inputs=`IFS=:
3204 for f in $ac_file_in; do
3205 case $f in
3206 -) echo $tmp/stdin ;;
3207 [\\/$]*)
3208 # Absolute (can't be DOS-style, as IFS=:)
3209 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3210echo "$as_me: error: cannot find input file: $f" >&2;}
3211 { (exit 1); exit 1; }; }
3212 echo "$f";;
3213 *) # Relative
3214 if test -f "$f"; then
3215 # Build tree
3216 echo "$f"
3217 elif test -f "$srcdir/$f"; then
3218 # Source tree
3219 echo "$srcdir/$f"
3220 else
3221 # /dev/null tree
3222 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3223echo "$as_me: error: cannot find input file: $f" >&2;}
3224 { (exit 1); exit 1; }; }
3225 fi;;
3226 esac
3227 done` || { (exit 1); exit 1; }
3228
3229 if test x"$ac_file" != x-; then
3230 { echo "$as_me:$LINENO: creating $ac_file" >&5
3231echo "$as_me: creating $ac_file" >&6;}
3232 rm -f "$ac_file"
3233 fi
3234_ACEOF
3235cat >>$CONFIG_STATUS <<_ACEOF
3236 sed "$ac_vpsub
3237$extrasub
3238_ACEOF
3239cat >>$CONFIG_STATUS <<\_ACEOF
3240:t
3241/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3242s,@configure_input@,$configure_input,;t t
3243s,@srcdir@,$ac_srcdir,;t t
3244s,@abs_srcdir@,$ac_abs_srcdir,;t t
3245s,@top_srcdir@,$ac_top_srcdir,;t t
3246s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3247s,@builddir@,$ac_builddir,;t t
3248s,@abs_builddir@,$ac_abs_builddir,;t t
3249s,@top_builddir@,$ac_top_builddir,;t t
3250s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3251" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3252 rm -f $tmp/stdin
3253 if test x"$ac_file" != x-; then
3254 mv $tmp/out $ac_file
3255 else
3256 cat $tmp/out
3257 rm -f $tmp/out
3258 fi
3259
3260done
3261_ACEOF
1fd5e000 3262
99fc5e10
CF
3263cat >>$CONFIG_STATUS <<\_ACEOF
3264
3265{ (exit 0); exit 0; }
3266_ACEOF
1fd5e000 3267chmod +x $CONFIG_STATUS
99fc5e10
CF
3268ac_clean_files=$ac_clean_files_save
3269
3270
3271# configure is writing to config.log, and then calls config.status.
3272# config.status does its own redirection, appending to config.log.
3273# Unfortunately, on DOS this fails, as config.log is still kept open
3274# by configure, so config.status won't be able to write to it; its
3275# output is simply discarded. So we exec the FD to /dev/null,
3276# effectively closing config.log, so it can be properly (re)opened and
3277# appended to by config.status. When coming back to configure, we
3278# need to make the FD available again.
3279if test "$no_create" != yes; then
3280 ac_cs_success=:
3281 ac_config_status_args=
3282 test "$silent" = yes &&
3283 ac_config_status_args="$ac_config_status_args --quiet"
3284 exec 5>/dev/null
3285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3286 exec 5>>config.log
3287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3288 # would make configure fail if this is the last instruction.
3289 $ac_cs_success || { (exit 1); exit 1; }
3290fi
1fd5e000 3291
This page took 0.474384 seconds and 5 git commands to generate.