configure revision 1.3 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52 for make noversion.
4 #
5 # Report bugs to <bin-bug-people (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='make'
149 PACKAGE_TARNAME='make'
150 PACKAGE_VERSION='noversion'
151 PACKAGE_STRING='make noversion'
152 PACKAGE_BUGREPORT='bin-bug-people (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 make 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 make 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 <bin-bug-people (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 make 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 make $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 buildmake.sh"
927
928 # Extract the first word of "sh", so it can be a program name with args.
929 set dummy sh; ac_word=$2
930 echo "$as_me:930: checking for $ac_word" >&5
931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
932 if test "${ac_cv_path_BSHELL+set}" = set; then
933 echo $ECHO_N "(cached) $ECHO_C" >&6
934 else
935 case $BSHELL in
936 [\\/]* | ?:[\\/]*)
937 ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
938 ;;
939 *)
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 if $as_executable_p "$ac_dir/$ac_word"; then
946 ac_cv_path_BSHELL="$ac_dir/$ac_word"
947 echo "$as_me:947: found $ac_dir/$ac_word" >&5
948 break
949 fi
950 done
951
952 ;;
953 esac
954 fi
955 BSHELL=$ac_cv_path_BSHELL
956
957 if test -n "$BSHELL"; then
958 echo "$as_me:958: result: $BSHELL" >&5
959 echo "${ECHO_T}$BSHELL" >&6
960 else
961 echo "$as_me:961: result: no" >&5
962 echo "${ECHO_T}no" >&6
963 fi
964
965 if test x"$BSHELL" = x; then
966 { { echo "$as_me:966: error: sh must be somewhere on \$PATH" >&5
967 echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
968 { (exit 1); exit 1; }; }
969 fi
970 # Make wants to know what directory to find sh in.
971 nb_path_defshelldir=`echo $BSHELL | sed 's,/sh$,,'`
972 cat >>confdefs.h <<EOF
973 #define _PATH_DEFSHELLDIR "$nb_path_defshelldir"
974 EOF
975
976 # Make sure we have POSIX regex ability.
977 ac_ext=c
978 ac_cpp='$CPP $CPPFLAGS'
979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
982 if test -n "$ac_tool_prefix"; then
983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
984 set dummy ${ac_tool_prefix}gcc; ac_word=$2
985 echo "$as_me:985: checking for $ac_word" >&5
986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
987 if test "${ac_cv_prog_CC+set}" = set; then
988 echo $ECHO_N "(cached) $ECHO_C" >&6
989 else
990 if test -n "$CC"; then
991 ac_cv_prog_CC="$CC" # Let the user override the test.
992 else
993 ac_save_IFS=$IFS; IFS=$ac_path_separator
994 ac_dummy="$PATH"
995 for ac_dir in $ac_dummy; do
996 IFS=$ac_save_IFS
997 test -z "$ac_dir" && ac_dir=.
998 $as_executable_p "$ac_dir/$ac_word" || continue
999 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1000 echo "$as_me:1000: found $ac_dir/$ac_word" >&5
1001 break
1002 done
1003
1004 fi
1005 fi
1006 CC=$ac_cv_prog_CC
1007 if test -n "$CC"; then
1008 echo "$as_me:1008: result: $CC" >&5
1009 echo "${ECHO_T}$CC" >&6
1010 else
1011 echo "$as_me:1011: result: no" >&5
1012 echo "${ECHO_T}no" >&6
1013 fi
1014
1015 fi
1016 if test -z "$ac_cv_prog_CC"; then
1017 ac_ct_CC=$CC
1018 # Extract the first word of "gcc", so it can be a program name with args.
1019 set dummy gcc; ac_word=$2
1020 echo "$as_me:1020: checking for $ac_word" >&5
1021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1022 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1023 echo $ECHO_N "(cached) $ECHO_C" >&6
1024 else
1025 if test -n "$ac_ct_CC"; then
1026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1027 else
1028 ac_save_IFS=$IFS; IFS=$ac_path_separator
1029 ac_dummy="$PATH"
1030 for ac_dir in $ac_dummy; do
1031 IFS=$ac_save_IFS
1032 test -z "$ac_dir" && ac_dir=.
1033 $as_executable_p "$ac_dir/$ac_word" || continue
1034 ac_cv_prog_ac_ct_CC="gcc"
1035 echo "$as_me:1035: found $ac_dir/$ac_word" >&5
1036 break
1037 done
1038
1039 fi
1040 fi
1041 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1042 if test -n "$ac_ct_CC"; then
1043 echo "$as_me:1043: result: $ac_ct_CC" >&5
1044 echo "${ECHO_T}$ac_ct_CC" >&6
1045 else
1046 echo "$as_me:1046: result: no" >&5
1047 echo "${ECHO_T}no" >&6
1048 fi
1049
1050 CC=$ac_ct_CC
1051 else
1052 CC="$ac_cv_prog_CC"
1053 fi
1054
1055 if test -z "$CC"; then
1056 if test -n "$ac_tool_prefix"; then
1057 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1058 set dummy ${ac_tool_prefix}cc; ac_word=$2
1059 echo "$as_me:1059: checking for $ac_word" >&5
1060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1061 if test "${ac_cv_prog_CC+set}" = set; then
1062 echo $ECHO_N "(cached) $ECHO_C" >&6
1063 else
1064 if test -n "$CC"; then
1065 ac_cv_prog_CC="$CC" # Let the user override the test.
1066 else
1067 ac_save_IFS=$IFS; IFS=$ac_path_separator
1068 ac_dummy="$PATH"
1069 for ac_dir in $ac_dummy; do
1070 IFS=$ac_save_IFS
1071 test -z "$ac_dir" && ac_dir=.
1072 $as_executable_p "$ac_dir/$ac_word" || continue
1073 ac_cv_prog_CC="${ac_tool_prefix}cc"
1074 echo "$as_me:1074: found $ac_dir/$ac_word" >&5
1075 break
1076 done
1077
1078 fi
1079 fi
1080 CC=$ac_cv_prog_CC
1081 if test -n "$CC"; then
1082 echo "$as_me:1082: result: $CC" >&5
1083 echo "${ECHO_T}$CC" >&6
1084 else
1085 echo "$as_me:1085: result: no" >&5
1086 echo "${ECHO_T}no" >&6
1087 fi
1088
1089 fi
1090 if test -z "$ac_cv_prog_CC"; then
1091 ac_ct_CC=$CC
1092 # Extract the first word of "cc", so it can be a program name with args.
1093 set dummy cc; ac_word=$2
1094 echo "$as_me:1094: checking for $ac_word" >&5
1095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1097 echo $ECHO_N "(cached) $ECHO_C" >&6
1098 else
1099 if test -n "$ac_ct_CC"; then
1100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1101 else
1102 ac_save_IFS=$IFS; IFS=$ac_path_separator
1103 ac_dummy="$PATH"
1104 for ac_dir in $ac_dummy; do
1105 IFS=$ac_save_IFS
1106 test -z "$ac_dir" && ac_dir=.
1107 $as_executable_p "$ac_dir/$ac_word" || continue
1108 ac_cv_prog_ac_ct_CC="cc"
1109 echo "$as_me:1109: found $ac_dir/$ac_word" >&5
1110 break
1111 done
1112
1113 fi
1114 fi
1115 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1116 if test -n "$ac_ct_CC"; then
1117 echo "$as_me:1117: result: $ac_ct_CC" >&5
1118 echo "${ECHO_T}$ac_ct_CC" >&6
1119 else
1120 echo "$as_me:1120: result: no" >&5
1121 echo "${ECHO_T}no" >&6
1122 fi
1123
1124 CC=$ac_ct_CC
1125 else
1126 CC="$ac_cv_prog_CC"
1127 fi
1128
1129 fi
1130 if test -z "$CC"; then
1131 # Extract the first word of "cc", so it can be a program name with args.
1132 set dummy cc; ac_word=$2
1133 echo "$as_me:1133: checking for $ac_word" >&5
1134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1135 if test "${ac_cv_prog_CC+set}" = set; then
1136 echo $ECHO_N "(cached) $ECHO_C" >&6
1137 else
1138 if test -n "$CC"; then
1139 ac_cv_prog_CC="$CC" # Let the user override the test.
1140 else
1141 ac_prog_rejected=no
1142 ac_save_IFS=$IFS; IFS=$ac_path_separator
1143 ac_dummy="$PATH"
1144 for ac_dir in $ac_dummy; do
1145 IFS=$ac_save_IFS
1146 test -z "$ac_dir" && ac_dir=.
1147 $as_executable_p "$ac_dir/$ac_word" || continue
1148 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1149 ac_prog_rejected=yes
1150 continue
1151 fi
1152 ac_cv_prog_CC="cc"
1153 echo "$as_me:1153: found $ac_dir/$ac_word" >&5
1154 break
1155 done
1156
1157 if test $ac_prog_rejected = yes; then
1158 # We found a bogon in the path, so make sure we never use it.
1159 set dummy $ac_cv_prog_CC
1160 shift
1161 if test $# != 0; then
1162 # We chose a different compiler from the bogus one.
1163 # However, it has the same basename, so the bogon will be chosen
1164 # first if we set CC to just the basename; use the full file name.
1165 shift
1166 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1167 shift
1168 ac_cv_prog_CC="$@"
1169 fi
1170 fi
1171 fi
1172 fi
1173 CC=$ac_cv_prog_CC
1174 if test -n "$CC"; then
1175 echo "$as_me:1175: result: $CC" >&5
1176 echo "${ECHO_T}$CC" >&6
1177 else
1178 echo "$as_me:1178: result: no" >&5
1179 echo "${ECHO_T}no" >&6
1180 fi
1181
1182 fi
1183 if test -z "$CC"; then
1184 if test -n "$ac_tool_prefix"; then
1185 for ac_prog in cl
1186 do
1187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1189 echo "$as_me:1189: checking for $ac_word" >&5
1190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1191 if test "${ac_cv_prog_CC+set}" = set; then
1192 echo $ECHO_N "(cached) $ECHO_C" >&6
1193 else
1194 if test -n "$CC"; then
1195 ac_cv_prog_CC="$CC" # Let the user override the test.
1196 else
1197 ac_save_IFS=$IFS; IFS=$ac_path_separator
1198 ac_dummy="$PATH"
1199 for ac_dir in $ac_dummy; do
1200 IFS=$ac_save_IFS
1201 test -z "$ac_dir" && ac_dir=.
1202 $as_executable_p "$ac_dir/$ac_word" || continue
1203 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1204 echo "$as_me:1204: found $ac_dir/$ac_word" >&5
1205 break
1206 done
1207
1208 fi
1209 fi
1210 CC=$ac_cv_prog_CC
1211 if test -n "$CC"; then
1212 echo "$as_me:1212: result: $CC" >&5
1213 echo "${ECHO_T}$CC" >&6
1214 else
1215 echo "$as_me:1215: result: no" >&5
1216 echo "${ECHO_T}no" >&6
1217 fi
1218
1219 test -n "$CC" && break
1220 done
1221 fi
1222 if test -z "$CC"; then
1223 ac_ct_CC=$CC
1224 for ac_prog in cl
1225 do
1226 # Extract the first word of "$ac_prog", so it can be a program name with args.
1227 set dummy $ac_prog; ac_word=$2
1228 echo "$as_me:1228: checking for $ac_word" >&5
1229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1231 echo $ECHO_N "(cached) $ECHO_C" >&6
1232 else
1233 if test -n "$ac_ct_CC"; then
1234 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1235 else
1236 ac_save_IFS=$IFS; IFS=$ac_path_separator
1237 ac_dummy="$PATH"
1238 for ac_dir in $ac_dummy; do
1239 IFS=$ac_save_IFS
1240 test -z "$ac_dir" && ac_dir=.
1241 $as_executable_p "$ac_dir/$ac_word" || continue
1242 ac_cv_prog_ac_ct_CC="$ac_prog"
1243 echo "$as_me:1243: found $ac_dir/$ac_word" >&5
1244 break
1245 done
1246
1247 fi
1248 fi
1249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1250 if test -n "$ac_ct_CC"; then
1251 echo "$as_me:1251: result: $ac_ct_CC" >&5
1252 echo "${ECHO_T}$ac_ct_CC" >&6
1253 else
1254 echo "$as_me:1254: result: no" >&5
1255 echo "${ECHO_T}no" >&6
1256 fi
1257
1258 test -n "$ac_ct_CC" && break
1259 done
1260
1261 CC=$ac_ct_CC
1262 fi
1263
1264 fi
1265
1266 test -z "$CC" && { { echo "$as_me:1266: error: no acceptable cc found in \$PATH" >&5
1267 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1268 { (exit 1); exit 1; }; }
1269
1270 # Provide some information about the compiler.
1271 echo "$as_me:1271:" \
1272 "checking for C compiler version" >&5
1273 ac_compiler=`set X $ac_compile; echo $2`
1274 { (eval echo "$as_me:1274: \"$ac_compiler --version </dev/null >&5\"") >&5
1275 (eval $ac_compiler --version </dev/null >&5) 2>&5
1276 ac_status=$?
1277 echo "$as_me:1277: \$? = $ac_status" >&5
1278 (exit $ac_status); }
1279 { (eval echo "$as_me:1279: \"$ac_compiler -v </dev/null >&5\"") >&5
1280 (eval $ac_compiler -v </dev/null >&5) 2>&5
1281 ac_status=$?
1282 echo "$as_me:1282: \$? = $ac_status" >&5
1283 (exit $ac_status); }
1284 { (eval echo "$as_me:1284: \"$ac_compiler -V </dev/null >&5\"") >&5
1285 (eval $ac_compiler -V </dev/null >&5) 2>&5
1286 ac_status=$?
1287 echo "$as_me:1287: \$? = $ac_status" >&5
1288 (exit $ac_status); }
1289
1290 cat >conftest.$ac_ext <<_ACEOF
1291 #line 1291 "configure"
1292 #include "confdefs.h"
1293
1294 int
1295 main ()
1296 {
1297
1298 ;
1299 return 0;
1300 }
1301 _ACEOF
1302 ac_clean_files_save=$ac_clean_files
1303 ac_clean_files="$ac_clean_files a.out a.exe"
1304 # Try to create an executable without -o first, disregard a.out.
1305 # It will help us diagnose broken compilers, and finding out an intuition
1306 # of exeext.
1307 echo "$as_me:1307: checking for C compiler default output" >&5
1308 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1309 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1310 if { (eval echo "$as_me:1310: \"$ac_link_default\"") >&5
1311 (eval $ac_link_default) 2>&5
1312 ac_status=$?
1313 echo "$as_me:1313: \$? = $ac_status" >&5
1314 (exit $ac_status); }; then
1315 # Find the output, starting from the most likely. This scheme is
1316 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1317 # resort.
1318 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1319 ls a.out conftest 2>/dev/null;
1320 ls a.* conftest.* 2>/dev/null`; do
1321 case $ac_file in
1322 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1323 a.out ) # We found the default executable, but exeext='' is most
1324 # certainly right.
1325 break;;
1326 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1327 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1328 export ac_cv_exeext
1329 break;;
1330 * ) break;;
1331 esac
1332 done
1333 else
1334 echo "$as_me: failed program was:" >&5
1335 cat conftest.$ac_ext >&5
1336 { { echo "$as_me:1336: error: C compiler cannot create executables" >&5
1337 echo "$as_me: error: C compiler cannot create executables" >&2;}
1338 { (exit 77); exit 77; }; }
1339 fi
1340
1341 ac_exeext=$ac_cv_exeext
1342 echo "$as_me:1342: result: $ac_file" >&5
1343 echo "${ECHO_T}$ac_file" >&6
1344
1345 # Check the compiler produces executables we can run. If not, either
1346 # the compiler is broken, or we cross compile.
1347 echo "$as_me:1347: checking whether the C compiler works" >&5
1348 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1349 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1350 # If not cross compiling, check that we can run a simple program.
1351 if test "$cross_compiling" != yes; then
1352 if { ac_try='./$ac_file'
1353 { (eval echo "$as_me:1353: \"$ac_try\"") >&5
1354 (eval $ac_try) 2>&5
1355 ac_status=$?
1356 echo "$as_me:1356: \$? = $ac_status" >&5
1357 (exit $ac_status); }; }; then
1358 cross_compiling=no
1359 else
1360 if test "$cross_compiling" = maybe; then
1361 cross_compiling=yes
1362 else
1363 { { echo "$as_me:1363: error: cannot run C compiled programs.
1364 If you meant to cross compile, use \`--host'." >&5
1365 echo "$as_me: error: cannot run C compiled programs.
1366 If you meant to cross compile, use \`--host'." >&2;}
1367 { (exit 1); exit 1; }; }
1368 fi
1369 fi
1370 fi
1371 echo "$as_me:1371: result: yes" >&5
1372 echo "${ECHO_T}yes" >&6
1373
1374 rm -f a.out a.exe conftest$ac_cv_exeext
1375 ac_clean_files=$ac_clean_files_save
1376 # Check the compiler produces executables we can run. If not, either
1377 # the compiler is broken, or we cross compile.
1378 echo "$as_me:1378: checking whether we are cross compiling" >&5
1379 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1380 echo "$as_me:1380: result: $cross_compiling" >&5
1381 echo "${ECHO_T}$cross_compiling" >&6
1382
1383 echo "$as_me:1383: checking for executable suffix" >&5
1384 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1385 if { (eval echo "$as_me:1385: \"$ac_link\"") >&5
1386 (eval $ac_link) 2>&5
1387 ac_status=$?
1388 echo "$as_me:1388: \$? = $ac_status" >&5
1389 (exit $ac_status); }; then
1390 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1391 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1392 # work properly (i.e., refer to `conftest.exe'), while it won't with
1393 # `rm'.
1394 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1395 case $ac_file in
1396 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1397 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1398 export ac_cv_exeext
1399 break;;
1400 * ) break;;
1401 esac
1402 done
1403 else
1404 { { echo "$as_me:1404: error: cannot compute EXEEXT: cannot compile and link" >&5
1405 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1406 { (exit 1); exit 1; }; }
1407 fi
1408
1409 rm -f conftest$ac_cv_exeext
1410 echo "$as_me:1410: result: $ac_cv_exeext" >&5
1411 echo "${ECHO_T}$ac_cv_exeext" >&6
1412
1413 rm -f conftest.$ac_ext
1414 EXEEXT=$ac_cv_exeext
1415 ac_exeext=$EXEEXT
1416 echo "$as_me:1416: checking for object suffix" >&5
1417 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1418 if test "${ac_cv_objext+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 else
1421 cat >conftest.$ac_ext <<_ACEOF
1422 #line 1422 "configure"
1423 #include "confdefs.h"
1424
1425 int
1426 main ()
1427 {
1428
1429 ;
1430 return 0;
1431 }
1432 _ACEOF
1433 rm -f conftest.o conftest.obj
1434 if { (eval echo "$as_me:1434: \"$ac_compile\"") >&5
1435 (eval $ac_compile) 2>&5
1436 ac_status=$?
1437 echo "$as_me:1437: \$? = $ac_status" >&5
1438 (exit $ac_status); }; then
1439 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1440 case $ac_file in
1441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1442 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1443 break;;
1444 esac
1445 done
1446 else
1447 echo "$as_me: failed program was:" >&5
1448 cat conftest.$ac_ext >&5
1449 { { echo "$as_me:1449: error: cannot compute OBJEXT: cannot compile" >&5
1450 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1451 { (exit 1); exit 1; }; }
1452 fi
1453
1454 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1455 fi
1456 echo "$as_me:1456: result: $ac_cv_objext" >&5
1457 echo "${ECHO_T}$ac_cv_objext" >&6
1458 OBJEXT=$ac_cv_objext
1459 ac_objext=$OBJEXT
1460 echo "$as_me:1460: checking whether we are using the GNU C compiler" >&5
1461 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1462 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 else
1465 cat >conftest.$ac_ext <<_ACEOF
1466 #line 1466 "configure"
1467 #include "confdefs.h"
1468
1469 int
1470 main ()
1471 {
1472 #ifndef __GNUC__
1473 choke me
1474 #endif
1475
1476 ;
1477 return 0;
1478 }
1479 _ACEOF
1480 rm -f conftest.$ac_objext
1481 if { (eval echo "$as_me:1481: \"$ac_compile\"") >&5
1482 (eval $ac_compile) 2>&5
1483 ac_status=$?
1484 echo "$as_me:1484: \$? = $ac_status" >&5
1485 (exit $ac_status); } &&
1486 { ac_try='test -s conftest.$ac_objext'
1487 { (eval echo "$as_me:1487: \"$ac_try\"") >&5
1488 (eval $ac_try) 2>&5
1489 ac_status=$?
1490 echo "$as_me:1490: \$? = $ac_status" >&5
1491 (exit $ac_status); }; }; then
1492 ac_compiler_gnu=yes
1493 else
1494 echo "$as_me: failed program was:" >&5
1495 cat conftest.$ac_ext >&5
1496 ac_compiler_gnu=no
1497 fi
1498 rm -f conftest.$ac_objext conftest.$ac_ext
1499 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1500
1501 fi
1502 echo "$as_me:1502: result: $ac_cv_c_compiler_gnu" >&5
1503 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1504 GCC=`test $ac_compiler_gnu = yes && echo yes`
1505 ac_test_CFLAGS=${CFLAGS+set}
1506 ac_save_CFLAGS=$CFLAGS
1507 CFLAGS="-g"
1508 echo "$as_me:1508: checking whether $CC accepts -g" >&5
1509 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1510 if test "${ac_cv_prog_cc_g+set}" = set; then
1511 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 else
1513 cat >conftest.$ac_ext <<_ACEOF
1514 #line 1514 "configure"
1515 #include "confdefs.h"
1516
1517 int
1518 main ()
1519 {
1520
1521 ;
1522 return 0;
1523 }
1524 _ACEOF
1525 rm -f conftest.$ac_objext
1526 if { (eval echo "$as_me:1526: \"$ac_compile\"") >&5
1527 (eval $ac_compile) 2>&5
1528 ac_status=$?
1529 echo "$as_me:1529: \$? = $ac_status" >&5
1530 (exit $ac_status); } &&
1531 { ac_try='test -s conftest.$ac_objext'
1532 { (eval echo "$as_me:1532: \"$ac_try\"") >&5
1533 (eval $ac_try) 2>&5
1534 ac_status=$?
1535 echo "$as_me:1535: \$? = $ac_status" >&5
1536 (exit $ac_status); }; }; then
1537 ac_cv_prog_cc_g=yes
1538 else
1539 echo "$as_me: failed program was:" >&5
1540 cat conftest.$ac_ext >&5
1541 ac_cv_prog_cc_g=no
1542 fi
1543 rm -f conftest.$ac_objext conftest.$ac_ext
1544 fi
1545 echo "$as_me:1545: result: $ac_cv_prog_cc_g" >&5
1546 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1547 if test "$ac_test_CFLAGS" = set; then
1548 CFLAGS=$ac_save_CFLAGS
1549 elif test $ac_cv_prog_cc_g = yes; then
1550 if test "$GCC" = yes; then
1551 CFLAGS="-g -O2"
1552 else
1553 CFLAGS="-g"
1554 fi
1555 else
1556 if test "$GCC" = yes; then
1557 CFLAGS="-O2"
1558 else
1559 CFLAGS=
1560 fi
1561 fi
1562 # Some people use a C++ compiler to compile C. Since we use `exit',
1563 # in C++ we need to declare it. In case someone uses the same compiler
1564 # for both compiling C and C++ we need to have the C++ compiler decide
1565 # the declaration of exit, since it's the most demanding environment.
1566 cat >conftest.$ac_ext <<_ACEOF
1567 #ifndef __cplusplus
1568 choke me
1569 #endif
1570 _ACEOF
1571 rm -f conftest.$ac_objext
1572 if { (eval echo "$as_me:1572: \"$ac_compile\"") >&5
1573 (eval $ac_compile) 2>&5
1574 ac_status=$?
1575 echo "$as_me:1575: \$? = $ac_status" >&5
1576 (exit $ac_status); } &&
1577 { ac_try='test -s conftest.$ac_objext'
1578 { (eval echo "$as_me:1578: \"$ac_try\"") >&5
1579 (eval $ac_try) 2>&5
1580 ac_status=$?
1581 echo "$as_me:1581: \$? = $ac_status" >&5
1582 (exit $ac_status); }; }; then
1583 for ac_declaration in \
1584 ''\
1585 '#include <stdlib.h>' \
1586 'extern "C" void std::exit (int) throw (); using std::exit;' \
1587 'extern "C" void std::exit (int); using std::exit;' \
1588 'extern "C" void exit (int) throw ();' \
1589 'extern "C" void exit (int);' \
1590 'void exit (int);'
1591 do
1592 cat >conftest.$ac_ext <<_ACEOF
1593 #line 1593 "configure"
1594 #include "confdefs.h"
1595 #include <stdlib.h>
1596 $ac_declaration
1597 int
1598 main ()
1599 {
1600 exit (42);
1601 ;
1602 return 0;
1603 }
1604 _ACEOF
1605 rm -f conftest.$ac_objext
1606 if { (eval echo "$as_me:1606: \"$ac_compile\"") >&5
1607 (eval $ac_compile) 2>&5
1608 ac_status=$?
1609 echo "$as_me:1609: \$? = $ac_status" >&5
1610 (exit $ac_status); } &&
1611 { ac_try='test -s conftest.$ac_objext'
1612 { (eval echo "$as_me:1612: \"$ac_try\"") >&5
1613 (eval $ac_try) 2>&5
1614 ac_status=$?
1615 echo "$as_me:1615: \$? = $ac_status" >&5
1616 (exit $ac_status); }; }; then
1617 :
1618 else
1619 echo "$as_me: failed program was:" >&5
1620 cat conftest.$ac_ext >&5
1621 continue
1622 fi
1623 rm -f conftest.$ac_objext conftest.$ac_ext
1624 cat >conftest.$ac_ext <<_ACEOF
1625 #line 1625 "configure"
1626 #include "confdefs.h"
1627 $ac_declaration
1628 int
1629 main ()
1630 {
1631 exit (42);
1632 ;
1633 return 0;
1634 }
1635 _ACEOF
1636 rm -f conftest.$ac_objext
1637 if { (eval echo "$as_me:1637: \"$ac_compile\"") >&5
1638 (eval $ac_compile) 2>&5
1639 ac_status=$?
1640 echo "$as_me:1640: \$? = $ac_status" >&5
1641 (exit $ac_status); } &&
1642 { ac_try='test -s conftest.$ac_objext'
1643 { (eval echo "$as_me:1643: \"$ac_try\"") >&5
1644 (eval $ac_try) 2>&5
1645 ac_status=$?
1646 echo "$as_me:1646: \$? = $ac_status" >&5
1647 (exit $ac_status); }; }; then
1648 break
1649 else
1650 echo "$as_me: failed program was:" >&5
1651 cat conftest.$ac_ext >&5
1652 fi
1653 rm -f conftest.$ac_objext conftest.$ac_ext
1654 done
1655 rm -f conftest*
1656 if test -n "$ac_declaration"; then
1657 echo '#ifdef __cplusplus' >>confdefs.h
1658 echo $ac_declaration >>confdefs.h
1659 echo '#endif' >>confdefs.h
1660 fi
1661
1662 else
1663 echo "$as_me: failed program was:" >&5
1664 cat conftest.$ac_ext >&5
1665 fi
1666 rm -f conftest.$ac_objext conftest.$ac_ext
1667 ac_ext=c
1668 ac_cpp='$CPP $CPPFLAGS'
1669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1672
1673 ac_ext=c
1674 ac_cpp='$CPP $CPPFLAGS'
1675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1678 echo "$as_me:1678: checking how to run the C preprocessor" >&5
1679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1680 # On Suns, sometimes $CPP names a directory.
1681 if test -n "$CPP" && test -d "$CPP"; then
1682 CPP=
1683 fi
1684 if test -z "$CPP"; then
1685 if test "${ac_cv_prog_CPP+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 else
1688 # Double quotes because CPP needs to be expanded
1689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1690 do
1691 ac_preproc_ok=false
1692 for ac_c_preproc_warn_flag in '' yes
1693 do
1694 # Use a header file that comes with gcc, so configuring glibc
1695 # with a fresh cross-compiler works.
1696 # On the NeXT, cc -E runs the code through the compiler's parser,
1697 # not just through cpp. "Syntax error" is here to catch this case.
1698 cat >conftest.$ac_ext <<_ACEOF
1699 #line 1699 "configure"
1700 #include "confdefs.h"
1701 #include <assert.h>
1702 Syntax error
1703 _ACEOF
1704 if { (eval echo "$as_me:1704: \"$ac_cpp conftest.$ac_ext\"") >&5
1705 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1706 ac_status=$?
1707 egrep -v '^ *\+' conftest.er1 >conftest.err
1708 rm -f conftest.er1
1709 cat conftest.err >&5
1710 echo "$as_me:1710: \$? = $ac_status" >&5
1711 (exit $ac_status); } >/dev/null; then
1712 if test -s conftest.err; then
1713 ac_cpp_err=$ac_c_preproc_warn_flag
1714 else
1715 ac_cpp_err=
1716 fi
1717 else
1718 ac_cpp_err=yes
1719 fi
1720 if test -z "$ac_cpp_err"; then
1721 :
1722 else
1723 echo "$as_me: failed program was:" >&5
1724 cat conftest.$ac_ext >&5
1725 # Broken: fails on valid input.
1726 continue
1727 fi
1728 rm -f conftest.err conftest.$ac_ext
1729
1730 # OK, works on sane cases. Now check whether non-existent headers
1731 # can be detected and how.
1732 cat >conftest.$ac_ext <<_ACEOF
1733 #line 1733 "configure"
1734 #include "confdefs.h"
1735 #include <ac_nonexistent.h>
1736 _ACEOF
1737 if { (eval echo "$as_me:1737: \"$ac_cpp conftest.$ac_ext\"") >&5
1738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1739 ac_status=$?
1740 egrep -v '^ *\+' conftest.er1 >conftest.err
1741 rm -f conftest.er1
1742 cat conftest.err >&5
1743 echo "$as_me:1743: \$? = $ac_status" >&5
1744 (exit $ac_status); } >/dev/null; then
1745 if test -s conftest.err; then
1746 ac_cpp_err=$ac_c_preproc_warn_flag
1747 else
1748 ac_cpp_err=
1749 fi
1750 else
1751 ac_cpp_err=yes
1752 fi
1753 if test -z "$ac_cpp_err"; then
1754 # Broken: success on invalid input.
1755 continue
1756 else
1757 echo "$as_me: failed program was:" >&5
1758 cat conftest.$ac_ext >&5
1759 # Passes both tests.
1760 ac_preproc_ok=:
1761 break
1762 fi
1763 rm -f conftest.err conftest.$ac_ext
1764
1765 done
1766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1767 rm -f conftest.err conftest.$ac_ext
1768 if $ac_preproc_ok; then
1769 break
1770 fi
1771
1772 done
1773 ac_cv_prog_CPP=$CPP
1774
1775 fi
1776 CPP=$ac_cv_prog_CPP
1777 else
1778 ac_cv_prog_CPP=$CPP
1779 fi
1780 echo "$as_me:1780: result: $CPP" >&5
1781 echo "${ECHO_T}$CPP" >&6
1782 ac_preproc_ok=false
1783 for ac_c_preproc_warn_flag in '' yes
1784 do
1785 # Use a header file that comes with gcc, so configuring glibc
1786 # with a fresh cross-compiler works.
1787 # On the NeXT, cc -E runs the code through the compiler's parser,
1788 # not just through cpp. "Syntax error" is here to catch this case.
1789 cat >conftest.$ac_ext <<_ACEOF
1790 #line 1790 "configure"
1791 #include "confdefs.h"
1792 #include <assert.h>
1793 Syntax error
1794 _ACEOF
1795 if { (eval echo "$as_me:1795: \"$ac_cpp conftest.$ac_ext\"") >&5
1796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1797 ac_status=$?
1798 egrep -v '^ *\+' conftest.er1 >conftest.err
1799 rm -f conftest.er1
1800 cat conftest.err >&5
1801 echo "$as_me:1801: \$? = $ac_status" >&5
1802 (exit $ac_status); } >/dev/null; then
1803 if test -s conftest.err; then
1804 ac_cpp_err=$ac_c_preproc_warn_flag
1805 else
1806 ac_cpp_err=
1807 fi
1808 else
1809 ac_cpp_err=yes
1810 fi
1811 if test -z "$ac_cpp_err"; then
1812 :
1813 else
1814 echo "$as_me: failed program was:" >&5
1815 cat conftest.$ac_ext >&5
1816 # Broken: fails on valid input.
1817 continue
1818 fi
1819 rm -f conftest.err conftest.$ac_ext
1820
1821 # OK, works on sane cases. Now check whether non-existent headers
1822 # can be detected and how.
1823 cat >conftest.$ac_ext <<_ACEOF
1824 #line 1824 "configure"
1825 #include "confdefs.h"
1826 #include <ac_nonexistent.h>
1827 _ACEOF
1828 if { (eval echo "$as_me:1828: \"$ac_cpp conftest.$ac_ext\"") >&5
1829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1830 ac_status=$?
1831 egrep -v '^ *\+' conftest.er1 >conftest.err
1832 rm -f conftest.er1
1833 cat conftest.err >&5
1834 echo "$as_me:1834: \$? = $ac_status" >&5
1835 (exit $ac_status); } >/dev/null; then
1836 if test -s conftest.err; then
1837 ac_cpp_err=$ac_c_preproc_warn_flag
1838 else
1839 ac_cpp_err=
1840 fi
1841 else
1842 ac_cpp_err=yes
1843 fi
1844 if test -z "$ac_cpp_err"; then
1845 # Broken: success on invalid input.
1846 continue
1847 else
1848 echo "$as_me: failed program was:" >&5
1849 cat conftest.$ac_ext >&5
1850 # Passes both tests.
1851 ac_preproc_ok=:
1852 break
1853 fi
1854 rm -f conftest.err conftest.$ac_ext
1855
1856 done
1857 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1858 rm -f conftest.err conftest.$ac_ext
1859 if $ac_preproc_ok; then
1860 :
1861 else
1862 { { echo "$as_me:1862: error: C preprocessor \"$CPP\" fails sanity check" >&5
1863 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1864 { (exit 1); exit 1; }; }
1865 fi
1866
1867 ac_ext=c
1868 ac_cpp='$CPP $CPPFLAGS'
1869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1872
1873 echo "$as_me:1873: checking for regex.h" >&5
1874 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
1875 if test "${ac_cv_header_regex_h+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 else
1878 cat >conftest.$ac_ext <<_ACEOF
1879 #line 1879 "configure"
1880 #include "confdefs.h"
1881 #include <regex.h>
1882 _ACEOF
1883 if { (eval echo "$as_me:1883: \"$ac_cpp conftest.$ac_ext\"") >&5
1884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1885 ac_status=$?
1886 egrep -v '^ *\+' conftest.er1 >conftest.err
1887 rm -f conftest.er1
1888 cat conftest.err >&5
1889 echo "$as_me:1889: \$? = $ac_status" >&5
1890 (exit $ac_status); } >/dev/null; then
1891 if test -s conftest.err; then
1892 ac_cpp_err=$ac_c_preproc_warn_flag
1893 else
1894 ac_cpp_err=
1895 fi
1896 else
1897 ac_cpp_err=yes
1898 fi
1899 if test -z "$ac_cpp_err"; then
1900 ac_cv_header_regex_h=yes
1901 else
1902 echo "$as_me: failed program was:" >&5
1903 cat conftest.$ac_ext >&5
1904 ac_cv_header_regex_h=no
1905 fi
1906 rm -f conftest.err conftest.$ac_ext
1907 fi
1908 echo "$as_me:1908: result: $ac_cv_header_regex_h" >&5
1909 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
1910 if test $ac_cv_header_regex_h = yes; then
1911 :
1912 else
1913 { { echo "$as_me:1913: error: POSIX regex.h is required" >&5
1914 echo "$as_me: error: POSIX regex.h is required" >&2;}
1915 { (exit 1); exit 1; }; }
1916 fi
1917
1918 # regcomp() and regexec() are also names of functions in the old V8
1919 # regexp package. To avoid them, we need to find out who has regfree().
1920
1921 echo "$as_me:1921: checking for regfree in -lregex" >&5
1922 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
1923 if test "${ac_cv_lib_regex_regfree+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 else
1926 ac_check_lib_save_LIBS=$LIBS
1927 LIBS="-lregex $LIBS"
1928 cat >conftest.$ac_ext <<_ACEOF
1929 #line 1929 "configure"
1930 #include "confdefs.h"
1931
1932 /* Override any gcc2 internal prototype to avoid an error. */
1933 #ifdef __cplusplus
1934 extern "C"
1935 #endif
1936 /* We use char because int might match the return type of a gcc2
1937 builtin and then its argument prototype would still apply. */
1938 char regfree ();
1939 int
1940 main ()
1941 {
1942 regfree ();
1943 ;
1944 return 0;
1945 }
1946 _ACEOF
1947 rm -f conftest.$ac_objext conftest$ac_exeext
1948 if { (eval echo "$as_me:1948: \"$ac_link\"") >&5
1949 (eval $ac_link) 2>&5
1950 ac_status=$?
1951 echo "$as_me:1951: \$? = $ac_status" >&5
1952 (exit $ac_status); } &&
1953 { ac_try='test -s conftest$ac_exeext'
1954 { (eval echo "$as_me:1954: \"$ac_try\"") >&5
1955 (eval $ac_try) 2>&5
1956 ac_status=$?
1957 echo "$as_me:1957: \$? = $ac_status" >&5
1958 (exit $ac_status); }; }; then
1959 ac_cv_lib_regex_regfree=yes
1960 else
1961 echo "$as_me: failed program was:" >&5
1962 cat conftest.$ac_ext >&5
1963 ac_cv_lib_regex_regfree=no
1964 fi
1965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1966 LIBS=$ac_check_lib_save_LIBS
1967 fi
1968 echo "$as_me:1968: result: $ac_cv_lib_regex_regfree" >&5
1969 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
1970 if test $ac_cv_lib_regex_regfree = yes; then
1971 cat >>confdefs.h <<EOF
1972 #define HAVE_LIBREGEX 1
1973 EOF
1974
1975 LIBS="-lregex $LIBS"
1976
1977 fi
1978
1979 echo "$as_me:1979: checking for library containing regfree" >&5
1980 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
1981 if test "${ac_cv_search_regfree+set}" = set; then
1982 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 else
1984 ac_func_search_save_LIBS=$LIBS
1985 ac_cv_search_regfree=no
1986 cat >conftest.$ac_ext <<_ACEOF
1987 #line 1987 "configure"
1988 #include "confdefs.h"
1989
1990 /* Override any gcc2 internal prototype to avoid an error. */
1991 #ifdef __cplusplus
1992 extern "C"
1993 #endif
1994 /* We use char because int might match the return type of a gcc2
1995 builtin and then its argument prototype would still apply. */
1996 char regfree ();
1997 int
1998 main ()
1999 {
2000 regfree ();
2001 ;
2002 return 0;
2003 }
2004 _ACEOF
2005 rm -f conftest.$ac_objext conftest$ac_exeext
2006 if { (eval echo "$as_me:2006: \"$ac_link\"") >&5
2007 (eval $ac_link) 2>&5
2008 ac_status=$?
2009 echo "$as_me:2009: \$? = $ac_status" >&5
2010 (exit $ac_status); } &&
2011 { ac_try='test -s conftest$ac_exeext'
2012 { (eval echo "$as_me:2012: \"$ac_try\"") >&5
2013 (eval $ac_try) 2>&5
2014 ac_status=$?
2015 echo "$as_me:2015: \$? = $ac_status" >&5
2016 (exit $ac_status); }; }; then
2017 ac_cv_search_regfree="none required"
2018 else
2019 echo "$as_me: failed program was:" >&5
2020 cat conftest.$ac_ext >&5
2021 fi
2022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2023 if test "$ac_cv_search_regfree" = no; then
2024 for ac_lib in rx posix; do
2025 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2026 cat >conftest.$ac_ext <<_ACEOF
2027 #line 2027 "configure"
2028 #include "confdefs.h"
2029
2030 /* Override any gcc2 internal prototype to avoid an error. */
2031 #ifdef __cplusplus
2032 extern "C"
2033 #endif
2034 /* We use char because int might match the return type of a gcc2
2035 builtin and then its argument prototype would still apply. */
2036 char regfree ();
2037 int
2038 main ()
2039 {
2040 regfree ();
2041 ;
2042 return 0;
2043 }
2044 _ACEOF
2045 rm -f conftest.$ac_objext conftest$ac_exeext
2046 if { (eval echo "$as_me:2046: \"$ac_link\"") >&5
2047 (eval $ac_link) 2>&5
2048 ac_status=$?
2049 echo "$as_me:2049: \$? = $ac_status" >&5
2050 (exit $ac_status); } &&
2051 { ac_try='test -s conftest$ac_exeext'
2052 { (eval echo "$as_me:2052: \"$ac_try\"") >&5
2053 (eval $ac_try) 2>&5
2054 ac_status=$?
2055 echo "$as_me:2055: \$? = $ac_status" >&5
2056 (exit $ac_status); }; }; then
2057 ac_cv_search_regfree="-l$ac_lib"
2058 break
2059 else
2060 echo "$as_me: failed program was:" >&5
2061 cat conftest.$ac_ext >&5
2062 fi
2063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2064 done
2065 fi
2066 LIBS=$ac_func_search_save_LIBS
2067 fi
2068 echo "$as_me:2068: result: $ac_cv_search_regfree" >&5
2069 echo "${ECHO_T}$ac_cv_search_regfree" >&6
2070 if test "$ac_cv_search_regfree" != no; then
2071 test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
2072
2073 fi
2074
2075 for ac_func in setenv strdup strerror strftime vsnprintf
2076 do
2077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2078 echo "$as_me:2078: checking for $ac_func" >&5
2079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2080 if eval "test \"\${$as_ac_var+set}\" = set"; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 cat >conftest.$ac_ext <<_ACEOF
2084 #line 2084 "configure"
2085 #include "confdefs.h"
2086 /* System header to define __stub macros and hopefully few prototypes,
2087 which can conflict with char $ac_func (); below. */
2088 #include <assert.h>
2089 /* Override any gcc2 internal prototype to avoid an error. */
2090 #ifdef __cplusplus
2091 extern "C"
2092 #endif
2093 /* We use char because int might match the return type of a gcc2
2094 builtin and then its argument prototype would still apply. */
2095 char $ac_func ();
2096 char (*f) ();
2097
2098 int
2099 main ()
2100 {
2101 /* The GNU C library defines this for functions which it implements
2102 to always fail with ENOSYS. Some functions are actually named
2103 something starting with __ and the normal name is an alias. */
2104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2105 choke me
2106 #else
2107 f = $ac_func;
2108 #endif
2109
2110 ;
2111 return 0;
2112 }
2113 _ACEOF
2114 rm -f conftest.$ac_objext conftest$ac_exeext
2115 if { (eval echo "$as_me:2115: \"$ac_link\"") >&5
2116 (eval $ac_link) 2>&5
2117 ac_status=$?
2118 echo "$as_me:2118: \$? = $ac_status" >&5
2119 (exit $ac_status); } &&
2120 { ac_try='test -s conftest$ac_exeext'
2121 { (eval echo "$as_me:2121: \"$ac_try\"") >&5
2122 (eval $ac_try) 2>&5
2123 ac_status=$?
2124 echo "$as_me:2124: \$? = $ac_status" >&5
2125 (exit $ac_status); }; }; then
2126 eval "$as_ac_var=yes"
2127 else
2128 echo "$as_me: failed program was:" >&5
2129 cat conftest.$ac_ext >&5
2130 eval "$as_ac_var=no"
2131 fi
2132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2133 fi
2134 echo "$as_me:2134: result: `eval echo '${'$as_ac_var'}'`" >&5
2135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2136 if test `eval echo '${'$as_ac_var'}'` = yes; then
2137 cat >>confdefs.h <<EOF
2138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2139 EOF
2140
2141 fi
2142 done
2143
2144 cat >confcache <<\_ACEOF
2145 # This file is a shell script that caches the results of configure
2146 # tests run on this system so they can be shared between configure
2147 # scripts and configure runs, see configure's option --config-cache.
2148 # It is not useful on other systems. If it contains results you don't
2149 # want to keep, you may remove or edit it.
2150 #
2151 # config.status only pays attention to the cache file if you give it
2152 # the --recheck option to rerun configure.
2153 #
2154 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2155 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2156 # following values.
2157
2158 _ACEOF
2159
2160 # The following way of writing the cache mishandles newlines in values,
2161 # but we know of no workaround that is simple, portable, and efficient.
2162 # So, don't put newlines in cache variables' values.
2163 # Ultrix sh set writes to stderr and can't be redirected directly,
2164 # and sets the high bit in the cache file unless we assign to the vars.
2165 {
2166 (set) 2>&1 |
2167 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2168 *ac_space=\ *)
2169 # `set' does not quote correctly, so add quotes (double-quote
2170 # substitution turns \\\\ into \\, and sed turns \\ into \).
2171 sed -n \
2172 "s/'/'\\\\''/g;
2173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2174 ;;
2175 *)
2176 # `set' quotes correctly as required by POSIX, so do not add quotes.
2177 sed -n \
2178 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2179 ;;
2180 esac;
2181 } |
2182 sed '
2183 t clear
2184 : clear
2185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2186 t end
2187 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2188 : end' >>confcache
2189 if cmp -s $cache_file confcache; then :; else
2190 if test -w $cache_file; then
2191 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2192 cat confcache >$cache_file
2193 else
2194 echo "not updating unwritable cache $cache_file"
2195 fi
2196 fi
2197 rm -f confcache
2198
2199 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2200 # Let make expand exec_prefix.
2201 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2202
2203 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2204 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2205 # trailing colons and then remove the whole line if VPATH becomes empty
2206 # (actually we leave an empty line to preserve line numbers).
2207 if test "x$srcdir" = x.; then
2208 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2209 s/:*\$(srcdir):*/:/;
2210 s/:*\${srcdir}:*/:/;
2211 s/:*@srcdir@:*/:/;
2212 s/^\([^=]*=[ ]*\):*/\1/;
2213 s/:*$//;
2214 s/^[^=]*=[ ]*$//;
2215 }'
2216 fi
2217
2218 # Transform confdefs.h into DEFS.
2219 # Protect against shell expansion while executing Makefile rules.
2220 # Protect against Makefile macro expansion.
2221 #
2222 # If the first sed substitution is executed (which looks for macros that
2223 # take arguments), then we branch to the quote section. Otherwise,
2224 # look for a macro that doesn't take arguments.
2225 cat >confdef2opt.sed <<\EOF
2226 t clear
2227 : clear
2228 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2229 t quote
2230 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2231 t quote
2232 d
2233 : quote
2234 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2235 s,\[,\\&,g
2236 s,\],\\&,g
2237 s,\$,$$,g
2238 p
2239 EOF
2240 # We use echo to avoid assuming a particular line-breaking character.
2241 # The extra dot is to prevent the shell from consuming trailing
2242 # line-breaks from the sub-command output. A line-break within
2243 # single-quotes doesn't work because, if this script is created in a
2244 # platform that uses two characters for line-breaks (e.g., DOS), tr
2245 # would break.
2246 ac_LF_and_DOT=`echo; echo .`
2247 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2248 rm -f confdef2opt.sed
2249
2250 : ${CONFIG_STATUS=./config.status}
2251 ac_clean_files_save=$ac_clean_files
2252 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2253 { echo "$as_me:2253: creating $CONFIG_STATUS" >&5
2254 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2255 cat >$CONFIG_STATUS <<_ACEOF
2256 #! $SHELL
2257 # Generated automatically by configure.
2258 # Run this file to recreate the current configuration.
2259 # Compiler output produced by configure, useful for debugging
2260 # configure, is in config.log if it exists.
2261
2262 debug=false
2263 SHELL=\${CONFIG_SHELL-$SHELL}
2264 ac_cs_invocation="\$0 \$@"
2265
2266 _ACEOF
2267
2268 cat >>$CONFIG_STATUS <<\_ACEOF
2269 # Be Bourne compatible
2270 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2271 emulate sh
2272 NULLCMD=:
2273 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2274 set -o posix
2275 fi
2276
2277 # Name of the executable.
2278 as_me=`echo "$0" |sed 's,.*[\\/],,'`
2279
2280 if expr a : '\(a\)' >/dev/null 2>&1; then
2281 as_expr=expr
2282 else
2283 as_expr=false
2284 fi
2285
2286 rm -f conf$$ conf$$.exe conf$$.file
2287 echo >conf$$.file
2288 if ln -s conf$$.file conf$$ 2>/dev/null; then
2289 # We could just check for DJGPP; but this test a) works b) is more generic
2290 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2291 if test -f conf$$.exe; then
2292 # Don't use ln at all; we don't have any links
2293 as_ln_s='cp -p'
2294 else
2295 as_ln_s='ln -s'
2296 fi
2297 elif ln conf$$.file conf$$ 2>/dev/null; then
2298 as_ln_s=ln
2299 else
2300 as_ln_s='cp -p'
2301 fi
2302 rm -f conf$$ conf$$.exe conf$$.file
2303
2304 as_executable_p="test -f"
2305
2306 # Support unset when possible.
2307 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2308 as_unset=unset
2309 else
2310 as_unset=false
2311 fi
2312
2313 # NLS nuisances.
2314 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2315 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2316 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2317 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2318 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2319 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2320 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2321 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2322
2323 # IFS
2324 # We need space, tab and new line, in precisely that order.
2325 as_nl='
2326 '
2327 IFS=" $as_nl"
2328
2329 # CDPATH.
2330 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2331
2332 exec 6>&1
2333
2334 _ACEOF
2335
2336 # Files that config.status was made for.
2337 if test -n "$ac_config_files"; then
2338 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2339 fi
2340
2341 if test -n "$ac_config_headers"; then
2342 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2343 fi
2344
2345 if test -n "$ac_config_links"; then
2346 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2347 fi
2348
2349 if test -n "$ac_config_commands"; then
2350 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2351 fi
2352
2353 cat >>$CONFIG_STATUS <<\EOF
2354
2355 ac_cs_usage="\
2356 \`$as_me' instantiates files from templates according to the
2357 current configuration.
2358
2359 Usage: $0 [OPTIONS] [FILE]...
2360
2361 -h, --help print this help, then exit
2362 -V, --version print version number, then exit
2363 -d, --debug don't remove temporary files
2364 --recheck update $as_me by reconfiguring in the same conditions
2365 --file=FILE[:TEMPLATE]
2366 instantiate the configuration file FILE
2367
2368 Configuration files:
2369 $config_files
2370
2371 Report bugs to <bug-autoconf@gnu.org>."
2372 EOF
2373
2374 cat >>$CONFIG_STATUS <<EOF
2375 ac_cs_version="\\
2376 make config.status noversion
2377 configured by $0, generated by GNU Autoconf 2.52,
2378 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2379
2380 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2381 Free Software Foundation, Inc.
2382 This config.status script is free software; the Free Software Foundation
2383 gives unlimited permission to copy, distribute and modify it."
2384 srcdir=$srcdir
2385 EOF
2386
2387 cat >>$CONFIG_STATUS <<\EOF
2388 # If no file are specified by the user, then we need to provide default
2389 # value. By we need to know if files were specified by the user.
2390 ac_need_defaults=:
2391 while test $# != 0
2392 do
2393 case $1 in
2394 --*=*)
2395 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2396 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2397 shift
2398 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2399 shift
2400 ;;
2401 -*);;
2402 *) # This is not an option, so the user has probably given explicit
2403 # arguments.
2404 ac_need_defaults=false;;
2405 esac
2406
2407 case $1 in
2408 # Handling of the options.
2409 EOF
2410 cat >>$CONFIG_STATUS <<EOF
2411 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2412 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2413 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2414 EOF
2415 cat >>$CONFIG_STATUS <<\EOF
2416 --version | --vers* | -V )
2417 echo "$ac_cs_version"; exit 0 ;;
2418 --he | --h)
2419 # Conflict between --help and --header
2420 { { echo "$as_me:2420: error: ambiguous option: $1
2421 Try \`$0 --help' for more information." >&5
2422 echo "$as_me: error: ambiguous option: $1
2423 Try \`$0 --help' for more information." >&2;}
2424 { (exit 1); exit 1; }; };;
2425 --help | --hel | -h )
2426 echo "$ac_cs_usage"; exit 0 ;;
2427 --debug | --d* | -d )
2428 debug=: ;;
2429 --file | --fil | --fi | --f )
2430 shift
2431 CONFIG_FILES="$CONFIG_FILES $1"
2432 ac_need_defaults=false;;
2433 --header | --heade | --head | --hea )
2434 shift
2435 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2436 ac_need_defaults=false;;
2437
2438 # This is an error.
2439 -*) { { echo "$as_me:2439: error: unrecognized option: $1
2440 Try \`$0 --help' for more information." >&5
2441 echo "$as_me: error: unrecognized option: $1
2442 Try \`$0 --help' for more information." >&2;}
2443 { (exit 1); exit 1; }; } ;;
2444
2445 *) ac_config_targets="$ac_config_targets $1" ;;
2446
2447 esac
2448 shift
2449 done
2450
2451 exec 5>>config.log
2452 cat >&5 << _ACEOF
2453
2454 ## ----------------------- ##
2455 ## Running config.status. ##
2456 ## ----------------------- ##
2457
2458 This file was extended by $as_me (make noversion) 2.52, executed with
2459 CONFIG_FILES = $CONFIG_FILES
2460 CONFIG_HEADERS = $CONFIG_HEADERS
2461 CONFIG_LINKS = $CONFIG_LINKS
2462 CONFIG_COMMANDS = $CONFIG_COMMANDS
2463 > $ac_cs_invocation
2464 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2465
2466 _ACEOF
2467 EOF
2468
2469 cat >>$CONFIG_STATUS <<\EOF
2470 for ac_config_target in $ac_config_targets
2471 do
2472 case "$ac_config_target" in
2473 # Handling of arguments.
2474 "buildmake.sh" ) CONFIG_FILES="$CONFIG_FILES buildmake.sh" ;;
2475 *) { { echo "$as_me:2475: error: invalid argument: $ac_config_target" >&5
2476 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2477 { (exit 1); exit 1; }; };;
2478 esac
2479 done
2480
2481 # If the user did not use the arguments to specify the items to instantiate,
2482 # then the envvar interface is used. Set only those that are not.
2483 # We use the long form for the default assignment because of an extremely
2484 # bizarre bug on SunOS 4.1.3.
2485 if $ac_need_defaults; then
2486 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2487 fi
2488
2489 # Create a temporary directory, and hook for its removal unless debugging.
2490 $debug ||
2491 {
2492 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2493 trap '{ (exit 1); exit 1; }' 1 2 13 15
2494 }
2495
2496 # Create a (secure) tmp directory for tmp files.
2497 : ${TMPDIR=/tmp}
2498 {
2499 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
2500 test -n "$tmp" && test -d "$tmp"
2501 } ||
2502 {
2503 tmp=$TMPDIR/cs$$-$RANDOM
2504 (umask 077 && mkdir $tmp)
2505 } ||
2506 {
2507 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2508 { (exit 1); exit 1; }
2509 }
2510
2511 EOF
2512
2513 cat >>$CONFIG_STATUS <<EOF
2514
2515 #
2516 # CONFIG_FILES section.
2517 #
2518
2519 # No need to generate the scripts if there are no CONFIG_FILES.
2520 # This happens for instance when ./config.status config.h
2521 if test -n "\$CONFIG_FILES"; then
2522 # Protect against being on the right side of a sed subst in config.status.
2523 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2524 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2525 s,@SHELL@,$SHELL,;t t
2526 s,@exec_prefix@,$exec_prefix,;t t
2527 s,@prefix@,$prefix,;t t
2528 s,@program_transform_name@,$program_transform_name,;t t
2529 s,@bindir@,$bindir,;t t
2530 s,@sbindir@,$sbindir,;t t
2531 s,@libexecdir@,$libexecdir,;t t
2532 s,@datadir@,$datadir,;t t
2533 s,@sysconfdir@,$sysconfdir,;t t
2534 s,@sharedstatedir@,$sharedstatedir,;t t
2535 s,@localstatedir@,$localstatedir,;t t
2536 s,@libdir@,$libdir,;t t
2537 s,@includedir@,$includedir,;t t
2538 s,@oldincludedir@,$oldincludedir,;t t
2539 s,@infodir@,$infodir,;t t
2540 s,@mandir@,$mandir,;t t
2541 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2542 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2543 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2544 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2545 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2546 s,@build_alias@,$build_alias,;t t
2547 s,@host_alias@,$host_alias,;t t
2548 s,@target_alias@,$target_alias,;t t
2549 s,@ECHO_C@,$ECHO_C,;t t
2550 s,@ECHO_N@,$ECHO_N,;t t
2551 s,@ECHO_T@,$ECHO_T,;t t
2552 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2553 s,@DEFS@,$DEFS,;t t
2554 s,@LIBS@,$LIBS,;t t
2555 s,@BSHELL@,$BSHELL,;t t
2556 s,@CC@,$CC,;t t
2557 s,@CFLAGS@,$CFLAGS,;t t
2558 s,@LDFLAGS@,$LDFLAGS,;t t
2559 s,@CPPFLAGS@,$CPPFLAGS,;t t
2560 s,@ac_ct_CC@,$ac_ct_CC,;t t
2561 s,@EXEEXT@,$EXEEXT,;t t
2562 s,@OBJEXT@,$OBJEXT,;t t
2563 s,@CPP@,$CPP,;t t
2564 CEOF
2565
2566 EOF
2567
2568 cat >>$CONFIG_STATUS <<\EOF
2569 # Split the substitutions into bite-sized pieces for seds with
2570 # small command number limits, like on Digital OSF/1 and HP-UX.
2571 ac_max_sed_lines=48
2572 ac_sed_frag=1 # Number of current file.
2573 ac_beg=1 # First line for current file.
2574 ac_end=$ac_max_sed_lines # Line after last line for current file.
2575 ac_more_lines=:
2576 ac_sed_cmds=
2577 while $ac_more_lines; do
2578 if test $ac_beg -gt 1; then
2579 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2580 else
2581 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2582 fi
2583 if test ! -s $tmp/subs.frag; then
2584 ac_more_lines=false
2585 else
2586 # The purpose of the label and of the branching condition is to
2587 # speed up the sed processing (if there are no `@' at all, there
2588 # is no need to browse any of the substitutions).
2589 # These are the two extra sed commands mentioned above.
2590 (echo ':t
2591 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2592 if test -z "$ac_sed_cmds"; then
2593 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2594 else
2595 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2596 fi
2597 ac_sed_frag=`expr $ac_sed_frag + 1`
2598 ac_beg=$ac_end
2599 ac_end=`expr $ac_end + $ac_max_sed_lines`
2600 fi
2601 done
2602 if test -z "$ac_sed_cmds"; then
2603 ac_sed_cmds=cat
2604 fi
2605 fi # test -n "$CONFIG_FILES"
2606
2607 EOF
2608 cat >>$CONFIG_STATUS <<\EOF
2609 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2610 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2611 case $ac_file in
2612 - | *:- | *:-:* ) # input from stdin
2613 cat >$tmp/stdin
2614 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2616 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2617 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2618 * ) ac_file_in=$ac_file.in ;;
2619 esac
2620
2621 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2622 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2623 X"$ac_file" : 'X\(//\)[^/]' \| \
2624 X"$ac_file" : 'X\(//\)$' \| \
2625 X"$ac_file" : 'X\(/\)' \| \
2626 . : '\(.\)' 2>/dev/null ||
2627 echo X"$ac_file" |
2628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2629 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2630 /^X\(\/\/\)$/{ s//\1/; q; }
2631 /^X\(\/\).*/{ s//\1/; q; }
2632 s/.*/./; q'`
2633 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2634 { case "$ac_dir" in
2635 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
2636 *) as_incr_dir=.;;
2637 esac
2638 as_dummy="$ac_dir"
2639 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
2640 case $as_mkdir_dir in
2641 # Skip DOS drivespec
2642 ?:) as_incr_dir=$as_mkdir_dir ;;
2643 *)
2644 as_incr_dir=$as_incr_dir/$as_mkdir_dir
2645 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
2646 ;;
2647 esac
2648 done; }
2649
2650 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
2651 # A "../" for each directory in $ac_dir_suffix.
2652 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
2653 else
2654 ac_dir_suffix= ac_dots=
2655 fi
2656
2657 case $srcdir in
2658 .) ac_srcdir=.
2659 if test -z "$ac_dots"; then
2660 ac_top_srcdir=.
2661 else
2662 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
2663 fi ;;
2664 [\\/]* | ?:[\\/]* )
2665 ac_srcdir=$srcdir$ac_dir_suffix;
2666 ac_top_srcdir=$srcdir ;;
2667 *) # Relative path.
2668 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
2669 ac_top_srcdir=$ac_dots$srcdir ;;
2670 esac
2671
2672 if test x"$ac_file" != x-; then
2673 { echo "$as_me:2673: creating $ac_file" >&5
2674 echo "$as_me: creating $ac_file" >&6;}
2675 rm -f "$ac_file"
2676 fi
2677 # Let's still pretend it is `configure' which instantiates (i.e., don't
2678 # use $as_me), people would be surprised to read:
2679 # /* config.h. Generated automatically by config.status. */
2680 configure_input="Generated automatically from `echo $ac_file_in |
2681 sed 's,.*/,,'` by configure."
2682
2683 # First look for the input files in the build tree, otherwise in the
2684 # src tree.
2685 ac_file_inputs=`IFS=:
2686 for f in $ac_file_in; do
2687 case $f in
2688 -) echo $tmp/stdin ;;
2689 [\\/$]*)
2690 # Absolute (can't be DOS-style, as IFS=:)
2691 test -f "$f" || { { echo "$as_me:2691: error: cannot find input file: $f" >&5
2692 echo "$as_me: error: cannot find input file: $f" >&2;}
2693 { (exit 1); exit 1; }; }
2694 echo $f;;
2695 *) # Relative
2696 if test -f "$f"; then
2697 # Build tree
2698 echo $f
2699 elif test -f "$srcdir/$f"; then
2700 # Source tree
2701 echo $srcdir/$f
2702 else
2703 # /dev/null tree
2704 { { echo "$as_me:2704: error: cannot find input file: $f" >&5
2705 echo "$as_me: error: cannot find input file: $f" >&2;}
2706 { (exit 1); exit 1; }; }
2707 fi;;
2708 esac
2709 done` || { (exit 1); exit 1; }
2710 EOF
2711 cat >>$CONFIG_STATUS <<EOF
2712 sed "$ac_vpsub
2713 $extrasub
2714 EOF
2715 cat >>$CONFIG_STATUS <<\EOF
2716 :t
2717 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2718 s,@configure_input@,$configure_input,;t t
2719 s,@srcdir@,$ac_srcdir,;t t
2720 s,@top_srcdir@,$ac_top_srcdir,;t t
2721 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2722 rm -f $tmp/stdin
2723 if test x"$ac_file" != x-; then
2724 mv $tmp/out $ac_file
2725 else
2726 cat $tmp/out
2727 rm -f $tmp/out
2728 fi
2729
2730 done
2731 EOF
2732
2733 cat >>$CONFIG_STATUS <<\EOF
2734
2735 { (exit 0); exit 0; }
2736 EOF
2737 chmod +x $CONFIG_STATUS
2738 ac_clean_files=$ac_clean_files_save
2739
2740 # configure is writing to config.log, and then calls config.status.
2741 # config.status does its own redirection, appending to config.log.
2742 # Unfortunately, on DOS this fails, as config.log is still kept open
2743 # by configure, so config.status won't be able to write to it; its
2744 # output is simply discarded. So we exec the FD to /dev/null,
2745 # effectively closing config.log, so it can be properly (re)opened and
2746 # appended to by config.status. When coming back to configure, we
2747 # need to make the FD available again.
2748 if test "$no_create" != yes; then
2749 ac_cs_success=:
2750 exec 5>/dev/null
2751 $SHELL $CONFIG_STATUS || ac_cs_success=false
2752 exec 5>>config.log
2753 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2754 # would make configure fail if this is the last instruction.
2755 $ac_cs_success || { (exit 1); exit 1; }
2756 fi
2757
2758