Debian Codegraph @

configure

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