source: vendor/w32api/current/configure@ 3181

Last change on this file since 3181 was 2720, checked in by bird, 19 years ago

w32api v3.6

File size: 82.9 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.53.
4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9
10if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12else
13 as_expr=false
14fi
15
16
17## --------------------- ##
18## M4sh Initialization. ##
19## --------------------- ##
20
21# Be Bourne compatible
22if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh
24 NULLCMD=:
25elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix
27fi
28
29# NLS nuisances.
30# Support unset when possible.
31if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33else
34 as_unset=false
35fi
36
37(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63# Name of the executable.
64as_me=`(basename "$0") 2>/dev/null ||
65$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75# PATH needs CR, and LINENO needs CR and PATH.
76# Avoid depending upon Character Ranges.
77as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80as_cr_digits='0123456789'
81as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83# The user is always right.
84if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
92 fi
93 rm -f conftest.sh
94fi
95
96
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107for as_dir in $PATH
108do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147done
148;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179}
180
181
182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187esac
188
189if expr a : '\(a\)' >/dev/null 2>&1; then
190 as_expr=expr
191else
192 as_expr=false
193fi
194
195rm -f conf$$ conf$$.exe conf$$.file
196echo >conf$$.file
197if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
202 as_ln_s='cp -p'
203 else
204 as_ln_s='ln -s'
205 fi
206elif ln conf$$.file conf$$ 2>/dev/null; then
207 as_ln_s=ln
208else
209 as_ln_s='cp -p'
210fi
211rm -f conf$$ conf$$.exe conf$$.file
212
213as_executable_p="test -f"
214
215# Sed expression to map a string onto a valid CPP name.
216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217
218# Sed expression to map a string onto a valid variable name.
219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220
221
222# IFS
223# We need space, tab and new line, in precisely that order.
224as_nl='
225'
226IFS=" $as_nl"
227
228# CDPATH.
229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
231
232# Name of the host.
233# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234# so uname gets run too.
235ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236
237exec 6>&1
238
239#
240# Initializations.
241#
242ac_default_prefix=/usr/local
243cross_compiling=no
244subdirs=
245MFLAGS=
246MAKEFLAGS=
247SHELL=${CONFIG_SHELL-/bin/sh}
248
249# Maximum number of lines to put in a shell here document.
250# This variable seems obsolete. It should probably be removed, and
251# only ac_max_sed_lines should be used.
252: ${ac_max_here_lines=38}
253
254# Identity of this package.
255PACKAGE_NAME=
256PACKAGE_TARNAME=
257PACKAGE_VERSION=
258PACKAGE_STRING=
259PACKAGE_BUGREPORT=
260
261ac_unique_file="lib/scrnsave.c"
262
263# Initialize some variables set by options.
264ac_init_help=
265ac_init_version=false
266# The variables have the same names as the options, with
267# dashes changed to underlines.
268cache_file=/dev/null
269exec_prefix=NONE
270no_create=
271no_recursion=
272prefix=NONE
273program_prefix=NONE
274program_suffix=NONE
275program_transform_name=s,x,x,
276silent=
277site=
278srcdir=
279verbose=
280x_includes=NONE
281x_libraries=NONE
282
283# Installation directory options.
284# These are left unexpanded so users can "make install exec_prefix=/foo"
285# and all the variables that are supposed to be based on exec_prefix
286# by default will actually change.
287# Use braces instead of parens because sh, perl, etc. also accept them.
288bindir='${exec_prefix}/bin'
289sbindir='${exec_prefix}/sbin'
290libexecdir='${exec_prefix}/libexec'
291datadir='${prefix}/share'
292sysconfdir='${prefix}/etc'
293sharedstatedir='${prefix}/com'
294localstatedir='${prefix}/var'
295libdir='${exec_prefix}/lib'
296includedir='${prefix}/include'
297oldincludedir='/usr/include'
298infodir='${prefix}/info'
299mandir='${prefix}/man'
300
301ac_prev=
302for ac_option
303do
304 # If the previous option needs an argument, assign it.
305 if test -n "$ac_prev"; then
306 eval "$ac_prev=\$ac_option"
307 ac_prev=
308 continue
309 fi
310
311 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
312
313 # Accept the important Cygnus configure options, so we can diagnose typos.
314
315 case $ac_option in
316
317 -bindir | --bindir | --bindi | --bind | --bin | --bi)
318 ac_prev=bindir ;;
319 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
320 bindir=$ac_optarg ;;
321
322 -build | --build | --buil | --bui | --bu)
323 ac_prev=build_alias ;;
324 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
325 build_alias=$ac_optarg ;;
326
327 -cache-file | --cache-file | --cache-fil | --cache-fi \
328 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
329 ac_prev=cache_file ;;
330 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
331 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
332 cache_file=$ac_optarg ;;
333
334 --config-cache | -C)
335 cache_file=config.cache ;;
336
337 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
338 ac_prev=datadir ;;
339 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
340 | --da=*)
341 datadir=$ac_optarg ;;
342
343 -disable-* | --disable-*)
344 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
345 # Reject names that are not valid shell variable names.
346 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
347 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
348 { (exit 1); exit 1; }; }
349 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
350 eval "enable_$ac_feature=no" ;;
351
352 -enable-* | --enable-*)
353 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
354 # Reject names that are not valid shell variable names.
355 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
356 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
357 { (exit 1); exit 1; }; }
358 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
359 case $ac_option in
360 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
361 *) ac_optarg=yes ;;
362 esac
363 eval "enable_$ac_feature='$ac_optarg'" ;;
364
365 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
366 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
367 | --exec | --exe | --ex)
368 ac_prev=exec_prefix ;;
369 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
370 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
371 | --exec=* | --exe=* | --ex=*)
372 exec_prefix=$ac_optarg ;;
373
374 -gas | --gas | --ga | --g)
375 # Obsolete; use --with-gas.
376 with_gas=yes ;;
377
378 -help | --help | --hel | --he | -h)
379 ac_init_help=long ;;
380 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
381 ac_init_help=recursive ;;
382 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
383 ac_init_help=short ;;
384
385 -host | --host | --hos | --ho)
386 ac_prev=host_alias ;;
387 -host=* | --host=* | --hos=* | --ho=*)
388 host_alias=$ac_optarg ;;
389
390 -includedir | --includedir | --includedi | --included | --include \
391 | --includ | --inclu | --incl | --inc)
392 ac_prev=includedir ;;
393 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
394 | --includ=* | --inclu=* | --incl=* | --inc=*)
395 includedir=$ac_optarg ;;
396
397 -infodir | --infodir | --infodi | --infod | --info | --inf)
398 ac_prev=infodir ;;
399 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
400 infodir=$ac_optarg ;;
401
402 -libdir | --libdir | --libdi | --libd)
403 ac_prev=libdir ;;
404 -libdir=* | --libdir=* | --libdi=* | --libd=*)
405 libdir=$ac_optarg ;;
406
407 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
408 | --libexe | --libex | --libe)
409 ac_prev=libexecdir ;;
410 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
411 | --libexe=* | --libex=* | --libe=*)
412 libexecdir=$ac_optarg ;;
413
414 -localstatedir | --localstatedir | --localstatedi | --localstated \
415 | --localstate | --localstat | --localsta | --localst \
416 | --locals | --local | --loca | --loc | --lo)
417 ac_prev=localstatedir ;;
418 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
419 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
420 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
421 localstatedir=$ac_optarg ;;
422
423 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
424 ac_prev=mandir ;;
425 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
426 mandir=$ac_optarg ;;
427
428 -nfp | --nfp | --nf)
429 # Obsolete; use --without-fp.
430 with_fp=no ;;
431
432 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
433 | --no-cr | --no-c | -n)
434 no_create=yes ;;
435
436 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
437 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
438 no_recursion=yes ;;
439
440 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
441 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
442 | --oldin | --oldi | --old | --ol | --o)
443 ac_prev=oldincludedir ;;
444 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
445 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
446 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
447 oldincludedir=$ac_optarg ;;
448
449 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
450 ac_prev=prefix ;;
451 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
452 prefix=$ac_optarg ;;
453
454 -program-prefix | --program-prefix | --program-prefi | --program-pref \
455 | --program-pre | --program-pr | --program-p)
456 ac_prev=program_prefix ;;
457 -program-prefix=* | --program-prefix=* | --program-prefi=* \
458 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
459 program_prefix=$ac_optarg ;;
460
461 -program-suffix | --program-suffix | --program-suffi | --program-suff \
462 | --program-suf | --program-su | --program-s)
463 ac_prev=program_suffix ;;
464 -program-suffix=* | --program-suffix=* | --program-suffi=* \
465 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
466 program_suffix=$ac_optarg ;;
467
468 -program-transform-name | --program-transform-name \
469 | --program-transform-nam | --program-transform-na \
470 | --program-transform-n | --program-transform- \
471 | --program-transform | --program-transfor \
472 | --program-transfo | --program-transf \
473 | --program-trans | --program-tran \
474 | --progr-tra | --program-tr | --program-t)
475 ac_prev=program_transform_name ;;
476 -program-transform-name=* | --program-transform-name=* \
477 | --program-transform-nam=* | --program-transform-na=* \
478 | --program-transform-n=* | --program-transform-=* \
479 | --program-transform=* | --program-transfor=* \
480 | --program-transfo=* | --program-transf=* \
481 | --program-trans=* | --program-tran=* \
482 | --progr-tra=* | --program-tr=* | --program-t=*)
483 program_transform_name=$ac_optarg ;;
484
485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
486 | -silent | --silent | --silen | --sile | --sil)
487 silent=yes ;;
488
489 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
490 ac_prev=sbindir ;;
491 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
492 | --sbi=* | --sb=*)
493 sbindir=$ac_optarg ;;
494
495 -sharedstatedir | --sharedstatedir | --sharedstatedi \
496 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
497 | --sharedst | --shareds | --shared | --share | --shar \
498 | --sha | --sh)
499 ac_prev=sharedstatedir ;;
500 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
501 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
502 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
503 | --sha=* | --sh=*)
504 sharedstatedir=$ac_optarg ;;
505
506 -site | --site | --sit)
507 ac_prev=site ;;
508 -site=* | --site=* | --sit=*)
509 site=$ac_optarg ;;
510
511 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
512 ac_prev=srcdir ;;
513 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
514 srcdir=$ac_optarg ;;
515
516 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
517 | --syscon | --sysco | --sysc | --sys | --sy)
518 ac_prev=sysconfdir ;;
519 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
520 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
521 sysconfdir=$ac_optarg ;;
522
523 -target | --target | --targe | --targ | --tar | --ta | --t)
524 ac_prev=target_alias ;;
525 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
526 target_alias=$ac_optarg ;;
527
528 -v | -verbose | --verbose | --verbos | --verbo | --verb)
529 verbose=yes ;;
530
531 -version | --version | --versio | --versi | --vers | -V)
532 ac_init_version=: ;;
533
534 -with-* | --with-*)
535 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
536 # Reject names that are not valid shell variable names.
537 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
538 { echo "$as_me: error: invalid package name: $ac_package" >&2
539 { (exit 1); exit 1; }; }
540 ac_package=`echo $ac_package| sed 's/-/_/g'`
541 case $ac_option in
542 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
543 *) ac_optarg=yes ;;
544 esac
545 eval "with_$ac_package='$ac_optarg'" ;;
546
547 -without-* | --without-*)
548 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
549 # Reject names that are not valid shell variable names.
550 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
551 { echo "$as_me: error: invalid package name: $ac_package" >&2
552 { (exit 1); exit 1; }; }
553 ac_package=`echo $ac_package | sed 's/-/_/g'`
554 eval "with_$ac_package=no" ;;
555
556 --x)
557 # Obsolete; use --with-x.
558 with_x=yes ;;
559
560 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
561 | --x-incl | --x-inc | --x-in | --x-i)
562 ac_prev=x_includes ;;
563 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
564 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
565 x_includes=$ac_optarg ;;
566
567 -x-libraries | --x-libraries | --x-librarie | --x-librari \
568 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
569 ac_prev=x_libraries ;;
570 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
571 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
572 x_libraries=$ac_optarg ;;
573
574 -*) { echo "$as_me: error: unrecognized option: $ac_option
575Try \`$0 --help' for more information." >&2
576 { (exit 1); exit 1; }; }
577 ;;
578
579 *=*)
580 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
581 # Reject names that are not valid shell variable names.
582 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
583 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
584 { (exit 1); exit 1; }; }
585 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
586 eval "$ac_envvar='$ac_optarg'"
587 export $ac_envvar ;;
588
589 *)
590 # FIXME: should be removed in autoconf 3.0.
591 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
592 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
593 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
594 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
595 ;;
596
597 esac
598done
599
600if test -n "$ac_prev"; then
601 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
602 { echo "$as_me: error: missing argument to $ac_option" >&2
603 { (exit 1); exit 1; }; }
604fi
605
606# Be sure to have absolute paths.
607for ac_var in exec_prefix prefix
608do
609 eval ac_val=$`echo $ac_var`
610 case $ac_val in
611 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
612 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
613 { (exit 1); exit 1; }; };;
614 esac
615done
616
617# Be sure to have absolute paths.
618for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
619 localstatedir libdir includedir oldincludedir infodir mandir
620do
621 eval ac_val=$`echo $ac_var`
622 case $ac_val in
623 [\\/$]* | ?:[\\/]* ) ;;
624 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
625 { (exit 1); exit 1; }; };;
626 esac
627done
628
629# There might be people who depend on the old broken behavior: `$host'
630# used to hold the argument of --host etc.
631# FIXME: To remove some day.
632build=$build_alias
633host=$host_alias
634target=$target_alias
635
636# FIXME: To remove some day.
637if test "x$host_alias" != x; then
638 if test "x$build_alias" = x; then
639 cross_compiling=maybe
640 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
641 If a cross compiler is detected then cross compile mode will be used." >&2
642 elif test "x$build_alias" != "x$host_alias"; then
643 cross_compiling=yes
644 fi
645fi
646
647ac_tool_prefix=
648test -n "$host_alias" && ac_tool_prefix=$host_alias-
649
650test "$silent" = yes && exec 6>/dev/null
651
652
653# Find the source files, if location was not specified.
654if test -z "$srcdir"; then
655 ac_srcdir_defaulted=yes
656 # Try the directory containing this script, then its parent.
657 ac_confdir=`(dirname "$0") 2>/dev/null ||
658$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
659 X"$0" : 'X\(//\)[^/]' \| \
660 X"$0" : 'X\(//\)$' \| \
661 X"$0" : 'X\(/\)' \| \
662 . : '\(.\)' 2>/dev/null ||
663echo X"$0" |
664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
665 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
666 /^X\(\/\/\)$/{ s//\1/; q; }
667 /^X\(\/\).*/{ s//\1/; q; }
668 s/.*/./; q'`
669 srcdir=$ac_confdir
670 if test ! -r $srcdir/$ac_unique_file; then
671 srcdir=..
672 fi
673else
674 ac_srcdir_defaulted=no
675fi
676if test ! -r $srcdir/$ac_unique_file; then
677 if test "$ac_srcdir_defaulted" = yes; then
678 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
679 { (exit 1); exit 1; }; }
680 else
681 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
682 { (exit 1); exit 1; }; }
683 fi
684fi
685srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
686ac_env_build_alias_set=${build_alias+set}
687ac_env_build_alias_value=$build_alias
688ac_cv_env_build_alias_set=${build_alias+set}
689ac_cv_env_build_alias_value=$build_alias
690ac_env_host_alias_set=${host_alias+set}
691ac_env_host_alias_value=$host_alias
692ac_cv_env_host_alias_set=${host_alias+set}
693ac_cv_env_host_alias_value=$host_alias
694ac_env_target_alias_set=${target_alias+set}
695ac_env_target_alias_value=$target_alias
696ac_cv_env_target_alias_set=${target_alias+set}
697ac_cv_env_target_alias_value=$target_alias
698
699#
700# Report the --help message.
701#
702if test "$ac_init_help" = "long"; then
703 # Omit some internal or obsolete options to make the list less imposing.
704 # This message is too long to be a string in the A/UX 3.1 sh.
705 cat <<_ACEOF
706\`configure' configures this package to adapt to many kinds of systems.
707
708Usage: $0 [OPTION]... [VAR=VALUE]...
709
710To assign environment variables (e.g., CC, CFLAGS...), specify them as
711VAR=VALUE. See below for descriptions of some of the useful variables.
712
713Defaults for the options are specified in brackets.
714
715Configuration:
716 -h, --help display this help and exit
717 --help=short display options specific to this package
718 --help=recursive display the short help of all the included packages
719 -V, --version display version information and exit
720 -q, --quiet, --silent do not print \`checking...' messages
721 --cache-file=FILE cache test results in FILE [disabled]
722 -C, --config-cache alias for \`--cache-file=config.cache'
723 -n, --no-create do not create output files
724 --srcdir=DIR find the sources in DIR [configure dir or \`..']
725
726_ACEOF
727
728 cat <<_ACEOF
729Installation directories:
730 --prefix=PREFIX install architecture-independent files in PREFIX
731 [$ac_default_prefix]
732 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
733 [PREFIX]
734
735By default, \`make install' will install all the files in
736\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
737an installation prefix other than \`$ac_default_prefix' using \`--prefix',
738for instance \`--prefix=\$HOME'.
739
740For better control, use the options below.
741
742Fine tuning of the installation directories:
743 --bindir=DIR user executables [EPREFIX/bin]
744 --sbindir=DIR system admin executables [EPREFIX/sbin]
745 --libexecdir=DIR program executables [EPREFIX/libexec]
746 --datadir=DIR read-only architecture-independent data [PREFIX/share]
747 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
748 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
749 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
750 --libdir=DIR object code libraries [EPREFIX/lib]
751 --includedir=DIR C header files [PREFIX/include]
752 --oldincludedir=DIR C header files for non-gcc [/usr/include]
753 --infodir=DIR info documentation [PREFIX/info]
754 --mandir=DIR man documentation [PREFIX/man]
755_ACEOF
756
757 cat <<\_ACEOF
758
759System types:
760 --build=BUILD configure for building on BUILD [guessed]
761 --host=HOST cross-compile to build programs to run on HOST [BUILD]
762 --target=TARGET configure for building compilers for TARGET [HOST]
763_ACEOF
764fi
765
766if test -n "$ac_init_help"; then
767
768 cat <<\_ACEOF
769
770_ACEOF
771fi
772
773if test "$ac_init_help" = "recursive"; then
774 # If there are subdirs, report their specific --help.
775 ac_popdir=`pwd`
776 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
777 test -d $ac_dir || continue
778 ac_builddir=.
779
780if test "$ac_dir" != .; then
781 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
782 # A "../" for each directory in $ac_dir_suffix.
783 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
784else
785 ac_dir_suffix= ac_top_builddir=
786fi
787
788case $srcdir in
789 .) # No --srcdir option. We are building in place.
790 ac_srcdir=.
791 if test -z "$ac_top_builddir"; then
792 ac_top_srcdir=.
793 else
794 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
795 fi ;;
796 [\\/]* | ?:[\\/]* ) # Absolute path.
797 ac_srcdir=$srcdir$ac_dir_suffix;
798 ac_top_srcdir=$srcdir ;;
799 *) # Relative path.
800 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
801 ac_top_srcdir=$ac_top_builddir$srcdir ;;
802esac
803# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
804# absolute.
805ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
806ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
807ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
808ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
809
810 cd $ac_dir
811 # Check for guested configure; otherwise get Cygnus style configure.
812 if test -f $ac_srcdir/configure.gnu; then
813 echo
814 $SHELL $ac_srcdir/configure.gnu --help=recursive
815 elif test -f $ac_srcdir/configure; then
816 echo
817 $SHELL $ac_srcdir/configure --help=recursive
818 elif test -f $ac_srcdir/configure.ac ||
819 test -f $ac_srcdir/configure.in; then
820 echo
821 $ac_configure --help
822 else
823 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
824 fi
825 cd $ac_popdir
826 done
827fi
828
829test -n "$ac_init_help" && exit 0
830if $ac_init_version; then
831 cat <<\_ACEOF
832
833Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
834Free Software Foundation, Inc.
835This configure script is free software; the Free Software Foundation
836gives unlimited permission to copy, distribute and modify it.
837_ACEOF
838 exit 0
839fi
840exec 5>config.log
841cat >&5 <<_ACEOF
842This file contains any messages produced by compilers while
843running configure, to aid debugging if configure makes a mistake.
844
845It was created by $as_me, which was
846generated by GNU Autoconf 2.53. Invocation command line was
847
848 $ $0 $@
849
850_ACEOF
851{
852cat <<_ASUNAME
853## --------- ##
854## Platform. ##
855## --------- ##
856
857hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
858uname -m = `(uname -m) 2>/dev/null || echo unknown`
859uname -r = `(uname -r) 2>/dev/null || echo unknown`
860uname -s = `(uname -s) 2>/dev/null || echo unknown`
861uname -v = `(uname -v) 2>/dev/null || echo unknown`
862
863/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
864/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
865
866/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
867/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
868/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
869hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
870/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
871/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
872/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
873
874_ASUNAME
875
876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
877for as_dir in $PATH
878do
879 IFS=$as_save_IFS
880 test -z "$as_dir" && as_dir=.
881 echo "PATH: $as_dir"
882done
883
884} >&5
885
886cat >&5 <<_ACEOF
887
888
889## ----------- ##
890## Core tests. ##
891## ----------- ##
892
893_ACEOF
894
895
896# Keep a trace of the command line.
897# Strip out --no-create and --no-recursion so they do not pile up.
898# Also quote any args containing shell meta-characters.
899ac_configure_args=
900ac_sep=
901for ac_arg
902do
903 case $ac_arg in
904 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
905 | --no-cr | --no-c | -n ) continue ;;
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 continue ;;
909 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
910 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
911 esac
912 case " $ac_configure_args " in
913 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
914 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
915 ac_sep=" " ;;
916 esac
917 # Get rid of the leading space.
918done
919
920# When interrupted or exit'd, cleanup temporary files, and complete
921# config.log. We remove comments because anyway the quotes in there
922# would cause problems or look ugly.
923# WARNING: Be sure not to use single quotes in there, as some shells,
924# such as our DU 5.0 friend, will then `close' the trap.
925trap 'exit_status=$?
926 # Save into config.log some information that might help in debugging.
927 {
928 echo
929 cat <<\_ASBOX
930## ---------------- ##
931## Cache variables. ##
932## ---------------- ##
933_ASBOX
934 echo
935 # The following way of writing the cache mishandles newlines in values,
936{
937 (set) 2>&1 |
938 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
939 *ac_space=\ *)
940 sed -n \
941 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
942 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
943 ;;
944 *)
945 sed -n \
946 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
947 ;;
948 esac;
949}
950 echo
951 if test -s confdefs.h; then
952 cat <<\_ASBOX
953## ----------- ##
954## confdefs.h. ##
955## ----------- ##
956_ASBOX
957 echo
958 sed "/^$/d" confdefs.h
959 echo
960 fi
961 test "$ac_signal" != 0 &&
962 echo "$as_me: caught signal $ac_signal"
963 echo "$as_me: exit $exit_status"
964 } >&5
965 rm -f core core.* *.core &&
966 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
967 exit $exit_status
968 ' 0
969for ac_signal in 1 2 13 15; do
970 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
971done
972ac_signal=0
973
974# confdefs.h avoids OS command line length limits that DEFS can exceed.
975rm -rf conftest* confdefs.h
976# AIX cpp loses on an empty file, so make sure it contains at least a newline.
977echo >confdefs.h
978
979# Predefined preprocessor variables.
980
981cat >>confdefs.h <<_ACEOF
982#define PACKAGE_NAME "$PACKAGE_NAME"
983_ACEOF
984
985
986cat >>confdefs.h <<_ACEOF
987#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
988_ACEOF
989
990
991cat >>confdefs.h <<_ACEOF
992#define PACKAGE_VERSION "$PACKAGE_VERSION"
993_ACEOF
994
995
996cat >>confdefs.h <<_ACEOF
997#define PACKAGE_STRING "$PACKAGE_STRING"
998_ACEOF
999
1000
1001cat >>confdefs.h <<_ACEOF
1002#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1003_ACEOF
1004
1005
1006# Let the site file select an alternate cache file if it wants to.
1007# Prefer explicitly selected file to automatically selected ones.
1008if test -z "$CONFIG_SITE"; then
1009 if test "x$prefix" != xNONE; then
1010 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1011 else
1012 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1013 fi
1014fi
1015for ac_site_file in $CONFIG_SITE; do
1016 if test -r "$ac_site_file"; then
1017 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1018echo "$as_me: loading site script $ac_site_file" >&6;}
1019 sed 's/^/| /' "$ac_site_file" >&5
1020 . "$ac_site_file"
1021 fi
1022done
1023
1024if test -r "$cache_file"; then
1025 # Some versions of bash will fail to source /dev/null (special
1026 # files actually), so we avoid doing that.
1027 if test -f "$cache_file"; then
1028 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1029echo "$as_me: loading cache $cache_file" >&6;}
1030 case $cache_file in
1031 [\\/]* | ?:[\\/]* ) . $cache_file;;
1032 *) . ./$cache_file;;
1033 esac
1034 fi
1035else
1036 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1037echo "$as_me: creating cache $cache_file" >&6;}
1038 >$cache_file
1039fi
1040
1041# Check that the precious variables saved in the cache have kept the same
1042# value.
1043ac_cache_corrupted=false
1044for ac_var in `(set) 2>&1 |
1045 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1046 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1047 eval ac_new_set=\$ac_env_${ac_var}_set
1048 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1049 eval ac_new_val="\$ac_env_${ac_var}_value"
1050 case $ac_old_set,$ac_new_set in
1051 set,)
1052 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1053echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1054 ac_cache_corrupted=: ;;
1055 ,set)
1056 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1057echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1058 ac_cache_corrupted=: ;;
1059 ,);;
1060 *)
1061 if test "x$ac_old_val" != "x$ac_new_val"; then
1062 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1063echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1064 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1065echo "$as_me: former value: $ac_old_val" >&2;}
1066 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1067echo "$as_me: current value: $ac_new_val" >&2;}
1068 ac_cache_corrupted=:
1069 fi;;
1070 esac
1071 # Pass precious variables to config.status.
1072 if test "$ac_new_set" = set; then
1073 case $ac_new_val in
1074 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1075 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1076 *) ac_arg=$ac_var=$ac_new_val ;;
1077 esac
1078 case " $ac_configure_args " in
1079 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1080 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1081 esac
1082 fi
1083done
1084if $ac_cache_corrupted; then
1085 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1086echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1087 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1088echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1089 { (exit 1); exit 1; }; }
1090fi
1091
1092ac_ext=c
1093ac_cpp='$CPP $CPPFLAGS'
1094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1096ac_compiler_gnu=$ac_cv_c_compiler_gnu
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116ac_aux_dir=
1117for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1118 if test -f $ac_dir/install-sh; then
1119 ac_aux_dir=$ac_dir
1120 ac_install_sh="$ac_aux_dir/install-sh -c"
1121 break
1122 elif test -f $ac_dir/install.sh; then
1123 ac_aux_dir=$ac_dir
1124 ac_install_sh="$ac_aux_dir/install.sh -c"
1125 break
1126 elif test -f $ac_dir/shtool; then
1127 ac_aux_dir=$ac_dir
1128 ac_install_sh="$ac_aux_dir/shtool install -c"
1129 break
1130 fi
1131done
1132if test -z "$ac_aux_dir"; then
1133 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1134echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1135 { (exit 1); exit 1; }; }
1136fi
1137ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1138ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1139ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1140
1141# Make sure we can run config.sub.
1142$ac_config_sub sun4 >/dev/null 2>&1 ||
1143 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1144echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1145 { (exit 1); exit 1; }; }
1146
1147echo "$as_me:$LINENO: checking build system type" >&5
1148echo $ECHO_N "checking build system type... $ECHO_C" >&6
1149if test "${ac_cv_build+set}" = set; then
1150 echo $ECHO_N "(cached) $ECHO_C" >&6
1151else
1152 ac_cv_build_alias=$build_alias
1153test -z "$ac_cv_build_alias" &&
1154 ac_cv_build_alias=`$ac_config_guess`
1155test -z "$ac_cv_build_alias" &&
1156 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1157echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1158 { (exit 1); exit 1; }; }
1159ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1160 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1161echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1162 { (exit 1); exit 1; }; }
1163
1164fi
1165echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1166echo "${ECHO_T}$ac_cv_build" >&6
1167build=$ac_cv_build
1168build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1169build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1170build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1171
1172
1173echo "$as_me:$LINENO: checking host system type" >&5
1174echo $ECHO_N "checking host system type... $ECHO_C" >&6
1175if test "${ac_cv_host+set}" = set; then
1176 echo $ECHO_N "(cached) $ECHO_C" >&6
1177else
1178 ac_cv_host_alias=$host_alias
1179test -z "$ac_cv_host_alias" &&
1180 ac_cv_host_alias=$ac_cv_build_alias
1181ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1182 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1183echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1184 { (exit 1); exit 1; }; }
1185
1186fi
1187echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1188echo "${ECHO_T}$ac_cv_host" >&6
1189host=$ac_cv_host
1190host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1191host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1192host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1193
1194
1195echo "$as_me:$LINENO: checking target system type" >&5
1196echo $ECHO_N "checking target system type... $ECHO_C" >&6
1197if test "${ac_cv_target+set}" = set; then
1198 echo $ECHO_N "(cached) $ECHO_C" >&6
1199else
1200 ac_cv_target_alias=$target_alias
1201test "x$ac_cv_target_alias" = "x" &&
1202 ac_cv_target_alias=$ac_cv_host_alias
1203ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1204 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1205echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1206 { (exit 1); exit 1; }; }
1207
1208fi
1209echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1210echo "${ECHO_T}$ac_cv_target" >&6
1211target=$ac_cv_target
1212target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1213target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1214target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1215
1216
1217# The aliases save the names the user supplied, while $host etc.
1218# will get canonicalized.
1219test -n "$target_alias" &&
1220 test "$program_prefix$program_suffix$program_transform_name" = \
1221 NONENONEs,x,x, &&
1222 program_prefix=${target_alias}-
1223
1224# Find a good install program. We prefer a C program (faster),
1225# so one script is as good as another. But avoid the broken or
1226# incompatible versions:
1227# SysV /etc/install, /usr/sbin/install
1228# SunOS /usr/etc/install
1229# IRIX /sbin/install
1230# AIX /bin/install
1231# AmigaOS /C/install, which installs bootblocks on floppy discs
1232# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1233# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1234# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1235# ./install, which can be erroneously created by make from ./install.sh.
1236echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1237echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1238if test -z "$INSTALL"; then
1239if test "${ac_cv_path_install+set}" = set; then
1240 echo $ECHO_N "(cached) $ECHO_C" >&6
1241else
1242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1243for as_dir in $PATH
1244do
1245 IFS=$as_save_IFS
1246 test -z "$as_dir" && as_dir=.
1247 # Account for people who put trailing slashes in PATH elements.
1248case $as_dir/ in
1249 ./ | .// | /cC/* | \
1250 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1251 /usr/ucb/* ) ;;
1252 *)
1253 # OSF1 and SCO ODT 3.0 have their own names for install.
1254 # Don't use installbsd from OSF since it installs stuff as root
1255 # by default.
1256 for ac_prog in ginstall scoinst install; do
1257 for ac_exec_ext in '' $ac_executable_extensions; do
1258 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1259 if test $ac_prog = install &&
1260 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1261 # AIX install. It has an incompatible calling convention.
1262 :
1263 elif test $ac_prog = install &&
1264 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1265 # program-specific install script used by HP pwplus--don't use.
1266 :
1267 else
1268 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1269 break 3
1270 fi
1271 fi
1272 done
1273 done
1274 ;;
1275esac
1276done
1277
1278
1279fi
1280 if test "${ac_cv_path_install+set}" = set; then
1281 INSTALL=$ac_cv_path_install
1282 else
1283 # As a last resort, use the slow shell script. We don't cache a
1284 # path for INSTALL within a source directory, because that will
1285 # break other packages using the cache if that directory is
1286 # removed, or if the path is relative.
1287 INSTALL=$ac_install_sh
1288 fi
1289fi
1290echo "$as_me:$LINENO: result: $INSTALL" >&5
1291echo "${ECHO_T}$INSTALL" >&6
1292
1293# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1294# It thinks the first close brace ends the variable substitution.
1295test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1296
1297test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1298
1299test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1300
1301
1302CFLAGS=${CFLAGS-"-O2 -g"}
1303if test -n "$ac_tool_prefix"; then
1304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1305set dummy ${ac_tool_prefix}gcc; ac_word=$2
1306echo "$as_me:$LINENO: checking for $ac_word" >&5
1307echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1308if test "${ac_cv_prog_CC+set}" = set; then
1309 echo $ECHO_N "(cached) $ECHO_C" >&6
1310else
1311 if test -n "$CC"; then
1312 ac_cv_prog_CC="$CC" # Let the user override the test.
1313else
1314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1315for as_dir in $PATH
1316do
1317 IFS=$as_save_IFS
1318 test -z "$as_dir" && as_dir=.
1319 for ac_exec_ext in '' $ac_executable_extensions; do
1320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1321 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1323 break 2
1324 fi
1325done
1326done
1327
1328fi
1329fi
1330CC=$ac_cv_prog_CC
1331if test -n "$CC"; then
1332 echo "$as_me:$LINENO: result: $CC" >&5
1333echo "${ECHO_T}$CC" >&6
1334else
1335 echo "$as_me:$LINENO: result: no" >&5
1336echo "${ECHO_T}no" >&6
1337fi
1338
1339fi
1340if test -z "$ac_cv_prog_CC"; then
1341 ac_ct_CC=$CC
1342 # Extract the first word of "gcc", so it can be a program name with args.
1343set dummy gcc; ac_word=$2
1344echo "$as_me:$LINENO: checking for $ac_word" >&5
1345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1347 echo $ECHO_N "(cached) $ECHO_C" >&6
1348else
1349 if test -n "$ac_ct_CC"; then
1350 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1351else
1352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353for as_dir in $PATH
1354do
1355 IFS=$as_save_IFS
1356 test -z "$as_dir" && as_dir=.
1357 for ac_exec_ext in '' $ac_executable_extensions; do
1358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1359 ac_cv_prog_ac_ct_CC="gcc"
1360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1361 break 2
1362 fi
1363done
1364done
1365
1366 test -z "$ac_cv_prog_ac_ct_CC" && ac_cv_prog_ac_ct_CC="gcc"
1367fi
1368fi
1369ac_ct_CC=$ac_cv_prog_ac_ct_CC
1370if test -n "$ac_ct_CC"; then
1371 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1372echo "${ECHO_T}$ac_ct_CC" >&6
1373else
1374 echo "$as_me:$LINENO: result: no" >&5
1375echo "${ECHO_T}no" >&6
1376fi
1377
1378 CC=$ac_ct_CC
1379else
1380 CC="$ac_cv_prog_CC"
1381fi
1382
1383
1384
1385
1386if test -n "$ac_tool_prefix"; then
1387 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1388set dummy ${ac_tool_prefix}ar; ac_word=$2
1389echo "$as_me:$LINENO: checking for $ac_word" >&5
1390echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1391if test "${ac_cv_prog_AR+set}" = set; then
1392 echo $ECHO_N "(cached) $ECHO_C" >&6
1393else
1394 if test -n "$AR"; then
1395 ac_cv_prog_AR="$AR" # Let the user override the test.
1396else
1397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1398for as_dir in $PATH
1399do
1400 IFS=$as_save_IFS
1401 test -z "$as_dir" && as_dir=.
1402 for ac_exec_ext in '' $ac_executable_extensions; do
1403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1404 ac_cv_prog_AR="${ac_tool_prefix}ar"
1405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406 break 2
1407 fi
1408done
1409done
1410
1411fi
1412fi
1413AR=$ac_cv_prog_AR
1414if test -n "$AR"; then
1415 echo "$as_me:$LINENO: result: $AR" >&5
1416echo "${ECHO_T}$AR" >&6
1417else
1418 echo "$as_me:$LINENO: result: no" >&5
1419echo "${ECHO_T}no" >&6
1420fi
1421
1422fi
1423if test -z "$ac_cv_prog_AR"; then
1424 ac_ct_AR=$AR
1425 # Extract the first word of "ar", so it can be a program name with args.
1426set dummy ar; ac_word=$2
1427echo "$as_me:$LINENO: checking for $ac_word" >&5
1428echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1429if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1431else
1432 if test -n "$ac_ct_AR"; then
1433 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1434else
1435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436for as_dir in $PATH
1437do
1438 IFS=$as_save_IFS
1439 test -z "$as_dir" && as_dir=.
1440 for ac_exec_ext in '' $ac_executable_extensions; do
1441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1442 ac_cv_prog_ac_ct_AR="ar"
1443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1444 break 2
1445 fi
1446done
1447done
1448
1449 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
1450fi
1451fi
1452ac_ct_AR=$ac_cv_prog_ac_ct_AR
1453if test -n "$ac_ct_AR"; then
1454 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1455echo "${ECHO_T}$ac_ct_AR" >&6
1456else
1457 echo "$as_me:$LINENO: result: no" >&5
1458echo "${ECHO_T}no" >&6
1459fi
1460
1461 AR=$ac_ct_AR
1462else
1463 AR="$ac_cv_prog_AR"
1464fi
1465
1466
1467if test -n "$ac_tool_prefix"; then
1468 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1469set dummy ${ac_tool_prefix}as; ac_word=$2
1470echo "$as_me:$LINENO: checking for $ac_word" >&5
1471echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1472if test "${ac_cv_prog_AS+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1474else
1475 if test -n "$AS"; then
1476 ac_cv_prog_AS="$AS" # Let the user override the test.
1477else
1478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1479for as_dir in $PATH
1480do
1481 IFS=$as_save_IFS
1482 test -z "$as_dir" && as_dir=.
1483 for ac_exec_ext in '' $ac_executable_extensions; do
1484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485 ac_cv_prog_AS="${ac_tool_prefix}as"
1486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1487 break 2
1488 fi
1489done
1490done
1491
1492fi
1493fi
1494AS=$ac_cv_prog_AS
1495if test -n "$AS"; then
1496 echo "$as_me:$LINENO: result: $AS" >&5
1497echo "${ECHO_T}$AS" >&6
1498else
1499 echo "$as_me:$LINENO: result: no" >&5
1500echo "${ECHO_T}no" >&6
1501fi
1502
1503fi
1504if test -z "$ac_cv_prog_AS"; then
1505 ac_ct_AS=$AS
1506 # Extract the first word of "as", so it can be a program name with args.
1507set dummy as; ac_word=$2
1508echo "$as_me:$LINENO: checking for $ac_word" >&5
1509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1510if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
1511 echo $ECHO_N "(cached) $ECHO_C" >&6
1512else
1513 if test -n "$ac_ct_AS"; then
1514 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
1515else
1516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1517for as_dir in $PATH
1518do
1519 IFS=$as_save_IFS
1520 test -z "$as_dir" && as_dir=.
1521 for ac_exec_ext in '' $ac_executable_extensions; do
1522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1523 ac_cv_prog_ac_ct_AS="as"
1524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1525 break 2
1526 fi
1527done
1528done
1529
1530 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="as"
1531fi
1532fi
1533ac_ct_AS=$ac_cv_prog_ac_ct_AS
1534if test -n "$ac_ct_AS"; then
1535 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
1536echo "${ECHO_T}$ac_ct_AS" >&6
1537else
1538 echo "$as_me:$LINENO: result: no" >&5
1539echo "${ECHO_T}no" >&6
1540fi
1541
1542 AS=$ac_ct_AS
1543else
1544 AS="$ac_cv_prog_AS"
1545fi
1546
1547
1548if test -n "$ac_tool_prefix"; then
1549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1550set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1551echo "$as_me:$LINENO: checking for $ac_word" >&5
1552echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553if test "${ac_cv_prog_RANLIB+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555else
1556 if test -n "$RANLIB"; then
1557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1558else
1559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560for as_dir in $PATH
1561do
1562 IFS=$as_save_IFS
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1568 break 2
1569 fi
1570done
1571done
1572
1573fi
1574fi
1575RANLIB=$ac_cv_prog_RANLIB
1576if test -n "$RANLIB"; then
1577 echo "$as_me:$LINENO: result: $RANLIB" >&5
1578echo "${ECHO_T}$RANLIB" >&6
1579else
1580 echo "$as_me:$LINENO: result: no" >&5
1581echo "${ECHO_T}no" >&6
1582fi
1583
1584fi
1585if test -z "$ac_cv_prog_RANLIB"; then
1586 ac_ct_RANLIB=$RANLIB
1587 # Extract the first word of "ranlib", so it can be a program name with args.
1588set dummy ranlib; ac_word=$2
1589echo "$as_me:$LINENO: checking for $ac_word" >&5
1590echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1591if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1593else
1594 if test -n "$ac_ct_RANLIB"; then
1595 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1596else
1597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598for as_dir in $PATH
1599do
1600 IFS=$as_save_IFS
1601 test -z "$as_dir" && as_dir=.
1602 for ac_exec_ext in '' $ac_executable_extensions; do
1603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1604 ac_cv_prog_ac_ct_RANLIB="ranlib"
1605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 break 2
1607 fi
1608done
1609done
1610
1611 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib"
1612fi
1613fi
1614ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1615if test -n "$ac_ct_RANLIB"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1617echo "${ECHO_T}$ac_ct_RANLIB" >&6
1618else
1619 echo "$as_me:$LINENO: result: no" >&5
1620echo "${ECHO_T}no" >&6
1621fi
1622
1623 RANLIB=$ac_ct_RANLIB
1624else
1625 RANLIB="$ac_cv_prog_RANLIB"
1626fi
1627
1628
1629if test -n "$ac_tool_prefix"; then
1630 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
1631set dummy ${ac_tool_prefix}ld; ac_word=$2
1632echo "$as_me:$LINENO: checking for $ac_word" >&5
1633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634if test "${ac_cv_prog_LD+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1636else
1637 if test -n "$LD"; then
1638 ac_cv_prog_LD="$LD" # Let the user override the test.
1639else
1640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1641for as_dir in $PATH
1642do
1643 IFS=$as_save_IFS
1644 test -z "$as_dir" && as_dir=.
1645 for ac_exec_ext in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_LD="${ac_tool_prefix}ld"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1649 break 2
1650 fi
1651done
1652done
1653
1654fi
1655fi
1656LD=$ac_cv_prog_LD
1657if test -n "$LD"; then
1658 echo "$as_me:$LINENO: result: $LD" >&5
1659echo "${ECHO_T}$LD" >&6
1660else
1661 echo "$as_me:$LINENO: result: no" >&5
1662echo "${ECHO_T}no" >&6
1663fi
1664
1665fi
1666if test -z "$ac_cv_prog_LD"; then
1667 ac_ct_LD=$LD
1668 # Extract the first word of "ld", so it can be a program name with args.
1669set dummy ld; ac_word=$2
1670echo "$as_me:$LINENO: checking for $ac_word" >&5
1671echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1674else
1675 if test -n "$ac_ct_LD"; then
1676 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
1677else
1678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679for as_dir in $PATH
1680do
1681 IFS=$as_save_IFS
1682 test -z "$as_dir" && as_dir=.
1683 for ac_exec_ext in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_ac_ct_LD="ld"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687 break 2
1688 fi
1689done
1690done
1691
1692 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
1693fi
1694fi
1695ac_ct_LD=$ac_cv_prog_ac_ct_LD
1696if test -n "$ac_ct_LD"; then
1697 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
1698echo "${ECHO_T}$ac_ct_LD" >&6
1699else
1700 echo "$as_me:$LINENO: result: no" >&5
1701echo "${ECHO_T}no" >&6
1702fi
1703
1704 LD=$ac_ct_LD
1705else
1706 LD="$ac_cv_prog_LD"
1707fi
1708
1709
1710if test -n "$ac_tool_prefix"; then
1711 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
1712set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1713echo "$as_me:$LINENO: checking for $ac_word" >&5
1714echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715if test "${ac_cv_prog_DLLTOOL+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1717else
1718 if test -n "$DLLTOOL"; then
1719 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1720else
1721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722for as_dir in $PATH
1723do
1724 IFS=$as_save_IFS
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 break 2
1731 fi
1732done
1733done
1734
1735fi
1736fi
1737DLLTOOL=$ac_cv_prog_DLLTOOL
1738if test -n "$DLLTOOL"; then
1739 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
1740echo "${ECHO_T}$DLLTOOL" >&6
1741else
1742 echo "$as_me:$LINENO: result: no" >&5
1743echo "${ECHO_T}no" >&6
1744fi
1745
1746fi
1747if test -z "$ac_cv_prog_DLLTOOL"; then
1748 ac_ct_DLLTOOL=$DLLTOOL
1749 # Extract the first word of "dlltool", so it can be a program name with args.
1750set dummy dlltool; ac_word=$2
1751echo "$as_me:$LINENO: checking for $ac_word" >&5
1752echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1755else
1756 if test -n "$ac_ct_DLLTOOL"; then
1757 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1758else
1759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760for as_dir in $PATH
1761do
1762 IFS=$as_save_IFS
1763 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768 break 2
1769 fi
1770done
1771done
1772
1773 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1774fi
1775fi
1776ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
1777if test -n "$ac_ct_DLLTOOL"; then
1778 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
1779echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
1780else
1781 echo "$as_me:$LINENO: result: no" >&5
1782echo "${ECHO_T}no" >&6
1783fi
1784
1785 DLLTOOL=$ac_ct_DLLTOOL
1786else
1787 DLLTOOL="$ac_cv_prog_DLLTOOL"
1788fi
1789
1790
1791if test -n "$ac_tool_prefix"; then
1792 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
1793set dummy ${ac_tool_prefix}windres; ac_word=$2
1794echo "$as_me:$LINENO: checking for $ac_word" >&5
1795echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1796if test "${ac_cv_prog_WINDRES+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1798else
1799 if test -n "$WINDRES"; then
1800 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
1801else
1802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803for as_dir in $PATH
1804do
1805 IFS=$as_save_IFS
1806 test -z "$as_dir" && as_dir=.
1807 for ac_exec_ext in '' $ac_executable_extensions; do
1808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1809 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
1810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811 break 2
1812 fi
1813done
1814done
1815
1816fi
1817fi
1818WINDRES=$ac_cv_prog_WINDRES
1819if test -n "$WINDRES"; then
1820 echo "$as_me:$LINENO: result: $WINDRES" >&5
1821echo "${ECHO_T}$WINDRES" >&6
1822else
1823 echo "$as_me:$LINENO: result: no" >&5
1824echo "${ECHO_T}no" >&6
1825fi
1826
1827fi
1828if test -z "$ac_cv_prog_WINDRES"; then
1829 ac_ct_WINDRES=$WINDRES
1830 # Extract the first word of "windres", so it can be a program name with args.
1831set dummy windres; ac_word=$2
1832echo "$as_me:$LINENO: checking for $ac_word" >&5
1833echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1834if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
1835 echo $ECHO_N "(cached) $ECHO_C" >&6
1836else
1837 if test -n "$ac_ct_WINDRES"; then
1838 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
1839else
1840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1841for as_dir in $PATH
1842do
1843 IFS=$as_save_IFS
1844 test -z "$as_dir" && as_dir=.
1845 for ac_exec_ext in '' $ac_executable_extensions; do
1846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1847 ac_cv_prog_ac_ct_WINDRES="windres"
1848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1849 break 2
1850 fi
1851done
1852done
1853
1854 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="windres"
1855fi
1856fi
1857ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
1858if test -n "$ac_ct_WINDRES"; then
1859 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
1860echo "${ECHO_T}$ac_ct_WINDRES" >&6
1861else
1862 echo "$as_me:$LINENO: result: no" >&5
1863echo "${ECHO_T}no" >&6
1864fi
1865
1866 WINDRES=$ac_ct_WINDRES
1867else
1868 WINDRES="$ac_cv_prog_WINDRES"
1869fi
1870
1871
1872
1873echo "$as_me:$LINENO: checking for build environment" >&5
1874echo $ECHO_N "checking for build environment... $ECHO_C" >&6
1875case "$build_alias" in
1876*-mingw*) BUILDENV=mingw;;
1877*-cygwin*) BUILDENV=cygwin;;
1878esac
1879if test -z "$BUILDENV"; then
1880 echo "$as_me:$LINENO: result: standard" >&5
1881echo "${ECHO_T}standard" >&6
1882else
1883 echo "$as_me:$LINENO: result: $BUILDENV" >&5
1884echo "${ECHO_T}$BUILDENV" >&6
1885fi
1886
1887
1888ac_config_files="$ac_config_files Makefile lib/Makefile lib/ddk/Makefile lib/directx/Makefile"
1889cat >confcache <<\_ACEOF
1890# This file is a shell script that caches the results of configure
1891# tests run on this system so they can be shared between configure
1892# scripts and configure runs, see configure's option --config-cache.
1893# It is not useful on other systems. If it contains results you don't
1894# want to keep, you may remove or edit it.
1895#
1896# config.status only pays attention to the cache file if you give it
1897# the --recheck option to rerun configure.
1898#
1899# `ac_cv_env_foo' variables (set or unset) will be overriden when
1900# loading this file, other *unset* `ac_cv_foo' will be assigned the
1901# following values.
1902
1903_ACEOF
1904
1905# The following way of writing the cache mishandles newlines in values,
1906# but we know of no workaround that is simple, portable, and efficient.
1907# So, don't put newlines in cache variables' values.
1908# Ultrix sh set writes to stderr and can't be redirected directly,
1909# and sets the high bit in the cache file unless we assign to the vars.
1910{
1911 (set) 2>&1 |
1912 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1913 *ac_space=\ *)
1914 # `set' does not quote correctly, so add quotes (double-quote
1915 # substitution turns \\\\ into \\, and sed turns \\ into \).
1916 sed -n \
1917 "s/'/'\\\\''/g;
1918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1919 ;;
1920 *)
1921 # `set' quotes correctly as required by POSIX, so do not add quotes.
1922 sed -n \
1923 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1924 ;;
1925 esac;
1926} |
1927 sed '
1928 t clear
1929 : clear
1930 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1931 t end
1932 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1933 : end' >>confcache
1934if cmp -s $cache_file confcache; then :; else
1935 if test -w $cache_file; then
1936 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1937 cat confcache >$cache_file
1938 else
1939 echo "not updating unwritable cache $cache_file"
1940 fi
1941fi
1942rm -f confcache
1943
1944test "x$prefix" = xNONE && prefix=$ac_default_prefix
1945# Let make expand exec_prefix.
1946test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1947
1948# VPATH may cause trouble with some makes, so we remove $(srcdir),
1949# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1950# trailing colons and then remove the whole line if VPATH becomes empty
1951# (actually we leave an empty line to preserve line numbers).
1952if test "x$srcdir" = x.; then
1953 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1954s/:*\$(srcdir):*/:/;
1955s/:*\${srcdir}:*/:/;
1956s/:*@srcdir@:*/:/;
1957s/^\([^=]*=[ ]*\):*/\1/;
1958s/:*$//;
1959s/^[^=]*=[ ]*$//;
1960}'
1961fi
1962
1963# Transform confdefs.h into DEFS.
1964# Protect against shell expansion while executing Makefile rules.
1965# Protect against Makefile macro expansion.
1966#
1967# If the first sed substitution is executed (which looks for macros that
1968# take arguments), then we branch to the quote section. Otherwise,
1969# look for a macro that doesn't take arguments.
1970cat >confdef2opt.sed <<\_ACEOF
1971t clear
1972: clear
1973s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1974t quote
1975s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1976t quote
1977d
1978: quote
1979s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1980s,\[,\\&,g
1981s,\],\\&,g
1982s,\$,$$,g
1983p
1984_ACEOF
1985# We use echo to avoid assuming a particular line-breaking character.
1986# The extra dot is to prevent the shell from consuming trailing
1987# line-breaks from the sub-command output. A line-break within
1988# single-quotes doesn't work because, if this script is created in a
1989# platform that uses two characters for line-breaks (e.g., DOS), tr
1990# would break.
1991ac_LF_and_DOT=`echo; echo .`
1992DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1993rm -f confdef2opt.sed
1994
1995
1996
1997: ${CONFIG_STATUS=./config.status}
1998ac_clean_files_save=$ac_clean_files
1999ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2000{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2001echo "$as_me: creating $CONFIG_STATUS" >&6;}
2002cat >$CONFIG_STATUS <<_ACEOF
2003#! $SHELL
2004# Generated by $as_me.
2005# Run this file to recreate the current configuration.
2006# Compiler output produced by configure, useful for debugging
2007# configure, is in config.log if it exists.
2008
2009debug=false
2010SHELL=\${CONFIG_SHELL-$SHELL}
2011_ACEOF
2012
2013cat >>$CONFIG_STATUS <<\_ACEOF
2014
2015## --------------------- ##
2016## M4sh Initialization. ##
2017## --------------------- ##
2018
2019# Be Bourne compatible
2020if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2021 emulate sh
2022 NULLCMD=:
2023elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2024 set -o posix
2025fi
2026
2027# NLS nuisances.
2028# Support unset when possible.
2029if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2030 as_unset=unset
2031else
2032 as_unset=false
2033fi
2034
2035(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
2036 { $as_unset LANG || test "${LANG+set}" != set; } ||
2037 { LANG=C; export LANG; }
2038(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
2039 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
2040 { LC_ALL=C; export LC_ALL; }
2041(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2042 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2043 { LC_TIME=C; export LC_TIME; }
2044(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2045 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2046 { LC_CTYPE=C; export LC_CTYPE; }
2047(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2048 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2049 { LANGUAGE=C; export LANGUAGE; }
2050(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2051 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2052 { LC_COLLATE=C; export LC_COLLATE; }
2053(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2054 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2055 { LC_NUMERIC=C; export LC_NUMERIC; }
2056(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2057 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2058 { LC_MESSAGES=C; export LC_MESSAGES; }
2059
2060
2061# Name of the executable.
2062as_me=`(basename "$0") 2>/dev/null ||
2063$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2064 X"$0" : 'X\(//\)$' \| \
2065 X"$0" : 'X\(/\)$' \| \
2066 . : '\(.\)' 2>/dev/null ||
2067echo X/"$0" |
2068 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2069 /^X\/\(\/\/\)$/{ s//\1/; q; }
2070 /^X\/\(\/\).*/{ s//\1/; q; }
2071 s/.*/./; q'`
2072
2073# PATH needs CR, and LINENO needs CR and PATH.
2074# Avoid depending upon Character Ranges.
2075as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2076as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2077as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2078as_cr_digits='0123456789'
2079as_cr_alnum=$as_cr_Letters$as_cr_digits
2080
2081# The user is always right.
2082if test "${PATH_SEPARATOR+set}" != set; then
2083 echo "#! /bin/sh" >conftest.sh
2084 echo "exit 0" >>conftest.sh
2085 chmod +x conftest.sh
2086 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
2087 PATH_SEPARATOR=';'
2088 else
2089 PATH_SEPARATOR=:
2090 fi
2091 rm -f conftest.sh
2092fi
2093
2094
2095 as_lineno_1=$LINENO
2096 as_lineno_2=$LINENO
2097 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2098 test "x$as_lineno_1" != "x$as_lineno_2" &&
2099 test "x$as_lineno_3" = "x$as_lineno_2" || {
2100 # Find who we are. Look in the path if we contain no path at all
2101 # relative or not.
2102 case $0 in
2103 *[\\/]* ) as_myself=$0 ;;
2104 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105for as_dir in $PATH
2106do
2107 IFS=$as_save_IFS
2108 test -z "$as_dir" && as_dir=.
2109 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2110done
2111
2112 ;;
2113 esac
2114 # We did not find ourselves, most probably we were run as `sh COMMAND'
2115 # in which case we are not to be found in the path.
2116 if test "x$as_myself" = x; then
2117 as_myself=$0
2118 fi
2119 if test ! -f "$as_myself"; then
2120 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2121echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2122 { (exit 1); exit 1; }; }
2123 fi
2124 case $CONFIG_SHELL in
2125 '')
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2128do
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 for as_base in sh bash ksh sh5; do
2132 case $as_dir in
2133 /*)
2134 if ("$as_dir/$as_base" -c '
2135 as_lineno_1=$LINENO
2136 as_lineno_2=$LINENO
2137 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2138 test "x$as_lineno_1" != "x$as_lineno_2" &&
2139 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2140 CONFIG_SHELL=$as_dir/$as_base
2141 export CONFIG_SHELL
2142 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2143 fi;;
2144 esac
2145 done
2146done
2147;;
2148 esac
2149
2150 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2151 # uniformly replaced by the line number. The first 'sed' inserts a
2152 # line-number line before each line; the second 'sed' does the real
2153 # work. The second script uses 'N' to pair each line-number line
2154 # with the numbered line, and appends trailing '-' during
2155 # substitution so that $LINENO is not a special case at line end.
2156 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2157 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2158 sed '=' <$as_myself |
2159 sed '
2160 N
2161 s,$,-,
2162 : loop
2163 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2164 t loop
2165 s,-$,,
2166 s,^['$as_cr_digits']*\n,,
2167 ' >$as_me.lineno &&
2168 chmod +x $as_me.lineno ||
2169 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2170echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2171 { (exit 1); exit 1; }; }
2172
2173 # Don't try to exec as it changes $[0], causing all sort of problems
2174 # (the dirname of $[0] is not the place where we might find the
2175 # original and so on. Autoconf is especially sensible to this).
2176 . ./$as_me.lineno
2177 # Exit status is that of the last command.
2178 exit
2179}
2180
2181
2182case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2183 *c*,-n*) ECHO_N= ECHO_C='
2184' ECHO_T=' ' ;;
2185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2187esac
2188
2189if expr a : '\(a\)' >/dev/null 2>&1; then
2190 as_expr=expr
2191else
2192 as_expr=false
2193fi
2194
2195rm -f conf$$ conf$$.exe conf$$.file
2196echo >conf$$.file
2197if ln -s conf$$.file conf$$ 2>/dev/null; then
2198 # We could just check for DJGPP; but this test a) works b) is more generic
2199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2200 if test -f conf$$.exe; then
2201 # Don't use ln at all; we don't have any links
2202 as_ln_s='cp -p'
2203 else
2204 as_ln_s='ln -s'
2205 fi
2206elif ln conf$$.file conf$$ 2>/dev/null; then
2207 as_ln_s=ln
2208else
2209 as_ln_s='cp -p'
2210fi
2211rm -f conf$$ conf$$.exe conf$$.file
2212
2213as_executable_p="test -f"
2214
2215# Sed expression to map a string onto a valid CPP name.
2216as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
2217
2218# Sed expression to map a string onto a valid variable name.
2219as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
2220
2221
2222# IFS
2223# We need space, tab and new line, in precisely that order.
2224as_nl='
2225'
2226IFS=" $as_nl"
2227
2228# CDPATH.
2229$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
2230
2231exec 6>&1
2232
2233# Open the log real soon, to keep \$[0] and so on meaningful, and to
2234# report actual input values of CONFIG_FILES etc. instead of their
2235# values after options handling. Logging --version etc. is OK.
2236exec 5>>config.log
2237{
2238 echo
2239 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2240## Running $as_me. ##
2241_ASBOX
2242} >&5
2243cat >&5 <<_CSEOF
2244
2245This file was extended by $as_me, which was
2246generated by GNU Autoconf 2.53. Invocation command line was
2247
2248 CONFIG_FILES = $CONFIG_FILES
2249 CONFIG_HEADERS = $CONFIG_HEADERS
2250 CONFIG_LINKS = $CONFIG_LINKS
2251 CONFIG_COMMANDS = $CONFIG_COMMANDS
2252 $ $0 $@
2253
2254_CSEOF
2255echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2256echo >&5
2257_ACEOF
2258
2259# Files that config.status was made for.
2260if test -n "$ac_config_files"; then
2261 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2262fi
2263
2264if test -n "$ac_config_headers"; then
2265 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2266fi
2267
2268if test -n "$ac_config_links"; then
2269 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2270fi
2271
2272if test -n "$ac_config_commands"; then
2273 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2274fi
2275
2276cat >>$CONFIG_STATUS <<\_ACEOF
2277
2278ac_cs_usage="\
2279\`$as_me' instantiates files from templates according to the
2280current configuration.
2281
2282Usage: $0 [OPTIONS] [FILE]...
2283
2284 -h, --help print this help, then exit
2285 -V, --version print version number, then exit
2286 -d, --debug don't remove temporary files
2287 --recheck update $as_me by reconfiguring in the same conditions
2288 --file=FILE[:TEMPLATE]
2289 instantiate the configuration file FILE
2290
2291Configuration files:
2292$config_files
2293
2294Report bugs to <bug-autoconf@gnu.org>."
2295_ACEOF
2296
2297cat >>$CONFIG_STATUS <<_ACEOF
2298ac_cs_version="\\
2299config.status
2300configured by $0, generated by GNU Autoconf 2.53,
2301 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2302
2303Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2304Free Software Foundation, Inc.
2305This config.status script is free software; the Free Software Foundation
2306gives unlimited permission to copy, distribute and modify it."
2307srcdir=$srcdir
2308INSTALL="$INSTALL"
2309_ACEOF
2310
2311cat >>$CONFIG_STATUS <<\_ACEOF
2312# If no file are specified by the user, then we need to provide default
2313# value. By we need to know if files were specified by the user.
2314ac_need_defaults=:
2315while test $# != 0
2316do
2317 case $1 in
2318 --*=*)
2319 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2320 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2321 shift
2322 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2323 shift
2324 ;;
2325 -*);;
2326 *) # This is not an option, so the user has probably given explicit
2327 # arguments.
2328 ac_need_defaults=false;;
2329 esac
2330
2331 case $1 in
2332 # Handling of the options.
2333_ACEOF
2334cat >>$CONFIG_STATUS <<_ACEOF
2335 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2336 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2337 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2338_ACEOF
2339cat >>$CONFIG_STATUS <<\_ACEOF
2340 --version | --vers* | -V )
2341 echo "$ac_cs_version"; exit 0 ;;
2342 --he | --h)
2343 # Conflict between --help and --header
2344 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2345Try \`$0 --help' for more information." >&5
2346echo "$as_me: error: ambiguous option: $1
2347Try \`$0 --help' for more information." >&2;}
2348 { (exit 1); exit 1; }; };;
2349 --help | --hel | -h )
2350 echo "$ac_cs_usage"; exit 0 ;;
2351 --debug | --d* | -d )
2352 debug=: ;;
2353 --file | --fil | --fi | --f )
2354 shift
2355 CONFIG_FILES="$CONFIG_FILES $1"
2356 ac_need_defaults=false;;
2357 --header | --heade | --head | --hea )
2358 shift
2359 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2360 ac_need_defaults=false;;
2361
2362 # This is an error.
2363 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2364Try \`$0 --help' for more information." >&5
2365echo "$as_me: error: unrecognized option: $1
2366Try \`$0 --help' for more information." >&2;}
2367 { (exit 1); exit 1; }; } ;;
2368
2369 *) ac_config_targets="$ac_config_targets $1" ;;
2370
2371 esac
2372 shift
2373done
2374
2375_ACEOF
2376
2377
2378
2379
2380
2381cat >>$CONFIG_STATUS <<\_ACEOF
2382for ac_config_target in $ac_config_targets
2383do
2384 case "$ac_config_target" in
2385 # Handling of arguments.
2386 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2387 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
2388 "lib/ddk/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/ddk/Makefile" ;;
2389 "lib/directx/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/directx/Makefile" ;;
2390 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2391echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2392 { (exit 1); exit 1; }; };;
2393 esac
2394done
2395
2396# If the user did not use the arguments to specify the items to instantiate,
2397# then the envvar interface is used. Set only those that are not.
2398# We use the long form for the default assignment because of an extremely
2399# bizarre bug on SunOS 4.1.3.
2400if $ac_need_defaults; then
2401 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2402fi
2403
2404# Create a temporary directory, and hook for its removal unless debugging.
2405$debug ||
2406{
2407 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2408 trap '{ (exit 1); exit 1; }' 1 2 13 15
2409}
2410
2411# Create a (secure) tmp directory for tmp files.
2412: ${TMPDIR=/tmp}
2413{
2414 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2415 test -n "$tmp" && test -d "$tmp"
2416} ||
2417{
2418 tmp=$TMPDIR/cs$$-$RANDOM
2419 (umask 077 && mkdir $tmp)
2420} ||
2421{
2422 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2423 { (exit 1); exit 1; }
2424}
2425
2426_ACEOF
2427
2428cat >>$CONFIG_STATUS <<_ACEOF
2429
2430#
2431# CONFIG_FILES section.
2432#
2433
2434# No need to generate the scripts if there are no CONFIG_FILES.
2435# This happens for instance when ./config.status config.h
2436if test -n "\$CONFIG_FILES"; then
2437 # Protect against being on the right side of a sed subst in config.status.
2438 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2439 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2440s,@SHELL@,$SHELL,;t t
2441s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2442s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2443s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2444s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2445s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2446s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2447s,@exec_prefix@,$exec_prefix,;t t
2448s,@prefix@,$prefix,;t t
2449s,@program_transform_name@,$program_transform_name,;t t
2450s,@bindir@,$bindir,;t t
2451s,@sbindir@,$sbindir,;t t
2452s,@libexecdir@,$libexecdir,;t t
2453s,@datadir@,$datadir,;t t
2454s,@sysconfdir@,$sysconfdir,;t t
2455s,@sharedstatedir@,$sharedstatedir,;t t
2456s,@localstatedir@,$localstatedir,;t t
2457s,@libdir@,$libdir,;t t
2458s,@includedir@,$includedir,;t t
2459s,@oldincludedir@,$oldincludedir,;t t
2460s,@infodir@,$infodir,;t t
2461s,@mandir@,$mandir,;t t
2462s,@build_alias@,$build_alias,;t t
2463s,@host_alias@,$host_alias,;t t
2464s,@target_alias@,$target_alias,;t t
2465s,@DEFS@,$DEFS,;t t
2466s,@ECHO_C@,$ECHO_C,;t t
2467s,@ECHO_N@,$ECHO_N,;t t
2468s,@ECHO_T@,$ECHO_T,;t t
2469s,@LIBS@,$LIBS,;t t
2470s,@build@,$build,;t t
2471s,@build_cpu@,$build_cpu,;t t
2472s,@build_vendor@,$build_vendor,;t t
2473s,@build_os@,$build_os,;t t
2474s,@host@,$host,;t t
2475s,@host_cpu@,$host_cpu,;t t
2476s,@host_vendor@,$host_vendor,;t t
2477s,@host_os@,$host_os,;t t
2478s,@target@,$target,;t t
2479s,@target_cpu@,$target_cpu,;t t
2480s,@target_vendor@,$target_vendor,;t t
2481s,@target_os@,$target_os,;t t
2482s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2483s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2484s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2485s,@CC@,$CC,;t t
2486s,@ac_ct_CC@,$ac_ct_CC,;t t
2487s,@CFLAGS@,$CFLAGS,;t t
2488s,@AR@,$AR,;t t
2489s,@ac_ct_AR@,$ac_ct_AR,;t t
2490s,@AS@,$AS,;t t
2491s,@ac_ct_AS@,$ac_ct_AS,;t t
2492s,@RANLIB@,$RANLIB,;t t
2493s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
2494s,@LD@,$LD,;t t
2495s,@ac_ct_LD@,$ac_ct_LD,;t t
2496s,@DLLTOOL@,$DLLTOOL,;t t
2497s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
2498s,@WINDRES@,$WINDRES,;t t
2499s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
2500s,@BUILDENV@,$BUILDENV,;t t
2501CEOF
2502
2503_ACEOF
2504
2505 cat >>$CONFIG_STATUS <<\_ACEOF
2506 # Split the substitutions into bite-sized pieces for seds with
2507 # small command number limits, like on Digital OSF/1 and HP-UX.
2508 ac_max_sed_lines=48
2509 ac_sed_frag=1 # Number of current file.
2510 ac_beg=1 # First line for current file.
2511 ac_end=$ac_max_sed_lines # Line after last line for current file.
2512 ac_more_lines=:
2513 ac_sed_cmds=
2514 while $ac_more_lines; do
2515 if test $ac_beg -gt 1; then
2516 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2517 else
2518 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2519 fi
2520 if test ! -s $tmp/subs.frag; then
2521 ac_more_lines=false
2522 else
2523 # The purpose of the label and of the branching condition is to
2524 # speed up the sed processing (if there are no `@' at all, there
2525 # is no need to browse any of the substitutions).
2526 # These are the two extra sed commands mentioned above.
2527 (echo ':t
2528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2529 if test -z "$ac_sed_cmds"; then
2530 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2531 else
2532 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2533 fi
2534 ac_sed_frag=`expr $ac_sed_frag + 1`
2535 ac_beg=$ac_end
2536 ac_end=`expr $ac_end + $ac_max_sed_lines`
2537 fi
2538 done
2539 if test -z "$ac_sed_cmds"; then
2540 ac_sed_cmds=cat
2541 fi
2542fi # test -n "$CONFIG_FILES"
2543
2544_ACEOF
2545cat >>$CONFIG_STATUS <<\_ACEOF
2546for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2547 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2548 case $ac_file in
2549 - | *:- | *:-:* ) # input from stdin
2550 cat >$tmp/stdin
2551 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2552 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2553 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2554 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2555 * ) ac_file_in=$ac_file.in ;;
2556 esac
2557
2558 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2559 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2560$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2561 X"$ac_file" : 'X\(//\)[^/]' \| \
2562 X"$ac_file" : 'X\(//\)$' \| \
2563 X"$ac_file" : 'X\(/\)' \| \
2564 . : '\(.\)' 2>/dev/null ||
2565echo X"$ac_file" |
2566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2567 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2568 /^X\(\/\/\)$/{ s//\1/; q; }
2569 /^X\(\/\).*/{ s//\1/; q; }
2570 s/.*/./; q'`
2571 { case "$ac_dir" in
2572 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2573 *) as_incr_dir=.;;
2574esac
2575as_dummy="$ac_dir"
2576for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2577 case $as_mkdir_dir in
2578 # Skip DOS drivespec
2579 ?:) as_incr_dir=$as_mkdir_dir ;;
2580 *)
2581 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2582 test -d "$as_incr_dir" ||
2583 mkdir "$as_incr_dir" ||
2584 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
2585echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
2586 { (exit 1); exit 1; }; }
2587 ;;
2588 esac
2589done; }
2590
2591 ac_builddir=.
2592
2593if test "$ac_dir" != .; then
2594 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2595 # A "../" for each directory in $ac_dir_suffix.
2596 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2597else
2598 ac_dir_suffix= ac_top_builddir=
2599fi
2600
2601case $srcdir in
2602 .) # No --srcdir option. We are building in place.
2603 ac_srcdir=.
2604 if test -z "$ac_top_builddir"; then
2605 ac_top_srcdir=.
2606 else
2607 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2608 fi ;;
2609 [\\/]* | ?:[\\/]* ) # Absolute path.
2610 ac_srcdir=$srcdir$ac_dir_suffix;
2611 ac_top_srcdir=$srcdir ;;
2612 *) # Relative path.
2613 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2614 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2615esac
2616# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2617# absolute.
2618ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2619ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
2620ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2621ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2622
2623
2624 case $INSTALL in
2625 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2626 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2627 esac
2628
2629 if test x"$ac_file" != x-; then
2630 { echo "$as_me:$LINENO: creating $ac_file" >&5
2631echo "$as_me: creating $ac_file" >&6;}
2632 rm -f "$ac_file"
2633 fi
2634 # Let's still pretend it is `configure' which instantiates (i.e., don't
2635 # use $as_me), people would be surprised to read:
2636 # /* config.h. Generated by config.status. */
2637 if test x"$ac_file" = x-; then
2638 configure_input=
2639 else
2640 configure_input="$ac_file. "
2641 fi
2642 configure_input=$configure_input"Generated from `echo $ac_file_in |
2643 sed 's,.*/,,'` by configure."
2644
2645 # First look for the input files in the build tree, otherwise in the
2646 # src tree.
2647 ac_file_inputs=`IFS=:
2648 for f in $ac_file_in; do
2649 case $f in
2650 -) echo $tmp/stdin ;;
2651 [\\/$]*)
2652 # Absolute (can't be DOS-style, as IFS=:)
2653 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2654echo "$as_me: error: cannot find input file: $f" >&2;}
2655 { (exit 1); exit 1; }; }
2656 echo $f;;
2657 *) # Relative
2658 if test -f "$f"; then
2659 # Build tree
2660 echo $f
2661 elif test -f "$srcdir/$f"; then
2662 # Source tree
2663 echo $srcdir/$f
2664 else
2665 # /dev/null tree
2666 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2667echo "$as_me: error: cannot find input file: $f" >&2;}
2668 { (exit 1); exit 1; }; }
2669 fi;;
2670 esac
2671 done` || { (exit 1); exit 1; }
2672_ACEOF
2673cat >>$CONFIG_STATUS <<_ACEOF
2674 sed "$ac_vpsub
2675$extrasub
2676_ACEOF
2677cat >>$CONFIG_STATUS <<\_ACEOF
2678:t
2679/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2680s,@configure_input@,$configure_input,;t t
2681s,@srcdir@,$ac_srcdir,;t t
2682s,@abs_srcdir@,$ac_abs_srcdir,;t t
2683s,@top_srcdir@,$ac_top_srcdir,;t t
2684s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2685s,@builddir@,$ac_builddir,;t t
2686s,@abs_builddir@,$ac_abs_builddir,;t t
2687s,@top_builddir@,$ac_top_builddir,;t t
2688s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2689s,@INSTALL@,$ac_INSTALL,;t t
2690" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2691 rm -f $tmp/stdin
2692 if test x"$ac_file" != x-; then
2693 mv $tmp/out $ac_file
2694 else
2695 cat $tmp/out
2696 rm -f $tmp/out
2697 fi
2698
2699done
2700_ACEOF
2701
2702cat >>$CONFIG_STATUS <<\_ACEOF
2703
2704{ (exit 0); exit 0; }
2705_ACEOF
2706chmod +x $CONFIG_STATUS
2707ac_clean_files=$ac_clean_files_save
2708
2709
2710# configure is writing to config.log, and then calls config.status.
2711# config.status does its own redirection, appending to config.log.
2712# Unfortunately, on DOS this fails, as config.log is still kept open
2713# by configure, so config.status won't be able to write to it; its
2714# output is simply discarded. So we exec the FD to /dev/null,
2715# effectively closing config.log, so it can be properly (re)opened and
2716# appended to by config.status. When coming back to configure, we
2717# need to make the FD available again.
2718if test "$no_create" != yes; then
2719 ac_cs_success=:
2720 exec 5>/dev/null
2721 $SHELL $CONFIG_STATUS || ac_cs_success=false
2722 exec 5>>config.log
2723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2724 # would make configure fail if this is the last instruction.
2725 $ac_cs_success || { (exit 1); exit 1; }
2726fi
2727
Note: See TracBrowser for help on using the repository browser.