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