Debian Codegraph @

configure

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