]> sourceware.org Git - newlib-cygwin.git/blob - winsup/configure
* Makefile.in (subauth): Drop rule.
[newlib-cygwin.git] / winsup / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
274 ac_unique_file="Makefile.in"
275 ac_subdirs_all="$ac_subdirs_all cygwin"
276 ac_subdirs_all="$ac_subdirs_all mingw"
277 ac_subdirs_all="$ac_subdirs_all w32api"
278 ac_subdirs_all="$ac_subdirs_all lsaauth"
279 ac_subdirs_all="$ac_subdirs_all cygserver"
280 ac_subdirs_all="$ac_subdirs_all utils doc"
281 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC ac_ct_CC CFLAGS LDFLAGS CPPFLAGS EXEEXT OBJEXT CXX ac_ct_CXX CXXFLAGS subdirs INSTALL_LICENSE SET_MAKE LIBOBJS LTLIBOBJS'
282 ac_subst_files=''
283
284 # Initialize some variables set by options.
285 ac_init_help=
286 ac_init_version=false
287 # The variables have the same names as the options, with
288 # dashes changed to underlines.
289 cache_file=/dev/null
290 exec_prefix=NONE
291 no_create=
292 no_recursion=
293 prefix=NONE
294 program_prefix=NONE
295 program_suffix=NONE
296 program_transform_name=s,x,x,
297 silent=
298 site=
299 srcdir=
300 verbose=
301 x_includes=NONE
302 x_libraries=NONE
303
304 # Installation directory options.
305 # These are left unexpanded so users can "make install exec_prefix=/foo"
306 # and all the variables that are supposed to be based on exec_prefix
307 # by default will actually change.
308 # Use braces instead of parens because sh, perl, etc. also accept them.
309 bindir='${exec_prefix}/bin'
310 sbindir='${exec_prefix}/sbin'
311 libexecdir='${exec_prefix}/libexec'
312 datadir='${prefix}/share'
313 sysconfdir='${prefix}/etc'
314 sharedstatedir='${prefix}/com'
315 localstatedir='${prefix}/var'
316 libdir='${exec_prefix}/lib'
317 includedir='${prefix}/include'
318 oldincludedir='/usr/include'
319 infodir='${prefix}/info'
320 mandir='${prefix}/man'
321
322 ac_prev=
323 for ac_option
324 do
325 # If the previous option needs an argument, assign it.
326 if test -n "$ac_prev"; then
327 eval "$ac_prev=\$ac_option"
328 ac_prev=
329 continue
330 fi
331
332 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
333
334 # Accept the important Cygnus configure options, so we can diagnose typos.
335
336 case $ac_option in
337
338 -bindir | --bindir | --bindi | --bind | --bin | --bi)
339 ac_prev=bindir ;;
340 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
341 bindir=$ac_optarg ;;
342
343 -build | --build | --buil | --bui | --bu)
344 ac_prev=build_alias ;;
345 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
346 build_alias=$ac_optarg ;;
347
348 -cache-file | --cache-file | --cache-fil | --cache-fi \
349 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
350 ac_prev=cache_file ;;
351 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
352 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
353 cache_file=$ac_optarg ;;
354
355 --config-cache | -C)
356 cache_file=config.cache ;;
357
358 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
359 ac_prev=datadir ;;
360 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
361 | --da=*)
362 datadir=$ac_optarg ;;
363
364 -disable-* | --disable-*)
365 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
366 # Reject names that are not valid shell variable names.
367 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
368 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
369 { (exit 1); exit 1; }; }
370 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
371 eval "enable_$ac_feature=no" ;;
372
373 -enable-* | --enable-*)
374 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
375 # Reject names that are not valid shell variable names.
376 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
377 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
378 { (exit 1); exit 1; }; }
379 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
380 case $ac_option in
381 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
382 *) ac_optarg=yes ;;
383 esac
384 eval "enable_$ac_feature='$ac_optarg'" ;;
385
386 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
387 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
388 | --exec | --exe | --ex)
389 ac_prev=exec_prefix ;;
390 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
391 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
392 | --exec=* | --exe=* | --ex=*)
393 exec_prefix=$ac_optarg ;;
394
395 -gas | --gas | --ga | --g)
396 # Obsolete; use --with-gas.
397 with_gas=yes ;;
398
399 -help | --help | --hel | --he | -h)
400 ac_init_help=long ;;
401 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
402 ac_init_help=recursive ;;
403 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
404 ac_init_help=short ;;
405
406 -host | --host | --hos | --ho)
407 ac_prev=host_alias ;;
408 -host=* | --host=* | --hos=* | --ho=*)
409 host_alias=$ac_optarg ;;
410
411 -includedir | --includedir | --includedi | --included | --include \
412 | --includ | --inclu | --incl | --inc)
413 ac_prev=includedir ;;
414 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
415 | --includ=* | --inclu=* | --incl=* | --inc=*)
416 includedir=$ac_optarg ;;
417
418 -infodir | --infodir | --infodi | --infod | --info | --inf)
419 ac_prev=infodir ;;
420 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
421 infodir=$ac_optarg ;;
422
423 -libdir | --libdir | --libdi | --libd)
424 ac_prev=libdir ;;
425 -libdir=* | --libdir=* | --libdi=* | --libd=*)
426 libdir=$ac_optarg ;;
427
428 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
429 | --libexe | --libex | --libe)
430 ac_prev=libexecdir ;;
431 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
432 | --libexe=* | --libex=* | --libe=*)
433 libexecdir=$ac_optarg ;;
434
435 -localstatedir | --localstatedir | --localstatedi | --localstated \
436 | --localstate | --localstat | --localsta | --localst \
437 | --locals | --local | --loca | --loc | --lo)
438 ac_prev=localstatedir ;;
439 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
440 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
441 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
442 localstatedir=$ac_optarg ;;
443
444 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
445 ac_prev=mandir ;;
446 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
447 mandir=$ac_optarg ;;
448
449 -nfp | --nfp | --nf)
450 # Obsolete; use --without-fp.
451 with_fp=no ;;
452
453 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
454 | --no-cr | --no-c | -n)
455 no_create=yes ;;
456
457 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
458 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
459 no_recursion=yes ;;
460
461 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
462 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
463 | --oldin | --oldi | --old | --ol | --o)
464 ac_prev=oldincludedir ;;
465 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
466 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
467 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
468 oldincludedir=$ac_optarg ;;
469
470 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
471 ac_prev=prefix ;;
472 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
473 prefix=$ac_optarg ;;
474
475 -program-prefix | --program-prefix | --program-prefi | --program-pref \
476 | --program-pre | --program-pr | --program-p)
477 ac_prev=program_prefix ;;
478 -program-prefix=* | --program-prefix=* | --program-prefi=* \
479 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
480 program_prefix=$ac_optarg ;;
481
482 -program-suffix | --program-suffix | --program-suffi | --program-suff \
483 | --program-suf | --program-su | --program-s)
484 ac_prev=program_suffix ;;
485 -program-suffix=* | --program-suffix=* | --program-suffi=* \
486 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
487 program_suffix=$ac_optarg ;;
488
489 -program-transform-name | --program-transform-name \
490 | --program-transform-nam | --program-transform-na \
491 | --program-transform-n | --program-transform- \
492 | --program-transform | --program-transfor \
493 | --program-transfo | --program-transf \
494 | --program-trans | --program-tran \
495 | --progr-tra | --program-tr | --program-t)
496 ac_prev=program_transform_name ;;
497 -program-transform-name=* | --program-transform-name=* \
498 | --program-transform-nam=* | --program-transform-na=* \
499 | --program-transform-n=* | --program-transform-=* \
500 | --program-transform=* | --program-transfor=* \
501 | --program-transfo=* | --program-transf=* \
502 | --program-trans=* | --program-tran=* \
503 | --progr-tra=* | --program-tr=* | --program-t=*)
504 program_transform_name=$ac_optarg ;;
505
506 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
507 | -silent | --silent | --silen | --sile | --sil)
508 silent=yes ;;
509
510 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
511 ac_prev=sbindir ;;
512 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
513 | --sbi=* | --sb=*)
514 sbindir=$ac_optarg ;;
515
516 -sharedstatedir | --sharedstatedir | --sharedstatedi \
517 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
518 | --sharedst | --shareds | --shared | --share | --shar \
519 | --sha | --sh)
520 ac_prev=sharedstatedir ;;
521 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
522 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
523 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
524 | --sha=* | --sh=*)
525 sharedstatedir=$ac_optarg ;;
526
527 -site | --site | --sit)
528 ac_prev=site ;;
529 -site=* | --site=* | --sit=*)
530 site=$ac_optarg ;;
531
532 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
533 ac_prev=srcdir ;;
534 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
535 srcdir=$ac_optarg ;;
536
537 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
538 | --syscon | --sysco | --sysc | --sys | --sy)
539 ac_prev=sysconfdir ;;
540 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
541 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
542 sysconfdir=$ac_optarg ;;
543
544 -target | --target | --targe | --targ | --tar | --ta | --t)
545 ac_prev=target_alias ;;
546 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
547 target_alias=$ac_optarg ;;
548
549 -v | -verbose | --verbose | --verbos | --verbo | --verb)
550 verbose=yes ;;
551
552 -version | --version | --versio | --versi | --vers | -V)
553 ac_init_version=: ;;
554
555 -with-* | --with-*)
556 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
557 # Reject names that are not valid shell variable names.
558 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
559 { echo "$as_me: error: invalid package name: $ac_package" >&2
560 { (exit 1); exit 1; }; }
561 ac_package=`echo $ac_package| sed 's/-/_/g'`
562 case $ac_option in
563 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 *) ac_optarg=yes ;;
565 esac
566 eval "with_$ac_package='$ac_optarg'" ;;
567
568 -without-* | --without-*)
569 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
570 # Reject names that are not valid shell variable names.
571 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
572 { echo "$as_me: error: invalid package name: $ac_package" >&2
573 { (exit 1); exit 1; }; }
574 ac_package=`echo $ac_package | sed 's/-/_/g'`
575 eval "with_$ac_package=no" ;;
576
577 --x)
578 # Obsolete; use --with-x.
579 with_x=yes ;;
580
581 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
582 | --x-incl | --x-inc | --x-in | --x-i)
583 ac_prev=x_includes ;;
584 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
585 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
586 x_includes=$ac_optarg ;;
587
588 -x-libraries | --x-libraries | --x-librarie | --x-librari \
589 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
590 ac_prev=x_libraries ;;
591 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
592 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
593 x_libraries=$ac_optarg ;;
594
595 -*) { echo "$as_me: error: unrecognized option: $ac_option
596 Try \`$0 --help' for more information." >&2
597 { (exit 1); exit 1; }; }
598 ;;
599
600 *=*)
601 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
605 { (exit 1); exit 1; }; }
606 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
607 eval "$ac_envvar='$ac_optarg'"
608 export $ac_envvar ;;
609
610 *)
611 # FIXME: should be removed in autoconf 3.0.
612 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
613 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
614 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
615 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 ;;
617
618 esac
619 done
620
621 if test -n "$ac_prev"; then
622 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
623 { echo "$as_me: error: missing argument to $ac_option" >&2
624 { (exit 1); exit 1; }; }
625 fi
626
627 # Be sure to have absolute paths.
628 for ac_var in exec_prefix prefix
629 do
630 eval ac_val=$`echo $ac_var`
631 case $ac_val in
632 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
633 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
634 { (exit 1); exit 1; }; };;
635 esac
636 done
637
638 # Be sure to have absolute paths.
639 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
640 localstatedir libdir includedir oldincludedir infodir mandir
641 do
642 eval ac_val=$`echo $ac_var`
643 case $ac_val in
644 [\\/$]* | ?:[\\/]* ) ;;
645 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
646 { (exit 1); exit 1; }; };;
647 esac
648 done
649
650 # There might be people who depend on the old broken behavior: `$host'
651 # used to hold the argument of --host etc.
652 # FIXME: To remove some day.
653 build=$build_alias
654 host=$host_alias
655 target=$target_alias
656
657 # FIXME: To remove some day.
658 if test "x$host_alias" != x; then
659 if test "x$build_alias" = x; then
660 cross_compiling=maybe
661 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
662 If a cross compiler is detected then cross compile mode will be used." >&2
663 elif test "x$build_alias" != "x$host_alias"; then
664 cross_compiling=yes
665 fi
666 fi
667
668 ac_tool_prefix=
669 test -n "$host_alias" && ac_tool_prefix=$host_alias-
670
671 test "$silent" = yes && exec 6>/dev/null
672
673
674 # Find the source files, if location was not specified.
675 if test -z "$srcdir"; then
676 ac_srcdir_defaulted=yes
677 # Try the directory containing this script, then its parent.
678 ac_confdir=`(dirname "$0") 2>/dev/null ||
679 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
680 X"$0" : 'X\(//\)[^/]' \| \
681 X"$0" : 'X\(//\)$' \| \
682 X"$0" : 'X\(/\)' \| \
683 . : '\(.\)' 2>/dev/null ||
684 echo X"$0" |
685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
686 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
687 /^X\(\/\/\)$/{ s//\1/; q; }
688 /^X\(\/\).*/{ s//\1/; q; }
689 s/.*/./; q'`
690 srcdir=$ac_confdir
691 if test ! -r $srcdir/$ac_unique_file; then
692 srcdir=..
693 fi
694 else
695 ac_srcdir_defaulted=no
696 fi
697 if test ! -r $srcdir/$ac_unique_file; then
698 if test "$ac_srcdir_defaulted" = yes; then
699 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
700 { (exit 1); exit 1; }; }
701 else
702 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
703 { (exit 1); exit 1; }; }
704 fi
705 fi
706 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
707 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
708 { (exit 1); exit 1; }; }
709 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
710 ac_env_build_alias_set=${build_alias+set}
711 ac_env_build_alias_value=$build_alias
712 ac_cv_env_build_alias_set=${build_alias+set}
713 ac_cv_env_build_alias_value=$build_alias
714 ac_env_host_alias_set=${host_alias+set}
715 ac_env_host_alias_value=$host_alias
716 ac_cv_env_host_alias_set=${host_alias+set}
717 ac_cv_env_host_alias_value=$host_alias
718 ac_env_target_alias_set=${target_alias+set}
719 ac_env_target_alias_value=$target_alias
720 ac_cv_env_target_alias_set=${target_alias+set}
721 ac_cv_env_target_alias_value=$target_alias
722 ac_env_CC_set=${CC+set}
723 ac_env_CC_value=$CC
724 ac_cv_env_CC_set=${CC+set}
725 ac_cv_env_CC_value=$CC
726 ac_env_CFLAGS_set=${CFLAGS+set}
727 ac_env_CFLAGS_value=$CFLAGS
728 ac_cv_env_CFLAGS_set=${CFLAGS+set}
729 ac_cv_env_CFLAGS_value=$CFLAGS
730 ac_env_LDFLAGS_set=${LDFLAGS+set}
731 ac_env_LDFLAGS_value=$LDFLAGS
732 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
733 ac_cv_env_LDFLAGS_value=$LDFLAGS
734 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
735 ac_env_CPPFLAGS_value=$CPPFLAGS
736 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
737 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
738 ac_env_CXX_set=${CXX+set}
739 ac_env_CXX_value=$CXX
740 ac_cv_env_CXX_set=${CXX+set}
741 ac_cv_env_CXX_value=$CXX
742 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
743 ac_env_CXXFLAGS_value=$CXXFLAGS
744 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
745 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
746
747 #
748 # Report the --help message.
749 #
750 if test "$ac_init_help" = "long"; then
751 # Omit some internal or obsolete options to make the list less imposing.
752 # This message is too long to be a string in the A/UX 3.1 sh.
753 cat <<_ACEOF
754 \`configure' configures this package to adapt to many kinds of systems.
755
756 Usage: $0 [OPTION]... [VAR=VALUE]...
757
758 To assign environment variables (e.g., CC, CFLAGS...), specify them as
759 VAR=VALUE. See below for descriptions of some of the useful variables.
760
761 Defaults for the options are specified in brackets.
762
763 Configuration:
764 -h, --help display this help and exit
765 --help=short display options specific to this package
766 --help=recursive display the short help of all the included packages
767 -V, --version display version information and exit
768 -q, --quiet, --silent do not print \`checking...' messages
769 --cache-file=FILE cache test results in FILE [disabled]
770 -C, --config-cache alias for \`--cache-file=config.cache'
771 -n, --no-create do not create output files
772 --srcdir=DIR find the sources in DIR [configure dir or \`..']
773
774 _ACEOF
775
776 cat <<_ACEOF
777 Installation directories:
778 --prefix=PREFIX install architecture-independent files in PREFIX
779 [$ac_default_prefix]
780 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
781 [PREFIX]
782
783 By default, \`make install' will install all the files in
784 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
785 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
786 for instance \`--prefix=\$HOME'.
787
788 For better control, use the options below.
789
790 Fine tuning of the installation directories:
791 --bindir=DIR user executables [EPREFIX/bin]
792 --sbindir=DIR system admin executables [EPREFIX/sbin]
793 --libexecdir=DIR program executables [EPREFIX/libexec]
794 --datadir=DIR read-only architecture-independent data [PREFIX/share]
795 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
796 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
797 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
798 --libdir=DIR object code libraries [EPREFIX/lib]
799 --includedir=DIR C header files [PREFIX/include]
800 --oldincludedir=DIR C header files for non-gcc [/usr/include]
801 --infodir=DIR info documentation [PREFIX/info]
802 --mandir=DIR man documentation [PREFIX/man]
803 _ACEOF
804
805 cat <<\_ACEOF
806
807 System types:
808 --build=BUILD configure for building on BUILD [guessed]
809 --host=HOST cross-compile to build programs to run on HOST [BUILD]
810 --target=TARGET configure for building compilers for TARGET [HOST]
811 _ACEOF
812 fi
813
814 if test -n "$ac_init_help"; then
815
816 cat <<\_ACEOF
817
818 Optional Features:
819 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
820 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
821 --enable-server Build a cygwin DLL which can communicate with cygserver
822
823 Some influential environment variables:
824 CC C compiler command
825 CFLAGS C compiler flags
826 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
827 nonstandard directory <lib dir>
828 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
829 headers in a nonstandard directory <include dir>
830 CXX C++ compiler command
831 CXXFLAGS C++ compiler flags
832
833 Use these variables to override the choices made by `configure' or to help
834 it to find libraries and programs with nonstandard names/locations.
835
836 _ACEOF
837 fi
838
839 if test "$ac_init_help" = "recursive"; then
840 # If there are subdirs, report their specific --help.
841 ac_popdir=`pwd`
842 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
843 test -d $ac_dir || continue
844 ac_builddir=.
845
846 if test "$ac_dir" != .; then
847 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
848 # A "../" for each directory in $ac_dir_suffix.
849 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
850 else
851 ac_dir_suffix= ac_top_builddir=
852 fi
853
854 case $srcdir in
855 .) # No --srcdir option. We are building in place.
856 ac_srcdir=.
857 if test -z "$ac_top_builddir"; then
858 ac_top_srcdir=.
859 else
860 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
861 fi ;;
862 [\\/]* | ?:[\\/]* ) # Absolute path.
863 ac_srcdir=$srcdir$ac_dir_suffix;
864 ac_top_srcdir=$srcdir ;;
865 *) # Relative path.
866 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
867 ac_top_srcdir=$ac_top_builddir$srcdir ;;
868 esac
869
870 # Do not use `cd foo && pwd` to compute absolute paths, because
871 # the directories may not exist.
872 case `pwd` in
873 .) ac_abs_builddir="$ac_dir";;
874 *)
875 case "$ac_dir" in
876 .) ac_abs_builddir=`pwd`;;
877 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
878 *) ac_abs_builddir=`pwd`/"$ac_dir";;
879 esac;;
880 esac
881 case $ac_abs_builddir in
882 .) ac_abs_top_builddir=${ac_top_builddir}.;;
883 *)
884 case ${ac_top_builddir}. in
885 .) ac_abs_top_builddir=$ac_abs_builddir;;
886 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
887 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
888 esac;;
889 esac
890 case $ac_abs_builddir in
891 .) ac_abs_srcdir=$ac_srcdir;;
892 *)
893 case $ac_srcdir in
894 .) ac_abs_srcdir=$ac_abs_builddir;;
895 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
896 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
897 esac;;
898 esac
899 case $ac_abs_builddir in
900 .) ac_abs_top_srcdir=$ac_top_srcdir;;
901 *)
902 case $ac_top_srcdir in
903 .) ac_abs_top_srcdir=$ac_abs_builddir;;
904 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
905 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
906 esac;;
907 esac
908
909 cd $ac_dir
910 # Check for guested configure; otherwise get Cygnus style configure.
911 if test -f $ac_srcdir/configure.gnu; then
912 echo
913 $SHELL $ac_srcdir/configure.gnu --help=recursive
914 elif test -f $ac_srcdir/configure; then
915 echo
916 $SHELL $ac_srcdir/configure --help=recursive
917 elif test -f $ac_srcdir/configure.ac ||
918 test -f $ac_srcdir/configure.in; then
919 echo
920 $ac_configure --help
921 else
922 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
923 fi
924 cd $ac_popdir
925 done
926 fi
927
928 test -n "$ac_init_help" && exit 0
929 if $ac_init_version; then
930 cat <<\_ACEOF
931
932 Copyright (C) 2003 Free Software Foundation, Inc.
933 This configure script is free software; the Free Software Foundation
934 gives unlimited permission to copy, distribute and modify it.
935 _ACEOF
936 exit 0
937 fi
938 exec 5>config.log
939 cat >&5 <<_ACEOF
940 This file contains any messages produced by compilers while
941 running configure, to aid debugging if configure makes a mistake.
942
943 It was created by $as_me, which was
944 generated by GNU Autoconf 2.59. Invocation command line was
945
946 $ $0 $@
947
948 _ACEOF
949 {
950 cat <<_ASUNAME
951 ## --------- ##
952 ## Platform. ##
953 ## --------- ##
954
955 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
956 uname -m = `(uname -m) 2>/dev/null || echo unknown`
957 uname -r = `(uname -r) 2>/dev/null || echo unknown`
958 uname -s = `(uname -s) 2>/dev/null || echo unknown`
959 uname -v = `(uname -v) 2>/dev/null || echo unknown`
960
961 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
962 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
963
964 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
965 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
966 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
967 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
968 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
969 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
970 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
971
972 _ASUNAME
973
974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
975 for as_dir in $PATH
976 do
977 IFS=$as_save_IFS
978 test -z "$as_dir" && as_dir=.
979 echo "PATH: $as_dir"
980 done
981
982 } >&5
983
984 cat >&5 <<_ACEOF
985
986
987 ## ----------- ##
988 ## Core tests. ##
989 ## ----------- ##
990
991 _ACEOF
992
993
994 # Keep a trace of the command line.
995 # Strip out --no-create and --no-recursion so they do not pile up.
996 # Strip out --silent because we don't want to record it for future runs.
997 # Also quote any args containing shell meta-characters.
998 # Make two passes to allow for proper duplicate-argument suppression.
999 ac_configure_args=
1000 ac_configure_args0=
1001 ac_configure_args1=
1002 ac_sep=
1003 ac_must_keep_next=false
1004 for ac_pass in 1 2
1005 do
1006 for ac_arg
1007 do
1008 case $ac_arg in
1009 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1010 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1011 | -silent | --silent | --silen | --sile | --sil)
1012 continue ;;
1013 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1014 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1015 esac
1016 case $ac_pass in
1017 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1018 2)
1019 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1020 if test $ac_must_keep_next = true; then
1021 ac_must_keep_next=false # Got value, back to normal.
1022 else
1023 case $ac_arg in
1024 *=* | --config-cache | -C | -disable-* | --disable-* \
1025 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1026 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1027 | -with-* | --with-* | -without-* | --without-* | --x)
1028 case "$ac_configure_args0 " in
1029 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1030 esac
1031 ;;
1032 -* ) ac_must_keep_next=true ;;
1033 esac
1034 fi
1035 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1036 # Get rid of the leading space.
1037 ac_sep=" "
1038 ;;
1039 esac
1040 done
1041 done
1042 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1043 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1044
1045 # When interrupted or exit'd, cleanup temporary files, and complete
1046 # config.log. We remove comments because anyway the quotes in there
1047 # would cause problems or look ugly.
1048 # WARNING: Be sure not to use single quotes in there, as some shells,
1049 # such as our DU 5.0 friend, will then `close' the trap.
1050 trap 'exit_status=$?
1051 # Save into config.log some information that might help in debugging.
1052 {
1053 echo
1054
1055 cat <<\_ASBOX
1056 ## ---------------- ##
1057 ## Cache variables. ##
1058 ## ---------------- ##
1059 _ASBOX
1060 echo
1061 # The following way of writing the cache mishandles newlines in values,
1062 {
1063 (set) 2>&1 |
1064 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1065 *ac_space=\ *)
1066 sed -n \
1067 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1069 ;;
1070 *)
1071 sed -n \
1072 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1073 ;;
1074 esac;
1075 }
1076 echo
1077
1078 cat <<\_ASBOX
1079 ## ----------------- ##
1080 ## Output variables. ##
1081 ## ----------------- ##
1082 _ASBOX
1083 echo
1084 for ac_var in $ac_subst_vars
1085 do
1086 eval ac_val=$`echo $ac_var`
1087 echo "$ac_var='"'"'$ac_val'"'"'"
1088 done | sort
1089 echo
1090
1091 if test -n "$ac_subst_files"; then
1092 cat <<\_ASBOX
1093 ## ------------- ##
1094 ## Output files. ##
1095 ## ------------- ##
1096 _ASBOX
1097 echo
1098 for ac_var in $ac_subst_files
1099 do
1100 eval ac_val=$`echo $ac_var`
1101 echo "$ac_var='"'"'$ac_val'"'"'"
1102 done | sort
1103 echo
1104 fi
1105
1106 if test -s confdefs.h; then
1107 cat <<\_ASBOX
1108 ## ----------- ##
1109 ## confdefs.h. ##
1110 ## ----------- ##
1111 _ASBOX
1112 echo
1113 sed "/^$/d" confdefs.h | sort
1114 echo
1115 fi
1116 test "$ac_signal" != 0 &&
1117 echo "$as_me: caught signal $ac_signal"
1118 echo "$as_me: exit $exit_status"
1119 } >&5
1120 rm -f core *.core &&
1121 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1122 exit $exit_status
1123 ' 0
1124 for ac_signal in 1 2 13 15; do
1125 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1126 done
1127 ac_signal=0
1128
1129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1130 rm -rf conftest* confdefs.h
1131 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1132 echo >confdefs.h
1133
1134 # Predefined preprocessor variables.
1135
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_NAME "$PACKAGE_NAME"
1138 _ACEOF
1139
1140
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1143 _ACEOF
1144
1145
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1148 _ACEOF
1149
1150
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_STRING "$PACKAGE_STRING"
1153 _ACEOF
1154
1155
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1158 _ACEOF
1159
1160
1161 # Let the site file select an alternate cache file if it wants to.
1162 # Prefer explicitly selected file to automatically selected ones.
1163 if test -z "$CONFIG_SITE"; then
1164 if test "x$prefix" != xNONE; then
1165 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1166 else
1167 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1168 fi
1169 fi
1170 for ac_site_file in $CONFIG_SITE; do
1171 if test -r "$ac_site_file"; then
1172 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1173 echo "$as_me: loading site script $ac_site_file" >&6;}
1174 sed 's/^/| /' "$ac_site_file" >&5
1175 . "$ac_site_file"
1176 fi
1177 done
1178
1179 if test -r "$cache_file"; then
1180 # Some versions of bash will fail to source /dev/null (special
1181 # files actually), so we avoid doing that.
1182 if test -f "$cache_file"; then
1183 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1184 echo "$as_me: loading cache $cache_file" >&6;}
1185 case $cache_file in
1186 [\\/]* | ?:[\\/]* ) . $cache_file;;
1187 *) . ./$cache_file;;
1188 esac
1189 fi
1190 else
1191 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1192 echo "$as_me: creating cache $cache_file" >&6;}
1193 >$cache_file
1194 fi
1195
1196 # Check that the precious variables saved in the cache have kept the same
1197 # value.
1198 ac_cache_corrupted=false
1199 for ac_var in `(set) 2>&1 |
1200 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1201 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1202 eval ac_new_set=\$ac_env_${ac_var}_set
1203 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1204 eval ac_new_val="\$ac_env_${ac_var}_value"
1205 case $ac_old_set,$ac_new_set in
1206 set,)
1207 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1208 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1209 ac_cache_corrupted=: ;;
1210 ,set)
1211 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1213 ac_cache_corrupted=: ;;
1214 ,);;
1215 *)
1216 if test "x$ac_old_val" != "x$ac_new_val"; then
1217 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1218 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1219 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1220 echo "$as_me: former value: $ac_old_val" >&2;}
1221 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1222 echo "$as_me: current value: $ac_new_val" >&2;}
1223 ac_cache_corrupted=:
1224 fi;;
1225 esac
1226 # Pass precious variables to config.status.
1227 if test "$ac_new_set" = set; then
1228 case $ac_new_val in
1229 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1230 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1231 *) ac_arg=$ac_var=$ac_new_val ;;
1232 esac
1233 case " $ac_configure_args " in
1234 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1235 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1236 esac
1237 fi
1238 done
1239 if $ac_cache_corrupted; then
1240 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1241 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1242 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1243 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1244 { (exit 1); exit 1; }; }
1245 fi
1246
1247 ac_ext=c
1248 ac_cpp='$CPP $CPPFLAGS'
1249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272 INSTALL=`cd $srcdir/..; echo $(pwd)/install-sh -c`
1273
1274 ac_aux_dir=
1275 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1276 if test -f $ac_dir/install-sh; then
1277 ac_aux_dir=$ac_dir
1278 ac_install_sh="$ac_aux_dir/install-sh -c"
1279 break
1280 elif test -f $ac_dir/install.sh; then
1281 ac_aux_dir=$ac_dir
1282 ac_install_sh="$ac_aux_dir/install.sh -c"
1283 break
1284 elif test -f $ac_dir/shtool; then
1285 ac_aux_dir=$ac_dir
1286 ac_install_sh="$ac_aux_dir/shtool install -c"
1287 break
1288 fi
1289 done
1290 if test -z "$ac_aux_dir"; then
1291 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1292 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1293 { (exit 1); exit 1; }; }
1294 fi
1295 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1296 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1297 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1298
1299 # Find a good install program. We prefer a C program (faster),
1300 # so one script is as good as another. But avoid the broken or
1301 # incompatible versions:
1302 # SysV /etc/install, /usr/sbin/install
1303 # SunOS /usr/etc/install
1304 # IRIX /sbin/install
1305 # AIX /bin/install
1306 # AmigaOS /C/install, which installs bootblocks on floppy discs
1307 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1308 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1309 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1310 # OS/2's system install, which has a completely different semantic
1311 # ./install, which can be erroneously created by make from ./install.sh.
1312 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1313 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1314 if test -z "$INSTALL"; then
1315 if test "${ac_cv_path_install+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1317 else
1318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1319 for as_dir in $PATH
1320 do
1321 IFS=$as_save_IFS
1322 test -z "$as_dir" && as_dir=.
1323 # Account for people who put trailing slashes in PATH elements.
1324 case $as_dir/ in
1325 ./ | .// | /cC/* | \
1326 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1327 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1328 /usr/ucb/* ) ;;
1329 *)
1330 # OSF1 and SCO ODT 3.0 have their own names for install.
1331 # Don't use installbsd from OSF since it installs stuff as root
1332 # by default.
1333 for ac_prog in ginstall scoinst install; do
1334 for ac_exec_ext in '' $ac_executable_extensions; do
1335 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1336 if test $ac_prog = install &&
1337 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1338 # AIX install. It has an incompatible calling convention.
1339 :
1340 elif test $ac_prog = install &&
1341 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1342 # program-specific install script used by HP pwplus--don't use.
1343 :
1344 else
1345 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1346 break 3
1347 fi
1348 fi
1349 done
1350 done
1351 ;;
1352 esac
1353 done
1354
1355
1356 fi
1357 if test "${ac_cv_path_install+set}" = set; then
1358 INSTALL=$ac_cv_path_install
1359 else
1360 # As a last resort, use the slow shell script. We don't cache a
1361 # path for INSTALL within a source directory, because that will
1362 # break other packages using the cache if that directory is
1363 # removed, or if the path is relative.
1364 INSTALL=$ac_install_sh
1365 fi
1366 fi
1367 echo "$as_me:$LINENO: result: $INSTALL" >&5
1368 echo "${ECHO_T}$INSTALL" >&6
1369
1370 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1371 # It thinks the first close brace ends the variable substitution.
1372 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1373
1374 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1375
1376 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1377
1378 # Make sure we can run config.sub.
1379 $ac_config_sub sun4 >/dev/null 2>&1 ||
1380 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1381 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1382 { (exit 1); exit 1; }; }
1383
1384 echo "$as_me:$LINENO: checking build system type" >&5
1385 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1386 if test "${ac_cv_build+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 else
1389 ac_cv_build_alias=$build_alias
1390 test -z "$ac_cv_build_alias" &&
1391 ac_cv_build_alias=`$ac_config_guess`
1392 test -z "$ac_cv_build_alias" &&
1393 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1394 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1395 { (exit 1); exit 1; }; }
1396 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1397 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1398 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1399 { (exit 1); exit 1; }; }
1400
1401 fi
1402 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1403 echo "${ECHO_T}$ac_cv_build" >&6
1404 build=$ac_cv_build
1405 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1408
1409
1410 echo "$as_me:$LINENO: checking host system type" >&5
1411 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1412 if test "${ac_cv_host+set}" = set; then
1413 echo $ECHO_N "(cached) $ECHO_C" >&6
1414 else
1415 ac_cv_host_alias=$host_alias
1416 test -z "$ac_cv_host_alias" &&
1417 ac_cv_host_alias=$ac_cv_build_alias
1418 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1419 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1420 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1421 { (exit 1); exit 1; }; }
1422
1423 fi
1424 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1425 echo "${ECHO_T}$ac_cv_host" >&6
1426 host=$ac_cv_host
1427 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1428 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1429 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430
1431
1432 echo "$as_me:$LINENO: checking target system type" >&5
1433 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1434 if test "${ac_cv_target+set}" = set; then
1435 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 else
1437 ac_cv_target_alias=$target_alias
1438 test "x$ac_cv_target_alias" = "x" &&
1439 ac_cv_target_alias=$ac_cv_host_alias
1440 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1441 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1442 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1443 { (exit 1); exit 1; }; }
1444
1445 fi
1446 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1447 echo "${ECHO_T}$ac_cv_target" >&6
1448 target=$ac_cv_target
1449 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1450 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1451 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1452
1453
1454 # The aliases save the names the user supplied, while $host etc.
1455 # will get canonicalized.
1456 test -n "$target_alias" &&
1457 test "$program_prefix$program_suffix$program_transform_name" = \
1458 NONENONEs,x,x, &&
1459 program_prefix=${target_alias}-
1460
1461
1462
1463 if test -n "$ac_tool_prefix"; then
1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1465 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_prog_CC+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 else
1471 if test -n "$CC"; then
1472 ac_cv_prog_CC="$CC" # Let the user override the test.
1473 else
1474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1475 for as_dir in $PATH
1476 do
1477 IFS=$as_save_IFS
1478 test -z "$as_dir" && as_dir=.
1479 for ac_exec_ext in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1483 break 2
1484 fi
1485 done
1486 done
1487
1488 fi
1489 fi
1490 CC=$ac_cv_prog_CC
1491 if test -n "$CC"; then
1492 echo "$as_me:$LINENO: result: $CC" >&5
1493 echo "${ECHO_T}$CC" >&6
1494 else
1495 echo "$as_me:$LINENO: result: no" >&5
1496 echo "${ECHO_T}no" >&6
1497 fi
1498
1499 fi
1500 if test -z "$ac_cv_prog_CC"; then
1501 ac_ct_CC=$CC
1502 # Extract the first word of "gcc", so it can be a program name with args.
1503 set dummy gcc; ac_word=$2
1504 echo "$as_me:$LINENO: checking for $ac_word" >&5
1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1507 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 else
1509 if test -n "$ac_ct_CC"; then
1510 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1511 else
1512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1513 for as_dir in $PATH
1514 do
1515 IFS=$as_save_IFS
1516 test -z "$as_dir" && as_dir=.
1517 for ac_exec_ext in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1519 ac_cv_prog_ac_ct_CC="gcc"
1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1521 break 2
1522 fi
1523 done
1524 done
1525
1526 test -z "$ac_cv_prog_ac_ct_CC" && ac_cv_prog_ac_ct_CC="gcc"
1527 fi
1528 fi
1529 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1530 if test -n "$ac_ct_CC"; then
1531 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1532 echo "${ECHO_T}$ac_ct_CC" >&6
1533 else
1534 echo "$as_me:$LINENO: result: no" >&5
1535 echo "${ECHO_T}no" >&6
1536 fi
1537
1538 CC=$ac_ct_CC
1539 else
1540 CC="$ac_cv_prog_CC"
1541 fi
1542
1543 : ${CC:=gcc}
1544 ac_ext=c
1545 ac_cpp='$CPP $CPPFLAGS'
1546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 else
1557 if test -n "$CC"; then
1558 ac_cv_prog_CC="$CC" # Let the user override the test.
1559 else
1560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1561 for as_dir in $PATH
1562 do
1563 IFS=$as_save_IFS
1564 test -z "$as_dir" && as_dir=.
1565 for ac_exec_ext in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1569 break 2
1570 fi
1571 done
1572 done
1573
1574 fi
1575 fi
1576 CC=$ac_cv_prog_CC
1577 if test -n "$CC"; then
1578 echo "$as_me:$LINENO: result: $CC" >&5
1579 echo "${ECHO_T}$CC" >&6
1580 else
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1583 fi
1584
1585 fi
1586 if test -z "$ac_cv_prog_CC"; then
1587 ac_ct_CC=$CC
1588 # Extract the first word of "gcc", so it can be a program name with args.
1589 set dummy gcc; ac_word=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 else
1595 if test -n "$ac_ct_CC"; then
1596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1597 else
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599 for as_dir in $PATH
1600 do
1601 IFS=$as_save_IFS
1602 test -z "$as_dir" && as_dir=.
1603 for ac_exec_ext in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_ac_ct_CC="gcc"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1607 break 2
1608 fi
1609 done
1610 done
1611
1612 fi
1613 fi
1614 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1615 if test -n "$ac_ct_CC"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1617 echo "${ECHO_T}$ac_ct_CC" >&6
1618 else
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1621 fi
1622
1623 CC=$ac_ct_CC
1624 else
1625 CC="$ac_cv_prog_CC"
1626 fi
1627
1628 if test -z "$CC"; then
1629 if test -n "$ac_tool_prefix"; then
1630 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1631 set dummy ${ac_tool_prefix}cc; ac_word=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_CC+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 else
1637 if test -n "$CC"; then
1638 ac_cv_prog_CC="$CC" # Let the user override the test.
1639 else
1640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1641 for as_dir in $PATH
1642 do
1643 IFS=$as_save_IFS
1644 test -z "$as_dir" && as_dir=.
1645 for ac_exec_ext in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_CC="${ac_tool_prefix}cc"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1649 break 2
1650 fi
1651 done
1652 done
1653
1654 fi
1655 fi
1656 CC=$ac_cv_prog_CC
1657 if test -n "$CC"; then
1658 echo "$as_me:$LINENO: result: $CC" >&5
1659 echo "${ECHO_T}$CC" >&6
1660 else
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1663 fi
1664
1665 fi
1666 if test -z "$ac_cv_prog_CC"; then
1667 ac_ct_CC=$CC
1668 # Extract the first word of "cc", so it can be a program name with args.
1669 set dummy cc; ac_word=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 else
1675 if test -n "$ac_ct_CC"; then
1676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1677 else
1678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679 for as_dir in $PATH
1680 do
1681 IFS=$as_save_IFS
1682 test -z "$as_dir" && as_dir=.
1683 for ac_exec_ext in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_ac_ct_CC="cc"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687 break 2
1688 fi
1689 done
1690 done
1691
1692 fi
1693 fi
1694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1695 if test -n "$ac_ct_CC"; then
1696 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1697 echo "${ECHO_T}$ac_ct_CC" >&6
1698 else
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1701 fi
1702
1703 CC=$ac_ct_CC
1704 else
1705 CC="$ac_cv_prog_CC"
1706 fi
1707
1708 fi
1709 if test -z "$CC"; then
1710 # Extract the first word of "cc", so it can be a program name with args.
1711 set dummy cc; ac_word=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_CC+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 else
1717 if test -n "$CC"; then
1718 ac_cv_prog_CC="$CC" # Let the user override the test.
1719 else
1720 ac_prog_rejected=no
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 for as_dir in $PATH
1723 do
1724 IFS=$as_save_IFS
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1729 ac_prog_rejected=yes
1730 continue
1731 fi
1732 ac_cv_prog_CC="cc"
1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734 break 2
1735 fi
1736 done
1737 done
1738
1739 if test $ac_prog_rejected = yes; then
1740 # We found a bogon in the path, so make sure we never use it.
1741 set dummy $ac_cv_prog_CC
1742 shift
1743 if test $# != 0; then
1744 # We chose a different compiler from the bogus one.
1745 # However, it has the same basename, so the bogon will be chosen
1746 # first if we set CC to just the basename; use the full file name.
1747 shift
1748 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1749 fi
1750 fi
1751 fi
1752 fi
1753 CC=$ac_cv_prog_CC
1754 if test -n "$CC"; then
1755 echo "$as_me:$LINENO: result: $CC" >&5
1756 echo "${ECHO_T}$CC" >&6
1757 else
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1760 fi
1761
1762 fi
1763 if test -z "$CC"; then
1764 if test -n "$ac_tool_prefix"; then
1765 for ac_prog in cl
1766 do
1767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1769 echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1771 if test "${ac_cv_prog_CC+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 else
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC="$CC" # Let the user override the test.
1776 else
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1779 do
1780 IFS=$as_save_IFS
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 break 2
1787 fi
1788 done
1789 done
1790
1791 fi
1792 fi
1793 CC=$ac_cv_prog_CC
1794 if test -n "$CC"; then
1795 echo "$as_me:$LINENO: result: $CC" >&5
1796 echo "${ECHO_T}$CC" >&6
1797 else
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1800 fi
1801
1802 test -n "$CC" && break
1803 done
1804 fi
1805 if test -z "$CC"; then
1806 ac_ct_CC=$CC
1807 for ac_prog in cl
1808 do
1809 # Extract the first word of "$ac_prog", so it can be a program name with args.
1810 set dummy $ac_prog; ac_word=$2
1811 echo "$as_me:$LINENO: checking for $ac_word" >&5
1812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1813 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1814 echo $ECHO_N "(cached) $ECHO_C" >&6
1815 else
1816 if test -n "$ac_ct_CC"; then
1817 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1818 else
1819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1820 for as_dir in $PATH
1821 do
1822 IFS=$as_save_IFS
1823 test -z "$as_dir" && as_dir=.
1824 for ac_exec_ext in '' $ac_executable_extensions; do
1825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1826 ac_cv_prog_ac_ct_CC="$ac_prog"
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 break 2
1829 fi
1830 done
1831 done
1832
1833 fi
1834 fi
1835 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1836 if test -n "$ac_ct_CC"; then
1837 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1838 echo "${ECHO_T}$ac_ct_CC" >&6
1839 else
1840 echo "$as_me:$LINENO: result: no" >&5
1841 echo "${ECHO_T}no" >&6
1842 fi
1843
1844 test -n "$ac_ct_CC" && break
1845 done
1846
1847 CC=$ac_ct_CC
1848 fi
1849
1850 fi
1851
1852
1853 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1854 See \`config.log' for more details." >&5
1855 echo "$as_me: error: no acceptable C compiler found in \$PATH
1856 See \`config.log' for more details." >&2;}
1857 { (exit 1); exit 1; }; }
1858
1859 # Provide some information about the compiler.
1860 echo "$as_me:$LINENO:" \
1861 "checking for C compiler version" >&5
1862 ac_compiler=`set X $ac_compile; echo $2`
1863 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1864 (eval $ac_compiler --version </dev/null >&5) 2>&5
1865 ac_status=$?
1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867 (exit $ac_status); }
1868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1869 (eval $ac_compiler -v </dev/null >&5) 2>&5
1870 ac_status=$?
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }
1873 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1874 (eval $ac_compiler -V </dev/null >&5) 2>&5
1875 ac_status=$?
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); }
1878
1879 cat >conftest.$ac_ext <<_ACEOF
1880 /* confdefs.h. */
1881 _ACEOF
1882 cat confdefs.h >>conftest.$ac_ext
1883 cat >>conftest.$ac_ext <<_ACEOF
1884 /* end confdefs.h. */
1885
1886 int
1887 main ()
1888 {
1889
1890 ;
1891 return 0;
1892 }
1893 _ACEOF
1894 # FIXME: Cleanup?
1895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1896 (eval $ac_link) 2>&5
1897 ac_status=$?
1898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 (exit $ac_status); }; then
1900 gcc_no_link=no
1901 else
1902 gcc_no_link=yes
1903 fi
1904
1905 if test x$gcc_no_link = xyes; then
1906 # Setting cross_compile will disable run tests; it will
1907 # also disable AC_CHECK_FILE but that's generally
1908 # correct if we can't link.
1909 cross_compiling=yes
1910 EXEEXT=
1911 else
1912 cat >conftest.$ac_ext <<_ACEOF
1913 /* confdefs.h. */
1914 _ACEOF
1915 cat confdefs.h >>conftest.$ac_ext
1916 cat >>conftest.$ac_ext <<_ACEOF
1917 /* end confdefs.h. */
1918
1919 int
1920 main ()
1921 {
1922
1923 ;
1924 return 0;
1925 }
1926 _ACEOF
1927 ac_clean_files_save=$ac_clean_files
1928 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1929 # Try to create an executable without -o first, disregard a.out.
1930 # It will help us diagnose broken compilers, and finding out an intuition
1931 # of exeext.
1932 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1933 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1934 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1935 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1936 (eval $ac_link_default) 2>&5
1937 ac_status=$?
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }; then
1940 # Find the output, starting from the most likely. This scheme is
1941 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1942 # resort.
1943
1944 # Be careful to initialize this variable, since it used to be cached.
1945 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1946 ac_cv_exeext=
1947 # b.out is created by i960 compilers.
1948 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1949 do
1950 test -f "$ac_file" || continue
1951 case $ac_file in
1952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1953 ;;
1954 conftest.$ac_ext )
1955 # This is the source file.
1956 ;;
1957 [ab].out )
1958 # We found the default executable, but exeext='' is most
1959 # certainly right.
1960 break;;
1961 *.* )
1962 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1963 # FIXME: I believe we export ac_cv_exeext for Libtool,
1964 # but it would be cool to find out if it's true. Does anybody
1965 # maintain Libtool? --akim.
1966 export ac_cv_exeext
1967 break;;
1968 * )
1969 break;;
1970 esac
1971 done
1972 else
1973 echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1975
1976 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1977 See \`config.log' for more details." >&5
1978 echo "$as_me: error: C compiler cannot create executables
1979 See \`config.log' for more details." >&2;}
1980 { (exit 77); exit 77; }; }
1981 fi
1982
1983 ac_exeext=$ac_cv_exeext
1984 echo "$as_me:$LINENO: result: $ac_file" >&5
1985 echo "${ECHO_T}$ac_file" >&6
1986
1987 # Check the compiler produces executables we can run. If not, either
1988 # the compiler is broken, or we cross compile.
1989 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1990 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1991 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1992 # If not cross compiling, check that we can run a simple program.
1993 if test "$cross_compiling" != yes; then
1994 if { ac_try='./$ac_file'
1995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1996 (eval $ac_try) 2>&5
1997 ac_status=$?
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }; }; then
2000 cross_compiling=no
2001 else
2002 if test "$cross_compiling" = maybe; then
2003 cross_compiling=yes
2004 else
2005 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2006 If you meant to cross compile, use \`--host'.
2007 See \`config.log' for more details." >&5
2008 echo "$as_me: error: cannot run C compiled programs.
2009 If you meant to cross compile, use \`--host'.
2010 See \`config.log' for more details." >&2;}
2011 { (exit 1); exit 1; }; }
2012 fi
2013 fi
2014 fi
2015 echo "$as_me:$LINENO: result: yes" >&5
2016 echo "${ECHO_T}yes" >&6
2017
2018 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2019 ac_clean_files=$ac_clean_files_save
2020 # Check the compiler produces executables we can run. If not, either
2021 # the compiler is broken, or we cross compile.
2022 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2023 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2024 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2025 echo "${ECHO_T}$cross_compiling" >&6
2026
2027 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2028 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2030 (eval $ac_link) 2>&5
2031 ac_status=$?
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); }; then
2034 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2035 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2036 # work properly (i.e., refer to `conftest.exe'), while it won't with
2037 # `rm'.
2038 for ac_file in conftest.exe conftest conftest.*; do
2039 test -f "$ac_file" || continue
2040 case $ac_file in
2041 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2042 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2043 export ac_cv_exeext
2044 break;;
2045 * ) break;;
2046 esac
2047 done
2048 else
2049 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2050 See \`config.log' for more details." >&5
2051 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2052 See \`config.log' for more details." >&2;}
2053 { (exit 1); exit 1; }; }
2054 fi
2055
2056 rm -f conftest$ac_cv_exeext
2057 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2058 echo "${ECHO_T}$ac_cv_exeext" >&6
2059
2060 rm -f conftest.$ac_ext
2061 EXEEXT=$ac_cv_exeext
2062 ac_exeext=$EXEEXT
2063 fi
2064 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2065 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2066 if test "${ac_cv_objext+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 else
2069 cat >conftest.$ac_ext <<_ACEOF
2070 /* confdefs.h. */
2071 _ACEOF
2072 cat confdefs.h >>conftest.$ac_ext
2073 cat >>conftest.$ac_ext <<_ACEOF
2074 /* end confdefs.h. */
2075
2076 int
2077 main ()
2078 {
2079
2080 ;
2081 return 0;
2082 }
2083 _ACEOF
2084 rm -f conftest.o conftest.obj
2085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2086 (eval $ac_compile) 2>&5
2087 ac_status=$?
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; then
2090 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2091 case $ac_file in
2092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2094 break;;
2095 esac
2096 done
2097 else
2098 echo "$as_me: failed program was:" >&5
2099 sed 's/^/| /' conftest.$ac_ext >&5
2100
2101 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2102 See \`config.log' for more details." >&5
2103 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2104 See \`config.log' for more details." >&2;}
2105 { (exit 1); exit 1; }; }
2106 fi
2107
2108 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2109 fi
2110 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2111 echo "${ECHO_T}$ac_cv_objext" >&6
2112 OBJEXT=$ac_cv_objext
2113 ac_objext=$OBJEXT
2114 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2115 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2116 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119 cat >conftest.$ac_ext <<_ACEOF
2120 /* confdefs.h. */
2121 _ACEOF
2122 cat confdefs.h >>conftest.$ac_ext
2123 cat >>conftest.$ac_ext <<_ACEOF
2124 /* end confdefs.h. */
2125
2126 int
2127 main ()
2128 {
2129 #ifndef __GNUC__
2130 choke me
2131 #endif
2132
2133 ;
2134 return 0;
2135 }
2136 _ACEOF
2137 rm -f conftest.$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139 (eval $ac_compile) 2>conftest.er1
2140 ac_status=$?
2141 grep -v '^ *+' conftest.er1 >conftest.err
2142 rm -f conftest.er1
2143 cat conftest.err >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } &&
2146 { ac_try='test -z "$ac_c_werror_flag"
2147 || test ! -s conftest.err'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2149 (eval $ac_try) 2>&5
2150 ac_status=$?
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; } &&
2153 { ac_try='test -s conftest.$ac_objext'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 (eval $ac_try) 2>&5
2156 ac_status=$?
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; }; then
2159 ac_compiler_gnu=yes
2160 else
2161 echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.$ac_ext >&5
2163
2164 ac_compiler_gnu=no
2165 fi
2166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2167 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2168
2169 fi
2170 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2171 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2172 GCC=`test $ac_compiler_gnu = yes && echo yes`
2173 ac_test_CFLAGS=${CFLAGS+set}
2174 ac_save_CFLAGS=$CFLAGS
2175 CFLAGS="-g"
2176 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2177 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2178 if test "${ac_cv_prog_cc_g+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 else
2181 cat >conftest.$ac_ext <<_ACEOF
2182 /* confdefs.h. */
2183 _ACEOF
2184 cat confdefs.h >>conftest.$ac_ext
2185 cat >>conftest.$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2187
2188 int
2189 main ()
2190 {
2191
2192 ;
2193 return 0;
2194 }
2195 _ACEOF
2196 rm -f conftest.$ac_objext
2197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2198 (eval $ac_compile) 2>conftest.er1
2199 ac_status=$?
2200 grep -v '^ *+' conftest.er1 >conftest.err
2201 rm -f conftest.er1
2202 cat conftest.err >&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); } &&
2205 { ac_try='test -z "$ac_c_werror_flag"
2206 || test ! -s conftest.err'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2208 (eval $ac_try) 2>&5
2209 ac_status=$?
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; } &&
2212 { ac_try='test -s conftest.$ac_objext'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2214 (eval $ac_try) 2>&5
2215 ac_status=$?
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; }; then
2218 ac_cv_prog_cc_g=yes
2219 else
2220 echo "$as_me: failed program was:" >&5
2221 sed 's/^/| /' conftest.$ac_ext >&5
2222
2223 ac_cv_prog_cc_g=no
2224 fi
2225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2226 fi
2227 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2228 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2229 if test "$ac_test_CFLAGS" = set; then
2230 CFLAGS=$ac_save_CFLAGS
2231 elif test $ac_cv_prog_cc_g = yes; then
2232 if test "$GCC" = yes; then
2233 CFLAGS="-g -O2"
2234 else
2235 CFLAGS="-g"
2236 fi
2237 else
2238 if test "$GCC" = yes; then
2239 CFLAGS="-O2"
2240 else
2241 CFLAGS=
2242 fi
2243 fi
2244 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2245 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2246 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 else
2249 ac_cv_prog_cc_stdc=no
2250 ac_save_CC=$CC
2251 cat >conftest.$ac_ext <<_ACEOF
2252 /* confdefs.h. */
2253 _ACEOF
2254 cat confdefs.h >>conftest.$ac_ext
2255 cat >>conftest.$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2257 #include <stdarg.h>
2258 #include <stdio.h>
2259 #include <sys/types.h>
2260 #include <sys/stat.h>
2261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2262 struct buf { int x; };
2263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2264 static char *e (p, i)
2265 char **p;
2266 int i;
2267 {
2268 return p[i];
2269 }
2270 static char *f (char * (*g) (char **, int), char **p, ...)
2271 {
2272 char *s;
2273 va_list v;
2274 va_start (v,p);
2275 s = g (p, va_arg (v,int));
2276 va_end (v);
2277 return s;
2278 }
2279
2280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2281 function prototypes and stuff, but not '\xHH' hex character constants.
2282 These don't provoke an error unfortunately, instead are silently treated
2283 as 'x'. The following induces an error, until -std1 is added to get
2284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2285 array size at least. It's necessary to write '\x00'==0 to get something
2286 that's true only with -std1. */
2287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2288
2289 int test (int i, double x);
2290 struct s1 {int (*f) (int a);};
2291 struct s2 {int (*f) (double a);};
2292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2293 int argc;
2294 char **argv;
2295 int
2296 main ()
2297 {
2298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2299 ;
2300 return 0;
2301 }
2302 _ACEOF
2303 # Don't try gcc -ansi; that turns off useful extensions and
2304 # breaks some systems' header files.
2305 # AIX -qlanglvl=ansi
2306 # Ultrix and OSF/1 -std1
2307 # HP-UX 10.20 and later -Ae
2308 # HP-UX older versions -Aa -D_HPUX_SOURCE
2309 # SVR4 -Xc -D__EXTENSIONS__
2310 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2311 do
2312 CC="$ac_save_CC $ac_arg"
2313 rm -f conftest.$ac_objext
2314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315 (eval $ac_compile) 2>conftest.er1
2316 ac_status=$?
2317 grep -v '^ *+' conftest.er1 >conftest.err
2318 rm -f conftest.er1
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } &&
2322 { ac_try='test -z "$ac_c_werror_flag"
2323 || test ! -s conftest.err'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 (eval $ac_try) 2>&5
2326 ac_status=$?
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; } &&
2329 { ac_try='test -s conftest.$ac_objext'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 (eval $ac_try) 2>&5
2332 ac_status=$?
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; }; then
2335 ac_cv_prog_cc_stdc=$ac_arg
2336 break
2337 else
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.$ac_ext >&5
2340
2341 fi
2342 rm -f conftest.err conftest.$ac_objext
2343 done
2344 rm -f conftest.$ac_ext conftest.$ac_objext
2345 CC=$ac_save_CC
2346
2347 fi
2348
2349 case "x$ac_cv_prog_cc_stdc" in
2350 x|xno)
2351 echo "$as_me:$LINENO: result: none needed" >&5
2352 echo "${ECHO_T}none needed" >&6 ;;
2353 *)
2354 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2355 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2356 CC="$CC $ac_cv_prog_cc_stdc" ;;
2357 esac
2358
2359 # Some people use a C++ compiler to compile C. Since we use `exit',
2360 # in C++ we need to declare it. In case someone uses the same compiler
2361 # for both compiling C and C++ we need to have the C++ compiler decide
2362 # the declaration of exit, since it's the most demanding environment.
2363 cat >conftest.$ac_ext <<_ACEOF
2364 #ifndef __cplusplus
2365 choke me
2366 #endif
2367 _ACEOF
2368 rm -f conftest.$ac_objext
2369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2370 (eval $ac_compile) 2>conftest.er1
2371 ac_status=$?
2372 grep -v '^ *+' conftest.er1 >conftest.err
2373 rm -f conftest.er1
2374 cat conftest.err >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); } &&
2377 { ac_try='test -z "$ac_c_werror_flag"
2378 || test ! -s conftest.err'
2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380 (eval $ac_try) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; } &&
2384 { ac_try='test -s conftest.$ac_objext'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386 (eval $ac_try) 2>&5
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; }; then
2390 for ac_declaration in \
2391 '' \
2392 'extern "C" void std::exit (int) throw (); using std::exit;' \
2393 'extern "C" void std::exit (int); using std::exit;' \
2394 'extern "C" void exit (int) throw ();' \
2395 'extern "C" void exit (int);' \
2396 'void exit (int);'
2397 do
2398 cat >conftest.$ac_ext <<_ACEOF
2399 /* confdefs.h. */
2400 _ACEOF
2401 cat confdefs.h >>conftest.$ac_ext
2402 cat >>conftest.$ac_ext <<_ACEOF
2403 /* end confdefs.h. */
2404 $ac_declaration
2405 #include <stdlib.h>
2406 int
2407 main ()
2408 {
2409 exit (42);
2410 ;
2411 return 0;
2412 }
2413 _ACEOF
2414 rm -f conftest.$ac_objext
2415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2416 (eval $ac_compile) 2>conftest.er1
2417 ac_status=$?
2418 grep -v '^ *+' conftest.er1 >conftest.err
2419 rm -f conftest.er1
2420 cat conftest.err >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } &&
2423 { ac_try='test -z "$ac_c_werror_flag"
2424 || test ! -s conftest.err'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 (eval $ac_try) 2>&5
2427 ac_status=$?
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; } &&
2430 { ac_try='test -s conftest.$ac_objext'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 (eval $ac_try) 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; }; then
2436 :
2437 else
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2440
2441 continue
2442 fi
2443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2444 cat >conftest.$ac_ext <<_ACEOF
2445 /* confdefs.h. */
2446 _ACEOF
2447 cat confdefs.h >>conftest.$ac_ext
2448 cat >>conftest.$ac_ext <<_ACEOF
2449 /* end confdefs.h. */
2450 $ac_declaration
2451 int
2452 main ()
2453 {
2454 exit (42);
2455 ;
2456 return 0;
2457 }
2458 _ACEOF
2459 rm -f conftest.$ac_objext
2460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2461 (eval $ac_compile) 2>conftest.er1
2462 ac_status=$?
2463 grep -v '^ *+' conftest.er1 >conftest.err
2464 rm -f conftest.er1
2465 cat conftest.err >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } &&
2468 { ac_try='test -z "$ac_c_werror_flag"
2469 || test ! -s conftest.err'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 (eval $ac_try) 2>&5
2472 ac_status=$?
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; } &&
2475 { ac_try='test -s conftest.$ac_objext'
2476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 (eval $ac_try) 2>&5
2478 ac_status=$?
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2481 break
2482 else
2483 echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2485
2486 fi
2487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2488 done
2489 rm -f conftest*
2490 if test -n "$ac_declaration"; then
2491 echo '#ifdef __cplusplus' >>confdefs.h
2492 echo $ac_declaration >>confdefs.h
2493 echo '#endif' >>confdefs.h
2494 fi
2495
2496 else
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2499
2500 fi
2501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2502 ac_ext=c
2503 ac_cpp='$CPP $CPPFLAGS'
2504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2507
2508 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2509 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2510 { (exit 1); exit 1; }; }
2511
2512 if test -n "$ac_tool_prefix"; then
2513 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2514 set dummy ${ac_tool_prefix}g++; ac_word=$2
2515 echo "$as_me:$LINENO: checking for $ac_word" >&5
2516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2517 if test "${ac_cv_prog_CXX+set}" = set; then
2518 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 else
2520 if test -n "$CXX"; then
2521 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2522 else
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 for as_dir in $PATH
2525 do
2526 IFS=$as_save_IFS
2527 test -z "$as_dir" && as_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 break 2
2533 fi
2534 done
2535 done
2536
2537 fi
2538 fi
2539 CXX=$ac_cv_prog_CXX
2540 if test -n "$CXX"; then
2541 echo "$as_me:$LINENO: result: $CXX" >&5
2542 echo "${ECHO_T}$CXX" >&6
2543 else
2544 echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6
2546 fi
2547
2548 fi
2549 if test -z "$ac_cv_prog_CXX"; then
2550 ac_ct_CXX=$CXX
2551 # Extract the first word of "g++", so it can be a program name with args.
2552 set dummy g++; ac_word=$2
2553 echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2555 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 else
2558 if test -n "$ac_ct_CXX"; then
2559 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2560 else
2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 for as_dir in $PATH
2563 do
2564 IFS=$as_save_IFS
2565 test -z "$as_dir" && as_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2568 ac_cv_prog_ac_ct_CXX="g++"
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 break 2
2571 fi
2572 done
2573 done
2574
2575 test -z "$ac_cv_prog_ac_ct_CXX" && ac_cv_prog_ac_ct_CXX="g++"
2576 fi
2577 fi
2578 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2579 if test -n "$ac_ct_CXX"; then
2580 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2581 echo "${ECHO_T}$ac_ct_CXX" >&6
2582 else
2583 echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6
2585 fi
2586
2587 CXX=$ac_ct_CXX
2588 else
2589 CXX="$ac_cv_prog_CXX"
2590 fi
2591
2592 if test -z "$CXX"; then
2593 if test -n "$ac_tool_prefix"; then
2594 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2595 set dummy ${ac_tool_prefix}g++; ac_word=$2
2596 echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 if test "${ac_cv_prog_CXX+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 else
2601 if test -n "$CXX"; then
2602 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2603 else
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 for as_dir in $PATH
2606 do
2607 IFS=$as_save_IFS
2608 test -z "$as_dir" && as_dir=.
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 break 2
2614 fi
2615 done
2616 done
2617
2618 fi
2619 fi
2620 CXX=$ac_cv_prog_CXX
2621 if test -n "$CXX"; then
2622 echo "$as_me:$LINENO: result: $CXX" >&5
2623 echo "${ECHO_T}$CXX" >&6
2624 else
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2627 fi
2628
2629 fi
2630 if test -z "$ac_cv_prog_CXX"; then
2631 ac_ct_CXX=$CXX
2632 # Extract the first word of "g++", so it can be a program name with args.
2633 set dummy g++; ac_word=$2
2634 echo "$as_me:$LINENO: checking for $ac_word" >&5
2635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2636 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 else
2639 if test -n "$ac_ct_CXX"; then
2640 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2641 else
2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2643 for as_dir in $PATH
2644 do
2645 IFS=$as_save_IFS
2646 test -z "$as_dir" && as_dir=.
2647 for ac_exec_ext in '' $ac_executable_extensions; do
2648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2649 ac_cv_prog_ac_ct_CXX="g++"
2650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 break 2
2652 fi
2653 done
2654 done
2655
2656 test -z "$ac_cv_prog_ac_ct_CXX" && ac_cv_prog_ac_ct_CXX="c++"
2657 fi
2658 fi
2659 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2660 if test -n "$ac_ct_CXX"; then
2661 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2662 echo "${ECHO_T}$ac_ct_CXX" >&6
2663 else
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2666 fi
2667
2668 CXX=$ac_ct_CXX
2669 else
2670 CXX="$ac_cv_prog_CXX"
2671 fi
2672
2673 : ${CXX:=g++}
2674 ac_ext=cc
2675 ac_cpp='$CXXCPP $CPPFLAGS'
2676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2679 if test -n "$ac_tool_prefix"; then
2680 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2681 do
2682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CXX+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 if test -n "$CXX"; then
2690 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2691 else
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH
2694 do
2695 IFS=$as_save_IFS
2696 test -z "$as_dir" && as_dir=.
2697 for ac_exec_ext in '' $ac_executable_extensions; do
2698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 break 2
2702 fi
2703 done
2704 done
2705
2706 fi
2707 fi
2708 CXX=$ac_cv_prog_CXX
2709 if test -n "$CXX"; then
2710 echo "$as_me:$LINENO: result: $CXX" >&5
2711 echo "${ECHO_T}$CXX" >&6
2712 else
2713 echo "$as_me:$LINENO: result: no" >&5
2714 echo "${ECHO_T}no" >&6
2715 fi
2716
2717 test -n "$CXX" && break
2718 done
2719 fi
2720 if test -z "$CXX"; then
2721 ac_ct_CXX=$CXX
2722 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2723 do
2724 # Extract the first word of "$ac_prog", so it can be a program name with args.
2725 set dummy $ac_prog; ac_word=$2
2726 echo "$as_me:$LINENO: checking for $ac_word" >&5
2727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2728 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 else
2731 if test -n "$ac_ct_CXX"; then
2732 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2733 else
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_prog_ac_ct_CXX="$ac_prog"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 break 2
2744 fi
2745 done
2746 done
2747
2748 fi
2749 fi
2750 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2751 if test -n "$ac_ct_CXX"; then
2752 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2753 echo "${ECHO_T}$ac_ct_CXX" >&6
2754 else
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2757 fi
2758
2759 test -n "$ac_ct_CXX" && break
2760 done
2761 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2762
2763 CXX=$ac_ct_CXX
2764 fi
2765
2766
2767 # Provide some information about the compiler.
2768 echo "$as_me:$LINENO:" \
2769 "checking for C++ compiler version" >&5
2770 ac_compiler=`set X $ac_compile; echo $2`
2771 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2772 (eval $ac_compiler --version </dev/null >&5) 2>&5
2773 ac_status=$?
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }
2776 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2777 (eval $ac_compiler -v </dev/null >&5) 2>&5
2778 ac_status=$?
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }
2781 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2782 (eval $ac_compiler -V </dev/null >&5) 2>&5
2783 ac_status=$?
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }
2786
2787 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2788 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2789 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2790 echo $ECHO_N "(cached) $ECHO_C" >&6
2791 else
2792 cat >conftest.$ac_ext <<_ACEOF
2793 /* confdefs.h. */
2794 _ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2798
2799 int
2800 main ()
2801 {
2802 #ifndef __GNUC__
2803 choke me
2804 #endif
2805
2806 ;
2807 return 0;
2808 }
2809 _ACEOF
2810 rm -f conftest.$ac_objext
2811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2812 (eval $ac_compile) 2>conftest.er1
2813 ac_status=$?
2814 grep -v '^ *+' conftest.er1 >conftest.err
2815 rm -f conftest.er1
2816 cat conftest.err >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } &&
2819 { ac_try='test -z "$ac_cxx_werror_flag"
2820 || test ! -s conftest.err'
2821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 (eval $ac_try) 2>&5
2823 ac_status=$?
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; } &&
2826 { ac_try='test -s conftest.$ac_objext'
2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2828 (eval $ac_try) 2>&5
2829 ac_status=$?
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); }; }; then
2832 ac_compiler_gnu=yes
2833 else
2834 echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2836
2837 ac_compiler_gnu=no
2838 fi
2839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2841
2842 fi
2843 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2844 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2845 GXX=`test $ac_compiler_gnu = yes && echo yes`
2846 ac_test_CXXFLAGS=${CXXFLAGS+set}
2847 ac_save_CXXFLAGS=$CXXFLAGS
2848 CXXFLAGS="-g"
2849 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2850 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2851 if test "${ac_cv_prog_cxx_g+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854 cat >conftest.$ac_ext <<_ACEOF
2855 /* confdefs.h. */
2856 _ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2860
2861 int
2862 main ()
2863 {
2864
2865 ;
2866 return 0;
2867 }
2868 _ACEOF
2869 rm -f conftest.$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2872 ac_status=$?
2873 grep -v '^ *+' conftest.er1 >conftest.err
2874 rm -f conftest.er1
2875 cat conftest.err >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try='test -z "$ac_cxx_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 (eval $ac_try) 2>&5
2882 ac_status=$?
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 (eval $ac_try) 2>&5
2888 ac_status=$?
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 ac_cv_prog_cxx_g=yes
2892 else
2893 echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2895
2896 ac_cv_prog_cxx_g=no
2897 fi
2898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2899 fi
2900 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2901 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2902 if test "$ac_test_CXXFLAGS" = set; then
2903 CXXFLAGS=$ac_save_CXXFLAGS
2904 elif test $ac_cv_prog_cxx_g = yes; then
2905 if test "$GXX" = yes; then
2906 CXXFLAGS="-g -O2"
2907 else
2908 CXXFLAGS="-g"
2909 fi
2910 else
2911 if test "$GXX" = yes; then
2912 CXXFLAGS="-O2"
2913 else
2914 CXXFLAGS=
2915 fi
2916 fi
2917 for ac_declaration in \
2918 '' \
2919 'extern "C" void std::exit (int) throw (); using std::exit;' \
2920 'extern "C" void std::exit (int); using std::exit;' \
2921 'extern "C" void exit (int) throw ();' \
2922 'extern "C" void exit (int);' \
2923 'void exit (int);'
2924 do
2925 cat >conftest.$ac_ext <<_ACEOF
2926 /* confdefs.h. */
2927 _ACEOF
2928 cat confdefs.h >>conftest.$ac_ext
2929 cat >>conftest.$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2931 $ac_declaration
2932 #include <stdlib.h>
2933 int
2934 main ()
2935 {
2936 exit (42);
2937 ;
2938 return 0;
2939 }
2940 _ACEOF
2941 rm -f conftest.$ac_objext
2942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2943 (eval $ac_compile) 2>conftest.er1
2944 ac_status=$?
2945 grep -v '^ *+' conftest.er1 >conftest.err
2946 rm -f conftest.er1
2947 cat conftest.err >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } &&
2950 { ac_try='test -z "$ac_cxx_werror_flag"
2951 || test ! -s conftest.err'
2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 (eval $ac_try) 2>&5
2954 ac_status=$?
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); }; } &&
2957 { ac_try='test -s conftest.$ac_objext'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; }; then
2963 :
2964 else
2965 echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2967
2968 continue
2969 fi
2970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2971 cat >conftest.$ac_ext <<_ACEOF
2972 /* confdefs.h. */
2973 _ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2977 $ac_declaration
2978 int
2979 main ()
2980 {
2981 exit (42);
2982 ;
2983 return 0;
2984 }
2985 _ACEOF
2986 rm -f conftest.$ac_objext
2987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2988 (eval $ac_compile) 2>conftest.er1
2989 ac_status=$?
2990 grep -v '^ *+' conftest.er1 >conftest.err
2991 rm -f conftest.er1
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -z "$ac_cxx_werror_flag"
2996 || test ! -s conftest.err'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 (eval $ac_try) 2>&5
2999 ac_status=$?
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; } &&
3002 { ac_try='test -s conftest.$ac_objext'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 (eval $ac_try) 2>&5
3005 ac_status=$?
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; }; then
3008 break
3009 else
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3012
3013 fi
3014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3015 done
3016 rm -f conftest*
3017 if test -n "$ac_declaration"; then
3018 echo '#ifdef __cplusplus' >>confdefs.h
3019 echo $ac_declaration >>confdefs.h
3020 echo '#endif' >>confdefs.h
3021 fi
3022
3023 ac_ext=c
3024 ac_cpp='$CPP $CPPFLAGS'
3025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028
3029 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
3030 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034 CXXFLAGS='$(CFLAGS)'
3035
3036
3037 ac_ext=c
3038 ac_cpp='$CPP $CPPFLAGS'
3039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3042
3043
3044 use_cygserver='yes'
3045 # Check whether --enable-server or --disable-server was given.
3046 if test "${enable_server+set}" = set; then
3047 enableval="$enable_server"
3048 case "${enableval}" in
3049 yes) ;;
3050 no) use_cygserver=;;
3051 esac
3052
3053 fi;
3054
3055 INSTALL_LICENSE=
3056
3057 case "$target" in
3058 *cygwin*)
3059 if ! test -d $srcdir/cygwin; then
3060 { { echo "$as_me:$LINENO: error: \"No cygwin dir. Can't build Cygwin. Exiting...\"" >&5
3061 echo "$as_me: error: \"No cygwin dir. Can't build Cygwin. Exiting...\"" >&2;}
3062 { (exit 1); exit 1; }; }
3063 fi
3064
3065
3066 subdirs="$subdirs cygwin"
3067
3068 INSTALL_LICENSE="install-license"
3069 ;;
3070 *mingw*)
3071 if ! test -d $srcdir/mingw; then
3072 { { echo "$as_me:$LINENO: error: \"No mingw dir. Can't build Mingw. Exiting...\"" >&5
3073 echo "$as_me: error: \"No mingw dir. Can't build Mingw. Exiting...\"" >&2;}
3074 { (exit 1); exit 1; }; }
3075 fi
3076 ;;
3077 esac
3078
3079 if test -d $srcdir/mingw; then
3080
3081
3082 subdirs="$subdirs mingw"
3083
3084 fi
3085
3086
3087 subdirs="$subdirs w32api"
3088
3089
3090 case "$with_cross_host" in
3091 ""|*cygwin*)
3092 # if test -d $srcdir/bz2lib; then
3093 # AC_CONFIG_SUBDIRS(bz2lib)
3094 # fi
3095 # if test -d $srcdir/zlib; then
3096 # AC_CONFIG_SUBDIRS(zlib)
3097 # fi
3098 if test -d $srcdir/lsaauth; then
3099
3100
3101 subdirs="$subdirs lsaauth"
3102
3103 fi
3104 if test -n "$use_cygserver" -a -d $srcdir/cygserver; then
3105
3106
3107 subdirs="$subdirs cygserver"
3108
3109 fi
3110
3111
3112 subdirs="$subdirs utils doc"
3113
3114 ;;
3115 esac
3116
3117
3118
3119 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3120 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3121 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3122 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3123 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 else
3125 cat >conftest.make <<\_ACEOF
3126 all:
3127 @echo 'ac_maketemp="$(MAKE)"'
3128 _ACEOF
3129 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3130 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3131 if test -n "$ac_maketemp"; then
3132 eval ac_cv_prog_make_${ac_make}_set=yes
3133 else
3134 eval ac_cv_prog_make_${ac_make}_set=no
3135 fi
3136 rm -f conftest.make
3137 fi
3138 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3139 echo "$as_me:$LINENO: result: yes" >&5
3140 echo "${ECHO_T}yes" >&6
3141 SET_MAKE=
3142 else
3143 echo "$as_me:$LINENO: result: no" >&5
3144 echo "${ECHO_T}no" >&6
3145 SET_MAKE="MAKE=${MAKE-make}"
3146 fi
3147
3148
3149 ac_config_files="$ac_config_files Makefile"
3150 cat >confcache <<\_ACEOF
3151 # This file is a shell script that caches the results of configure
3152 # tests run on this system so they can be shared between configure
3153 # scripts and configure runs, see configure's option --config-cache.
3154 # It is not useful on other systems. If it contains results you don't
3155 # want to keep, you may remove or edit it.
3156 #
3157 # config.status only pays attention to the cache file if you give it
3158 # the --recheck option to rerun configure.
3159 #
3160 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3161 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3162 # following values.
3163
3164 _ACEOF
3165
3166 # The following way of writing the cache mishandles newlines in values,
3167 # but we know of no workaround that is simple, portable, and efficient.
3168 # So, don't put newlines in cache variables' values.
3169 # Ultrix sh set writes to stderr and can't be redirected directly,
3170 # and sets the high bit in the cache file unless we assign to the vars.
3171 {
3172 (set) 2>&1 |
3173 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3174 *ac_space=\ *)
3175 # `set' does not quote correctly, so add quotes (double-quote
3176 # substitution turns \\\\ into \\, and sed turns \\ into \).
3177 sed -n \
3178 "s/'/'\\\\''/g;
3179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3180 ;;
3181 *)
3182 # `set' quotes correctly as required by POSIX, so do not add quotes.
3183 sed -n \
3184 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3185 ;;
3186 esac;
3187 } |
3188 sed '
3189 t clear
3190 : clear
3191 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3192 t end
3193 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3194 : end' >>confcache
3195 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3196 if test -w $cache_file; then
3197 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3198 cat confcache >$cache_file
3199 else
3200 echo "not updating unwritable cache $cache_file"
3201 fi
3202 fi
3203 rm -f confcache
3204
3205 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3206 # Let make expand exec_prefix.
3207 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3208
3209 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3210 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3211 # trailing colons and then remove the whole line if VPATH becomes empty
3212 # (actually we leave an empty line to preserve line numbers).
3213 if test "x$srcdir" = x.; then
3214 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3215 s/:*\$(srcdir):*/:/;
3216 s/:*\${srcdir}:*/:/;
3217 s/:*@srcdir@:*/:/;
3218 s/^\([^=]*=[ ]*\):*/\1/;
3219 s/:*$//;
3220 s/^[^=]*=[ ]*$//;
3221 }'
3222 fi
3223
3224 # Transform confdefs.h into DEFS.
3225 # Protect against shell expansion while executing Makefile rules.
3226 # Protect against Makefile macro expansion.
3227 #
3228 # If the first sed substitution is executed (which looks for macros that
3229 # take arguments), then we branch to the quote section. Otherwise,
3230 # look for a macro that doesn't take arguments.
3231 cat >confdef2opt.sed <<\_ACEOF
3232 t clear
3233 : clear
3234 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3235 t quote
3236 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3237 t quote
3238 d
3239 : quote
3240 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3241 s,\[,\\&,g
3242 s,\],\\&,g
3243 s,\$,$$,g
3244 p
3245 _ACEOF
3246 # We use echo to avoid assuming a particular line-breaking character.
3247 # The extra dot is to prevent the shell from consuming trailing
3248 # line-breaks from the sub-command output. A line-break within
3249 # single-quotes doesn't work because, if this script is created in a
3250 # platform that uses two characters for line-breaks (e.g., DOS), tr
3251 # would break.
3252 ac_LF_and_DOT=`echo; echo .`
3253 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3254 rm -f confdef2opt.sed
3255
3256
3257 ac_libobjs=
3258 ac_ltlibobjs=
3259 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3260 # 1. Remove the extension, and $U if already installed.
3261 ac_i=`echo "$ac_i" |
3262 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3263 # 2. Add them.
3264 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3265 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3266 done
3267 LIBOBJS=$ac_libobjs
3268
3269 LTLIBOBJS=$ac_ltlibobjs
3270
3271
3272
3273 : ${CONFIG_STATUS=./config.status}
3274 ac_clean_files_save=$ac_clean_files
3275 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3276 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3277 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3278 cat >$CONFIG_STATUS <<_ACEOF
3279 #! $SHELL
3280 # Generated by $as_me.
3281 # Run this file to recreate the current configuration.
3282 # Compiler output produced by configure, useful for debugging
3283 # configure, is in config.log if it exists.
3284
3285 debug=false
3286 ac_cs_recheck=false
3287 ac_cs_silent=false
3288 SHELL=\${CONFIG_SHELL-$SHELL}
3289 _ACEOF
3290
3291 cat >>$CONFIG_STATUS <<\_ACEOF
3292 ## --------------------- ##
3293 ## M4sh Initialization. ##
3294 ## --------------------- ##
3295
3296 # Be Bourne compatible
3297 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3298 emulate sh
3299 NULLCMD=:
3300 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3301 # is contrary to our usage. Disable this feature.
3302 alias -g '${1+"$@"}'='"$@"'
3303 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3304 set -o posix
3305 fi
3306 DUALCASE=1; export DUALCASE # for MKS sh
3307
3308 # Support unset when possible.
3309 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3310 as_unset=unset
3311 else
3312 as_unset=false
3313 fi
3314
3315
3316 # Work around bugs in pre-3.0 UWIN ksh.
3317 $as_unset ENV MAIL MAILPATH
3318 PS1='$ '
3319 PS2='> '
3320 PS4='+ '
3321
3322 # NLS nuisances.
3323 for as_var in \
3324 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3325 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3326 LC_TELEPHONE LC_TIME
3327 do
3328 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3329 eval $as_var=C; export $as_var
3330 else
3331 $as_unset $as_var
3332 fi
3333 done
3334
3335 # Required to use basename.
3336 if expr a : '\(a\)' >/dev/null 2>&1; then
3337 as_expr=expr
3338 else
3339 as_expr=false
3340 fi
3341
3342 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3343 as_basename=basename
3344 else
3345 as_basename=false
3346 fi
3347
3348
3349 # Name of the executable.
3350 as_me=`$as_basename "$0" ||
3351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3352 X"$0" : 'X\(//\)$' \| \
3353 X"$0" : 'X\(/\)$' \| \
3354 . : '\(.\)' 2>/dev/null ||
3355 echo X/"$0" |
3356 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3357 /^X\/\(\/\/\)$/{ s//\1/; q; }
3358 /^X\/\(\/\).*/{ s//\1/; q; }
3359 s/.*/./; q'`
3360
3361
3362 # PATH needs CR, and LINENO needs CR and PATH.
3363 # Avoid depending upon Character Ranges.
3364 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3365 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3366 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3367 as_cr_digits='0123456789'
3368 as_cr_alnum=$as_cr_Letters$as_cr_digits
3369
3370 # The user is always right.
3371 if test "${PATH_SEPARATOR+set}" != set; then
3372 echo "#! /bin/sh" >conf$$.sh
3373 echo "exit 0" >>conf$$.sh
3374 chmod +x conf$$.sh
3375 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3376 PATH_SEPARATOR=';'
3377 else
3378 PATH_SEPARATOR=:
3379 fi
3380 rm -f conf$$.sh
3381 fi
3382
3383
3384 as_lineno_1=$LINENO
3385 as_lineno_2=$LINENO
3386 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3387 test "x$as_lineno_1" != "x$as_lineno_2" &&
3388 test "x$as_lineno_3" = "x$as_lineno_2" || {
3389 # Find who we are. Look in the path if we contain no path at all
3390 # relative or not.
3391 case $0 in
3392 *[\\/]* ) as_myself=$0 ;;
3393 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3395 do
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3399 done
3400
3401 ;;
3402 esac
3403 # We did not find ourselves, most probably we were run as `sh COMMAND'
3404 # in which case we are not to be found in the path.
3405 if test "x$as_myself" = x; then
3406 as_myself=$0
3407 fi
3408 if test ! -f "$as_myself"; then
3409 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3410 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3411 { (exit 1); exit 1; }; }
3412 fi
3413 case $CONFIG_SHELL in
3414 '')
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3416 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3417 do
3418 IFS=$as_save_IFS
3419 test -z "$as_dir" && as_dir=.
3420 for as_base in sh bash ksh sh5; do
3421 case $as_dir in
3422 /*)
3423 if ("$as_dir/$as_base" -c '
3424 as_lineno_1=$LINENO
3425 as_lineno_2=$LINENO
3426 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3427 test "x$as_lineno_1" != "x$as_lineno_2" &&
3428 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3429 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3430 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3431 CONFIG_SHELL=$as_dir/$as_base
3432 export CONFIG_SHELL
3433 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3434 fi;;
3435 esac
3436 done
3437 done
3438 ;;
3439 esac
3440
3441 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3442 # uniformly replaced by the line number. The first 'sed' inserts a
3443 # line-number line before each line; the second 'sed' does the real
3444 # work. The second script uses 'N' to pair each line-number line
3445 # with the numbered line, and appends trailing '-' during
3446 # substitution so that $LINENO is not a special case at line end.
3447 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3448 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3449 sed '=' <$as_myself |
3450 sed '
3451 N
3452 s,$,-,
3453 : loop
3454 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3455 t loop
3456 s,-$,,
3457 s,^['$as_cr_digits']*\n,,
3458 ' >$as_me.lineno &&
3459 chmod +x $as_me.lineno ||
3460 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3461 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3462 { (exit 1); exit 1; }; }
3463
3464 # Don't try to exec as it changes $[0], causing all sort of problems
3465 # (the dirname of $[0] is not the place where we might find the
3466 # original and so on. Autoconf is especially sensible to this).
3467 . ./$as_me.lineno
3468 # Exit status is that of the last command.
3469 exit
3470 }
3471
3472
3473 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3474 *c*,-n*) ECHO_N= ECHO_C='
3475 ' ECHO_T=' ' ;;
3476 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3477 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3478 esac
3479
3480 if expr a : '\(a\)' >/dev/null 2>&1; then
3481 as_expr=expr
3482 else
3483 as_expr=false
3484 fi
3485
3486 rm -f conf$$ conf$$.exe conf$$.file
3487 echo >conf$$.file
3488 if ln -s conf$$.file conf$$ 2>/dev/null; then
3489 # We could just check for DJGPP; but this test a) works b) is more generic
3490 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3491 if test -f conf$$.exe; then
3492 # Don't use ln at all; we don't have any links
3493 as_ln_s='cp -p'
3494 else
3495 as_ln_s='ln -s'
3496 fi
3497 elif ln conf$$.file conf$$ 2>/dev/null; then
3498 as_ln_s=ln
3499 else
3500 as_ln_s='cp -p'
3501 fi
3502 rm -f conf$$ conf$$.exe conf$$.file
3503
3504 if mkdir -p . 2>/dev/null; then
3505 as_mkdir_p=:
3506 else
3507 test -d ./-p && rmdir ./-p
3508 as_mkdir_p=false
3509 fi
3510
3511 as_executable_p="test -f"
3512
3513 # Sed expression to map a string onto a valid CPP name.
3514 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3515
3516 # Sed expression to map a string onto a valid variable name.
3517 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3518
3519
3520 # IFS
3521 # We need space, tab and new line, in precisely that order.
3522 as_nl='
3523 '
3524 IFS=" $as_nl"
3525
3526 # CDPATH.
3527 $as_unset CDPATH
3528
3529 exec 6>&1
3530
3531 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3532 # report actual input values of CONFIG_FILES etc. instead of their
3533 # values after options handling. Logging --version etc. is OK.
3534 exec 5>>config.log
3535 {
3536 echo
3537 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3538 ## Running $as_me. ##
3539 _ASBOX
3540 } >&5
3541 cat >&5 <<_CSEOF
3542
3543 This file was extended by $as_me, which was
3544 generated by GNU Autoconf 2.59. Invocation command line was
3545
3546 CONFIG_FILES = $CONFIG_FILES
3547 CONFIG_HEADERS = $CONFIG_HEADERS
3548 CONFIG_LINKS = $CONFIG_LINKS
3549 CONFIG_COMMANDS = $CONFIG_COMMANDS
3550 $ $0 $@
3551
3552 _CSEOF
3553 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3554 echo >&5
3555 _ACEOF
3556
3557 # Files that config.status was made for.
3558 if test -n "$ac_config_files"; then
3559 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3560 fi
3561
3562 if test -n "$ac_config_headers"; then
3563 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3564 fi
3565
3566 if test -n "$ac_config_links"; then
3567 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3568 fi
3569
3570 if test -n "$ac_config_commands"; then
3571 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3572 fi
3573
3574 cat >>$CONFIG_STATUS <<\_ACEOF
3575
3576 ac_cs_usage="\
3577 \`$as_me' instantiates files from templates according to the
3578 current configuration.
3579
3580 Usage: $0 [OPTIONS] [FILE]...
3581
3582 -h, --help print this help, then exit
3583 -V, --version print version number, then exit
3584 -q, --quiet do not print progress messages
3585 -d, --debug don't remove temporary files
3586 --recheck update $as_me by reconfiguring in the same conditions
3587 --file=FILE[:TEMPLATE]
3588 instantiate the configuration file FILE
3589
3590 Configuration files:
3591 $config_files
3592
3593 Report bugs to <bug-autoconf@gnu.org>."
3594 _ACEOF
3595
3596 cat >>$CONFIG_STATUS <<_ACEOF
3597 ac_cs_version="\\
3598 config.status
3599 configured by $0, generated by GNU Autoconf 2.59,
3600 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3601
3602 Copyright (C) 2003 Free Software Foundation, Inc.
3603 This config.status script is free software; the Free Software Foundation
3604 gives unlimited permission to copy, distribute and modify it."
3605 srcdir=$srcdir
3606 INSTALL="$INSTALL"
3607 _ACEOF
3608
3609 cat >>$CONFIG_STATUS <<\_ACEOF
3610 # If no file are specified by the user, then we need to provide default
3611 # value. By we need to know if files were specified by the user.
3612 ac_need_defaults=:
3613 while test $# != 0
3614 do
3615 case $1 in
3616 --*=*)
3617 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3618 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3619 ac_shift=:
3620 ;;
3621 -*)
3622 ac_option=$1
3623 ac_optarg=$2
3624 ac_shift=shift
3625 ;;
3626 *) # This is not an option, so the user has probably given explicit
3627 # arguments.
3628 ac_option=$1
3629 ac_need_defaults=false;;
3630 esac
3631
3632 case $ac_option in
3633 # Handling of the options.
3634 _ACEOF
3635 cat >>$CONFIG_STATUS <<\_ACEOF
3636 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3637 ac_cs_recheck=: ;;
3638 --version | --vers* | -V )
3639 echo "$ac_cs_version"; exit 0 ;;
3640 --he | --h)
3641 # Conflict between --help and --header
3642 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3643 Try \`$0 --help' for more information." >&5
3644 echo "$as_me: error: ambiguous option: $1
3645 Try \`$0 --help' for more information." >&2;}
3646 { (exit 1); exit 1; }; };;
3647 --help | --hel | -h )
3648 echo "$ac_cs_usage"; exit 0 ;;
3649 --debug | --d* | -d )
3650 debug=: ;;
3651 --file | --fil | --fi | --f )
3652 $ac_shift
3653 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3654 ac_need_defaults=false;;
3655 --header | --heade | --head | --hea )
3656 $ac_shift
3657 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3658 ac_need_defaults=false;;
3659 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3660 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3661 ac_cs_silent=: ;;
3662
3663 # This is an error.
3664 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3665 Try \`$0 --help' for more information." >&5
3666 echo "$as_me: error: unrecognized option: $1
3667 Try \`$0 --help' for more information." >&2;}
3668 { (exit 1); exit 1; }; } ;;
3669
3670 *) ac_config_targets="$ac_config_targets $1" ;;
3671
3672 esac
3673 shift
3674 done
3675
3676 ac_configure_extra_args=
3677
3678 if $ac_cs_silent; then
3679 exec 6>/dev/null
3680 ac_configure_extra_args="$ac_configure_extra_args --silent"
3681 fi
3682
3683 _ACEOF
3684 cat >>$CONFIG_STATUS <<_ACEOF
3685 if \$ac_cs_recheck; then
3686 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3687 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3688 fi
3689
3690 _ACEOF
3691
3692
3693
3694
3695
3696 cat >>$CONFIG_STATUS <<\_ACEOF
3697 for ac_config_target in $ac_config_targets
3698 do
3699 case "$ac_config_target" in
3700 # Handling of arguments.
3701 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3702 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3703 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3704 { (exit 1); exit 1; }; };;
3705 esac
3706 done
3707
3708 # If the user did not use the arguments to specify the items to instantiate,
3709 # then the envvar interface is used. Set only those that are not.
3710 # We use the long form for the default assignment because of an extremely
3711 # bizarre bug on SunOS 4.1.3.
3712 if $ac_need_defaults; then
3713 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3714 fi
3715
3716 # Have a temporary directory for convenience. Make it in the build tree
3717 # simply because there is no reason to put it here, and in addition,
3718 # creating and moving files from /tmp can sometimes cause problems.
3719 # Create a temporary directory, and hook for its removal unless debugging.
3720 $debug ||
3721 {
3722 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3723 trap '{ (exit 1); exit 1; }' 1 2 13 15
3724 }
3725
3726 # Create a (secure) tmp directory for tmp files.
3727
3728 {
3729 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3730 test -n "$tmp" && test -d "$tmp"
3731 } ||
3732 {
3733 tmp=./confstat$$-$RANDOM
3734 (umask 077 && mkdir $tmp)
3735 } ||
3736 {
3737 echo "$me: cannot create a temporary directory in ." >&2
3738 { (exit 1); exit 1; }
3739 }
3740
3741 _ACEOF
3742
3743 cat >>$CONFIG_STATUS <<_ACEOF
3744
3745 #
3746 # CONFIG_FILES section.
3747 #
3748
3749 # No need to generate the scripts if there are no CONFIG_FILES.
3750 # This happens for instance when ./config.status config.h
3751 if test -n "\$CONFIG_FILES"; then
3752 # Protect against being on the right side of a sed subst in config.status.
3753 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3754 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3755 s,@SHELL@,$SHELL,;t t
3756 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3757 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3758 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3759 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3760 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3761 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3762 s,@exec_prefix@,$exec_prefix,;t t
3763 s,@prefix@,$prefix,;t t
3764 s,@program_transform_name@,$program_transform_name,;t t
3765 s,@bindir@,$bindir,;t t
3766 s,@sbindir@,$sbindir,;t t
3767 s,@libexecdir@,$libexecdir,;t t
3768 s,@datadir@,$datadir,;t t
3769 s,@sysconfdir@,$sysconfdir,;t t
3770 s,@sharedstatedir@,$sharedstatedir,;t t
3771 s,@localstatedir@,$localstatedir,;t t
3772 s,@libdir@,$libdir,;t t
3773 s,@includedir@,$includedir,;t t
3774 s,@oldincludedir@,$oldincludedir,;t t
3775 s,@infodir@,$infodir,;t t
3776 s,@mandir@,$mandir,;t t
3777 s,@build_alias@,$build_alias,;t t
3778 s,@host_alias@,$host_alias,;t t
3779 s,@target_alias@,$target_alias,;t t
3780 s,@DEFS@,$DEFS,;t t
3781 s,@ECHO_C@,$ECHO_C,;t t
3782 s,@ECHO_N@,$ECHO_N,;t t
3783 s,@ECHO_T@,$ECHO_T,;t t
3784 s,@LIBS@,$LIBS,;t t
3785 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3786 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3787 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3788 s,@build@,$build,;t t
3789 s,@build_cpu@,$build_cpu,;t t
3790 s,@build_vendor@,$build_vendor,;t t
3791 s,@build_os@,$build_os,;t t
3792 s,@host@,$host,;t t
3793 s,@host_cpu@,$host_cpu,;t t
3794 s,@host_vendor@,$host_vendor,;t t
3795 s,@host_os@,$host_os,;t t
3796 s,@target@,$target,;t t
3797 s,@target_cpu@,$target_cpu,;t t
3798 s,@target_vendor@,$target_vendor,;t t
3799 s,@target_os@,$target_os,;t t
3800 s,@CC@,$CC,;t t
3801 s,@ac_ct_CC@,$ac_ct_CC,;t t
3802 s,@CFLAGS@,$CFLAGS,;t t
3803 s,@LDFLAGS@,$LDFLAGS,;t t
3804 s,@CPPFLAGS@,$CPPFLAGS,;t t
3805 s,@EXEEXT@,$EXEEXT,;t t
3806 s,@OBJEXT@,$OBJEXT,;t t
3807 s,@CXX@,$CXX,;t t
3808 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3809 s,@CXXFLAGS@,$CXXFLAGS,;t t
3810 s,@subdirs@,$subdirs,;t t
3811 s,@INSTALL_LICENSE@,$INSTALL_LICENSE,;t t
3812 s,@SET_MAKE@,$SET_MAKE,;t t
3813 s,@LIBOBJS@,$LIBOBJS,;t t
3814 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3815 CEOF
3816
3817 _ACEOF
3818
3819 cat >>$CONFIG_STATUS <<\_ACEOF
3820 # Split the substitutions into bite-sized pieces for seds with
3821 # small command number limits, like on Digital OSF/1 and HP-UX.
3822 ac_max_sed_lines=48
3823 ac_sed_frag=1 # Number of current file.
3824 ac_beg=1 # First line for current file.
3825 ac_end=$ac_max_sed_lines # Line after last line for current file.
3826 ac_more_lines=:
3827 ac_sed_cmds=
3828 while $ac_more_lines; do
3829 if test $ac_beg -gt 1; then
3830 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3831 else
3832 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3833 fi
3834 if test ! -s $tmp/subs.frag; then
3835 ac_more_lines=false
3836 else
3837 # The purpose of the label and of the branching condition is to
3838 # speed up the sed processing (if there are no `@' at all, there
3839 # is no need to browse any of the substitutions).
3840 # These are the two extra sed commands mentioned above.
3841 (echo ':t
3842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3843 if test -z "$ac_sed_cmds"; then
3844 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3845 else
3846 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3847 fi
3848 ac_sed_frag=`expr $ac_sed_frag + 1`
3849 ac_beg=$ac_end
3850 ac_end=`expr $ac_end + $ac_max_sed_lines`
3851 fi
3852 done
3853 if test -z "$ac_sed_cmds"; then
3854 ac_sed_cmds=cat
3855 fi
3856 fi # test -n "$CONFIG_FILES"
3857
3858 _ACEOF
3859 cat >>$CONFIG_STATUS <<\_ACEOF
3860 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3861 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3862 case $ac_file in
3863 - | *:- | *:-:* ) # input from stdin
3864 cat >$tmp/stdin
3865 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3866 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3867 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3868 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3869 * ) ac_file_in=$ac_file.in ;;
3870 esac
3871
3872 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3873 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3874 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3875 X"$ac_file" : 'X\(//\)[^/]' \| \
3876 X"$ac_file" : 'X\(//\)$' \| \
3877 X"$ac_file" : 'X\(/\)' \| \
3878 . : '\(.\)' 2>/dev/null ||
3879 echo X"$ac_file" |
3880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3881 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3882 /^X\(\/\/\)$/{ s//\1/; q; }
3883 /^X\(\/\).*/{ s//\1/; q; }
3884 s/.*/./; q'`
3885 { if $as_mkdir_p; then
3886 mkdir -p "$ac_dir"
3887 else
3888 as_dir="$ac_dir"
3889 as_dirs=
3890 while test ! -d "$as_dir"; do
3891 as_dirs="$as_dir $as_dirs"
3892 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3894 X"$as_dir" : 'X\(//\)[^/]' \| \
3895 X"$as_dir" : 'X\(//\)$' \| \
3896 X"$as_dir" : 'X\(/\)' \| \
3897 . : '\(.\)' 2>/dev/null ||
3898 echo X"$as_dir" |
3899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3900 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3901 /^X\(\/\/\)$/{ s//\1/; q; }
3902 /^X\(\/\).*/{ s//\1/; q; }
3903 s/.*/./; q'`
3904 done
3905 test ! -n "$as_dirs" || mkdir $as_dirs
3906 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3907 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3908 { (exit 1); exit 1; }; }; }
3909
3910 ac_builddir=.
3911
3912 if test "$ac_dir" != .; then
3913 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3914 # A "../" for each directory in $ac_dir_suffix.
3915 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3916 else
3917 ac_dir_suffix= ac_top_builddir=
3918 fi
3919
3920 case $srcdir in
3921 .) # No --srcdir option. We are building in place.
3922 ac_srcdir=.
3923 if test -z "$ac_top_builddir"; then
3924 ac_top_srcdir=.
3925 else
3926 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3927 fi ;;
3928 [\\/]* | ?:[\\/]* ) # Absolute path.
3929 ac_srcdir=$srcdir$ac_dir_suffix;
3930 ac_top_srcdir=$srcdir ;;
3931 *) # Relative path.
3932 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3933 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3934 esac
3935
3936 # Do not use `cd foo && pwd` to compute absolute paths, because
3937 # the directories may not exist.
3938 case `pwd` in
3939 .) ac_abs_builddir="$ac_dir";;
3940 *)
3941 case "$ac_dir" in
3942 .) ac_abs_builddir=`pwd`;;
3943 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3944 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3945 esac;;
3946 esac
3947 case $ac_abs_builddir in
3948 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3949 *)
3950 case ${ac_top_builddir}. in
3951 .) ac_abs_top_builddir=$ac_abs_builddir;;
3952 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3953 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3954 esac;;
3955 esac
3956 case $ac_abs_builddir in
3957 .) ac_abs_srcdir=$ac_srcdir;;
3958 *)
3959 case $ac_srcdir in
3960 .) ac_abs_srcdir=$ac_abs_builddir;;
3961 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3962 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3963 esac;;
3964 esac
3965 case $ac_abs_builddir in
3966 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3967 *)
3968 case $ac_top_srcdir in
3969 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3970 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3971 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3972 esac;;
3973 esac
3974
3975
3976 case $INSTALL in
3977 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3978 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3979 esac
3980
3981 if test x"$ac_file" != x-; then
3982 { echo "$as_me:$LINENO: creating $ac_file" >&5
3983 echo "$as_me: creating $ac_file" >&6;}
3984 rm -f "$ac_file"
3985 fi
3986 # Let's still pretend it is `configure' which instantiates (i.e., don't
3987 # use $as_me), people would be surprised to read:
3988 # /* config.h. Generated by config.status. */
3989 if test x"$ac_file" = x-; then
3990 configure_input=
3991 else
3992 configure_input="$ac_file. "
3993 fi
3994 configure_input=$configure_input"Generated from `echo $ac_file_in |
3995 sed 's,.*/,,'` by configure."
3996
3997 # First look for the input files in the build tree, otherwise in the
3998 # src tree.
3999 ac_file_inputs=`IFS=:
4000 for f in $ac_file_in; do
4001 case $f in
4002 -) echo $tmp/stdin ;;
4003 [\\/$]*)
4004 # Absolute (can't be DOS-style, as IFS=:)
4005 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4006 echo "$as_me: error: cannot find input file: $f" >&2;}
4007 { (exit 1); exit 1; }; }
4008 echo "$f";;
4009 *) # Relative
4010 if test -f "$f"; then
4011 # Build tree
4012 echo "$f"
4013 elif test -f "$srcdir/$f"; then
4014 # Source tree
4015 echo "$srcdir/$f"
4016 else
4017 # /dev/null tree
4018 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4019 echo "$as_me: error: cannot find input file: $f" >&2;}
4020 { (exit 1); exit 1; }; }
4021 fi;;
4022 esac
4023 done` || { (exit 1); exit 1; }
4024 _ACEOF
4025 cat >>$CONFIG_STATUS <<_ACEOF
4026 sed "$ac_vpsub
4027 $extrasub
4028 _ACEOF
4029 cat >>$CONFIG_STATUS <<\_ACEOF
4030 :t
4031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4032 s,@configure_input@,$configure_input,;t t
4033 s,@srcdir@,$ac_srcdir,;t t
4034 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4035 s,@top_srcdir@,$ac_top_srcdir,;t t
4036 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4037 s,@builddir@,$ac_builddir,;t t
4038 s,@abs_builddir@,$ac_abs_builddir,;t t
4039 s,@top_builddir@,$ac_top_builddir,;t t
4040 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4041 s,@INSTALL@,$ac_INSTALL,;t t
4042 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4043 rm -f $tmp/stdin
4044 if test x"$ac_file" != x-; then
4045 mv $tmp/out $ac_file
4046 else
4047 cat $tmp/out
4048 rm -f $tmp/out
4049 fi
4050
4051 done
4052 _ACEOF
4053
4054 cat >>$CONFIG_STATUS <<\_ACEOF
4055
4056 { (exit 0); exit 0; }
4057 _ACEOF
4058 chmod +x $CONFIG_STATUS
4059 ac_clean_files=$ac_clean_files_save
4060
4061
4062 # configure is writing to config.log, and then calls config.status.
4063 # config.status does its own redirection, appending to config.log.
4064 # Unfortunately, on DOS this fails, as config.log is still kept open
4065 # by configure, so config.status won't be able to write to it; its
4066 # output is simply discarded. So we exec the FD to /dev/null,
4067 # effectively closing config.log, so it can be properly (re)opened and
4068 # appended to by config.status. When coming back to configure, we
4069 # need to make the FD available again.
4070 if test "$no_create" != yes; then
4071 ac_cs_success=:
4072 ac_config_status_args=
4073 test "$silent" = yes &&
4074 ac_config_status_args="$ac_config_status_args --quiet"
4075 exec 5>/dev/null
4076 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4077 exec 5>>config.log
4078 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4079 # would make configure fail if this is the last instruction.
4080 $ac_cs_success || { (exit 1); exit 1; }
4081 fi
4082
4083 #
4084 # CONFIG_SUBDIRS section.
4085 #
4086 if test "$no_recursion" != yes; then
4087
4088 # Remove --cache-file and --srcdir arguments so they do not pile up.
4089 ac_sub_configure_args=
4090 ac_prev=
4091 for ac_arg in $ac_configure_args; do
4092 if test -n "$ac_prev"; then
4093 ac_prev=
4094 continue
4095 fi
4096 case $ac_arg in
4097 -cache-file | --cache-file | --cache-fil | --cache-fi \
4098 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4099 ac_prev=cache_file ;;
4100 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4101 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4102 | --c=*)
4103 ;;
4104 --config-cache | -C)
4105 ;;
4106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4107 ac_prev=srcdir ;;
4108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4109 ;;
4110 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4111 ac_prev=prefix ;;
4112 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4113 ;;
4114 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4115 esac
4116 done
4117
4118 # Always prepend --prefix to ensure using the same prefix
4119 # in subdir configurations.
4120 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4121
4122 ac_popdir=`pwd`
4123 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4124
4125 # Do not complain, so a configure script can configure whichever
4126 # parts of a large source tree are present.
4127 test -d $srcdir/$ac_dir || continue
4128
4129 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4130 echo "$as_me: configuring in $ac_dir" >&6;}
4131 { if $as_mkdir_p; then
4132 mkdir -p "$ac_dir"
4133 else
4134 as_dir="$ac_dir"
4135 as_dirs=
4136 while test ! -d "$as_dir"; do
4137 as_dirs="$as_dir $as_dirs"
4138 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4140 X"$as_dir" : 'X\(//\)[^/]' \| \
4141 X"$as_dir" : 'X\(//\)$' \| \
4142 X"$as_dir" : 'X\(/\)' \| \
4143 . : '\(.\)' 2>/dev/null ||
4144 echo X"$as_dir" |
4145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4147 /^X\(\/\/\)$/{ s//\1/; q; }
4148 /^X\(\/\).*/{ s//\1/; q; }
4149 s/.*/./; q'`
4150 done
4151 test ! -n "$as_dirs" || mkdir $as_dirs
4152 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4153 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4154 { (exit 1); exit 1; }; }; }
4155
4156 ac_builddir=.
4157
4158 if test "$ac_dir" != .; then
4159 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4160 # A "../" for each directory in $ac_dir_suffix.
4161 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4162 else
4163 ac_dir_suffix= ac_top_builddir=
4164 fi
4165
4166 case $srcdir in
4167 .) # No --srcdir option. We are building in place.
4168 ac_srcdir=.
4169 if test -z "$ac_top_builddir"; then
4170 ac_top_srcdir=.
4171 else
4172 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4173 fi ;;
4174 [\\/]* | ?:[\\/]* ) # Absolute path.
4175 ac_srcdir=$srcdir$ac_dir_suffix;
4176 ac_top_srcdir=$srcdir ;;
4177 *) # Relative path.
4178 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4179 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4180 esac
4181
4182 # Do not use `cd foo && pwd` to compute absolute paths, because
4183 # the directories may not exist.
4184 case `pwd` in
4185 .) ac_abs_builddir="$ac_dir";;
4186 *)
4187 case "$ac_dir" in
4188 .) ac_abs_builddir=`pwd`;;
4189 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4190 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4191 esac;;
4192 esac
4193 case $ac_abs_builddir in
4194 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4195 *)
4196 case ${ac_top_builddir}. in
4197 .) ac_abs_top_builddir=$ac_abs_builddir;;
4198 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4199 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4200 esac;;
4201 esac
4202 case $ac_abs_builddir in
4203 .) ac_abs_srcdir=$ac_srcdir;;
4204 *)
4205 case $ac_srcdir in
4206 .) ac_abs_srcdir=$ac_abs_builddir;;
4207 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4208 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4209 esac;;
4210 esac
4211 case $ac_abs_builddir in
4212 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4213 *)
4214 case $ac_top_srcdir in
4215 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4216 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4217 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4218 esac;;
4219 esac
4220
4221
4222 cd $ac_dir
4223
4224 # Check for guested configure; otherwise get Cygnus style configure.
4225 if test -f $ac_srcdir/configure.gnu; then
4226 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4227 elif test -f $ac_srcdir/configure; then
4228 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4229 elif test -f $ac_srcdir/configure.in; then
4230 ac_sub_configure=$ac_configure
4231 else
4232 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4233 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4234 ac_sub_configure=
4235 fi
4236
4237 # The recursion is here.
4238 if test -n "$ac_sub_configure"; then
4239 # Make the cache file name correct relative to the subdirectory.
4240 case $cache_file in
4241 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4242 *) # Relative path.
4243 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4244 esac
4245
4246 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4247 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4248 # The eval makes quoting arguments work.
4249 eval $ac_sub_configure $ac_sub_configure_args \
4250 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4251 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4252 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi
4255
4256 cd $ac_popdir
4257 done
4258 fi
4259
This page took 0.285078 seconds and 6 git commands to generate.