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