OSDN Git Service

* config.h.in: Regenerated.
[pf3gnuchains/gcc-fork.git] / libbanshee / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libbanshee 0.9.
4 #
5 # Report bugs to <dberlin@dberlin.org>.
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 ## M4sh Initialization.  ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22   set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28   as_unset=unset
29 else
30   as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44   LC_TELEPHONE LC_TIME
45 do
46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47     eval $as_var=C; export $as_var
48   else
49     $as_unset $as_var
50   fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55   as_expr=expr
56 else
57   as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61   as_basename=basename
62 else
63   as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70          X"$0" : 'X\(//\)$' \| \
71          X"$0" : 'X\(/\)$' \| \
72          .     : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75           /^X\/\(\/\/\)$/{ s//\1/; q; }
76           /^X\/\(\/\).*/{ s//\1/; q; }
77           s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90   echo "#! /bin/sh" >conf$$.sh
91   echo  "exit 0"   >>conf$$.sh
92   chmod +x conf$$.sh
93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94     PATH_SEPARATOR=';'
95   else
96     PATH_SEPARATOR=:
97   fi
98   rm -f conf$$.sh
99 fi
100
101
102   as_lineno_1=$LINENO
103   as_lineno_2=$LINENO
104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105   test "x$as_lineno_1" != "x$as_lineno_2" &&
106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107   # Find who we are.  Look in the path if we contain no path at all
108   # relative or not.
109   case $0 in
110     *[\\/]* ) as_myself=$0 ;;
111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114   IFS=$as_save_IFS
115   test -z "$as_dir" && as_dir=.
116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119        ;;
120   esac
121   # We did not find ourselves, most probably we were run as `sh COMMAND'
122   # in which case we are not to be found in the path.
123   if test "x$as_myself" = x; then
124     as_myself=$0
125   fi
126   if test ! -f "$as_myself"; then
127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128    { (exit 1); exit 1; }; }
129   fi
130   case $CONFIG_SHELL in
131   '')
132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135   IFS=$as_save_IFS
136   test -z "$as_dir" && as_dir=.
137   for as_base in sh bash ksh sh5; do
138          case $as_dir in
139          /*)
140            if ("$as_dir/$as_base" -c '
141   as_lineno_1=$LINENO
142   as_lineno_2=$LINENO
143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144   test "x$as_lineno_1" != "x$as_lineno_2" &&
145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148              CONFIG_SHELL=$as_dir/$as_base
149              export CONFIG_SHELL
150              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151            fi;;
152          esac
153        done
154 done
155 ;;
156   esac
157
158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159   # uniformly replaced by the line number.  The first 'sed' inserts a
160   # line-number line before each line; the second 'sed' does the real
161   # work.  The second script uses 'N' to pair each line-number line
162   # with the numbered line, and appends trailing '-' during
163   # substitution so that $LINENO is not a special case at line end.
164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166   sed '=' <$as_myself |
167     sed '
168       N
169       s,$,-,
170       : loop
171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172       t loop
173       s,-$,,
174       s,^['$as_cr_digits']*\n,,
175     ' >$as_me.lineno &&
176   chmod +x $as_me.lineno ||
177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178    { (exit 1); exit 1; }; }
179
180   # Don't try to exec as it changes $[0], causing all sort of problems
181   # (the dirname of $[0] is not the place where we might find the
182   # original and so on.  Autoconf is especially sensible to this).
183   . ./$as_me.lineno
184   # Exit status is that of the last command.
185   exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190   *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T='      ' ;;
192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197   as_expr=expr
198 else
199   as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205   # We could just check for DJGPP; but this test a) works b) is more generic
206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207   if test -f conf$$.exe; then
208     # Don't use ln at all; we don't have any links
209     as_ln_s='cp -p'
210   else
211     as_ln_s='ln -s'
212   fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214   as_ln_s=ln
215 else
216   as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221   as_mkdir_p=:
222 else
223   test -d ./-p && rmdir ./-p
224   as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS="   $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete.  It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='libbanshee'
271 PACKAGE_TARNAME='libbanshee'
272 PACKAGE_VERSION='0.9'
273 PACKAGE_STRING='libbanshee 0.9'
274 PACKAGE_BUGREPORT='dberlin@dberlin.org'
275
276 ac_unique_file="engine/flowrow-sort.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 #  include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 #  include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 #  include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 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 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 RANLIB ac_ct_RANLIB ac_libbanshee_warn_cflags MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP EGREP LIBOBJS LTLIBOBJS'
315 ac_subst_files=''
316
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
336
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
354
355 ac_prev=
356 for ac_option
357 do
358   # If the previous option needs an argument, assign it.
359   if test -n "$ac_prev"; then
360     eval "$ac_prev=\$ac_option"
361     ac_prev=
362     continue
363   fi
364
365   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367   # Accept the important Cygnus configure options, so we can diagnose typos.
368
369   case $ac_option in
370
371   -bindir | --bindir | --bindi | --bind | --bin | --bi)
372     ac_prev=bindir ;;
373   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374     bindir=$ac_optarg ;;
375
376   -build | --build | --buil | --bui | --bu)
377     ac_prev=build_alias ;;
378   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379     build_alias=$ac_optarg ;;
380
381   -cache-file | --cache-file | --cache-fil | --cache-fi \
382   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383     ac_prev=cache_file ;;
384   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386     cache_file=$ac_optarg ;;
387
388   --config-cache | -C)
389     cache_file=config.cache ;;
390
391   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392     ac_prev=datadir ;;
393   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394   | --da=*)
395     datadir=$ac_optarg ;;
396
397   -disable-* | --disable-*)
398     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399     # Reject names that are not valid shell variable names.
400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402    { (exit 1); exit 1; }; }
403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404     eval "enable_$ac_feature=no" ;;
405
406   -enable-* | --enable-*)
407     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408     # Reject names that are not valid shell variable names.
409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411    { (exit 1); exit 1; }; }
412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413     case $ac_option in
414       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415       *) ac_optarg=yes ;;
416     esac
417     eval "enable_$ac_feature='$ac_optarg'" ;;
418
419   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421   | --exec | --exe | --ex)
422     ac_prev=exec_prefix ;;
423   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425   | --exec=* | --exe=* | --ex=*)
426     exec_prefix=$ac_optarg ;;
427
428   -gas | --gas | --ga | --g)
429     # Obsolete; use --with-gas.
430     with_gas=yes ;;
431
432   -help | --help | --hel | --he | -h)
433     ac_init_help=long ;;
434   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435     ac_init_help=recursive ;;
436   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437     ac_init_help=short ;;
438
439   -host | --host | --hos | --ho)
440     ac_prev=host_alias ;;
441   -host=* | --host=* | --hos=* | --ho=*)
442     host_alias=$ac_optarg ;;
443
444   -includedir | --includedir | --includedi | --included | --include \
445   | --includ | --inclu | --incl | --inc)
446     ac_prev=includedir ;;
447   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448   | --includ=* | --inclu=* | --incl=* | --inc=*)
449     includedir=$ac_optarg ;;
450
451   -infodir | --infodir | --infodi | --infod | --info | --inf)
452     ac_prev=infodir ;;
453   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454     infodir=$ac_optarg ;;
455
456   -libdir | --libdir | --libdi | --libd)
457     ac_prev=libdir ;;
458   -libdir=* | --libdir=* | --libdi=* | --libd=*)
459     libdir=$ac_optarg ;;
460
461   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462   | --libexe | --libex | --libe)
463     ac_prev=libexecdir ;;
464   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465   | --libexe=* | --libex=* | --libe=*)
466     libexecdir=$ac_optarg ;;
467
468   -localstatedir | --localstatedir | --localstatedi | --localstated \
469   | --localstate | --localstat | --localsta | --localst \
470   | --locals | --local | --loca | --loc | --lo)
471     ac_prev=localstatedir ;;
472   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475     localstatedir=$ac_optarg ;;
476
477   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478     ac_prev=mandir ;;
479   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480     mandir=$ac_optarg ;;
481
482   -nfp | --nfp | --nf)
483     # Obsolete; use --without-fp.
484     with_fp=no ;;
485
486   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487   | --no-cr | --no-c | -n)
488     no_create=yes ;;
489
490   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492     no_recursion=yes ;;
493
494   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496   | --oldin | --oldi | --old | --ol | --o)
497     ac_prev=oldincludedir ;;
498   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501     oldincludedir=$ac_optarg ;;
502
503   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504     ac_prev=prefix ;;
505   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506     prefix=$ac_optarg ;;
507
508   -program-prefix | --program-prefix | --program-prefi | --program-pref \
509   | --program-pre | --program-pr | --program-p)
510     ac_prev=program_prefix ;;
511   -program-prefix=* | --program-prefix=* | --program-prefi=* \
512   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513     program_prefix=$ac_optarg ;;
514
515   -program-suffix | --program-suffix | --program-suffi | --program-suff \
516   | --program-suf | --program-su | --program-s)
517     ac_prev=program_suffix ;;
518   -program-suffix=* | --program-suffix=* | --program-suffi=* \
519   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520     program_suffix=$ac_optarg ;;
521
522   -program-transform-name | --program-transform-name \
523   | --program-transform-nam | --program-transform-na \
524   | --program-transform-n | --program-transform- \
525   | --program-transform | --program-transfor \
526   | --program-transfo | --program-transf \
527   | --program-trans | --program-tran \
528   | --progr-tra | --program-tr | --program-t)
529     ac_prev=program_transform_name ;;
530   -program-transform-name=* | --program-transform-name=* \
531   | --program-transform-nam=* | --program-transform-na=* \
532   | --program-transform-n=* | --program-transform-=* \
533   | --program-transform=* | --program-transfor=* \
534   | --program-transfo=* | --program-transf=* \
535   | --program-trans=* | --program-tran=* \
536   | --progr-tra=* | --program-tr=* | --program-t=*)
537     program_transform_name=$ac_optarg ;;
538
539   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540   | -silent | --silent | --silen | --sile | --sil)
541     silent=yes ;;
542
543   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544     ac_prev=sbindir ;;
545   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546   | --sbi=* | --sb=*)
547     sbindir=$ac_optarg ;;
548
549   -sharedstatedir | --sharedstatedir | --sharedstatedi \
550   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551   | --sharedst | --shareds | --shared | --share | --shar \
552   | --sha | --sh)
553     ac_prev=sharedstatedir ;;
554   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557   | --sha=* | --sh=*)
558     sharedstatedir=$ac_optarg ;;
559
560   -site | --site | --sit)
561     ac_prev=site ;;
562   -site=* | --site=* | --sit=*)
563     site=$ac_optarg ;;
564
565   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566     ac_prev=srcdir ;;
567   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568     srcdir=$ac_optarg ;;
569
570   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571   | --syscon | --sysco | --sysc | --sys | --sy)
572     ac_prev=sysconfdir ;;
573   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575     sysconfdir=$ac_optarg ;;
576
577   -target | --target | --targe | --targ | --tar | --ta | --t)
578     ac_prev=target_alias ;;
579   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580     target_alias=$ac_optarg ;;
581
582   -v | -verbose | --verbose | --verbos | --verbo | --verb)
583     verbose=yes ;;
584
585   -version | --version | --versio | --versi | --vers | -V)
586     ac_init_version=: ;;
587
588   -with-* | --with-*)
589     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590     # Reject names that are not valid shell variable names.
591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592       { echo "$as_me: error: invalid package name: $ac_package" >&2
593    { (exit 1); exit 1; }; }
594     ac_package=`echo $ac_package| sed 's/-/_/g'`
595     case $ac_option in
596       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597       *) ac_optarg=yes ;;
598     esac
599     eval "with_$ac_package='$ac_optarg'" ;;
600
601   -without-* | --without-*)
602     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603     # Reject names that are not valid shell variable names.
604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605       { echo "$as_me: error: invalid package name: $ac_package" >&2
606    { (exit 1); exit 1; }; }
607     ac_package=`echo $ac_package | sed 's/-/_/g'`
608     eval "with_$ac_package=no" ;;
609
610   --x)
611     # Obsolete; use --with-x.
612     with_x=yes ;;
613
614   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615   | --x-incl | --x-inc | --x-in | --x-i)
616     ac_prev=x_includes ;;
617   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619     x_includes=$ac_optarg ;;
620
621   -x-libraries | --x-libraries | --x-librarie | --x-librari \
622   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623     ac_prev=x_libraries ;;
624   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626     x_libraries=$ac_optarg ;;
627
628   -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630    { (exit 1); exit 1; }; }
631     ;;
632
633   *=*)
634     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635     # Reject names that are not valid shell variable names.
636     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638    { (exit 1); exit 1; }; }
639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640     eval "$ac_envvar='$ac_optarg'"
641     export $ac_envvar ;;
642
643   *)
644     # FIXME: should be removed in autoconf 3.0.
645     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649     ;;
650
651   esac
652 done
653
654 if test -n "$ac_prev"; then
655   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656   { echo "$as_me: error: missing argument to $ac_option" >&2
657    { (exit 1); exit 1; }; }
658 fi
659
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
662 do
663   eval ac_val=$`echo $ac_var`
664   case $ac_val in
665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667    { (exit 1); exit 1; }; };;
668   esac
669 done
670
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673               localstatedir libdir includedir oldincludedir infodir mandir
674 do
675   eval ac_val=$`echo $ac_var`
676   case $ac_val in
677     [\\/$]* | ?:[\\/]* ) ;;
678     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679    { (exit 1); exit 1; }; };;
680   esac
681 done
682
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
689
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692   if test "x$build_alias" = x; then
693     cross_compiling=maybe
694     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695     If a cross compiler is detected then cross compile mode will be used." >&2
696   elif test "x$build_alias" != "x$host_alias"; then
697     cross_compiling=yes
698   fi
699 fi
700
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704 test "$silent" = yes && exec 6>/dev/null
705
706
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709   ac_srcdir_defaulted=yes
710   # Try the directory containing this script, then its parent.
711   ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713          X"$0" : 'X\(//\)[^/]' \| \
714          X"$0" : 'X\(//\)$' \| \
715          X"$0" : 'X\(/\)' \| \
716          .     : '\(.\)' 2>/dev/null ||
717 echo X"$0" |
718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720           /^X\(\/\/\)$/{ s//\1/; q; }
721           /^X\(\/\).*/{ s//\1/; q; }
722           s/.*/./; q'`
723   srcdir=$ac_confdir
724   if test ! -r $srcdir/$ac_unique_file; then
725     srcdir=..
726   fi
727 else
728   ac_srcdir_defaulted=no
729 fi
730 if test ! -r $srcdir/$ac_unique_file; then
731   if test "$ac_srcdir_defaulted" = yes; then
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733    { (exit 1); exit 1; }; }
734   else
735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736    { (exit 1); exit 1; }; }
737   fi
738 fi
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741    { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
775
776 #
777 # Report the --help message.
778 #
779 if test "$ac_init_help" = "long"; then
780   # Omit some internal or obsolete options to make the list less imposing.
781   # This message is too long to be a string in the A/UX 3.1 sh.
782   cat <<_ACEOF
783 \`configure' configures libbanshee 0.9 to adapt to many kinds of systems.
784
785 Usage: $0 [OPTION]... [VAR=VALUE]...
786
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE.  See below for descriptions of some of the useful variables.
789
790 Defaults for the options are specified in brackets.
791
792 Configuration:
793   -h, --help              display this help and exit
794       --help=short        display options specific to this package
795       --help=recursive    display the short help of all the included packages
796   -V, --version           display version information and exit
797   -q, --quiet, --silent   do not print \`checking...' messages
798       --cache-file=FILE   cache test results in FILE [disabled]
799   -C, --config-cache      alias for \`--cache-file=config.cache'
800   -n, --no-create         do not create output files
801       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
802
803 _ACEOF
804
805   cat <<_ACEOF
806 Installation directories:
807   --prefix=PREFIX         install architecture-independent files in PREFIX
808                           [$ac_default_prefix]
809   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
810                           [PREFIX]
811
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
816
817 For better control, use the options below.
818
819 Fine tuning of the installation directories:
820   --bindir=DIR           user executables [EPREFIX/bin]
821   --sbindir=DIR          system admin executables [EPREFIX/sbin]
822   --libexecdir=DIR       program executables [EPREFIX/libexec]
823   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
824   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
825   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
826   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
827   --libdir=DIR           object code libraries [EPREFIX/lib]
828   --includedir=DIR       C header files [PREFIX/include]
829   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
830   --infodir=DIR          info documentation [PREFIX/info]
831   --mandir=DIR           man documentation [PREFIX/man]
832 _ACEOF
833
834   cat <<\_ACEOF
835
836 Program names:
837   --program-prefix=PREFIX            prepend PREFIX to installed program names
838   --program-suffix=SUFFIX            append SUFFIX to installed program names
839   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
840 _ACEOF
841 fi
842
843 if test -n "$ac_init_help"; then
844   case $ac_init_help in
845      short | recursive ) echo "Configuration of libbanshee 0.9:";;
846    esac
847   cat <<\_ACEOF
848
849 Optional Features:
850   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
851   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
852   --disable-dependency-tracking Speeds up one-time builds
853   --enable-dependency-tracking  Do not reject slow dependency extractors
854   --enable-maintainer-mode enable make rules and dependencies not useful
855                           (and sometimes confusing) to the casual installer
856
857 Some influential environment variables:
858   CC          C compiler command
859   CFLAGS      C compiler flags
860   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
861               nonstandard directory <lib dir>
862   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
863               headers in a nonstandard directory <include dir>
864   CPP         C preprocessor
865
866 Use these variables to override the choices made by `configure' or to help
867 it to find libraries and programs with nonstandard names/locations.
868
869 Report bugs to <dberlin@dberlin.org>.
870 _ACEOF
871 fi
872
873 if test "$ac_init_help" = "recursive"; then
874   # If there are subdirs, report their specific --help.
875   ac_popdir=`pwd`
876   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
877     test -d $ac_dir || continue
878     ac_builddir=.
879
880 if test "$ac_dir" != .; then
881   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
882   # A "../" for each directory in $ac_dir_suffix.
883   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
884 else
885   ac_dir_suffix= ac_top_builddir=
886 fi
887
888 case $srcdir in
889   .)  # No --srcdir option.  We are building in place.
890     ac_srcdir=.
891     if test -z "$ac_top_builddir"; then
892        ac_top_srcdir=.
893     else
894        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
895     fi ;;
896   [\\/]* | ?:[\\/]* )  # Absolute path.
897     ac_srcdir=$srcdir$ac_dir_suffix;
898     ac_top_srcdir=$srcdir ;;
899   *) # Relative path.
900     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
901     ac_top_srcdir=$ac_top_builddir$srcdir ;;
902 esac
903
904 # Do not use `cd foo && pwd` to compute absolute paths, because
905 # the directories may not exist.
906 case `pwd` in
907 .) ac_abs_builddir="$ac_dir";;
908 *)
909   case "$ac_dir" in
910   .) ac_abs_builddir=`pwd`;;
911   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
912   *) ac_abs_builddir=`pwd`/"$ac_dir";;
913   esac;;
914 esac
915 case $ac_abs_builddir in
916 .) ac_abs_top_builddir=${ac_top_builddir}.;;
917 *)
918   case ${ac_top_builddir}. in
919   .) ac_abs_top_builddir=$ac_abs_builddir;;
920   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
921   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
922   esac;;
923 esac
924 case $ac_abs_builddir in
925 .) ac_abs_srcdir=$ac_srcdir;;
926 *)
927   case $ac_srcdir in
928   .) ac_abs_srcdir=$ac_abs_builddir;;
929   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
930   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
931   esac;;
932 esac
933 case $ac_abs_builddir in
934 .) ac_abs_top_srcdir=$ac_top_srcdir;;
935 *)
936   case $ac_top_srcdir in
937   .) ac_abs_top_srcdir=$ac_abs_builddir;;
938   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
939   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
940   esac;;
941 esac
942
943     cd $ac_dir
944     # Check for guested configure; otherwise get Cygnus style configure.
945     if test -f $ac_srcdir/configure.gnu; then
946       echo
947       $SHELL $ac_srcdir/configure.gnu  --help=recursive
948     elif test -f $ac_srcdir/configure; then
949       echo
950       $SHELL $ac_srcdir/configure  --help=recursive
951     elif test -f $ac_srcdir/configure.ac ||
952            test -f $ac_srcdir/configure.in; then
953       echo
954       $ac_configure --help
955     else
956       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
957     fi
958     cd $ac_popdir
959   done
960 fi
961
962 test -n "$ac_init_help" && exit 0
963 if $ac_init_version; then
964   cat <<\_ACEOF
965 libbanshee configure 0.9
966 generated by GNU Autoconf 2.59
967
968 Copyright (C) 2003 Free Software Foundation, Inc.
969 This configure script is free software; the Free Software Foundation
970 gives unlimited permission to copy, distribute and modify it.
971 _ACEOF
972   exit 0
973 fi
974 exec 5>config.log
975 cat >&5 <<_ACEOF
976 This file contains any messages produced by compilers while
977 running configure, to aid debugging if configure makes a mistake.
978
979 It was created by libbanshee $as_me 0.9, which was
980 generated by GNU Autoconf 2.59.  Invocation command line was
981
982   $ $0 $@
983
984 _ACEOF
985 {
986 cat <<_ASUNAME
987 ## --------- ##
988 ## Platform. ##
989 ## --------- ##
990
991 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
992 uname -m = `(uname -m) 2>/dev/null || echo unknown`
993 uname -r = `(uname -r) 2>/dev/null || echo unknown`
994 uname -s = `(uname -s) 2>/dev/null || echo unknown`
995 uname -v = `(uname -v) 2>/dev/null || echo unknown`
996
997 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
998 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
999
1000 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1001 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1002 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1003 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1004 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1005 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1006 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1007
1008 _ASUNAME
1009
1010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1011 for as_dir in $PATH
1012 do
1013   IFS=$as_save_IFS
1014   test -z "$as_dir" && as_dir=.
1015   echo "PATH: $as_dir"
1016 done
1017
1018 } >&5
1019
1020 cat >&5 <<_ACEOF
1021
1022
1023 ## ----------- ##
1024 ## Core tests. ##
1025 ## ----------- ##
1026
1027 _ACEOF
1028
1029
1030 # Keep a trace of the command line.
1031 # Strip out --no-create and --no-recursion so they do not pile up.
1032 # Strip out --silent because we don't want to record it for future runs.
1033 # Also quote any args containing shell meta-characters.
1034 # Make two passes to allow for proper duplicate-argument suppression.
1035 ac_configure_args=
1036 ac_configure_args0=
1037 ac_configure_args1=
1038 ac_sep=
1039 ac_must_keep_next=false
1040 for ac_pass in 1 2
1041 do
1042   for ac_arg
1043   do
1044     case $ac_arg in
1045     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1046     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047     | -silent | --silent | --silen | --sile | --sil)
1048       continue ;;
1049     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1050       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1051     esac
1052     case $ac_pass in
1053     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1054     2)
1055       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1056       if test $ac_must_keep_next = true; then
1057         ac_must_keep_next=false # Got value, back to normal.
1058       else
1059         case $ac_arg in
1060           *=* | --config-cache | -C | -disable-* | --disable-* \
1061           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1062           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1063           | -with-* | --with-* | -without-* | --without-* | --x)
1064             case "$ac_configure_args0 " in
1065               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1066             esac
1067             ;;
1068           -* ) ac_must_keep_next=true ;;
1069         esac
1070       fi
1071       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1072       # Get rid of the leading space.
1073       ac_sep=" "
1074       ;;
1075     esac
1076   done
1077 done
1078 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1079 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1080
1081 # When interrupted or exit'd, cleanup temporary files, and complete
1082 # config.log.  We remove comments because anyway the quotes in there
1083 # would cause problems or look ugly.
1084 # WARNING: Be sure not to use single quotes in there, as some shells,
1085 # such as our DU 5.0 friend, will then `close' the trap.
1086 trap 'exit_status=$?
1087   # Save into config.log some information that might help in debugging.
1088   {
1089     echo
1090
1091     cat <<\_ASBOX
1092 ## ---------------- ##
1093 ## Cache variables. ##
1094 ## ---------------- ##
1095 _ASBOX
1096     echo
1097     # The following way of writing the cache mishandles newlines in values,
1098 {
1099   (set) 2>&1 |
1100     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1101     *ac_space=\ *)
1102       sed -n \
1103         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1104           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1105       ;;
1106     *)
1107       sed -n \
1108         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1109       ;;
1110     esac;
1111 }
1112     echo
1113
1114     cat <<\_ASBOX
1115 ## ----------------- ##
1116 ## Output variables. ##
1117 ## ----------------- ##
1118 _ASBOX
1119     echo
1120     for ac_var in $ac_subst_vars
1121     do
1122       eval ac_val=$`echo $ac_var`
1123       echo "$ac_var='"'"'$ac_val'"'"'"
1124     done | sort
1125     echo
1126
1127     if test -n "$ac_subst_files"; then
1128       cat <<\_ASBOX
1129 ## ------------- ##
1130 ## Output files. ##
1131 ## ------------- ##
1132 _ASBOX
1133       echo
1134       for ac_var in $ac_subst_files
1135       do
1136         eval ac_val=$`echo $ac_var`
1137         echo "$ac_var='"'"'$ac_val'"'"'"
1138       done | sort
1139       echo
1140     fi
1141
1142     if test -s confdefs.h; then
1143       cat <<\_ASBOX
1144 ## ----------- ##
1145 ## confdefs.h. ##
1146 ## ----------- ##
1147 _ASBOX
1148       echo
1149       sed "/^$/d" confdefs.h | sort
1150       echo
1151     fi
1152     test "$ac_signal" != 0 &&
1153       echo "$as_me: caught signal $ac_signal"
1154     echo "$as_me: exit $exit_status"
1155   } >&5
1156   rm -f core *.core &&
1157   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1158     exit $exit_status
1159      ' 0
1160 for ac_signal in 1 2 13 15; do
1161   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1162 done
1163 ac_signal=0
1164
1165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1166 rm -rf conftest* confdefs.h
1167 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1168 echo >confdefs.h
1169
1170 # Predefined preprocessor variables.
1171
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_NAME "$PACKAGE_NAME"
1174 _ACEOF
1175
1176
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1179 _ACEOF
1180
1181
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1184 _ACEOF
1185
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_STRING "$PACKAGE_STRING"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1194 _ACEOF
1195
1196
1197 # Let the site file select an alternate cache file if it wants to.
1198 # Prefer explicitly selected file to automatically selected ones.
1199 if test -z "$CONFIG_SITE"; then
1200   if test "x$prefix" != xNONE; then
1201     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1202   else
1203     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1204   fi
1205 fi
1206 for ac_site_file in $CONFIG_SITE; do
1207   if test -r "$ac_site_file"; then
1208     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1209 echo "$as_me: loading site script $ac_site_file" >&6;}
1210     sed 's/^/| /' "$ac_site_file" >&5
1211     . "$ac_site_file"
1212   fi
1213 done
1214
1215 if test -r "$cache_file"; then
1216   # Some versions of bash will fail to source /dev/null (special
1217   # files actually), so we avoid doing that.
1218   if test -f "$cache_file"; then
1219     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1220 echo "$as_me: loading cache $cache_file" >&6;}
1221     case $cache_file in
1222       [\\/]* | ?:[\\/]* ) . $cache_file;;
1223       *)                      . ./$cache_file;;
1224     esac
1225   fi
1226 else
1227   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1228 echo "$as_me: creating cache $cache_file" >&6;}
1229   >$cache_file
1230 fi
1231
1232 # Check that the precious variables saved in the cache have kept the same
1233 # value.
1234 ac_cache_corrupted=false
1235 for ac_var in `(set) 2>&1 |
1236                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1237   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1238   eval ac_new_set=\$ac_env_${ac_var}_set
1239   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1240   eval ac_new_val="\$ac_env_${ac_var}_value"
1241   case $ac_old_set,$ac_new_set in
1242     set,)
1243       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1245       ac_cache_corrupted=: ;;
1246     ,set)
1247       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1248 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1249       ac_cache_corrupted=: ;;
1250     ,);;
1251     *)
1252       if test "x$ac_old_val" != "x$ac_new_val"; then
1253         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1254 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1255         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1256 echo "$as_me:   former value:  $ac_old_val" >&2;}
1257         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1258 echo "$as_me:   current value: $ac_new_val" >&2;}
1259         ac_cache_corrupted=:
1260       fi;;
1261   esac
1262   # Pass precious variables to config.status.
1263   if test "$ac_new_set" = set; then
1264     case $ac_new_val in
1265     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1267     *) ac_arg=$ac_var=$ac_new_val ;;
1268     esac
1269     case " $ac_configure_args " in
1270       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1271       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1272     esac
1273   fi
1274 done
1275 if $ac_cache_corrupted; then
1276   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1277 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1278   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1279 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1280    { (exit 1); exit 1; }; }
1281 fi
1282
1283 ac_ext=c
1284 ac_cpp='$CPP $CPPFLAGS'
1285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316           ac_config_headers="$ac_config_headers config.h"
1317
1318 am__api_version="1.7"
1319 ac_aux_dir=
1320 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1321   if test -f $ac_dir/install-sh; then
1322     ac_aux_dir=$ac_dir
1323     ac_install_sh="$ac_aux_dir/install-sh -c"
1324     break
1325   elif test -f $ac_dir/install.sh; then
1326     ac_aux_dir=$ac_dir
1327     ac_install_sh="$ac_aux_dir/install.sh -c"
1328     break
1329   elif test -f $ac_dir/shtool; then
1330     ac_aux_dir=$ac_dir
1331     ac_install_sh="$ac_aux_dir/shtool install -c"
1332     break
1333   fi
1334 done
1335 if test -z "$ac_aux_dir"; then
1336   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338    { (exit 1); exit 1; }; }
1339 fi
1340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343
1344 # Find a good install program.  We prefer a C program (faster),
1345 # so one script is as good as another.  But avoid the broken or
1346 # incompatible versions:
1347 # SysV /etc/install, /usr/sbin/install
1348 # SunOS /usr/etc/install
1349 # IRIX /sbin/install
1350 # AIX /bin/install
1351 # AmigaOS /C/install, which installs bootblocks on floppy discs
1352 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1353 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1354 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1355 # OS/2's system install, which has a completely different semantic
1356 # ./install, which can be erroneously created by make from ./install.sh.
1357 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1358 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1359 if test -z "$INSTALL"; then
1360 if test "${ac_cv_path_install+set}" = set; then
1361   echo $ECHO_N "(cached) $ECHO_C" >&6
1362 else
1363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364 for as_dir in $PATH
1365 do
1366   IFS=$as_save_IFS
1367   test -z "$as_dir" && as_dir=.
1368   # Account for people who put trailing slashes in PATH elements.
1369 case $as_dir/ in
1370   ./ | .// | /cC/* | \
1371   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1372   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1373   /usr/ucb/* ) ;;
1374   *)
1375     # OSF1 and SCO ODT 3.0 have their own names for install.
1376     # Don't use installbsd from OSF since it installs stuff as root
1377     # by default.
1378     for ac_prog in ginstall scoinst install; do
1379       for ac_exec_ext in '' $ac_executable_extensions; do
1380         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1381           if test $ac_prog = install &&
1382             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1383             # AIX install.  It has an incompatible calling convention.
1384             :
1385           elif test $ac_prog = install &&
1386             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1387             # program-specific install script used by HP pwplus--don't use.
1388             :
1389           else
1390             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1391             break 3
1392           fi
1393         fi
1394       done
1395     done
1396     ;;
1397 esac
1398 done
1399
1400
1401 fi
1402   if test "${ac_cv_path_install+set}" = set; then
1403     INSTALL=$ac_cv_path_install
1404   else
1405     # As a last resort, use the slow shell script.  We don't cache a
1406     # path for INSTALL within a source directory, because that will
1407     # break other packages using the cache if that directory is
1408     # removed, or if the path is relative.
1409     INSTALL=$ac_install_sh
1410   fi
1411 fi
1412 echo "$as_me:$LINENO: result: $INSTALL" >&5
1413 echo "${ECHO_T}$INSTALL" >&6
1414
1415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1416 # It thinks the first close brace ends the variable substitution.
1417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1418
1419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1420
1421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1422
1423 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1424 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1425 # Just in case
1426 sleep 1
1427 echo timestamp > conftest.file
1428 # Do `set' in a subshell so we don't clobber the current shell's
1429 # arguments.  Must try -L first in case configure is actually a
1430 # symlink; some systems play weird games with the mod time of symlinks
1431 # (eg FreeBSD returns the mod time of the symlink's containing
1432 # directory).
1433 if (
1434    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1435    if test "$*" = "X"; then
1436       # -L didn't work.
1437       set X `ls -t $srcdir/configure conftest.file`
1438    fi
1439    rm -f conftest.file
1440    if test "$*" != "X $srcdir/configure conftest.file" \
1441       && test "$*" != "X conftest.file $srcdir/configure"; then
1442
1443       # If neither matched, then we have a broken ls.  This can happen
1444       # if, for instance, CONFIG_SHELL is bash and it inherits a
1445       # broken ls alias from the environment.  This has actually
1446       # happened.  Such a system could not be considered "sane".
1447       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1448 alias in your environment" >&5
1449 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1450 alias in your environment" >&2;}
1451    { (exit 1); exit 1; }; }
1452    fi
1453
1454    test "$2" = conftest.file
1455    )
1456 then
1457    # Ok.
1458    :
1459 else
1460    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1461 Check your system clock" >&5
1462 echo "$as_me: error: newly created file is older than distributed files!
1463 Check your system clock" >&2;}
1464    { (exit 1); exit 1; }; }
1465 fi
1466 echo "$as_me:$LINENO: result: yes" >&5
1467 echo "${ECHO_T}yes" >&6
1468 test "$program_prefix" != NONE &&
1469   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1470 # Use a double $ so make ignores it.
1471 test "$program_suffix" != NONE &&
1472   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1473 # Double any \ or $.  echo might interpret backslashes.
1474 # By default was `s,x,x', remove it if useless.
1475 cat <<\_ACEOF >conftest.sed
1476 s/[\\$]/&&/g;s/;s,x,x,$//
1477 _ACEOF
1478 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1479 rm conftest.sed
1480
1481
1482 # expand $ac_aux_dir to an absolute path
1483 am_aux_dir=`cd $ac_aux_dir && pwd`
1484
1485 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1486 # Use eval to expand $SHELL
1487 if eval "$MISSING --run true"; then
1488   am_missing_run="$MISSING --run "
1489 else
1490   am_missing_run=
1491   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1492 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1493 fi
1494
1495 for ac_prog in gawk mawk nawk awk
1496 do
1497   # Extract the first word of "$ac_prog", so it can be a program name with args.
1498 set dummy $ac_prog; ac_word=$2
1499 echo "$as_me:$LINENO: checking for $ac_word" >&5
1500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1501 if test "${ac_cv_prog_AWK+set}" = set; then
1502   echo $ECHO_N "(cached) $ECHO_C" >&6
1503 else
1504   if test -n "$AWK"; then
1505   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1506 else
1507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1508 for as_dir in $PATH
1509 do
1510   IFS=$as_save_IFS
1511   test -z "$as_dir" && as_dir=.
1512   for ac_exec_ext in '' $ac_executable_extensions; do
1513   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1514     ac_cv_prog_AWK="$ac_prog"
1515     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1516     break 2
1517   fi
1518 done
1519 done
1520
1521 fi
1522 fi
1523 AWK=$ac_cv_prog_AWK
1524 if test -n "$AWK"; then
1525   echo "$as_me:$LINENO: result: $AWK" >&5
1526 echo "${ECHO_T}$AWK" >&6
1527 else
1528   echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1530 fi
1531
1532   test -n "$AWK" && break
1533 done
1534
1535 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1536 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1537 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1538 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1539   echo $ECHO_N "(cached) $ECHO_C" >&6
1540 else
1541   cat >conftest.make <<\_ACEOF
1542 all:
1543         @echo 'ac_maketemp="$(MAKE)"'
1544 _ACEOF
1545 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1546 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1547 if test -n "$ac_maketemp"; then
1548   eval ac_cv_prog_make_${ac_make}_set=yes
1549 else
1550   eval ac_cv_prog_make_${ac_make}_set=no
1551 fi
1552 rm -f conftest.make
1553 fi
1554 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1555   echo "$as_me:$LINENO: result: yes" >&5
1556 echo "${ECHO_T}yes" >&6
1557   SET_MAKE=
1558 else
1559   echo "$as_me:$LINENO: result: no" >&5
1560 echo "${ECHO_T}no" >&6
1561   SET_MAKE="MAKE=${MAKE-make}"
1562 fi
1563
1564 rm -rf .tst 2>/dev/null
1565 mkdir .tst 2>/dev/null
1566 if test -d .tst; then
1567   am__leading_dot=.
1568 else
1569   am__leading_dot=_
1570 fi
1571 rmdir .tst 2>/dev/null
1572
1573  # test to see if srcdir already configured
1574 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1575    test -f $srcdir/config.status; then
1576   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1577 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1578    { (exit 1); exit 1; }; }
1579 fi
1580
1581 # test whether we have cygpath
1582 if test -z "$CYGPATH_W"; then
1583   if (cygpath --version) >/dev/null 2>/dev/null; then
1584     CYGPATH_W='cygpath -w'
1585   else
1586     CYGPATH_W=echo
1587   fi
1588 fi
1589
1590
1591 # Define the identity of the package.
1592  PACKAGE='libbanshee'
1593  VERSION='0.9'
1594
1595
1596 cat >>confdefs.h <<_ACEOF
1597 #define PACKAGE "$PACKAGE"
1598 _ACEOF
1599
1600
1601 cat >>confdefs.h <<_ACEOF
1602 #define VERSION "$VERSION"
1603 _ACEOF
1604
1605 # Some tools Automake needs.
1606
1607 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1608
1609
1610 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1611
1612
1613 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1614
1615
1616 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1617
1618
1619 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1620
1621
1622 AMTAR=${AMTAR-"${am_missing_run}tar"}
1623
1624 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1625
1626 # Installed binaries are usually stripped using `strip' when the user
1627 # run `make install-strip'.  However `strip' might not be the right
1628 # tool to use in cross-compilation environments, therefore Automake
1629 # will honor the `STRIP' environment variable to overrule this program.
1630 if test "$cross_compiling" != no; then
1631   if test -n "$ac_tool_prefix"; then
1632   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1633 set dummy ${ac_tool_prefix}strip; ac_word=$2
1634 echo "$as_me:$LINENO: checking for $ac_word" >&5
1635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636 if test "${ac_cv_prog_STRIP+set}" = set; then
1637   echo $ECHO_N "(cached) $ECHO_C" >&6
1638 else
1639   if test -n "$STRIP"; then
1640   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1641 else
1642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1643 for as_dir in $PATH
1644 do
1645   IFS=$as_save_IFS
1646   test -z "$as_dir" && as_dir=.
1647   for ac_exec_ext in '' $ac_executable_extensions; do
1648   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1650     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1651     break 2
1652   fi
1653 done
1654 done
1655
1656 fi
1657 fi
1658 STRIP=$ac_cv_prog_STRIP
1659 if test -n "$STRIP"; then
1660   echo "$as_me:$LINENO: result: $STRIP" >&5
1661 echo "${ECHO_T}$STRIP" >&6
1662 else
1663   echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1665 fi
1666
1667 fi
1668 if test -z "$ac_cv_prog_STRIP"; then
1669   ac_ct_STRIP=$STRIP
1670   # Extract the first word of "strip", so it can be a program name with args.
1671 set dummy strip; ac_word=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1675   echo $ECHO_N "(cached) $ECHO_C" >&6
1676 else
1677   if test -n "$ac_ct_STRIP"; then
1678   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1679 else
1680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681 for as_dir in $PATH
1682 do
1683   IFS=$as_save_IFS
1684   test -z "$as_dir" && as_dir=.
1685   for ac_exec_ext in '' $ac_executable_extensions; do
1686   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1687     ac_cv_prog_ac_ct_STRIP="strip"
1688     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689     break 2
1690   fi
1691 done
1692 done
1693
1694   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1695 fi
1696 fi
1697 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1698 if test -n "$ac_ct_STRIP"; then
1699   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1700 echo "${ECHO_T}$ac_ct_STRIP" >&6
1701 else
1702   echo "$as_me:$LINENO: result: no" >&5
1703 echo "${ECHO_T}no" >&6
1704 fi
1705
1706   STRIP=$ac_ct_STRIP
1707 else
1708   STRIP="$ac_cv_prog_STRIP"
1709 fi
1710
1711 fi
1712 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1713
1714 # We need awk for the "check" target.  The system "awk" is bad on
1715 # some platforms.
1716
1717
1718
1719
1720 # Checks for programs.
1721 ac_ext=c
1722 ac_cpp='$CPP $CPPFLAGS'
1723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1726 if test -n "$ac_tool_prefix"; then
1727   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1728 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1729 echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1731 if test "${ac_cv_prog_CC+set}" = set; then
1732   echo $ECHO_N "(cached) $ECHO_C" >&6
1733 else
1734   if test -n "$CC"; then
1735   ac_cv_prog_CC="$CC" # Let the user override the test.
1736 else
1737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 for as_dir in $PATH
1739 do
1740   IFS=$as_save_IFS
1741   test -z "$as_dir" && as_dir=.
1742   for ac_exec_ext in '' $ac_executable_extensions; do
1743   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1744     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1745     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746     break 2
1747   fi
1748 done
1749 done
1750
1751 fi
1752 fi
1753 CC=$ac_cv_prog_CC
1754 if test -n "$CC"; then
1755   echo "$as_me:$LINENO: result: $CC" >&5
1756 echo "${ECHO_T}$CC" >&6
1757 else
1758   echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1760 fi
1761
1762 fi
1763 if test -z "$ac_cv_prog_CC"; then
1764   ac_ct_CC=$CC
1765   # Extract the first word of "gcc", so it can be a program name with args.
1766 set dummy gcc; ac_word=$2
1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1770   echo $ECHO_N "(cached) $ECHO_C" >&6
1771 else
1772   if test -n "$ac_ct_CC"; then
1773   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1774 else
1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 for as_dir in $PATH
1777 do
1778   IFS=$as_save_IFS
1779   test -z "$as_dir" && as_dir=.
1780   for ac_exec_ext in '' $ac_executable_extensions; do
1781   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782     ac_cv_prog_ac_ct_CC="gcc"
1783     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784     break 2
1785   fi
1786 done
1787 done
1788
1789 fi
1790 fi
1791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1792 if test -n "$ac_ct_CC"; then
1793   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1794 echo "${ECHO_T}$ac_ct_CC" >&6
1795 else
1796   echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6
1798 fi
1799
1800   CC=$ac_ct_CC
1801 else
1802   CC="$ac_cv_prog_CC"
1803 fi
1804
1805 if test -z "$CC"; then
1806   if test -n "$ac_tool_prefix"; then
1807   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1808 set dummy ${ac_tool_prefix}cc; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812   echo $ECHO_N "(cached) $ECHO_C" >&6
1813 else
1814   if test -n "$CC"; then
1815   ac_cv_prog_CC="$CC" # Let the user override the test.
1816 else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1819 do
1820   IFS=$as_save_IFS
1821   test -z "$as_dir" && as_dir=.
1822   for ac_exec_ext in '' $ac_executable_extensions; do
1823   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824     ac_cv_prog_CC="${ac_tool_prefix}cc"
1825     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826     break 2
1827   fi
1828 done
1829 done
1830
1831 fi
1832 fi
1833 CC=$ac_cv_prog_CC
1834 if test -n "$CC"; then
1835   echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1837 else
1838   echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840 fi
1841
1842 fi
1843 if test -z "$ac_cv_prog_CC"; then
1844   ac_ct_CC=$CC
1845   # Extract the first word of "cc", so it can be a program name with args.
1846 set dummy cc; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850   echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852   if test -n "$ac_ct_CC"; then
1853   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858   IFS=$as_save_IFS
1859   test -z "$as_dir" && as_dir=.
1860   for ac_exec_ext in '' $ac_executable_extensions; do
1861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862     ac_cv_prog_ac_ct_CC="cc"
1863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864     break 2
1865   fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1875 else
1876   echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880   CC=$ac_ct_CC
1881 else
1882   CC="$ac_cv_prog_CC"
1883 fi
1884
1885 fi
1886 if test -z "$CC"; then
1887   # Extract the first word of "cc", so it can be a program name with args.
1888 set dummy cc; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892   echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894   if test -n "$CC"; then
1895   ac_cv_prog_CC="$CC" # Let the user override the test.
1896 else
1897   ac_prog_rejected=no
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 for as_dir in $PATH
1900 do
1901   IFS=$as_save_IFS
1902   test -z "$as_dir" && as_dir=.
1903   for ac_exec_ext in '' $ac_executable_extensions; do
1904   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1906        ac_prog_rejected=yes
1907        continue
1908      fi
1909     ac_cv_prog_CC="cc"
1910     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911     break 2
1912   fi
1913 done
1914 done
1915
1916 if test $ac_prog_rejected = yes; then
1917   # We found a bogon in the path, so make sure we never use it.
1918   set dummy $ac_cv_prog_CC
1919   shift
1920   if test $# != 0; then
1921     # We chose a different compiler from the bogus one.
1922     # However, it has the same basename, so the bogon will be chosen
1923     # first if we set CC to just the basename; use the full file name.
1924     shift
1925     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1926   fi
1927 fi
1928 fi
1929 fi
1930 CC=$ac_cv_prog_CC
1931 if test -n "$CC"; then
1932   echo "$as_me:$LINENO: result: $CC" >&5
1933 echo "${ECHO_T}$CC" >&6
1934 else
1935   echo "$as_me:$LINENO: result: no" >&5
1936 echo "${ECHO_T}no" >&6
1937 fi
1938
1939 fi
1940 if test -z "$CC"; then
1941   if test -n "$ac_tool_prefix"; then
1942   for ac_prog in cl
1943   do
1944     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_CC+set}" = set; then
1949   echo $ECHO_N "(cached) $ECHO_C" >&6
1950 else
1951   if test -n "$CC"; then
1952   ac_cv_prog_CC="$CC" # Let the user override the test.
1953 else
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 for as_dir in $PATH
1956 do
1957   IFS=$as_save_IFS
1958   test -z "$as_dir" && as_dir=.
1959   for ac_exec_ext in '' $ac_executable_extensions; do
1960   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963     break 2
1964   fi
1965 done
1966 done
1967
1968 fi
1969 fi
1970 CC=$ac_cv_prog_CC
1971 if test -n "$CC"; then
1972   echo "$as_me:$LINENO: result: $CC" >&5
1973 echo "${ECHO_T}$CC" >&6
1974 else
1975   echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1977 fi
1978
1979     test -n "$CC" && break
1980   done
1981 fi
1982 if test -z "$CC"; then
1983   ac_ct_CC=$CC
1984   for ac_prog in cl
1985 do
1986   # Extract the first word of "$ac_prog", so it can be a program name with args.
1987 set dummy $ac_prog; ac_word=$2
1988 echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1991   echo $ECHO_N "(cached) $ECHO_C" >&6
1992 else
1993   if test -n "$ac_ct_CC"; then
1994   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1995 else
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1997 for as_dir in $PATH
1998 do
1999   IFS=$as_save_IFS
2000   test -z "$as_dir" && as_dir=.
2001   for ac_exec_ext in '' $ac_executable_extensions; do
2002   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003     ac_cv_prog_ac_ct_CC="$ac_prog"
2004     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2005     break 2
2006   fi
2007 done
2008 done
2009
2010 fi
2011 fi
2012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2013 if test -n "$ac_ct_CC"; then
2014   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2015 echo "${ECHO_T}$ac_ct_CC" >&6
2016 else
2017   echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2019 fi
2020
2021   test -n "$ac_ct_CC" && break
2022 done
2023
2024   CC=$ac_ct_CC
2025 fi
2026
2027 fi
2028
2029
2030 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2031 See \`config.log' for more details." >&5
2032 echo "$as_me: error: no acceptable C compiler found in \$PATH
2033 See \`config.log' for more details." >&2;}
2034    { (exit 1); exit 1; }; }
2035
2036 # Provide some information about the compiler.
2037 echo "$as_me:$LINENO:" \
2038      "checking for C compiler version" >&5
2039 ac_compiler=`set X $ac_compile; echo $2`
2040 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2041   (eval $ac_compiler --version </dev/null >&5) 2>&5
2042   ac_status=$?
2043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044   (exit $ac_status); }
2045 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2046   (eval $ac_compiler -v </dev/null >&5) 2>&5
2047   ac_status=$?
2048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049   (exit $ac_status); }
2050 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2051   (eval $ac_compiler -V </dev/null >&5) 2>&5
2052   ac_status=$?
2053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054   (exit $ac_status); }
2055
2056 cat >conftest.$ac_ext <<_ACEOF
2057 /* confdefs.h.  */
2058 _ACEOF
2059 cat confdefs.h >>conftest.$ac_ext
2060 cat >>conftest.$ac_ext <<_ACEOF
2061 /* end confdefs.h.  */
2062
2063 int
2064 main ()
2065 {
2066
2067   ;
2068   return 0;
2069 }
2070 _ACEOF
2071 ac_clean_files_save=$ac_clean_files
2072 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2073 # Try to create an executable without -o first, disregard a.out.
2074 # It will help us diagnose broken compilers, and finding out an intuition
2075 # of exeext.
2076 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2077 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2078 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2079 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2080   (eval $ac_link_default) 2>&5
2081   ac_status=$?
2082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083   (exit $ac_status); }; then
2084   # Find the output, starting from the most likely.  This scheme is
2085 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2086 # resort.
2087
2088 # Be careful to initialize this variable, since it used to be cached.
2089 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2090 ac_cv_exeext=
2091 # b.out is created by i960 compilers.
2092 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2093 do
2094   test -f "$ac_file" || continue
2095   case $ac_file in
2096     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2097         ;;
2098     conftest.$ac_ext )
2099         # This is the source file.
2100         ;;
2101     [ab].out )
2102         # We found the default executable, but exeext='' is most
2103         # certainly right.
2104         break;;
2105     *.* )
2106         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2107         # FIXME: I believe we export ac_cv_exeext for Libtool,
2108         # but it would be cool to find out if it's true.  Does anybody
2109         # maintain Libtool? --akim.
2110         export ac_cv_exeext
2111         break;;
2112     * )
2113         break;;
2114   esac
2115 done
2116 else
2117   echo "$as_me: failed program was:" >&5
2118 sed 's/^/| /' conftest.$ac_ext >&5
2119
2120 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2121 See \`config.log' for more details." >&5
2122 echo "$as_me: error: C compiler cannot create executables
2123 See \`config.log' for more details." >&2;}
2124    { (exit 77); exit 77; }; }
2125 fi
2126
2127 ac_exeext=$ac_cv_exeext
2128 echo "$as_me:$LINENO: result: $ac_file" >&5
2129 echo "${ECHO_T}$ac_file" >&6
2130
2131 # Check the compiler produces executables we can run.  If not, either
2132 # the compiler is broken, or we cross compile.
2133 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2134 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2135 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2136 # If not cross compiling, check that we can run a simple program.
2137 if test "$cross_compiling" != yes; then
2138   if { ac_try='./$ac_file'
2139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140   (eval $ac_try) 2>&5
2141   ac_status=$?
2142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143   (exit $ac_status); }; }; then
2144     cross_compiling=no
2145   else
2146     if test "$cross_compiling" = maybe; then
2147         cross_compiling=yes
2148     else
2149         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2150 If you meant to cross compile, use \`--host'.
2151 See \`config.log' for more details." >&5
2152 echo "$as_me: error: cannot run C compiled programs.
2153 If you meant to cross compile, use \`--host'.
2154 See \`config.log' for more details." >&2;}
2155    { (exit 1); exit 1; }; }
2156     fi
2157   fi
2158 fi
2159 echo "$as_me:$LINENO: result: yes" >&5
2160 echo "${ECHO_T}yes" >&6
2161
2162 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2163 ac_clean_files=$ac_clean_files_save
2164 # Check the compiler produces executables we can run.  If not, either
2165 # the compiler is broken, or we cross compile.
2166 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2167 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2168 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2169 echo "${ECHO_T}$cross_compiling" >&6
2170
2171 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2172 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2174   (eval $ac_link) 2>&5
2175   ac_status=$?
2176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177   (exit $ac_status); }; then
2178   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2179 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2180 # work properly (i.e., refer to `conftest.exe'), while it won't with
2181 # `rm'.
2182 for ac_file in conftest.exe conftest conftest.*; do
2183   test -f "$ac_file" || continue
2184   case $ac_file in
2185     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2186     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2187           export ac_cv_exeext
2188           break;;
2189     * ) break;;
2190   esac
2191 done
2192 else
2193   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2194 See \`config.log' for more details." >&5
2195 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2196 See \`config.log' for more details." >&2;}
2197    { (exit 1); exit 1; }; }
2198 fi
2199
2200 rm -f conftest$ac_cv_exeext
2201 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2202 echo "${ECHO_T}$ac_cv_exeext" >&6
2203
2204 rm -f conftest.$ac_ext
2205 EXEEXT=$ac_cv_exeext
2206 ac_exeext=$EXEEXT
2207 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2208 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2209 if test "${ac_cv_objext+set}" = set; then
2210   echo $ECHO_N "(cached) $ECHO_C" >&6
2211 else
2212   cat >conftest.$ac_ext <<_ACEOF
2213 /* confdefs.h.  */
2214 _ACEOF
2215 cat confdefs.h >>conftest.$ac_ext
2216 cat >>conftest.$ac_ext <<_ACEOF
2217 /* end confdefs.h.  */
2218
2219 int
2220 main ()
2221 {
2222
2223   ;
2224   return 0;
2225 }
2226 _ACEOF
2227 rm -f conftest.o conftest.obj
2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229   (eval $ac_compile) 2>&5
2230   ac_status=$?
2231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232   (exit $ac_status); }; then
2233   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2234   case $ac_file in
2235     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2236     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2237        break;;
2238   esac
2239 done
2240 else
2241   echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2243
2244 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2245 See \`config.log' for more details." >&5
2246 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2247 See \`config.log' for more details." >&2;}
2248    { (exit 1); exit 1; }; }
2249 fi
2250
2251 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2252 fi
2253 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2254 echo "${ECHO_T}$ac_cv_objext" >&6
2255 OBJEXT=$ac_cv_objext
2256 ac_objext=$OBJEXT
2257 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2258 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2259 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2260   echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262   cat >conftest.$ac_ext <<_ACEOF
2263 /* confdefs.h.  */
2264 _ACEOF
2265 cat confdefs.h >>conftest.$ac_ext
2266 cat >>conftest.$ac_ext <<_ACEOF
2267 /* end confdefs.h.  */
2268
2269 int
2270 main ()
2271 {
2272 #ifndef __GNUC__
2273        choke me
2274 #endif
2275
2276   ;
2277   return 0;
2278 }
2279 _ACEOF
2280 rm -f conftest.$ac_objext
2281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2282   (eval $ac_compile) 2>conftest.er1
2283   ac_status=$?
2284   grep -v '^ *+' conftest.er1 >conftest.err
2285   rm -f conftest.er1
2286   cat conftest.err >&5
2287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288   (exit $ac_status); } &&
2289          { ac_try='test -z "$ac_c_werror_flag"
2290                          || test ! -s conftest.err'
2291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292   (eval $ac_try) 2>&5
2293   ac_status=$?
2294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295   (exit $ac_status); }; } &&
2296          { ac_try='test -s conftest.$ac_objext'
2297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2298   (eval $ac_try) 2>&5
2299   ac_status=$?
2300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301   (exit $ac_status); }; }; then
2302   ac_compiler_gnu=yes
2303 else
2304   echo "$as_me: failed program was:" >&5
2305 sed 's/^/| /' conftest.$ac_ext >&5
2306
2307 ac_compiler_gnu=no
2308 fi
2309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2311
2312 fi
2313 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2314 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2315 GCC=`test $ac_compiler_gnu = yes && echo yes`
2316 ac_test_CFLAGS=${CFLAGS+set}
2317 ac_save_CFLAGS=$CFLAGS
2318 CFLAGS="-g"
2319 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2320 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2321 if test "${ac_cv_prog_cc_g+set}" = set; then
2322   echo $ECHO_N "(cached) $ECHO_C" >&6
2323 else
2324   cat >conftest.$ac_ext <<_ACEOF
2325 /* confdefs.h.  */
2326 _ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h.  */
2330
2331 int
2332 main ()
2333 {
2334
2335   ;
2336   return 0;
2337 }
2338 _ACEOF
2339 rm -f conftest.$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341   (eval $ac_compile) 2>conftest.er1
2342   ac_status=$?
2343   grep -v '^ *+' conftest.er1 >conftest.err
2344   rm -f conftest.er1
2345   cat conftest.err >&5
2346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347   (exit $ac_status); } &&
2348          { ac_try='test -z "$ac_c_werror_flag"
2349                          || test ! -s conftest.err'
2350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351   (eval $ac_try) 2>&5
2352   ac_status=$?
2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354   (exit $ac_status); }; } &&
2355          { ac_try='test -s conftest.$ac_objext'
2356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2357   (eval $ac_try) 2>&5
2358   ac_status=$?
2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360   (exit $ac_status); }; }; then
2361   ac_cv_prog_cc_g=yes
2362 else
2363   echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2365
2366 ac_cv_prog_cc_g=no
2367 fi
2368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2369 fi
2370 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2371 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2372 if test "$ac_test_CFLAGS" = set; then
2373   CFLAGS=$ac_save_CFLAGS
2374 elif test $ac_cv_prog_cc_g = yes; then
2375   if test "$GCC" = yes; then
2376     CFLAGS="-g -O2"
2377   else
2378     CFLAGS="-g"
2379   fi
2380 else
2381   if test "$GCC" = yes; then
2382     CFLAGS="-O2"
2383   else
2384     CFLAGS=
2385   fi
2386 fi
2387 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2388 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2389 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2390   echo $ECHO_N "(cached) $ECHO_C" >&6
2391 else
2392   ac_cv_prog_cc_stdc=no
2393 ac_save_CC=$CC
2394 cat >conftest.$ac_ext <<_ACEOF
2395 /* confdefs.h.  */
2396 _ACEOF
2397 cat confdefs.h >>conftest.$ac_ext
2398 cat >>conftest.$ac_ext <<_ACEOF
2399 /* end confdefs.h.  */
2400 #include <stdarg.h>
2401 #include <stdio.h>
2402 #include <sys/types.h>
2403 #include <sys/stat.h>
2404 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2405 struct buf { int x; };
2406 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2407 static char *e (p, i)
2408      char **p;
2409      int i;
2410 {
2411   return p[i];
2412 }
2413 static char *f (char * (*g) (char **, int), char **p, ...)
2414 {
2415   char *s;
2416   va_list v;
2417   va_start (v,p);
2418   s = g (p, va_arg (v,int));
2419   va_end (v);
2420   return s;
2421 }
2422
2423 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2424    function prototypes and stuff, but not '\xHH' hex character constants.
2425    These don't provoke an error unfortunately, instead are silently treated
2426    as 'x'.  The following induces an error, until -std1 is added to get
2427    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2428    array size at least.  It's necessary to write '\x00'==0 to get something
2429    that's true only with -std1.  */
2430 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2431
2432 int test (int i, double x);
2433 struct s1 {int (*f) (int a);};
2434 struct s2 {int (*f) (double a);};
2435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2436 int argc;
2437 char **argv;
2438 int
2439 main ()
2440 {
2441 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2442   ;
2443   return 0;
2444 }
2445 _ACEOF
2446 # Don't try gcc -ansi; that turns off useful extensions and
2447 # breaks some systems' header files.
2448 # AIX                   -qlanglvl=ansi
2449 # Ultrix and OSF/1      -std1
2450 # HP-UX 10.20 and later -Ae
2451 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2452 # SVR4                  -Xc -D__EXTENSIONS__
2453 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2454 do
2455   CC="$ac_save_CC $ac_arg"
2456   rm -f conftest.$ac_objext
2457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2458   (eval $ac_compile) 2>conftest.er1
2459   ac_status=$?
2460   grep -v '^ *+' conftest.er1 >conftest.err
2461   rm -f conftest.er1
2462   cat conftest.err >&5
2463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464   (exit $ac_status); } &&
2465          { ac_try='test -z "$ac_c_werror_flag"
2466                          || test ! -s conftest.err'
2467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468   (eval $ac_try) 2>&5
2469   ac_status=$?
2470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471   (exit $ac_status); }; } &&
2472          { ac_try='test -s conftest.$ac_objext'
2473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474   (eval $ac_try) 2>&5
2475   ac_status=$?
2476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477   (exit $ac_status); }; }; then
2478   ac_cv_prog_cc_stdc=$ac_arg
2479 break
2480 else
2481   echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.$ac_ext >&5
2483
2484 fi
2485 rm -f conftest.err conftest.$ac_objext
2486 done
2487 rm -f conftest.$ac_ext conftest.$ac_objext
2488 CC=$ac_save_CC
2489
2490 fi
2491
2492 case "x$ac_cv_prog_cc_stdc" in
2493   x|xno)
2494     echo "$as_me:$LINENO: result: none needed" >&5
2495 echo "${ECHO_T}none needed" >&6 ;;
2496   *)
2497     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2498 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2499     CC="$CC $ac_cv_prog_cc_stdc" ;;
2500 esac
2501
2502 # Some people use a C++ compiler to compile C.  Since we use `exit',
2503 # in C++ we need to declare it.  In case someone uses the same compiler
2504 # for both compiling C and C++ we need to have the C++ compiler decide
2505 # the declaration of exit, since it's the most demanding environment.
2506 cat >conftest.$ac_ext <<_ACEOF
2507 #ifndef __cplusplus
2508   choke me
2509 #endif
2510 _ACEOF
2511 rm -f conftest.$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513   (eval $ac_compile) 2>conftest.er1
2514   ac_status=$?
2515   grep -v '^ *+' conftest.er1 >conftest.err
2516   rm -f conftest.er1
2517   cat conftest.err >&5
2518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519   (exit $ac_status); } &&
2520          { ac_try='test -z "$ac_c_werror_flag"
2521                          || test ! -s conftest.err'
2522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523   (eval $ac_try) 2>&5
2524   ac_status=$?
2525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526   (exit $ac_status); }; } &&
2527          { ac_try='test -s conftest.$ac_objext'
2528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529   (eval $ac_try) 2>&5
2530   ac_status=$?
2531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532   (exit $ac_status); }; }; then
2533   for ac_declaration in \
2534    '' \
2535    'extern "C" void std::exit (int) throw (); using std::exit;' \
2536    'extern "C" void std::exit (int); using std::exit;' \
2537    'extern "C" void exit (int) throw ();' \
2538    'extern "C" void exit (int);' \
2539    'void exit (int);'
2540 do
2541   cat >conftest.$ac_ext <<_ACEOF
2542 /* confdefs.h.  */
2543 _ACEOF
2544 cat confdefs.h >>conftest.$ac_ext
2545 cat >>conftest.$ac_ext <<_ACEOF
2546 /* end confdefs.h.  */
2547 $ac_declaration
2548 #include <stdlib.h>
2549 int
2550 main ()
2551 {
2552 exit (42);
2553   ;
2554   return 0;
2555 }
2556 _ACEOF
2557 rm -f conftest.$ac_objext
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559   (eval $ac_compile) 2>conftest.er1
2560   ac_status=$?
2561   grep -v '^ *+' conftest.er1 >conftest.err
2562   rm -f conftest.er1
2563   cat conftest.err >&5
2564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565   (exit $ac_status); } &&
2566          { ac_try='test -z "$ac_c_werror_flag"
2567                          || test ! -s conftest.err'
2568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569   (eval $ac_try) 2>&5
2570   ac_status=$?
2571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572   (exit $ac_status); }; } &&
2573          { ac_try='test -s conftest.$ac_objext'
2574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575   (eval $ac_try) 2>&5
2576   ac_status=$?
2577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578   (exit $ac_status); }; }; then
2579   :
2580 else
2581   echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2583
2584 continue
2585 fi
2586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2587   cat >conftest.$ac_ext <<_ACEOF
2588 /* confdefs.h.  */
2589 _ACEOF
2590 cat confdefs.h >>conftest.$ac_ext
2591 cat >>conftest.$ac_ext <<_ACEOF
2592 /* end confdefs.h.  */
2593 $ac_declaration
2594 int
2595 main ()
2596 {
2597 exit (42);
2598   ;
2599   return 0;
2600 }
2601 _ACEOF
2602 rm -f conftest.$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604   (eval $ac_compile) 2>conftest.er1
2605   ac_status=$?
2606   grep -v '^ *+' conftest.er1 >conftest.err
2607   rm -f conftest.er1
2608   cat conftest.err >&5
2609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610   (exit $ac_status); } &&
2611          { ac_try='test -z "$ac_c_werror_flag"
2612                          || test ! -s conftest.err'
2613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614   (eval $ac_try) 2>&5
2615   ac_status=$?
2616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617   (exit $ac_status); }; } &&
2618          { ac_try='test -s conftest.$ac_objext'
2619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620   (eval $ac_try) 2>&5
2621   ac_status=$?
2622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623   (exit $ac_status); }; }; then
2624   break
2625 else
2626   echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2628
2629 fi
2630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2631 done
2632 rm -f conftest*
2633 if test -n "$ac_declaration"; then
2634   echo '#ifdef __cplusplus' >>confdefs.h
2635   echo $ac_declaration      >>confdefs.h
2636   echo '#endif'             >>confdefs.h
2637 fi
2638
2639 else
2640   echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2642
2643 fi
2644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2645 ac_ext=c
2646 ac_cpp='$CPP $CPPFLAGS'
2647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2650 DEPDIR="${am__leading_dot}deps"
2651
2652           ac_config_commands="$ac_config_commands depfiles"
2653
2654
2655 am_make=${MAKE-make}
2656 cat > confinc << 'END'
2657 am__doit:
2658         @echo done
2659 .PHONY: am__doit
2660 END
2661 # If we don't find an include directive, just comment out the code.
2662 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2663 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2664 am__include="#"
2665 am__quote=
2666 _am_result=none
2667 # First try GNU make style include.
2668 echo "include confinc" > confmf
2669 # We grep out `Entering directory' and `Leaving directory'
2670 # messages which can occur if `w' ends up in MAKEFLAGS.
2671 # In particular we don't look at `^make:' because GNU make might
2672 # be invoked under some other name (usually "gmake"), in which
2673 # case it prints its new name instead of `make'.
2674 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2675    am__include=include
2676    am__quote=
2677    _am_result=GNU
2678 fi
2679 # Now try BSD make style include.
2680 if test "$am__include" = "#"; then
2681    echo '.include "confinc"' > confmf
2682    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2683       am__include=.include
2684       am__quote="\""
2685       _am_result=BSD
2686    fi
2687 fi
2688
2689
2690 echo "$as_me:$LINENO: result: $_am_result" >&5
2691 echo "${ECHO_T}$_am_result" >&6
2692 rm -f confinc confmf
2693
2694 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2695 if test "${enable_dependency_tracking+set}" = set; then
2696   enableval="$enable_dependency_tracking"
2697
2698 fi;
2699 if test "x$enable_dependency_tracking" != xno; then
2700   am_depcomp="$ac_aux_dir/depcomp"
2701   AMDEPBACKSLASH='\'
2702 fi
2703
2704
2705 if test "x$enable_dependency_tracking" != xno; then
2706   AMDEP_TRUE=
2707   AMDEP_FALSE='#'
2708 else
2709   AMDEP_TRUE='#'
2710   AMDEP_FALSE=
2711 fi
2712
2713
2714
2715
2716 depcc="$CC"   am_compiler_list=
2717
2718 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2719 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2720 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2721   echo $ECHO_N "(cached) $ECHO_C" >&6
2722 else
2723   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2724   # We make a subdir and do the tests there.  Otherwise we can end up
2725   # making bogus files that we don't know about and never remove.  For
2726   # instance it was reported that on HP-UX the gcc test will end up
2727   # making a dummy file named `D' -- because `-MD' means `put the output
2728   # in D'.
2729   mkdir conftest.dir
2730   # Copy depcomp to subdir because otherwise we won't find it if we're
2731   # using a relative directory.
2732   cp "$am_depcomp" conftest.dir
2733   cd conftest.dir
2734   # We will build objects and dependencies in a subdirectory because
2735   # it helps to detect inapplicable dependency modes.  For instance
2736   # both Tru64's cc and ICC support -MD to output dependencies as a
2737   # side effect of compilation, but ICC will put the dependencies in
2738   # the current directory while Tru64 will put them in the object
2739   # directory.
2740   mkdir sub
2741
2742   am_cv_CC_dependencies_compiler_type=none
2743   if test "$am_compiler_list" = ""; then
2744      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2745   fi
2746   for depmode in $am_compiler_list; do
2747     # Setup a source with many dependencies, because some compilers
2748     # like to wrap large dependency lists on column 80 (with \), and
2749     # we should not choose a depcomp mode which is confused by this.
2750     #
2751     # We need to recreate these files for each test, as the compiler may
2752     # overwrite some of them when testing with obscure command lines.
2753     # This happens at least with the AIX C compiler.
2754     : > sub/conftest.c
2755     for i in 1 2 3 4 5 6; do
2756       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2757       : > sub/conftst$i.h
2758     done
2759     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2760
2761     case $depmode in
2762     nosideeffect)
2763       # after this tag, mechanisms are not by side-effect, so they'll
2764       # only be used when explicitly requested
2765       if test "x$enable_dependency_tracking" = xyes; then
2766         continue
2767       else
2768         break
2769       fi
2770       ;;
2771     none) break ;;
2772     esac
2773     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2774     # mode.  It turns out that the SunPro C++ compiler does not properly
2775     # handle `-M -o', and we need to detect this.
2776     if depmode=$depmode \
2777        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2778        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2779        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2780          >/dev/null 2>conftest.err &&
2781        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2782        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2783        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2784       # icc doesn't choke on unknown options, it will just issue warnings
2785       # (even with -Werror).  So we grep stderr for any message
2786       # that says an option was ignored.
2787       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2788         am_cv_CC_dependencies_compiler_type=$depmode
2789         break
2790       fi
2791     fi
2792   done
2793
2794   cd ..
2795   rm -rf conftest.dir
2796 else
2797   am_cv_CC_dependencies_compiler_type=none
2798 fi
2799
2800 fi
2801 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2802 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2803 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2804
2805
2806
2807 if
2808   test "x$enable_dependency_tracking" != xno \
2809   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2810   am__fastdepCC_TRUE=
2811   am__fastdepCC_FALSE='#'
2812 else
2813   am__fastdepCC_TRUE='#'
2814   am__fastdepCC_FALSE=
2815 fi
2816
2817
2818 # Find a good install program.  We prefer a C program (faster),
2819 # so one script is as good as another.  But avoid the broken or
2820 # incompatible versions:
2821 # SysV /etc/install, /usr/sbin/install
2822 # SunOS /usr/etc/install
2823 # IRIX /sbin/install
2824 # AIX /bin/install
2825 # AmigaOS /C/install, which installs bootblocks on floppy discs
2826 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2827 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2828 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2829 # OS/2's system install, which has a completely different semantic
2830 # ./install, which can be erroneously created by make from ./install.sh.
2831 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2832 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2833 if test -z "$INSTALL"; then
2834 if test "${ac_cv_path_install+set}" = set; then
2835   echo $ECHO_N "(cached) $ECHO_C" >&6
2836 else
2837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 for as_dir in $PATH
2839 do
2840   IFS=$as_save_IFS
2841   test -z "$as_dir" && as_dir=.
2842   # Account for people who put trailing slashes in PATH elements.
2843 case $as_dir/ in
2844   ./ | .// | /cC/* | \
2845   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2846   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2847   /usr/ucb/* ) ;;
2848   *)
2849     # OSF1 and SCO ODT 3.0 have their own names for install.
2850     # Don't use installbsd from OSF since it installs stuff as root
2851     # by default.
2852     for ac_prog in ginstall scoinst install; do
2853       for ac_exec_ext in '' $ac_executable_extensions; do
2854         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2855           if test $ac_prog = install &&
2856             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2857             # AIX install.  It has an incompatible calling convention.
2858             :
2859           elif test $ac_prog = install &&
2860             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2861             # program-specific install script used by HP pwplus--don't use.
2862             :
2863           else
2864             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2865             break 3
2866           fi
2867         fi
2868       done
2869     done
2870     ;;
2871 esac
2872 done
2873
2874
2875 fi
2876   if test "${ac_cv_path_install+set}" = set; then
2877     INSTALL=$ac_cv_path_install
2878   else
2879     # As a last resort, use the slow shell script.  We don't cache a
2880     # path for INSTALL within a source directory, because that will
2881     # break other packages using the cache if that directory is
2882     # removed, or if the path is relative.
2883     INSTALL=$ac_install_sh
2884   fi
2885 fi
2886 echo "$as_me:$LINENO: result: $INSTALL" >&5
2887 echo "${ECHO_T}$INSTALL" >&6
2888
2889 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2890 # It thinks the first close brace ends the variable substitution.
2891 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2892
2893 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2894
2895 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2896
2897 if test -n "$ac_tool_prefix"; then
2898   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2899 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2900 echo "$as_me:$LINENO: checking for $ac_word" >&5
2901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2902 if test "${ac_cv_prog_RANLIB+set}" = set; then
2903   echo $ECHO_N "(cached) $ECHO_C" >&6
2904 else
2905   if test -n "$RANLIB"; then
2906   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2907 else
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 for as_dir in $PATH
2910 do
2911   IFS=$as_save_IFS
2912   test -z "$as_dir" && as_dir=.
2913   for ac_exec_ext in '' $ac_executable_extensions; do
2914   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2916     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2917     break 2
2918   fi
2919 done
2920 done
2921
2922 fi
2923 fi
2924 RANLIB=$ac_cv_prog_RANLIB
2925 if test -n "$RANLIB"; then
2926   echo "$as_me:$LINENO: result: $RANLIB" >&5
2927 echo "${ECHO_T}$RANLIB" >&6
2928 else
2929   echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2931 fi
2932
2933 fi
2934 if test -z "$ac_cv_prog_RANLIB"; then
2935   ac_ct_RANLIB=$RANLIB
2936   # Extract the first word of "ranlib", so it can be a program name with args.
2937 set dummy ranlib; ac_word=$2
2938 echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2940 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2941   echo $ECHO_N "(cached) $ECHO_C" >&6
2942 else
2943   if test -n "$ac_ct_RANLIB"; then
2944   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2945 else
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 for as_dir in $PATH
2948 do
2949   IFS=$as_save_IFS
2950   test -z "$as_dir" && as_dir=.
2951   for ac_exec_ext in '' $ac_executable_extensions; do
2952   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953     ac_cv_prog_ac_ct_RANLIB="ranlib"
2954     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2955     break 2
2956   fi
2957 done
2958 done
2959
2960   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2961 fi
2962 fi
2963 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2964 if test -n "$ac_ct_RANLIB"; then
2965   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2966 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2967 else
2968   echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2970 fi
2971
2972   RANLIB=$ac_ct_RANLIB
2973 else
2974   RANLIB="$ac_cv_prog_RANLIB"
2975 fi
2976
2977 # Checks for libraries.
2978 # FIXME: Replace `main' with a function in `-llambda':
2979 #AC_CHECK_LIB([lambda], [main])
2980 # FIXME: Replace `main' with a function in `-lm':
2981 #AC_CHECK_LIB([m], [main])
2982
2983
2984 if test x$GCC = xyes; then
2985   ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings  -Wstrict-prototypes -Wmissing-prototypes'
2986 fi
2987
2988
2989 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2990 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2991     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2992 if test "${enable_maintainer_mode+set}" = set; then
2993   enableval="$enable_maintainer_mode"
2994   USE_MAINTAINER_MODE=$enableval
2995 else
2996   USE_MAINTAINER_MODE=no
2997 fi;
2998   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2999 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3000
3001
3002 if test $USE_MAINTAINER_MODE = yes; then
3003   MAINTAINER_MODE_TRUE=
3004   MAINTAINER_MODE_FALSE='#'
3005 else
3006   MAINTAINER_MODE_TRUE='#'
3007   MAINTAINER_MODE_FALSE=
3008 fi
3009
3010   MAINT=$MAINTAINER_MODE_TRUE
3011
3012
3013 # Checks for header files.
3014
3015 ac_ext=c
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3021 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3022 # On Suns, sometimes $CPP names a directory.
3023 if test -n "$CPP" && test -d "$CPP"; then
3024   CPP=
3025 fi
3026 if test -z "$CPP"; then
3027   if test "${ac_cv_prog_CPP+set}" = set; then
3028   echo $ECHO_N "(cached) $ECHO_C" >&6
3029 else
3030       # Double quotes because CPP needs to be expanded
3031     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3032     do
3033       ac_preproc_ok=false
3034 for ac_c_preproc_warn_flag in '' yes
3035 do
3036   # Use a header file that comes with gcc, so configuring glibc
3037   # with a fresh cross-compiler works.
3038   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3039   # <limits.h> exists even on freestanding compilers.
3040   # On the NeXT, cc -E runs the code through the compiler's parser,
3041   # not just through cpp. "Syntax error" is here to catch this case.
3042   cat >conftest.$ac_ext <<_ACEOF
3043 /* confdefs.h.  */
3044 _ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h.  */
3048 #ifdef __STDC__
3049 # include <limits.h>
3050 #else
3051 # include <assert.h>
3052 #endif
3053                      Syntax error
3054 _ACEOF
3055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3056   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3057   ac_status=$?
3058   grep -v '^ *+' conftest.er1 >conftest.err
3059   rm -f conftest.er1
3060   cat conftest.err >&5
3061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062   (exit $ac_status); } >/dev/null; then
3063   if test -s conftest.err; then
3064     ac_cpp_err=$ac_c_preproc_warn_flag
3065     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3066   else
3067     ac_cpp_err=
3068   fi
3069 else
3070   ac_cpp_err=yes
3071 fi
3072 if test -z "$ac_cpp_err"; then
3073   :
3074 else
3075   echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3077
3078   # Broken: fails on valid input.
3079 continue
3080 fi
3081 rm -f conftest.err conftest.$ac_ext
3082
3083   # OK, works on sane cases.  Now check whether non-existent headers
3084   # can be detected and how.
3085   cat >conftest.$ac_ext <<_ACEOF
3086 /* confdefs.h.  */
3087 _ACEOF
3088 cat confdefs.h >>conftest.$ac_ext
3089 cat >>conftest.$ac_ext <<_ACEOF
3090 /* end confdefs.h.  */
3091 #include <ac_nonexistent.h>
3092 _ACEOF
3093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3094   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3095   ac_status=$?
3096   grep -v '^ *+' conftest.er1 >conftest.err
3097   rm -f conftest.er1
3098   cat conftest.err >&5
3099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100   (exit $ac_status); } >/dev/null; then
3101   if test -s conftest.err; then
3102     ac_cpp_err=$ac_c_preproc_warn_flag
3103     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3104   else
3105     ac_cpp_err=
3106   fi
3107 else
3108   ac_cpp_err=yes
3109 fi
3110 if test -z "$ac_cpp_err"; then
3111   # Broken: success on invalid input.
3112 continue
3113 else
3114   echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3116
3117   # Passes both tests.
3118 ac_preproc_ok=:
3119 break
3120 fi
3121 rm -f conftest.err conftest.$ac_ext
3122
3123 done
3124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3125 rm -f conftest.err conftest.$ac_ext
3126 if $ac_preproc_ok; then
3127   break
3128 fi
3129
3130     done
3131     ac_cv_prog_CPP=$CPP
3132
3133 fi
3134   CPP=$ac_cv_prog_CPP
3135 else
3136   ac_cv_prog_CPP=$CPP
3137 fi
3138 echo "$as_me:$LINENO: result: $CPP" >&5
3139 echo "${ECHO_T}$CPP" >&6
3140 ac_preproc_ok=false
3141 for ac_c_preproc_warn_flag in '' yes
3142 do
3143   # Use a header file that comes with gcc, so configuring glibc
3144   # with a fresh cross-compiler works.
3145   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3146   # <limits.h> exists even on freestanding compilers.
3147   # On the NeXT, cc -E runs the code through the compiler's parser,
3148   # not just through cpp. "Syntax error" is here to catch this case.
3149   cat >conftest.$ac_ext <<_ACEOF
3150 /* confdefs.h.  */
3151 _ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h.  */
3155 #ifdef __STDC__
3156 # include <limits.h>
3157 #else
3158 # include <assert.h>
3159 #endif
3160                      Syntax error
3161 _ACEOF
3162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3163   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3164   ac_status=$?
3165   grep -v '^ *+' conftest.er1 >conftest.err
3166   rm -f conftest.er1
3167   cat conftest.err >&5
3168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169   (exit $ac_status); } >/dev/null; then
3170   if test -s conftest.err; then
3171     ac_cpp_err=$ac_c_preproc_warn_flag
3172     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3173   else
3174     ac_cpp_err=
3175   fi
3176 else
3177   ac_cpp_err=yes
3178 fi
3179 if test -z "$ac_cpp_err"; then
3180   :
3181 else
3182   echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3184
3185   # Broken: fails on valid input.
3186 continue
3187 fi
3188 rm -f conftest.err conftest.$ac_ext
3189
3190   # OK, works on sane cases.  Now check whether non-existent headers
3191   # can be detected and how.
3192   cat >conftest.$ac_ext <<_ACEOF
3193 /* confdefs.h.  */
3194 _ACEOF
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h.  */
3198 #include <ac_nonexistent.h>
3199 _ACEOF
3200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3201   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3202   ac_status=$?
3203   grep -v '^ *+' conftest.er1 >conftest.err
3204   rm -f conftest.er1
3205   cat conftest.err >&5
3206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207   (exit $ac_status); } >/dev/null; then
3208   if test -s conftest.err; then
3209     ac_cpp_err=$ac_c_preproc_warn_flag
3210     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3211   else
3212     ac_cpp_err=
3213   fi
3214 else
3215   ac_cpp_err=yes
3216 fi
3217 if test -z "$ac_cpp_err"; then
3218   # Broken: success on invalid input.
3219 continue
3220 else
3221   echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3223
3224   # Passes both tests.
3225 ac_preproc_ok=:
3226 break
3227 fi
3228 rm -f conftest.err conftest.$ac_ext
3229
3230 done
3231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3232 rm -f conftest.err conftest.$ac_ext
3233 if $ac_preproc_ok; then
3234   :
3235 else
3236   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3237 See \`config.log' for more details." >&5
3238 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3239 See \`config.log' for more details." >&2;}
3240    { (exit 1); exit 1; }; }
3241 fi
3242
3243 ac_ext=c
3244 ac_cpp='$CPP $CPPFLAGS'
3245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248
3249
3250 echo "$as_me:$LINENO: checking for egrep" >&5
3251 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3252 if test "${ac_cv_prog_egrep+set}" = set; then
3253   echo $ECHO_N "(cached) $ECHO_C" >&6
3254 else
3255   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3256     then ac_cv_prog_egrep='grep -E'
3257     else ac_cv_prog_egrep='egrep'
3258     fi
3259 fi
3260 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3261 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3262  EGREP=$ac_cv_prog_egrep
3263
3264
3265 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3266 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3267 if test "${ac_cv_header_stdc+set}" = set; then
3268   echo $ECHO_N "(cached) $ECHO_C" >&6
3269 else
3270   cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h.  */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h.  */
3276 #include <stdlib.h>
3277 #include <stdarg.h>
3278 #include <string.h>
3279 #include <float.h>
3280
3281 int
3282 main ()
3283 {
3284
3285   ;
3286   return 0;
3287 }
3288 _ACEOF
3289 rm -f conftest.$ac_objext
3290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3291   (eval $ac_compile) 2>conftest.er1
3292   ac_status=$?
3293   grep -v '^ *+' conftest.er1 >conftest.err
3294   rm -f conftest.er1
3295   cat conftest.err >&5
3296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297   (exit $ac_status); } &&
3298          { ac_try='test -z "$ac_c_werror_flag"
3299                          || test ! -s conftest.err'
3300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301   (eval $ac_try) 2>&5
3302   ac_status=$?
3303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304   (exit $ac_status); }; } &&
3305          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
3311   ac_cv_header_stdc=yes
3312 else
3313   echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3315
3316 ac_cv_header_stdc=no
3317 fi
3318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3319
3320 if test $ac_cv_header_stdc = yes; then
3321   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3322   cat >conftest.$ac_ext <<_ACEOF
3323 /* confdefs.h.  */
3324 _ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h.  */
3328 #include <string.h>
3329
3330 _ACEOF
3331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3332   $EGREP "memchr" >/dev/null 2>&1; then
3333   :
3334 else
3335   ac_cv_header_stdc=no
3336 fi
3337 rm -f conftest*
3338
3339 fi
3340
3341 if test $ac_cv_header_stdc = yes; then
3342   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 #include <stdlib.h>
3350
3351 _ACEOF
3352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3353   $EGREP "free" >/dev/null 2>&1; then
3354   :
3355 else
3356   ac_cv_header_stdc=no
3357 fi
3358 rm -f conftest*
3359
3360 fi
3361
3362 if test $ac_cv_header_stdc = yes; then
3363   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3364   if test "$cross_compiling" = yes; then
3365   :
3366 else
3367   cat >conftest.$ac_ext <<_ACEOF
3368 /* confdefs.h.  */
3369 _ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h.  */
3373 #include <ctype.h>
3374 #if ((' ' & 0x0FF) == 0x020)
3375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3377 #else
3378 # define ISLOWER(c) \
3379                    (('a' <= (c) && (c) <= 'i') \
3380                      || ('j' <= (c) && (c) <= 'r') \
3381                      || ('s' <= (c) && (c) <= 'z'))
3382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3383 #endif
3384
3385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3386 int
3387 main ()
3388 {
3389   int i;
3390   for (i = 0; i < 256; i++)
3391     if (XOR (islower (i), ISLOWER (i))
3392         || toupper (i) != TOUPPER (i))
3393       exit(2);
3394   exit (0);
3395 }
3396 _ACEOF
3397 rm -f conftest$ac_exeext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3399   (eval $ac_link) 2>&5
3400   ac_status=$?
3401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404   (eval $ac_try) 2>&5
3405   ac_status=$?
3406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407   (exit $ac_status); }; }; then
3408   :
3409 else
3410   echo "$as_me: program exited with status $ac_status" >&5
3411 echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3413
3414 ( exit $ac_status )
3415 ac_cv_header_stdc=no
3416 fi
3417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3418 fi
3419 fi
3420 fi
3421 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3422 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3423 if test $ac_cv_header_stdc = yes; then
3424
3425 cat >>confdefs.h <<\_ACEOF
3426 #define STDC_HEADERS 1
3427 _ACEOF
3428
3429 fi
3430
3431 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3442                   inttypes.h stdint.h unistd.h
3443 do
3444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3445 echo "$as_me:$LINENO: checking for $ac_header" >&5
3446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3448   echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450   cat >conftest.$ac_ext <<_ACEOF
3451 /* confdefs.h.  */
3452 _ACEOF
3453 cat confdefs.h >>conftest.$ac_ext
3454 cat >>conftest.$ac_ext <<_ACEOF
3455 /* end confdefs.h.  */
3456 $ac_includes_default
3457
3458 #include <$ac_header>
3459 _ACEOF
3460 rm -f conftest.$ac_objext
3461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462   (eval $ac_compile) 2>conftest.er1
3463   ac_status=$?
3464   grep -v '^ *+' conftest.er1 >conftest.err
3465   rm -f conftest.er1
3466   cat conftest.err >&5
3467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468   (exit $ac_status); } &&
3469          { ac_try='test -z "$ac_c_werror_flag"
3470                          || test ! -s conftest.err'
3471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472   (eval $ac_try) 2>&5
3473   ac_status=$?
3474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475   (exit $ac_status); }; } &&
3476          { ac_try='test -s conftest.$ac_objext'
3477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478   (eval $ac_try) 2>&5
3479   ac_status=$?
3480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481   (exit $ac_status); }; }; then
3482   eval "$as_ac_Header=yes"
3483 else
3484   echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3486
3487 eval "$as_ac_Header=no"
3488 fi
3489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3490 fi
3491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3494   cat >>confdefs.h <<_ACEOF
3495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3496 _ACEOF
3497
3498 fi
3499
3500 done
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510 for ac_header in fcntl.h limits.h stddef.h stdlib.h string.h sys/param.h unistd.h
3511 do
3512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3514   echo "$as_me:$LINENO: checking for $ac_header" >&5
3515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3517   echo $ECHO_N "(cached) $ECHO_C" >&6
3518 fi
3519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3521 else
3522   # Is the header compilable?
3523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3525 cat >conftest.$ac_ext <<_ACEOF
3526 /* confdefs.h.  */
3527 _ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h.  */
3531 $ac_includes_default
3532 #include <$ac_header>
3533 _ACEOF
3534 rm -f conftest.$ac_objext
3535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3536   (eval $ac_compile) 2>conftest.er1
3537   ac_status=$?
3538   grep -v '^ *+' conftest.er1 >conftest.err
3539   rm -f conftest.er1
3540   cat conftest.err >&5
3541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542   (exit $ac_status); } &&
3543          { ac_try='test -z "$ac_c_werror_flag"
3544                          || test ! -s conftest.err'
3545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546   (eval $ac_try) 2>&5
3547   ac_status=$?
3548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549   (exit $ac_status); }; } &&
3550          { ac_try='test -s conftest.$ac_objext'
3551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3552   (eval $ac_try) 2>&5
3553   ac_status=$?
3554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555   (exit $ac_status); }; }; then
3556   ac_header_compiler=yes
3557 else
3558   echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.$ac_ext >&5
3560
3561 ac_header_compiler=no
3562 fi
3563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3565 echo "${ECHO_T}$ac_header_compiler" >&6
3566
3567 # Is the header present?
3568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3570 cat >conftest.$ac_ext <<_ACEOF
3571 /* confdefs.h.  */
3572 _ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h.  */
3576 #include <$ac_header>
3577 _ACEOF
3578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3579   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3580   ac_status=$?
3581   grep -v '^ *+' conftest.er1 >conftest.err
3582   rm -f conftest.er1
3583   cat conftest.err >&5
3584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585   (exit $ac_status); } >/dev/null; then
3586   if test -s conftest.err; then
3587     ac_cpp_err=$ac_c_preproc_warn_flag
3588     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3589   else
3590     ac_cpp_err=
3591   fi
3592 else
3593   ac_cpp_err=yes
3594 fi
3595 if test -z "$ac_cpp_err"; then
3596   ac_header_preproc=yes
3597 else
3598   echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.$ac_ext >&5
3600
3601   ac_header_preproc=no
3602 fi
3603 rm -f conftest.err conftest.$ac_ext
3604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3605 echo "${ECHO_T}$ac_header_preproc" >&6
3606
3607 # So?  What about this header?
3608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3609   yes:no: )
3610     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3612     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3614     ac_header_preproc=yes
3615     ;;
3616   no:yes:* )
3617     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3619     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3620 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3621     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3623     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3624 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3625     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3627     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3629     (
3630       cat <<\_ASBOX
3631 ## ---------------------------------- ##
3632 ## Report this to dberlin@dberlin.org ##
3633 ## ---------------------------------- ##
3634 _ASBOX
3635     ) |
3636       sed "s/^/$as_me: WARNING:     /" >&2
3637     ;;
3638 esac
3639 echo "$as_me:$LINENO: checking for $ac_header" >&5
3640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3642   echo $ECHO_N "(cached) $ECHO_C" >&6
3643 else
3644   eval "$as_ac_Header=\$ac_header_preproc"
3645 fi
3646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3648
3649 fi
3650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3651   cat >>confdefs.h <<_ACEOF
3652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3653 _ACEOF
3654
3655 fi
3656
3657 done
3658
3659 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
3660 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
3661 if test "${ac_cv_header_stdbool_h+set}" = set; then
3662   echo $ECHO_N "(cached) $ECHO_C" >&6
3663 else
3664   cat >conftest.$ac_ext <<_ACEOF
3665 /* confdefs.h.  */
3666 _ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h.  */
3670
3671 #include <stdbool.h>
3672 #ifndef bool
3673 # error bool is not defined
3674 #endif
3675 #ifndef false
3676 # error false is not defined
3677 #endif
3678 #if false
3679 # error false is not 0
3680 #endif
3681 #ifndef true
3682 # error true is not defined
3683 #endif
3684 #if true != 1
3685 # error true is not 1
3686 #endif
3687 #ifndef __bool_true_false_are_defined
3688 # error __bool_true_false_are_defined is not defined
3689 #endif
3690
3691         struct s { _Bool s: 1; _Bool t; } s;
3692
3693         char a[true == 1 ? 1 : -1];
3694         char b[false == 0 ? 1 : -1];
3695         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3696         char d[(bool) -0.5 == true ? 1 : -1];
3697         bool e = &s;
3698         char f[(_Bool) -0.0 == false ? 1 : -1];
3699         char g[true];
3700         char h[sizeof (_Bool)];
3701         char i[sizeof s.t];
3702
3703 int
3704 main ()
3705 {
3706  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
3707   ;
3708   return 0;
3709 }
3710 _ACEOF
3711 rm -f conftest.$ac_objext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713   (eval $ac_compile) 2>conftest.er1
3714   ac_status=$?
3715   grep -v '^ *+' conftest.er1 >conftest.err
3716   rm -f conftest.er1
3717   cat conftest.err >&5
3718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719   (exit $ac_status); } &&
3720          { ac_try='test -z "$ac_c_werror_flag"
3721                          || test ! -s conftest.err'
3722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3723   (eval $ac_try) 2>&5
3724   ac_status=$?
3725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726   (exit $ac_status); }; } &&
3727          { ac_try='test -s conftest.$ac_objext'
3728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729   (eval $ac_try) 2>&5
3730   ac_status=$?
3731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732   (exit $ac_status); }; }; then
3733   ac_cv_header_stdbool_h=yes
3734 else
3735   echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.$ac_ext >&5
3737
3738 ac_cv_header_stdbool_h=no
3739 fi
3740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3741 fi
3742 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
3743 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
3744 echo "$as_me:$LINENO: checking for _Bool" >&5
3745 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
3746 if test "${ac_cv_type__Bool+set}" = set; then
3747   echo $ECHO_N "(cached) $ECHO_C" >&6
3748 else
3749   cat >conftest.$ac_ext <<_ACEOF
3750 /* confdefs.h.  */
3751 _ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h.  */
3755 $ac_includes_default
3756 int
3757 main ()
3758 {
3759 if ((_Bool *) 0)
3760   return 0;
3761 if (sizeof (_Bool))
3762   return 0;
3763   ;
3764   return 0;
3765 }
3766 _ACEOF
3767 rm -f conftest.$ac_objext
3768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3769   (eval $ac_compile) 2>conftest.er1
3770   ac_status=$?
3771   grep -v '^ *+' conftest.er1 >conftest.err
3772   rm -f conftest.er1
3773   cat conftest.err >&5
3774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775   (exit $ac_status); } &&
3776          { ac_try='test -z "$ac_c_werror_flag"
3777                          || test ! -s conftest.err'
3778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779   (eval $ac_try) 2>&5
3780   ac_status=$?
3781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782   (exit $ac_status); }; } &&
3783          { ac_try='test -s conftest.$ac_objext'
3784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3785   (eval $ac_try) 2>&5
3786   ac_status=$?
3787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788   (exit $ac_status); }; }; then
3789   ac_cv_type__Bool=yes
3790 else
3791   echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3793
3794 ac_cv_type__Bool=no
3795 fi
3796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3797 fi
3798 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
3799 echo "${ECHO_T}$ac_cv_type__Bool" >&6
3800 if test $ac_cv_type__Bool = yes; then
3801
3802 cat >>confdefs.h <<_ACEOF
3803 #define HAVE__BOOL 1
3804 _ACEOF
3805
3806
3807 fi
3808
3809 if test $ac_cv_header_stdbool_h = yes; then
3810
3811 cat >>confdefs.h <<\_ACEOF
3812 #define HAVE_STDBOOL_H 1
3813 _ACEOF
3814
3815 fi
3816
3817
3818 # Checks for typedefs, structures, and compiler characteristics.
3819 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3820 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3821 if test "${ac_cv_c_const+set}" = set; then
3822   echo $ECHO_N "(cached) $ECHO_C" >&6
3823 else
3824   cat >conftest.$ac_ext <<_ACEOF
3825 /* confdefs.h.  */
3826 _ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h.  */
3830
3831 int
3832 main ()
3833 {
3834 /* FIXME: Include the comments suggested by Paul. */
3835 #ifndef __cplusplus
3836   /* Ultrix mips cc rejects this.  */
3837   typedef int charset[2];
3838   const charset x;
3839   /* SunOS 4.1.1 cc rejects this.  */
3840   char const *const *ccp;
3841   char **p;
3842   /* NEC SVR4.0.2 mips cc rejects this.  */
3843   struct point {int x, y;};
3844   static struct point const zero = {0,0};
3845   /* AIX XL C 1.02.0.0 rejects this.
3846      It does not let you subtract one const X* pointer from another in
3847      an arm of an if-expression whose if-part is not a constant
3848      expression */
3849   const char *g = "string";
3850   ccp = &g + (g ? g-g : 0);
3851   /* HPUX 7.0 cc rejects these. */
3852   ++ccp;
3853   p = (char**) ccp;
3854   ccp = (char const *const *) p;
3855   { /* SCO 3.2v4 cc rejects this.  */
3856     char *t;
3857     char const *s = 0 ? (char *) 0 : (char const *) 0;
3858
3859     *t++ = 0;
3860   }
3861   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3862     int x[] = {25, 17};
3863     const int *foo = &x[0];
3864     ++foo;
3865   }
3866   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3867     typedef const int *iptr;
3868     iptr p = 0;
3869     ++p;
3870   }
3871   { /* AIX XL C 1.02.0.0 rejects this saying
3872        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3873     struct s { int j; const int *ap[3]; };
3874     struct s *b; b->j = 5;
3875   }
3876   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3877     const int foo = 10;
3878   }
3879 #endif
3880
3881   ;
3882   return 0;
3883 }
3884 _ACEOF
3885 rm -f conftest.$ac_objext
3886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3887   (eval $ac_compile) 2>conftest.er1
3888   ac_status=$?
3889   grep -v '^ *+' conftest.er1 >conftest.err
3890   rm -f conftest.er1
3891   cat conftest.err >&5
3892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893   (exit $ac_status); } &&
3894          { ac_try='test -z "$ac_c_werror_flag"
3895                          || test ! -s conftest.err'
3896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897   (eval $ac_try) 2>&5
3898   ac_status=$?
3899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900   (exit $ac_status); }; } &&
3901          { ac_try='test -s conftest.$ac_objext'
3902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903   (eval $ac_try) 2>&5
3904   ac_status=$?
3905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906   (exit $ac_status); }; }; then
3907   ac_cv_c_const=yes
3908 else
3909   echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.$ac_ext >&5
3911
3912 ac_cv_c_const=no
3913 fi
3914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3915 fi
3916 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3917 echo "${ECHO_T}$ac_cv_c_const" >&6
3918 if test $ac_cv_c_const = no; then
3919
3920 cat >>confdefs.h <<\_ACEOF
3921 #define const
3922 _ACEOF
3923
3924 fi
3925
3926 echo "$as_me:$LINENO: checking for inline" >&5
3927 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3928 if test "${ac_cv_c_inline+set}" = set; then
3929   echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931   ac_cv_c_inline=no
3932 for ac_kw in inline __inline__ __inline; do
3933   cat >conftest.$ac_ext <<_ACEOF
3934 /* confdefs.h.  */
3935 _ACEOF
3936 cat confdefs.h >>conftest.$ac_ext
3937 cat >>conftest.$ac_ext <<_ACEOF
3938 /* end confdefs.h.  */
3939 #ifndef __cplusplus
3940 typedef int foo_t;
3941 static $ac_kw foo_t static_foo () {return 0; }
3942 $ac_kw foo_t foo () {return 0; }
3943 #endif
3944
3945 _ACEOF
3946 rm -f conftest.$ac_objext
3947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3948   (eval $ac_compile) 2>conftest.er1
3949   ac_status=$?
3950   grep -v '^ *+' conftest.er1 >conftest.err
3951   rm -f conftest.er1
3952   cat conftest.err >&5
3953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954   (exit $ac_status); } &&
3955          { ac_try='test -z "$ac_c_werror_flag"
3956                          || test ! -s conftest.err'
3957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3958   (eval $ac_try) 2>&5
3959   ac_status=$?
3960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961   (exit $ac_status); }; } &&
3962          { ac_try='test -s conftest.$ac_objext'
3963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964   (eval $ac_try) 2>&5
3965   ac_status=$?
3966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967   (exit $ac_status); }; }; then
3968   ac_cv_c_inline=$ac_kw; break
3969 else
3970   echo "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.$ac_ext >&5
3972
3973 fi
3974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3975 done
3976
3977 fi
3978 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3979 echo "${ECHO_T}$ac_cv_c_inline" >&6
3980
3981
3982 case $ac_cv_c_inline in
3983   inline | yes) ;;
3984   *)
3985     case $ac_cv_c_inline in
3986       no) ac_val=;;
3987       *) ac_val=$ac_cv_c_inline;;
3988     esac
3989     cat >>confdefs.h <<_ACEOF
3990 #ifndef __cplusplus
3991 #define inline $ac_val
3992 #endif
3993 _ACEOF
3994     ;;
3995 esac
3996
3997 echo "$as_me:$LINENO: checking for pid_t" >&5
3998 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3999 if test "${ac_cv_type_pid_t+set}" = set; then
4000   echo $ECHO_N "(cached) $ECHO_C" >&6
4001 else
4002   cat >conftest.$ac_ext <<_ACEOF
4003 /* confdefs.h.  */
4004 _ACEOF
4005 cat confdefs.h >>conftest.$ac_ext
4006 cat >>conftest.$ac_ext <<_ACEOF
4007 /* end confdefs.h.  */
4008 $ac_includes_default
4009 int
4010 main ()
4011 {
4012 if ((pid_t *) 0)
4013   return 0;
4014 if (sizeof (pid_t))
4015   return 0;
4016   ;
4017   return 0;
4018 }
4019 _ACEOF
4020 rm -f conftest.$ac_objext
4021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4022   (eval $ac_compile) 2>conftest.er1
4023   ac_status=$?
4024   grep -v '^ *+' conftest.er1 >conftest.err
4025   rm -f conftest.er1
4026   cat conftest.err >&5
4027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028   (exit $ac_status); } &&
4029          { ac_try='test -z "$ac_c_werror_flag"
4030                          || test ! -s conftest.err'
4031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032   (eval $ac_try) 2>&5
4033   ac_status=$?
4034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035   (exit $ac_status); }; } &&
4036          { ac_try='test -s conftest.$ac_objext'
4037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038   (eval $ac_try) 2>&5
4039   ac_status=$?
4040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041   (exit $ac_status); }; }; then
4042   ac_cv_type_pid_t=yes
4043 else
4044   echo "$as_me: failed program was:" >&5
4045 sed 's/^/| /' conftest.$ac_ext >&5
4046
4047 ac_cv_type_pid_t=no
4048 fi
4049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4050 fi
4051 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4052 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4053 if test $ac_cv_type_pid_t = yes; then
4054   :
4055 else
4056
4057 cat >>confdefs.h <<_ACEOF
4058 #define pid_t int
4059 _ACEOF
4060
4061 fi
4062
4063 echo "$as_me:$LINENO: checking for size_t" >&5
4064 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4065 if test "${ac_cv_type_size_t+set}" = set; then
4066   echo $ECHO_N "(cached) $ECHO_C" >&6
4067 else
4068   cat >conftest.$ac_ext <<_ACEOF
4069 /* confdefs.h.  */
4070 _ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h.  */
4074 $ac_includes_default
4075 int
4076 main ()
4077 {
4078 if ((size_t *) 0)
4079   return 0;
4080 if (sizeof (size_t))
4081   return 0;
4082   ;
4083   return 0;
4084 }
4085 _ACEOF
4086 rm -f conftest.$ac_objext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4088   (eval $ac_compile) 2>conftest.er1
4089   ac_status=$?
4090   grep -v '^ *+' conftest.er1 >conftest.err
4091   rm -f conftest.er1
4092   cat conftest.err >&5
4093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094   (exit $ac_status); } &&
4095          { ac_try='test -z "$ac_c_werror_flag"
4096                          || test ! -s conftest.err'
4097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098   (eval $ac_try) 2>&5
4099   ac_status=$?
4100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101   (exit $ac_status); }; } &&
4102          { ac_try='test -s conftest.$ac_objext'
4103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104   (eval $ac_try) 2>&5
4105   ac_status=$?
4106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107   (exit $ac_status); }; }; then
4108   ac_cv_type_size_t=yes
4109 else
4110   echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4112
4113 ac_cv_type_size_t=no
4114 fi
4115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4116 fi
4117 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4118 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4119 if test $ac_cv_type_size_t = yes; then
4120   :
4121 else
4122
4123 cat >>confdefs.h <<_ACEOF
4124 #define size_t unsigned
4125 _ACEOF
4126
4127 fi
4128
4129
4130 # Checks for library functions.
4131 echo "$as_me:$LINENO: checking for working memcmp" >&5
4132 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4133 if test "${ac_cv_func_memcmp_working+set}" = set; then
4134   echo $ECHO_N "(cached) $ECHO_C" >&6
4135 else
4136   if test "$cross_compiling" = yes; then
4137   ac_cv_func_memcmp_working=no
4138 else
4139   cat >conftest.$ac_ext <<_ACEOF
4140 /* confdefs.h.  */
4141 _ACEOF
4142 cat confdefs.h >>conftest.$ac_ext
4143 cat >>conftest.$ac_ext <<_ACEOF
4144 /* end confdefs.h.  */
4145 $ac_includes_default
4146 int
4147 main ()
4148 {
4149
4150   /* Some versions of memcmp are not 8-bit clean.  */
4151   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4152   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4153     exit (1);
4154
4155   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4156      or more and with at least one buffer not starting on a 4-byte boundary.
4157      William Lewis provided this test program.   */
4158   {
4159     char foo[21];
4160     char bar[21];
4161     int i;
4162     for (i = 0; i < 4; i++)
4163       {
4164         char *a = foo + i;
4165         char *b = bar + i;
4166         strcpy (a, "--------01111111");
4167         strcpy (b, "--------10000000");
4168         if (memcmp (a, b, 16) >= 0)
4169           exit (1);
4170       }
4171     exit (0);
4172   }
4173
4174   ;
4175   return 0;
4176 }
4177 _ACEOF
4178 rm -f conftest$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180   (eval $ac_link) 2>&5
4181   ac_status=$?
4182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4185   (eval $ac_try) 2>&5
4186   ac_status=$?
4187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188   (exit $ac_status); }; }; then
4189   ac_cv_func_memcmp_working=yes
4190 else
4191   echo "$as_me: program exited with status $ac_status" >&5
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4194
4195 ( exit $ac_status )
4196 ac_cv_func_memcmp_working=no
4197 fi
4198 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4199 fi
4200 fi
4201 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4202 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4203 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
4204     "memcmp.$ac_objext"   | \
4205   *" memcmp.$ac_objext"   | \
4206     "memcmp.$ac_objext "* | \
4207   *" memcmp.$ac_objext "* ) ;;
4208   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
4209 esac
4210
4211
4212
4213
4214 for ac_header in stdlib.h unistd.h
4215 do
4216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4218   echo "$as_me:$LINENO: checking for $ac_header" >&5
4219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4221   echo $ECHO_N "(cached) $ECHO_C" >&6
4222 fi
4223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4225 else
4226   # Is the header compilable?
4227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4229 cat >conftest.$ac_ext <<_ACEOF
4230 /* confdefs.h.  */
4231 _ACEOF
4232 cat confdefs.h >>conftest.$ac_ext
4233 cat >>conftest.$ac_ext <<_ACEOF
4234 /* end confdefs.h.  */
4235 $ac_includes_default
4236 #include <$ac_header>
4237 _ACEOF
4238 rm -f conftest.$ac_objext
4239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4240   (eval $ac_compile) 2>conftest.er1
4241   ac_status=$?
4242   grep -v '^ *+' conftest.er1 >conftest.err
4243   rm -f conftest.er1
4244   cat conftest.err >&5
4245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246   (exit $ac_status); } &&
4247          { ac_try='test -z "$ac_c_werror_flag"
4248                          || test ! -s conftest.err'
4249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250   (eval $ac_try) 2>&5
4251   ac_status=$?
4252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253   (exit $ac_status); }; } &&
4254          { ac_try='test -s conftest.$ac_objext'
4255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256   (eval $ac_try) 2>&5
4257   ac_status=$?
4258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259   (exit $ac_status); }; }; then
4260   ac_header_compiler=yes
4261 else
4262   echo "$as_me: failed program was:" >&5
4263 sed 's/^/| /' conftest.$ac_ext >&5
4264
4265 ac_header_compiler=no
4266 fi
4267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4269 echo "${ECHO_T}$ac_header_compiler" >&6
4270
4271 # Is the header present?
4272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4274 cat >conftest.$ac_ext <<_ACEOF
4275 /* confdefs.h.  */
4276 _ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h.  */
4280 #include <$ac_header>
4281 _ACEOF
4282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4283   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4284   ac_status=$?
4285   grep -v '^ *+' conftest.er1 >conftest.err
4286   rm -f conftest.er1
4287   cat conftest.err >&5
4288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289   (exit $ac_status); } >/dev/null; then
4290   if test -s conftest.err; then
4291     ac_cpp_err=$ac_c_preproc_warn_flag
4292     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4293   else
4294     ac_cpp_err=
4295   fi
4296 else
4297   ac_cpp_err=yes
4298 fi
4299 if test -z "$ac_cpp_err"; then
4300   ac_header_preproc=yes
4301 else
4302   echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4304
4305   ac_header_preproc=no
4306 fi
4307 rm -f conftest.err conftest.$ac_ext
4308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4309 echo "${ECHO_T}$ac_header_preproc" >&6
4310
4311 # So?  What about this header?
4312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4313   yes:no: )
4314     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4316     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4318     ac_header_preproc=yes
4319     ;;
4320   no:yes:* )
4321     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4323     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4324 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4325     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4327     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4328 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4329     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4331     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4333     (
4334       cat <<\_ASBOX
4335 ## ---------------------------------- ##
4336 ## Report this to dberlin@dberlin.org ##
4337 ## ---------------------------------- ##
4338 _ASBOX
4339     ) |
4340       sed "s/^/$as_me: WARNING:     /" >&2
4341     ;;
4342 esac
4343 echo "$as_me:$LINENO: checking for $ac_header" >&5
4344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4346   echo $ECHO_N "(cached) $ECHO_C" >&6
4347 else
4348   eval "$as_ac_Header=\$ac_header_preproc"
4349 fi
4350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4352
4353 fi
4354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4355   cat >>confdefs.h <<_ACEOF
4356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4357 _ACEOF
4358
4359 fi
4360
4361 done
4362
4363
4364 for ac_func in getpagesize
4365 do
4366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4367 echo "$as_me:$LINENO: checking for $ac_func" >&5
4368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4369 if eval "test \"\${$as_ac_var+set}\" = set"; then
4370   echo $ECHO_N "(cached) $ECHO_C" >&6
4371 else
4372   cat >conftest.$ac_ext <<_ACEOF
4373 /* confdefs.h.  */
4374 _ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h.  */
4378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4380 #define $ac_func innocuous_$ac_func
4381
4382 /* System header to define __stub macros and hopefully few prototypes,
4383     which can conflict with char $ac_func (); below.
4384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4385     <limits.h> exists even on freestanding compilers.  */
4386
4387 #ifdef __STDC__
4388 # include <limits.h>
4389 #else
4390 # include <assert.h>
4391 #endif
4392
4393 #undef $ac_func
4394
4395 /* Override any gcc2 internal prototype to avoid an error.  */
4396 #ifdef __cplusplus
4397 extern "C"
4398 {
4399 #endif
4400 /* We use char because int might match the return type of a gcc2
4401    builtin and then its argument prototype would still apply.  */
4402 char $ac_func ();
4403 /* The GNU C library defines this for functions which it implements
4404     to always fail with ENOSYS.  Some functions are actually named
4405     something starting with __ and the normal name is an alias.  */
4406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4407 choke me
4408 #else
4409 char (*f) () = $ac_func;
4410 #endif
4411 #ifdef __cplusplus
4412 }
4413 #endif
4414
4415 int
4416 main ()
4417 {
4418 return f != $ac_func;
4419   ;
4420   return 0;
4421 }
4422 _ACEOF
4423 rm -f conftest.$ac_objext conftest$ac_exeext
4424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4425   (eval $ac_link) 2>conftest.er1
4426   ac_status=$?
4427   grep -v '^ *+' conftest.er1 >conftest.err
4428   rm -f conftest.er1
4429   cat conftest.err >&5
4430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431   (exit $ac_status); } &&
4432          { ac_try='test -z "$ac_c_werror_flag"
4433                          || test ! -s conftest.err'
4434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435   (eval $ac_try) 2>&5
4436   ac_status=$?
4437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438   (exit $ac_status); }; } &&
4439          { ac_try='test -s conftest$ac_exeext'
4440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4441   (eval $ac_try) 2>&5
4442   ac_status=$?
4443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444   (exit $ac_status); }; }; then
4445   eval "$as_ac_var=yes"
4446 else
4447   echo "$as_me: failed program was:" >&5
4448 sed 's/^/| /' conftest.$ac_ext >&5
4449
4450 eval "$as_ac_var=no"
4451 fi
4452 rm -f conftest.err conftest.$ac_objext \
4453       conftest$ac_exeext conftest.$ac_ext
4454 fi
4455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4457 if test `eval echo '${'$as_ac_var'}'` = yes; then
4458   cat >>confdefs.h <<_ACEOF
4459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4460 _ACEOF
4461
4462 fi
4463 done
4464
4465 echo "$as_me:$LINENO: checking for working mmap" >&5
4466 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4467 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4468   echo $ECHO_N "(cached) $ECHO_C" >&6
4469 else
4470   if test "$cross_compiling" = yes; then
4471   ac_cv_func_mmap_fixed_mapped=no
4472 else
4473   cat >conftest.$ac_ext <<_ACEOF
4474 /* confdefs.h.  */
4475 _ACEOF
4476 cat confdefs.h >>conftest.$ac_ext
4477 cat >>conftest.$ac_ext <<_ACEOF
4478 /* end confdefs.h.  */
4479 $ac_includes_default
4480 /* malloc might have been renamed as rpl_malloc. */
4481 #undef malloc
4482
4483 /* Thanks to Mike Haertel and Jim Avera for this test.
4484    Here is a matrix of mmap possibilities:
4485         mmap private not fixed
4486         mmap private fixed at somewhere currently unmapped
4487         mmap private fixed at somewhere already mapped
4488         mmap shared not fixed
4489         mmap shared fixed at somewhere currently unmapped
4490         mmap shared fixed at somewhere already mapped
4491    For private mappings, we should verify that changes cannot be read()
4492    back from the file, nor mmap's back from the file at a different
4493    address.  (There have been systems where private was not correctly
4494    implemented like the infamous i386 svr4.0, and systems where the
4495    VM page cache was not coherent with the file system buffer cache
4496    like early versions of FreeBSD and possibly contemporary NetBSD.)
4497    For shared mappings, we should conversely verify that changes get
4498    propagated back to all the places they're supposed to be.
4499
4500    Grep wants private fixed already mapped.
4501    The main things grep needs to know about mmap are:
4502    * does it exist and is it safe to write into the mmap'd area
4503    * how to use it (BSD variants)  */
4504
4505 #include <fcntl.h>
4506 #include <sys/mman.h>
4507
4508 #if !STDC_HEADERS && !HAVE_STDLIB_H
4509 char *malloc ();
4510 #endif
4511
4512 /* This mess was copied from the GNU getpagesize.h.  */
4513 #if !HAVE_GETPAGESIZE
4514 /* Assume that all systems that can run configure have sys/param.h.  */
4515 # if !HAVE_SYS_PARAM_H
4516 #  define HAVE_SYS_PARAM_H 1
4517 # endif
4518
4519 # ifdef _SC_PAGESIZE
4520 #  define getpagesize() sysconf(_SC_PAGESIZE)
4521 # else /* no _SC_PAGESIZE */
4522 #  if HAVE_SYS_PARAM_H
4523 #   include <sys/param.h>
4524 #   ifdef EXEC_PAGESIZE
4525 #    define getpagesize() EXEC_PAGESIZE
4526 #   else /* no EXEC_PAGESIZE */
4527 #    ifdef NBPG
4528 #     define getpagesize() NBPG * CLSIZE
4529 #     ifndef CLSIZE
4530 #      define CLSIZE 1
4531 #     endif /* no CLSIZE */
4532 #    else /* no NBPG */
4533 #     ifdef NBPC
4534 #      define getpagesize() NBPC
4535 #     else /* no NBPC */
4536 #      ifdef PAGESIZE
4537 #       define getpagesize() PAGESIZE
4538 #      endif /* PAGESIZE */
4539 #     endif /* no NBPC */
4540 #    endif /* no NBPG */
4541 #   endif /* no EXEC_PAGESIZE */
4542 #  else /* no HAVE_SYS_PARAM_H */
4543 #   define getpagesize() 8192   /* punt totally */
4544 #  endif /* no HAVE_SYS_PARAM_H */
4545 # endif /* no _SC_PAGESIZE */
4546
4547 #endif /* no HAVE_GETPAGESIZE */
4548
4549 int
4550 main ()
4551 {
4552   char *data, *data2, *data3;
4553   int i, pagesize;
4554   int fd;
4555
4556   pagesize = getpagesize ();
4557
4558   /* First, make a file with some known garbage in it. */
4559   data = (char *) malloc (pagesize);
4560   if (!data)
4561     exit (1);
4562   for (i = 0; i < pagesize; ++i)
4563     *(data + i) = rand ();
4564   umask (0);
4565   fd = creat ("conftest.mmap", 0600);
4566   if (fd < 0)
4567     exit (1);
4568   if (write (fd, data, pagesize) != pagesize)
4569     exit (1);
4570   close (fd);
4571
4572   /* Next, try to mmap the file at a fixed address which already has
4573      something else allocated at it.  If we can, also make sure that
4574      we see the same garbage.  */
4575   fd = open ("conftest.mmap", O_RDWR);
4576   if (fd < 0)
4577     exit (1);
4578   data2 = (char *) malloc (2 * pagesize);
4579   if (!data2)
4580     exit (1);
4581   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4582   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4583                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
4584     exit (1);
4585   for (i = 0; i < pagesize; ++i)
4586     if (*(data + i) != *(data2 + i))
4587       exit (1);
4588
4589   /* Finally, make sure that changes to the mapped area do not
4590      percolate back to the file as seen by read().  (This is a bug on
4591      some variants of i386 svr4.0.)  */
4592   for (i = 0; i < pagesize; ++i)
4593     *(data2 + i) = *(data2 + i) + 1;
4594   data3 = (char *) malloc (pagesize);
4595   if (!data3)
4596     exit (1);
4597   if (read (fd, data3, pagesize) != pagesize)
4598     exit (1);
4599   for (i = 0; i < pagesize; ++i)
4600     if (*(data + i) != *(data3 + i))
4601       exit (1);
4602   close (fd);
4603   exit (0);
4604 }
4605 _ACEOF
4606 rm -f conftest$ac_exeext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608   (eval $ac_link) 2>&5
4609   ac_status=$?
4610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4613   (eval $ac_try) 2>&5
4614   ac_status=$?
4615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616   (exit $ac_status); }; }; then
4617   ac_cv_func_mmap_fixed_mapped=yes
4618 else
4619   echo "$as_me: program exited with status $ac_status" >&5
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.$ac_ext >&5
4622
4623 ( exit $ac_status )
4624 ac_cv_func_mmap_fixed_mapped=no
4625 fi
4626 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4627 fi
4628 fi
4629 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4630 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4631 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4632
4633 cat >>confdefs.h <<\_ACEOF
4634 #define HAVE_MMAP 1
4635 _ACEOF
4636
4637 fi
4638 rm -f conftest.mmap
4639
4640
4641 for ac_func in vprintf
4642 do
4643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4644 echo "$as_me:$LINENO: checking for $ac_func" >&5
4645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4646 if eval "test \"\${$as_ac_var+set}\" = set"; then
4647   echo $ECHO_N "(cached) $ECHO_C" >&6
4648 else
4649   cat >conftest.$ac_ext <<_ACEOF
4650 /* confdefs.h.  */
4651 _ACEOF
4652 cat confdefs.h >>conftest.$ac_ext
4653 cat >>conftest.$ac_ext <<_ACEOF
4654 /* end confdefs.h.  */
4655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4657 #define $ac_func innocuous_$ac_func
4658
4659 /* System header to define __stub macros and hopefully few prototypes,
4660     which can conflict with char $ac_func (); below.
4661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4662     <limits.h> exists even on freestanding compilers.  */
4663
4664 #ifdef __STDC__
4665 # include <limits.h>
4666 #else
4667 # include <assert.h>
4668 #endif
4669
4670 #undef $ac_func
4671
4672 /* Override any gcc2 internal prototype to avoid an error.  */
4673 #ifdef __cplusplus
4674 extern "C"
4675 {
4676 #endif
4677 /* We use char because int might match the return type of a gcc2
4678    builtin and then its argument prototype would still apply.  */
4679 char $ac_func ();
4680 /* The GNU C library defines this for functions which it implements
4681     to always fail with ENOSYS.  Some functions are actually named
4682     something starting with __ and the normal name is an alias.  */
4683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4684 choke me
4685 #else
4686 char (*f) () = $ac_func;
4687 #endif
4688 #ifdef __cplusplus
4689 }
4690 #endif
4691
4692 int
4693 main ()
4694 {
4695 return f != $ac_func;
4696   ;
4697   return 0;
4698 }
4699 _ACEOF
4700 rm -f conftest.$ac_objext conftest$ac_exeext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4702   (eval $ac_link) 2>conftest.er1
4703   ac_status=$?
4704   grep -v '^ *+' conftest.er1 >conftest.err
4705   rm -f conftest.er1
4706   cat conftest.err >&5
4707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708   (exit $ac_status); } &&
4709          { ac_try='test -z "$ac_c_werror_flag"
4710                          || test ! -s conftest.err'
4711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712   (eval $ac_try) 2>&5
4713   ac_status=$?
4714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715   (exit $ac_status); }; } &&
4716          { ac_try='test -s conftest$ac_exeext'
4717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718   (eval $ac_try) 2>&5
4719   ac_status=$?
4720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721   (exit $ac_status); }; }; then
4722   eval "$as_ac_var=yes"
4723 else
4724   echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4726
4727 eval "$as_ac_var=no"
4728 fi
4729 rm -f conftest.err conftest.$ac_objext \
4730       conftest$ac_exeext conftest.$ac_ext
4731 fi
4732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4734 if test `eval echo '${'$as_ac_var'}'` = yes; then
4735   cat >>confdefs.h <<_ACEOF
4736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4737 _ACEOF
4738
4739 echo "$as_me:$LINENO: checking for _doprnt" >&5
4740 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4741 if test "${ac_cv_func__doprnt+set}" = set; then
4742   echo $ECHO_N "(cached) $ECHO_C" >&6
4743 else
4744   cat >conftest.$ac_ext <<_ACEOF
4745 /* confdefs.h.  */
4746 _ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h.  */
4750 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4752 #define _doprnt innocuous__doprnt
4753
4754 /* System header to define __stub macros and hopefully few prototypes,
4755     which can conflict with char _doprnt (); below.
4756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4757     <limits.h> exists even on freestanding compilers.  */
4758
4759 #ifdef __STDC__
4760 # include <limits.h>
4761 #else
4762 # include <assert.h>
4763 #endif
4764
4765 #undef _doprnt
4766
4767 /* Override any gcc2 internal prototype to avoid an error.  */
4768 #ifdef __cplusplus
4769 extern "C"
4770 {
4771 #endif
4772 /* We use char because int might match the return type of a gcc2
4773    builtin and then its argument prototype would still apply.  */
4774 char _doprnt ();
4775 /* The GNU C library defines this for functions which it implements
4776     to always fail with ENOSYS.  Some functions are actually named
4777     something starting with __ and the normal name is an alias.  */
4778 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4779 choke me
4780 #else
4781 char (*f) () = _doprnt;
4782 #endif
4783 #ifdef __cplusplus
4784 }
4785 #endif
4786
4787 int
4788 main ()
4789 {
4790 return f != _doprnt;
4791   ;
4792   return 0;
4793 }
4794 _ACEOF
4795 rm -f conftest.$ac_objext conftest$ac_exeext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4797   (eval $ac_link) 2>conftest.er1
4798   ac_status=$?
4799   grep -v '^ *+' conftest.er1 >conftest.err
4800   rm -f conftest.er1
4801   cat conftest.err >&5
4802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803   (exit $ac_status); } &&
4804          { ac_try='test -z "$ac_c_werror_flag"
4805                          || test ! -s conftest.err'
4806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807   (eval $ac_try) 2>&5
4808   ac_status=$?
4809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810   (exit $ac_status); }; } &&
4811          { ac_try='test -s conftest$ac_exeext'
4812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813   (eval $ac_try) 2>&5
4814   ac_status=$?
4815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816   (exit $ac_status); }; }; then
4817   ac_cv_func__doprnt=yes
4818 else
4819   echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4821
4822 ac_cv_func__doprnt=no
4823 fi
4824 rm -f conftest.err conftest.$ac_objext \
4825       conftest$ac_exeext conftest.$ac_ext
4826 fi
4827 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4828 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4829 if test $ac_cv_func__doprnt = yes; then
4830
4831 cat >>confdefs.h <<\_ACEOF
4832 #define HAVE_DOPRNT 1
4833 _ACEOF
4834
4835 fi
4836
4837 fi
4838 done
4839
4840
4841
4842
4843
4844
4845
4846
4847 for ac_func in atexit dup2 floor getpagesize memset munmap
4848 do
4849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4850 echo "$as_me:$LINENO: checking for $ac_func" >&5
4851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4852 if eval "test \"\${$as_ac_var+set}\" = set"; then
4853   echo $ECHO_N "(cached) $ECHO_C" >&6
4854 else
4855   cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h.  */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h.  */
4861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4863 #define $ac_func innocuous_$ac_func
4864
4865 /* System header to define __stub macros and hopefully few prototypes,
4866     which can conflict with char $ac_func (); below.
4867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4868     <limits.h> exists even on freestanding compilers.  */
4869
4870 #ifdef __STDC__
4871 # include <limits.h>
4872 #else
4873 # include <assert.h>
4874 #endif
4875
4876 #undef $ac_func
4877
4878 /* Override any gcc2 internal prototype to avoid an error.  */
4879 #ifdef __cplusplus
4880 extern "C"
4881 {
4882 #endif
4883 /* We use char because int might match the return type of a gcc2
4884    builtin and then its argument prototype would still apply.  */
4885 char $ac_func ();
4886 /* The GNU C library defines this for functions which it implements
4887     to always fail with ENOSYS.  Some functions are actually named
4888     something starting with __ and the normal name is an alias.  */
4889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4890 choke me
4891 #else
4892 char (*f) () = $ac_func;
4893 #endif
4894 #ifdef __cplusplus
4895 }
4896 #endif
4897
4898 int
4899 main ()
4900 {
4901 return f != $ac_func;
4902   ;
4903   return 0;
4904 }
4905 _ACEOF
4906 rm -f conftest.$ac_objext conftest$ac_exeext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4908   (eval $ac_link) 2>conftest.er1
4909   ac_status=$?
4910   grep -v '^ *+' conftest.er1 >conftest.err
4911   rm -f conftest.er1
4912   cat conftest.err >&5
4913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914   (exit $ac_status); } &&
4915          { ac_try='test -z "$ac_c_werror_flag"
4916                          || test ! -s conftest.err'
4917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918   (eval $ac_try) 2>&5
4919   ac_status=$?
4920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921   (exit $ac_status); }; } &&
4922          { ac_try='test -s conftest$ac_exeext'
4923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924   (eval $ac_try) 2>&5
4925   ac_status=$?
4926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927   (exit $ac_status); }; }; then
4928   eval "$as_ac_var=yes"
4929 else
4930   echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4932
4933 eval "$as_ac_var=no"
4934 fi
4935 rm -f conftest.err conftest.$ac_objext \
4936       conftest$ac_exeext conftest.$ac_ext
4937 fi
4938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4940 if test `eval echo '${'$as_ac_var'}'` = yes; then
4941   cat >>confdefs.h <<_ACEOF
4942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4943 _ACEOF
4944
4945 fi
4946 done
4947
4948
4949                                         ac_config_files="$ac_config_files Makefile engine/Makefile libcompat/Makefile points-to/Makefile"
4950
4951 cat >confcache <<\_ACEOF
4952 # This file is a shell script that caches the results of configure
4953 # tests run on this system so they can be shared between configure
4954 # scripts and configure runs, see configure's option --config-cache.
4955 # It is not useful on other systems.  If it contains results you don't
4956 # want to keep, you may remove or edit it.
4957 #
4958 # config.status only pays attention to the cache file if you give it
4959 # the --recheck option to rerun configure.
4960 #
4961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4963 # following values.
4964
4965 _ACEOF
4966
4967 # The following way of writing the cache mishandles newlines in values,
4968 # but we know of no workaround that is simple, portable, and efficient.
4969 # So, don't put newlines in cache variables' values.
4970 # Ultrix sh set writes to stderr and can't be redirected directly,
4971 # and sets the high bit in the cache file unless we assign to the vars.
4972 {
4973   (set) 2>&1 |
4974     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4975     *ac_space=\ *)
4976       # `set' does not quote correctly, so add quotes (double-quote
4977       # substitution turns \\\\ into \\, and sed turns \\ into \).
4978       sed -n \
4979         "s/'/'\\\\''/g;
4980           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4981       ;;
4982     *)
4983       # `set' quotes correctly as required by POSIX, so do not add quotes.
4984       sed -n \
4985         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4986       ;;
4987     esac;
4988 } |
4989   sed '
4990      t clear
4991      : clear
4992      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4993      t end
4994      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4995      : end' >>confcache
4996 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4997   if test -w $cache_file; then
4998     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4999     cat confcache >$cache_file
5000   else
5001     echo "not updating unwritable cache $cache_file"
5002   fi
5003 fi
5004 rm -f confcache
5005
5006 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5007 # Let make expand exec_prefix.
5008 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5009
5010 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5011 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5012 # trailing colons and then remove the whole line if VPATH becomes empty
5013 # (actually we leave an empty line to preserve line numbers).
5014 if test "x$srcdir" = x.; then
5015   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5016 s/:*\$(srcdir):*/:/;
5017 s/:*\${srcdir}:*/:/;
5018 s/:*@srcdir@:*/:/;
5019 s/^\([^=]*=[     ]*\):*/\1/;
5020 s/:*$//;
5021 s/^[^=]*=[       ]*$//;
5022 }'
5023 fi
5024
5025 DEFS=-DHAVE_CONFIG_H
5026
5027 ac_libobjs=
5028 ac_ltlibobjs=
5029 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5030   # 1. Remove the extension, and $U if already installed.
5031   ac_i=`echo "$ac_i" |
5032          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5033   # 2. Add them.
5034   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5035   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5036 done
5037 LIBOBJS=$ac_libobjs
5038
5039 LTLIBOBJS=$ac_ltlibobjs
5040
5041
5042 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5043   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5044 Usually this means the macro was only invoked conditionally." >&5
5045 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5046 Usually this means the macro was only invoked conditionally." >&2;}
5047    { (exit 1); exit 1; }; }
5048 fi
5049 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5050   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5051 Usually this means the macro was only invoked conditionally." >&5
5052 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5053 Usually this means the macro was only invoked conditionally." >&2;}
5054    { (exit 1); exit 1; }; }
5055 fi
5056 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5057   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5058 Usually this means the macro was only invoked conditionally." >&5
5059 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5060 Usually this means the macro was only invoked conditionally." >&2;}
5061    { (exit 1); exit 1; }; }
5062 fi
5063
5064 : ${CONFIG_STATUS=./config.status}
5065 ac_clean_files_save=$ac_clean_files
5066 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5067 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5068 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5069 cat >$CONFIG_STATUS <<_ACEOF
5070 #! $SHELL
5071 # Generated by $as_me.
5072 # Run this file to recreate the current configuration.
5073 # Compiler output produced by configure, useful for debugging
5074 # configure, is in config.log if it exists.
5075
5076 debug=false
5077 ac_cs_recheck=false
5078 ac_cs_silent=false
5079 SHELL=\${CONFIG_SHELL-$SHELL}
5080 _ACEOF
5081
5082 cat >>$CONFIG_STATUS <<\_ACEOF
5083 ## --------------------- ##
5084 ## M4sh Initialization.  ##
5085 ## --------------------- ##
5086
5087 # Be Bourne compatible
5088 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5089   emulate sh
5090   NULLCMD=:
5091   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5092   # is contrary to our usage.  Disable this feature.
5093   alias -g '${1+"$@"}'='"$@"'
5094 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5095   set -o posix
5096 fi
5097 DUALCASE=1; export DUALCASE # for MKS sh
5098
5099 # Support unset when possible.
5100 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5101   as_unset=unset
5102 else
5103   as_unset=false
5104 fi
5105
5106
5107 # Work around bugs in pre-3.0 UWIN ksh.
5108 $as_unset ENV MAIL MAILPATH
5109 PS1='$ '
5110 PS2='> '
5111 PS4='+ '
5112
5113 # NLS nuisances.
5114 for as_var in \
5115   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5116   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5117   LC_TELEPHONE LC_TIME
5118 do
5119   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5120     eval $as_var=C; export $as_var
5121   else
5122     $as_unset $as_var
5123   fi
5124 done
5125
5126 # Required to use basename.
5127 if expr a : '\(a\)' >/dev/null 2>&1; then
5128   as_expr=expr
5129 else
5130   as_expr=false
5131 fi
5132
5133 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5134   as_basename=basename
5135 else
5136   as_basename=false
5137 fi
5138
5139
5140 # Name of the executable.
5141 as_me=`$as_basename "$0" ||
5142 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5143          X"$0" : 'X\(//\)$' \| \
5144          X"$0" : 'X\(/\)$' \| \
5145          .     : '\(.\)' 2>/dev/null ||
5146 echo X/"$0" |
5147     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5148           /^X\/\(\/\/\)$/{ s//\1/; q; }
5149           /^X\/\(\/\).*/{ s//\1/; q; }
5150           s/.*/./; q'`
5151
5152
5153 # PATH needs CR, and LINENO needs CR and PATH.
5154 # Avoid depending upon Character Ranges.
5155 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5156 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5157 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5158 as_cr_digits='0123456789'
5159 as_cr_alnum=$as_cr_Letters$as_cr_digits
5160
5161 # The user is always right.
5162 if test "${PATH_SEPARATOR+set}" != set; then
5163   echo "#! /bin/sh" >conf$$.sh
5164   echo  "exit 0"   >>conf$$.sh
5165   chmod +x conf$$.sh
5166   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5167     PATH_SEPARATOR=';'
5168   else
5169     PATH_SEPARATOR=:
5170   fi
5171   rm -f conf$$.sh
5172 fi
5173
5174
5175   as_lineno_1=$LINENO
5176   as_lineno_2=$LINENO
5177   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5178   test "x$as_lineno_1" != "x$as_lineno_2" &&
5179   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5180   # Find who we are.  Look in the path if we contain no path at all
5181   # relative or not.
5182   case $0 in
5183     *[\\/]* ) as_myself=$0 ;;
5184     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5186 do
5187   IFS=$as_save_IFS
5188   test -z "$as_dir" && as_dir=.
5189   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5190 done
5191
5192        ;;
5193   esac
5194   # We did not find ourselves, most probably we were run as `sh COMMAND'
5195   # in which case we are not to be found in the path.
5196   if test "x$as_myself" = x; then
5197     as_myself=$0
5198   fi
5199   if test ! -f "$as_myself"; then
5200     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5201 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5202    { (exit 1); exit 1; }; }
5203   fi
5204   case $CONFIG_SHELL in
5205   '')
5206     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5208 do
5209   IFS=$as_save_IFS
5210   test -z "$as_dir" && as_dir=.
5211   for as_base in sh bash ksh sh5; do
5212          case $as_dir in
5213          /*)
5214            if ("$as_dir/$as_base" -c '
5215   as_lineno_1=$LINENO
5216   as_lineno_2=$LINENO
5217   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5218   test "x$as_lineno_1" != "x$as_lineno_2" &&
5219   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5220              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5221              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5222              CONFIG_SHELL=$as_dir/$as_base
5223              export CONFIG_SHELL
5224              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5225            fi;;
5226          esac
5227        done
5228 done
5229 ;;
5230   esac
5231
5232   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5233   # uniformly replaced by the line number.  The first 'sed' inserts a
5234   # line-number line before each line; the second 'sed' does the real
5235   # work.  The second script uses 'N' to pair each line-number line
5236   # with the numbered line, and appends trailing '-' during
5237   # substitution so that $LINENO is not a special case at line end.
5238   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5239   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5240   sed '=' <$as_myself |
5241     sed '
5242       N
5243       s,$,-,
5244       : loop
5245       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5246       t loop
5247       s,-$,,
5248       s,^['$as_cr_digits']*\n,,
5249     ' >$as_me.lineno &&
5250   chmod +x $as_me.lineno ||
5251     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5252 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5253    { (exit 1); exit 1; }; }
5254
5255   # Don't try to exec as it changes $[0], causing all sort of problems
5256   # (the dirname of $[0] is not the place where we might find the
5257   # original and so on.  Autoconf is especially sensible to this).
5258   . ./$as_me.lineno
5259   # Exit status is that of the last command.
5260   exit
5261 }
5262
5263
5264 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5265   *c*,-n*) ECHO_N= ECHO_C='
5266 ' ECHO_T='      ' ;;
5267   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5268   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5269 esac
5270
5271 if expr a : '\(a\)' >/dev/null 2>&1; then
5272   as_expr=expr
5273 else
5274   as_expr=false
5275 fi
5276
5277 rm -f conf$$ conf$$.exe conf$$.file
5278 echo >conf$$.file
5279 if ln -s conf$$.file conf$$ 2>/dev/null; then
5280   # We could just check for DJGPP; but this test a) works b) is more generic
5281   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5282   if test -f conf$$.exe; then
5283     # Don't use ln at all; we don't have any links
5284     as_ln_s='cp -p'
5285   else
5286     as_ln_s='ln -s'
5287   fi
5288 elif ln conf$$.file conf$$ 2>/dev/null; then
5289   as_ln_s=ln
5290 else
5291   as_ln_s='cp -p'
5292 fi
5293 rm -f conf$$ conf$$.exe conf$$.file
5294
5295 if mkdir -p . 2>/dev/null; then
5296   as_mkdir_p=:
5297 else
5298   test -d ./-p && rmdir ./-p
5299   as_mkdir_p=false
5300 fi
5301
5302 as_executable_p="test -f"
5303
5304 # Sed expression to map a string onto a valid CPP name.
5305 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5306
5307 # Sed expression to map a string onto a valid variable name.
5308 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5309
5310
5311 # IFS
5312 # We need space, tab and new line, in precisely that order.
5313 as_nl='
5314 '
5315 IFS="   $as_nl"
5316
5317 # CDPATH.
5318 $as_unset CDPATH
5319
5320 exec 6>&1
5321
5322 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5323 # report actual input values of CONFIG_FILES etc. instead of their
5324 # values after options handling.  Logging --version etc. is OK.
5325 exec 5>>config.log
5326 {
5327   echo
5328   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5329 ## Running $as_me. ##
5330 _ASBOX
5331 } >&5
5332 cat >&5 <<_CSEOF
5333
5334 This file was extended by libbanshee $as_me 0.9, which was
5335 generated by GNU Autoconf 2.59.  Invocation command line was
5336
5337   CONFIG_FILES    = $CONFIG_FILES
5338   CONFIG_HEADERS  = $CONFIG_HEADERS
5339   CONFIG_LINKS    = $CONFIG_LINKS
5340   CONFIG_COMMANDS = $CONFIG_COMMANDS
5341   $ $0 $@
5342
5343 _CSEOF
5344 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5345 echo >&5
5346 _ACEOF
5347
5348 # Files that config.status was made for.
5349 if test -n "$ac_config_files"; then
5350   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5351 fi
5352
5353 if test -n "$ac_config_headers"; then
5354   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5355 fi
5356
5357 if test -n "$ac_config_links"; then
5358   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5359 fi
5360
5361 if test -n "$ac_config_commands"; then
5362   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5363 fi
5364
5365 cat >>$CONFIG_STATUS <<\_ACEOF
5366
5367 ac_cs_usage="\
5368 \`$as_me' instantiates files from templates according to the
5369 current configuration.
5370
5371 Usage: $0 [OPTIONS] [FILE]...
5372
5373   -h, --help       print this help, then exit
5374   -V, --version    print version number, then exit
5375   -q, --quiet      do not print progress messages
5376   -d, --debug      don't remove temporary files
5377       --recheck    update $as_me by reconfiguring in the same conditions
5378   --file=FILE[:TEMPLATE]
5379                    instantiate the configuration file FILE
5380   --header=FILE[:TEMPLATE]
5381                    instantiate the configuration header FILE
5382
5383 Configuration files:
5384 $config_files
5385
5386 Configuration headers:
5387 $config_headers
5388
5389 Configuration commands:
5390 $config_commands
5391
5392 Report bugs to <bug-autoconf@gnu.org>."
5393 _ACEOF
5394
5395 cat >>$CONFIG_STATUS <<_ACEOF
5396 ac_cs_version="\\
5397 libbanshee config.status 0.9
5398 configured by $0, generated by GNU Autoconf 2.59,
5399   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5400
5401 Copyright (C) 2003 Free Software Foundation, Inc.
5402 This config.status script is free software; the Free Software Foundation
5403 gives unlimited permission to copy, distribute and modify it."
5404 srcdir=$srcdir
5405 INSTALL="$INSTALL"
5406 _ACEOF
5407
5408 cat >>$CONFIG_STATUS <<\_ACEOF
5409 # If no file are specified by the user, then we need to provide default
5410 # value.  By we need to know if files were specified by the user.
5411 ac_need_defaults=:
5412 while test $# != 0
5413 do
5414   case $1 in
5415   --*=*)
5416     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5417     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5418     ac_shift=:
5419     ;;
5420   -*)
5421     ac_option=$1
5422     ac_optarg=$2
5423     ac_shift=shift
5424     ;;
5425   *) # This is not an option, so the user has probably given explicit
5426      # arguments.
5427      ac_option=$1
5428      ac_need_defaults=false;;
5429   esac
5430
5431   case $ac_option in
5432   # Handling of the options.
5433 _ACEOF
5434 cat >>$CONFIG_STATUS <<\_ACEOF
5435   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5436     ac_cs_recheck=: ;;
5437   --version | --vers* | -V )
5438     echo "$ac_cs_version"; exit 0 ;;
5439   --he | --h)
5440     # Conflict between --help and --header
5441     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5442 Try \`$0 --help' for more information." >&5
5443 echo "$as_me: error: ambiguous option: $1
5444 Try \`$0 --help' for more information." >&2;}
5445    { (exit 1); exit 1; }; };;
5446   --help | --hel | -h )
5447     echo "$ac_cs_usage"; exit 0 ;;
5448   --debug | --d* | -d )
5449     debug=: ;;
5450   --file | --fil | --fi | --f )
5451     $ac_shift
5452     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5453     ac_need_defaults=false;;
5454   --header | --heade | --head | --hea )
5455     $ac_shift
5456     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5457     ac_need_defaults=false;;
5458   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5459   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5460     ac_cs_silent=: ;;
5461
5462   # This is an error.
5463   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5464 Try \`$0 --help' for more information." >&5
5465 echo "$as_me: error: unrecognized option: $1
5466 Try \`$0 --help' for more information." >&2;}
5467    { (exit 1); exit 1; }; } ;;
5468
5469   *) ac_config_targets="$ac_config_targets $1" ;;
5470
5471   esac
5472   shift
5473 done
5474
5475 ac_configure_extra_args=
5476
5477 if $ac_cs_silent; then
5478   exec 6>/dev/null
5479   ac_configure_extra_args="$ac_configure_extra_args --silent"
5480 fi
5481
5482 _ACEOF
5483 cat >>$CONFIG_STATUS <<_ACEOF
5484 if \$ac_cs_recheck; then
5485   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5486   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5487 fi
5488
5489 _ACEOF
5490
5491 cat >>$CONFIG_STATUS <<_ACEOF
5492 #
5493 # INIT-COMMANDS section.
5494 #
5495
5496 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5497
5498 _ACEOF
5499
5500
5501
5502 cat >>$CONFIG_STATUS <<\_ACEOF
5503 for ac_config_target in $ac_config_targets
5504 do
5505   case "$ac_config_target" in
5506   # Handling of arguments.
5507   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5508   "engine/Makefile" ) CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
5509   "libcompat/Makefile" ) CONFIG_FILES="$CONFIG_FILES libcompat/Makefile" ;;
5510   "points-to/Makefile" ) CONFIG_FILES="$CONFIG_FILES points-to/Makefile" ;;
5511   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5512   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5513   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5514 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5515    { (exit 1); exit 1; }; };;
5516   esac
5517 done
5518
5519 # If the user did not use the arguments to specify the items to instantiate,
5520 # then the envvar interface is used.  Set only those that are not.
5521 # We use the long form for the default assignment because of an extremely
5522 # bizarre bug on SunOS 4.1.3.
5523 if $ac_need_defaults; then
5524   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5525   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5526   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5527 fi
5528
5529 # Have a temporary directory for convenience.  Make it in the build tree
5530 # simply because there is no reason to put it here, and in addition,
5531 # creating and moving files from /tmp can sometimes cause problems.
5532 # Create a temporary directory, and hook for its removal unless debugging.
5533 $debug ||
5534 {
5535   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5536   trap '{ (exit 1); exit 1; }' 1 2 13 15
5537 }
5538
5539 # Create a (secure) tmp directory for tmp files.
5540
5541 {
5542   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5543   test -n "$tmp" && test -d "$tmp"
5544 }  ||
5545 {
5546   tmp=./confstat$$-$RANDOM
5547   (umask 077 && mkdir $tmp)
5548 } ||
5549 {
5550    echo "$me: cannot create a temporary directory in ." >&2
5551    { (exit 1); exit 1; }
5552 }
5553
5554 _ACEOF
5555
5556 cat >>$CONFIG_STATUS <<_ACEOF
5557
5558 #
5559 # CONFIG_FILES section.
5560 #
5561
5562 # No need to generate the scripts if there are no CONFIG_FILES.
5563 # This happens for instance when ./config.status config.h
5564 if test -n "\$CONFIG_FILES"; then
5565   # Protect against being on the right side of a sed subst in config.status.
5566   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5567    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5568 s,@SHELL@,$SHELL,;t t
5569 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5570 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5571 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5572 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5573 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5574 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5575 s,@exec_prefix@,$exec_prefix,;t t
5576 s,@prefix@,$prefix,;t t
5577 s,@program_transform_name@,$program_transform_name,;t t
5578 s,@bindir@,$bindir,;t t
5579 s,@sbindir@,$sbindir,;t t
5580 s,@libexecdir@,$libexecdir,;t t
5581 s,@datadir@,$datadir,;t t
5582 s,@sysconfdir@,$sysconfdir,;t t
5583 s,@sharedstatedir@,$sharedstatedir,;t t
5584 s,@localstatedir@,$localstatedir,;t t
5585 s,@libdir@,$libdir,;t t
5586 s,@includedir@,$includedir,;t t
5587 s,@oldincludedir@,$oldincludedir,;t t
5588 s,@infodir@,$infodir,;t t
5589 s,@mandir@,$mandir,;t t
5590 s,@build_alias@,$build_alias,;t t
5591 s,@host_alias@,$host_alias,;t t
5592 s,@target_alias@,$target_alias,;t t
5593 s,@DEFS@,$DEFS,;t t
5594 s,@ECHO_C@,$ECHO_C,;t t
5595 s,@ECHO_N@,$ECHO_N,;t t
5596 s,@ECHO_T@,$ECHO_T,;t t
5597 s,@LIBS@,$LIBS,;t t
5598 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5599 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5600 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5601 s,@CYGPATH_W@,$CYGPATH_W,;t t
5602 s,@PACKAGE@,$PACKAGE,;t t
5603 s,@VERSION@,$VERSION,;t t
5604 s,@ACLOCAL@,$ACLOCAL,;t t
5605 s,@AUTOCONF@,$AUTOCONF,;t t
5606 s,@AUTOMAKE@,$AUTOMAKE,;t t
5607 s,@AUTOHEADER@,$AUTOHEADER,;t t
5608 s,@MAKEINFO@,$MAKEINFO,;t t
5609 s,@AMTAR@,$AMTAR,;t t
5610 s,@install_sh@,$install_sh,;t t
5611 s,@STRIP@,$STRIP,;t t
5612 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5613 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5614 s,@AWK@,$AWK,;t t
5615 s,@SET_MAKE@,$SET_MAKE,;t t
5616 s,@am__leading_dot@,$am__leading_dot,;t t
5617 s,@CC@,$CC,;t t
5618 s,@CFLAGS@,$CFLAGS,;t t
5619 s,@LDFLAGS@,$LDFLAGS,;t t
5620 s,@CPPFLAGS@,$CPPFLAGS,;t t
5621 s,@ac_ct_CC@,$ac_ct_CC,;t t
5622 s,@EXEEXT@,$EXEEXT,;t t
5623 s,@OBJEXT@,$OBJEXT,;t t
5624 s,@DEPDIR@,$DEPDIR,;t t
5625 s,@am__include@,$am__include,;t t
5626 s,@am__quote@,$am__quote,;t t
5627 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5628 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5629 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5630 s,@CCDEPMODE@,$CCDEPMODE,;t t
5631 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5632 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5633 s,@RANLIB@,$RANLIB,;t t
5634 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5635 s,@ac_libbanshee_warn_cflags@,$ac_libbanshee_warn_cflags,;t t
5636 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5637 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5638 s,@MAINT@,$MAINT,;t t
5639 s,@CPP@,$CPP,;t t
5640 s,@EGREP@,$EGREP,;t t
5641 s,@LIBOBJS@,$LIBOBJS,;t t
5642 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5643 CEOF
5644
5645 _ACEOF
5646
5647   cat >>$CONFIG_STATUS <<\_ACEOF
5648   # Split the substitutions into bite-sized pieces for seds with
5649   # small command number limits, like on Digital OSF/1 and HP-UX.
5650   ac_max_sed_lines=48
5651   ac_sed_frag=1 # Number of current file.
5652   ac_beg=1 # First line for current file.
5653   ac_end=$ac_max_sed_lines # Line after last line for current file.
5654   ac_more_lines=:
5655   ac_sed_cmds=
5656   while $ac_more_lines; do
5657     if test $ac_beg -gt 1; then
5658       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5659     else
5660       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5661     fi
5662     if test ! -s $tmp/subs.frag; then
5663       ac_more_lines=false
5664     else
5665       # The purpose of the label and of the branching condition is to
5666       # speed up the sed processing (if there are no `@' at all, there
5667       # is no need to browse any of the substitutions).
5668       # These are the two extra sed commands mentioned above.
5669       (echo ':t
5670   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5671       if test -z "$ac_sed_cmds"; then
5672         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5673       else
5674         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5675       fi
5676       ac_sed_frag=`expr $ac_sed_frag + 1`
5677       ac_beg=$ac_end
5678       ac_end=`expr $ac_end + $ac_max_sed_lines`
5679     fi
5680   done
5681   if test -z "$ac_sed_cmds"; then
5682     ac_sed_cmds=cat
5683   fi
5684 fi # test -n "$CONFIG_FILES"
5685
5686 _ACEOF
5687 cat >>$CONFIG_STATUS <<\_ACEOF
5688 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5689   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5690   case $ac_file in
5691   - | *:- | *:-:* ) # input from stdin
5692         cat >$tmp/stdin
5693         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5694         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5695   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5696         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5697   * )   ac_file_in=$ac_file.in ;;
5698   esac
5699
5700   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5701   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5703          X"$ac_file" : 'X\(//\)[^/]' \| \
5704          X"$ac_file" : 'X\(//\)$' \| \
5705          X"$ac_file" : 'X\(/\)' \| \
5706          .     : '\(.\)' 2>/dev/null ||
5707 echo X"$ac_file" |
5708     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5709           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5710           /^X\(\/\/\)$/{ s//\1/; q; }
5711           /^X\(\/\).*/{ s//\1/; q; }
5712           s/.*/./; q'`
5713   { if $as_mkdir_p; then
5714     mkdir -p "$ac_dir"
5715   else
5716     as_dir="$ac_dir"
5717     as_dirs=
5718     while test ! -d "$as_dir"; do
5719       as_dirs="$as_dir $as_dirs"
5720       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5722          X"$as_dir" : 'X\(//\)[^/]' \| \
5723          X"$as_dir" : 'X\(//\)$' \| \
5724          X"$as_dir" : 'X\(/\)' \| \
5725          .     : '\(.\)' 2>/dev/null ||
5726 echo X"$as_dir" |
5727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5728           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5729           /^X\(\/\/\)$/{ s//\1/; q; }
5730           /^X\(\/\).*/{ s//\1/; q; }
5731           s/.*/./; q'`
5732     done
5733     test ! -n "$as_dirs" || mkdir $as_dirs
5734   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5735 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5736    { (exit 1); exit 1; }; }; }
5737
5738   ac_builddir=.
5739
5740 if test "$ac_dir" != .; then
5741   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5742   # A "../" for each directory in $ac_dir_suffix.
5743   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5744 else
5745   ac_dir_suffix= ac_top_builddir=
5746 fi
5747
5748 case $srcdir in
5749   .)  # No --srcdir option.  We are building in place.
5750     ac_srcdir=.
5751     if test -z "$ac_top_builddir"; then
5752        ac_top_srcdir=.
5753     else
5754        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5755     fi ;;
5756   [\\/]* | ?:[\\/]* )  # Absolute path.
5757     ac_srcdir=$srcdir$ac_dir_suffix;
5758     ac_top_srcdir=$srcdir ;;
5759   *) # Relative path.
5760     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5761     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5762 esac
5763
5764 # Do not use `cd foo && pwd` to compute absolute paths, because
5765 # the directories may not exist.
5766 case `pwd` in
5767 .) ac_abs_builddir="$ac_dir";;
5768 *)
5769   case "$ac_dir" in
5770   .) ac_abs_builddir=`pwd`;;
5771   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5772   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5773   esac;;
5774 esac
5775 case $ac_abs_builddir in
5776 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5777 *)
5778   case ${ac_top_builddir}. in
5779   .) ac_abs_top_builddir=$ac_abs_builddir;;
5780   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5781   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5782   esac;;
5783 esac
5784 case $ac_abs_builddir in
5785 .) ac_abs_srcdir=$ac_srcdir;;
5786 *)
5787   case $ac_srcdir in
5788   .) ac_abs_srcdir=$ac_abs_builddir;;
5789   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5790   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5791   esac;;
5792 esac
5793 case $ac_abs_builddir in
5794 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5795 *)
5796   case $ac_top_srcdir in
5797   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5798   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5799   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5800   esac;;
5801 esac
5802
5803
5804   case $INSTALL in
5805   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5806   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5807   esac
5808
5809   if test x"$ac_file" != x-; then
5810     { echo "$as_me:$LINENO: creating $ac_file" >&5
5811 echo "$as_me: creating $ac_file" >&6;}
5812     rm -f "$ac_file"
5813   fi
5814   # Let's still pretend it is `configure' which instantiates (i.e., don't
5815   # use $as_me), people would be surprised to read:
5816   #    /* config.h.  Generated by config.status.  */
5817   if test x"$ac_file" = x-; then
5818     configure_input=
5819   else
5820     configure_input="$ac_file.  "
5821   fi
5822   configure_input=$configure_input"Generated from `echo $ac_file_in |
5823                                      sed 's,.*/,,'` by configure."
5824
5825   # First look for the input files in the build tree, otherwise in the
5826   # src tree.
5827   ac_file_inputs=`IFS=:
5828     for f in $ac_file_in; do
5829       case $f in
5830       -) echo $tmp/stdin ;;
5831       [\\/$]*)
5832          # Absolute (can't be DOS-style, as IFS=:)
5833          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5834 echo "$as_me: error: cannot find input file: $f" >&2;}
5835    { (exit 1); exit 1; }; }
5836          echo "$f";;
5837       *) # Relative
5838          if test -f "$f"; then
5839            # Build tree
5840            echo "$f"
5841          elif test -f "$srcdir/$f"; then
5842            # Source tree
5843            echo "$srcdir/$f"
5844          else
5845            # /dev/null tree
5846            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5847 echo "$as_me: error: cannot find input file: $f" >&2;}
5848    { (exit 1); exit 1; }; }
5849          fi;;
5850       esac
5851     done` || { (exit 1); exit 1; }
5852 _ACEOF
5853 cat >>$CONFIG_STATUS <<_ACEOF
5854   sed "$ac_vpsub
5855 $extrasub
5856 _ACEOF
5857 cat >>$CONFIG_STATUS <<\_ACEOF
5858 :t
5859 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5860 s,@configure_input@,$configure_input,;t t
5861 s,@srcdir@,$ac_srcdir,;t t
5862 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5863 s,@top_srcdir@,$ac_top_srcdir,;t t
5864 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5865 s,@builddir@,$ac_builddir,;t t
5866 s,@abs_builddir@,$ac_abs_builddir,;t t
5867 s,@top_builddir@,$ac_top_builddir,;t t
5868 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5869 s,@INSTALL@,$ac_INSTALL,;t t
5870 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5871   rm -f $tmp/stdin
5872   if test x"$ac_file" != x-; then
5873     mv $tmp/out $ac_file
5874   else
5875     cat $tmp/out
5876     rm -f $tmp/out
5877   fi
5878
5879 done
5880 _ACEOF
5881 cat >>$CONFIG_STATUS <<\_ACEOF
5882
5883 #
5884 # CONFIG_HEADER section.
5885 #
5886
5887 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5888 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5889 #
5890 # ac_d sets the value in "#define NAME VALUE" lines.
5891 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
5892 ac_dB='[         ].*$,\1#\2'
5893 ac_dC=' '
5894 ac_dD=',;t'
5895 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5896 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5897 ac_uB='$,\1#\2define\3'
5898 ac_uC=' '
5899 ac_uD=',;t'
5900
5901 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5902   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5903   case $ac_file in
5904   - | *:- | *:-:* ) # input from stdin
5905         cat >$tmp/stdin
5906         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5907         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5908   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5909         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5910   * )   ac_file_in=$ac_file.in ;;
5911   esac
5912
5913   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5914 echo "$as_me: creating $ac_file" >&6;}
5915
5916   # First look for the input files in the build tree, otherwise in the
5917   # src tree.
5918   ac_file_inputs=`IFS=:
5919     for f in $ac_file_in; do
5920       case $f in
5921       -) echo $tmp/stdin ;;
5922       [\\/$]*)
5923          # Absolute (can't be DOS-style, as IFS=:)
5924          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5925 echo "$as_me: error: cannot find input file: $f" >&2;}
5926    { (exit 1); exit 1; }; }
5927          # Do quote $f, to prevent DOS paths from being IFS'd.
5928          echo "$f";;
5929       *) # Relative
5930          if test -f "$f"; then
5931            # Build tree
5932            echo "$f"
5933          elif test -f "$srcdir/$f"; then
5934            # Source tree
5935            echo "$srcdir/$f"
5936          else
5937            # /dev/null tree
5938            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5939 echo "$as_me: error: cannot find input file: $f" >&2;}
5940    { (exit 1); exit 1; }; }
5941          fi;;
5942       esac
5943     done` || { (exit 1); exit 1; }
5944   # Remove the trailing spaces.
5945   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5946
5947 _ACEOF
5948
5949 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5950 # `conftest.undefs', that substitutes the proper values into
5951 # config.h.in to produce config.h.  The first handles `#define'
5952 # templates, and the second `#undef' templates.
5953 # And first: Protect against being on the right side of a sed subst in
5954 # config.status.  Protect against being in an unquoted here document
5955 # in config.status.
5956 rm -f conftest.defines conftest.undefs
5957 # Using a here document instead of a string reduces the quoting nightmare.
5958 # Putting comments in sed scripts is not portable.
5959 #
5960 # `end' is used to avoid that the second main sed command (meant for
5961 # 0-ary CPP macros) applies to n-ary macro definitions.
5962 # See the Autoconf documentation for `clear'.
5963 cat >confdef2sed.sed <<\_ACEOF
5964 s/[\\&,]/\\&/g
5965 s,[\\$`],\\&,g
5966 t clear
5967 : clear
5968 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5969 t end
5970 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5971 : end
5972 _ACEOF
5973 # If some macros were called several times there might be several times
5974 # the same #defines, which is useless.  Nevertheless, we may not want to
5975 # sort them, since we want the *last* AC-DEFINE to be honored.
5976 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5977 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5978 rm -f confdef2sed.sed
5979
5980 # This sed command replaces #undef with comments.  This is necessary, for
5981 # example, in the case of _POSIX_SOURCE, which is predefined and required
5982 # on some systems where configure will not decide to define it.
5983 cat >>conftest.undefs <<\_ACEOF
5984 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5985 _ACEOF
5986
5987 # Break up conftest.defines because some shells have a limit on the size
5988 # of here documents, and old seds have small limits too (100 cmds).
5989 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5990 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5991 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5992 echo '  :' >>$CONFIG_STATUS
5993 rm -f conftest.tail
5994 while grep . conftest.defines >/dev/null
5995 do
5996   # Write a limited-size here document to $tmp/defines.sed.
5997   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5998   # Speed up: don't consider the non `#define' lines.
5999   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6000   # Work around the forget-to-reset-the-flag bug.
6001   echo 't clr' >>$CONFIG_STATUS
6002   echo ': clr' >>$CONFIG_STATUS
6003   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6004   echo 'CEOF
6005   sed -f $tmp/defines.sed $tmp/in >$tmp/out
6006   rm -f $tmp/in
6007   mv $tmp/out $tmp/in
6008 ' >>$CONFIG_STATUS
6009   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6010   rm -f conftest.defines
6011   mv conftest.tail conftest.defines
6012 done
6013 rm -f conftest.defines
6014 echo '  fi # grep' >>$CONFIG_STATUS
6015 echo >>$CONFIG_STATUS
6016
6017 # Break up conftest.undefs because some shells have a limit on the size
6018 # of here documents, and old seds have small limits too (100 cmds).
6019 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
6020 rm -f conftest.tail
6021 while grep . conftest.undefs >/dev/null
6022 do
6023   # Write a limited-size here document to $tmp/undefs.sed.
6024   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6025   # Speed up: don't consider the non `#undef'
6026   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
6027   # Work around the forget-to-reset-the-flag bug.
6028   echo 't clr' >>$CONFIG_STATUS
6029   echo ': clr' >>$CONFIG_STATUS
6030   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6031   echo 'CEOF
6032   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6033   rm -f $tmp/in
6034   mv $tmp/out $tmp/in
6035 ' >>$CONFIG_STATUS
6036   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6037   rm -f conftest.undefs
6038   mv conftest.tail conftest.undefs
6039 done
6040 rm -f conftest.undefs
6041
6042 cat >>$CONFIG_STATUS <<\_ACEOF
6043   # Let's still pretend it is `configure' which instantiates (i.e., don't
6044   # use $as_me), people would be surprised to read:
6045   #    /* config.h.  Generated by config.status.  */
6046   if test x"$ac_file" = x-; then
6047     echo "/* Generated by configure.  */" >$tmp/config.h
6048   else
6049     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6050   fi
6051   cat $tmp/in >>$tmp/config.h
6052   rm -f $tmp/in
6053   if test x"$ac_file" != x-; then
6054     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6055       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6056 echo "$as_me: $ac_file is unchanged" >&6;}
6057     else
6058       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6059 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6060          X"$ac_file" : 'X\(//\)[^/]' \| \
6061          X"$ac_file" : 'X\(//\)$' \| \
6062          X"$ac_file" : 'X\(/\)' \| \
6063          .     : '\(.\)' 2>/dev/null ||
6064 echo X"$ac_file" |
6065     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6066           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6067           /^X\(\/\/\)$/{ s//\1/; q; }
6068           /^X\(\/\).*/{ s//\1/; q; }
6069           s/.*/./; q'`
6070       { if $as_mkdir_p; then
6071     mkdir -p "$ac_dir"
6072   else
6073     as_dir="$ac_dir"
6074     as_dirs=
6075     while test ! -d "$as_dir"; do
6076       as_dirs="$as_dir $as_dirs"
6077       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6079          X"$as_dir" : 'X\(//\)[^/]' \| \
6080          X"$as_dir" : 'X\(//\)$' \| \
6081          X"$as_dir" : 'X\(/\)' \| \
6082          .     : '\(.\)' 2>/dev/null ||
6083 echo X"$as_dir" |
6084     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6085           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6086           /^X\(\/\/\)$/{ s//\1/; q; }
6087           /^X\(\/\).*/{ s//\1/; q; }
6088           s/.*/./; q'`
6089     done
6090     test ! -n "$as_dirs" || mkdir $as_dirs
6091   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6092 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6093    { (exit 1); exit 1; }; }; }
6094
6095       rm -f $ac_file
6096       mv $tmp/config.h $ac_file
6097     fi
6098   else
6099     cat $tmp/config.h
6100     rm -f $tmp/config.h
6101   fi
6102 # Compute $ac_file's index in $config_headers.
6103 _am_stamp_count=1
6104 for _am_header in $config_headers :; do
6105   case $_am_header in
6106     $ac_file | $ac_file:* )
6107       break ;;
6108     * )
6109       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6110   esac
6111 done
6112 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6113 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6114          X$ac_file : 'X\(//\)[^/]' \| \
6115          X$ac_file : 'X\(//\)$' \| \
6116          X$ac_file : 'X\(/\)' \| \
6117          .     : '\(.\)' 2>/dev/null ||
6118 echo X$ac_file |
6119     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6120           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6121           /^X\(\/\/\)$/{ s//\1/; q; }
6122           /^X\(\/\).*/{ s//\1/; q; }
6123           s/.*/./; q'`/stamp-h$_am_stamp_count
6124 done
6125 _ACEOF
6126 cat >>$CONFIG_STATUS <<\_ACEOF
6127
6128 #
6129 # CONFIG_COMMANDS section.
6130 #
6131 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6132   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6133   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6134   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6135 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6136          X"$ac_dest" : 'X\(//\)[^/]' \| \
6137          X"$ac_dest" : 'X\(//\)$' \| \
6138          X"$ac_dest" : 'X\(/\)' \| \
6139          .     : '\(.\)' 2>/dev/null ||
6140 echo X"$ac_dest" |
6141     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6142           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6143           /^X\(\/\/\)$/{ s//\1/; q; }
6144           /^X\(\/\).*/{ s//\1/; q; }
6145           s/.*/./; q'`
6146   { if $as_mkdir_p; then
6147     mkdir -p "$ac_dir"
6148   else
6149     as_dir="$ac_dir"
6150     as_dirs=
6151     while test ! -d "$as_dir"; do
6152       as_dirs="$as_dir $as_dirs"
6153       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6155          X"$as_dir" : 'X\(//\)[^/]' \| \
6156          X"$as_dir" : 'X\(//\)$' \| \
6157          X"$as_dir" : 'X\(/\)' \| \
6158          .     : '\(.\)' 2>/dev/null ||
6159 echo X"$as_dir" |
6160     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6161           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6162           /^X\(\/\/\)$/{ s//\1/; q; }
6163           /^X\(\/\).*/{ s//\1/; q; }
6164           s/.*/./; q'`
6165     done
6166     test ! -n "$as_dirs" || mkdir $as_dirs
6167   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6168 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6169    { (exit 1); exit 1; }; }; }
6170
6171   ac_builddir=.
6172
6173 if test "$ac_dir" != .; then
6174   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6175   # A "../" for each directory in $ac_dir_suffix.
6176   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6177 else
6178   ac_dir_suffix= ac_top_builddir=
6179 fi
6180
6181 case $srcdir in
6182   .)  # No --srcdir option.  We are building in place.
6183     ac_srcdir=.
6184     if test -z "$ac_top_builddir"; then
6185        ac_top_srcdir=.
6186     else
6187        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6188     fi ;;
6189   [\\/]* | ?:[\\/]* )  # Absolute path.
6190     ac_srcdir=$srcdir$ac_dir_suffix;
6191     ac_top_srcdir=$srcdir ;;
6192   *) # Relative path.
6193     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6194     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6195 esac
6196
6197 # Do not use `cd foo && pwd` to compute absolute paths, because
6198 # the directories may not exist.
6199 case `pwd` in
6200 .) ac_abs_builddir="$ac_dir";;
6201 *)
6202   case "$ac_dir" in
6203   .) ac_abs_builddir=`pwd`;;
6204   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6205   *) ac_abs_builddir=`pwd`/"$ac_dir";;
6206   esac;;
6207 esac
6208 case $ac_abs_builddir in
6209 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6210 *)
6211   case ${ac_top_builddir}. in
6212   .) ac_abs_top_builddir=$ac_abs_builddir;;
6213   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6214   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6215   esac;;
6216 esac
6217 case $ac_abs_builddir in
6218 .) ac_abs_srcdir=$ac_srcdir;;
6219 *)
6220   case $ac_srcdir in
6221   .) ac_abs_srcdir=$ac_abs_builddir;;
6222   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6223   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6224   esac;;
6225 esac
6226 case $ac_abs_builddir in
6227 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6228 *)
6229   case $ac_top_srcdir in
6230   .) ac_abs_top_srcdir=$ac_abs_builddir;;
6231   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6232   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6233   esac;;
6234 esac
6235
6236
6237   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6238 echo "$as_me: executing $ac_dest commands" >&6;}
6239   case $ac_dest in
6240     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6241   # Strip MF so we end up with the name of the file.
6242   mf=`echo "$mf" | sed -e 's/:.*$//'`
6243   # Check whether this is an Automake generated Makefile or not.
6244   # We used to match only the files named `Makefile.in', but
6245   # some people rename them; so instead we look at the file content.
6246   # Grep'ing the first line is not enough: some people post-process
6247   # each Makefile.in and add a new line on top of each file to say so.
6248   # So let's grep whole file.
6249   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6250     dirpart=`(dirname "$mf") 2>/dev/null ||
6251 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6252          X"$mf" : 'X\(//\)[^/]' \| \
6253          X"$mf" : 'X\(//\)$' \| \
6254          X"$mf" : 'X\(/\)' \| \
6255          .     : '\(.\)' 2>/dev/null ||
6256 echo X"$mf" |
6257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6258           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6259           /^X\(\/\/\)$/{ s//\1/; q; }
6260           /^X\(\/\).*/{ s//\1/; q; }
6261           s/.*/./; q'`
6262   else
6263     continue
6264   fi
6265   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6266   # Extract the definition of DEP_FILES from the Makefile without
6267   # running `make'.
6268   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6269   test -z "$DEPDIR" && continue
6270   # When using ansi2knr, U may be empty or an underscore; expand it
6271   U=`sed -n -e '/^U = / s///p' < "$mf"`
6272   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6273   # We invoke sed twice because it is the simplest approach to
6274   # changing $(DEPDIR) to its actual value in the expansion.
6275   for file in `sed -n -e '
6276     /^DEP_FILES = .*\\\\$/ {
6277       s/^DEP_FILES = //
6278       :loop
6279         s/\\\\$//
6280         p
6281         n
6282         /\\\\$/ b loop
6283       p
6284     }
6285     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6286        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6287     # Make sure the directory exists.
6288     test -f "$dirpart/$file" && continue
6289     fdir=`(dirname "$file") 2>/dev/null ||
6290 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6291          X"$file" : 'X\(//\)[^/]' \| \
6292          X"$file" : 'X\(//\)$' \| \
6293          X"$file" : 'X\(/\)' \| \
6294          .     : '\(.\)' 2>/dev/null ||
6295 echo X"$file" |
6296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6297           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6298           /^X\(\/\/\)$/{ s//\1/; q; }
6299           /^X\(\/\).*/{ s//\1/; q; }
6300           s/.*/./; q'`
6301     { if $as_mkdir_p; then
6302     mkdir -p $dirpart/$fdir
6303   else
6304     as_dir=$dirpart/$fdir
6305     as_dirs=
6306     while test ! -d "$as_dir"; do
6307       as_dirs="$as_dir $as_dirs"
6308       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6310          X"$as_dir" : 'X\(//\)[^/]' \| \
6311          X"$as_dir" : 'X\(//\)$' \| \
6312          X"$as_dir" : 'X\(/\)' \| \
6313          .     : '\(.\)' 2>/dev/null ||
6314 echo X"$as_dir" |
6315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6316           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6317           /^X\(\/\/\)$/{ s//\1/; q; }
6318           /^X\(\/\).*/{ s//\1/; q; }
6319           s/.*/./; q'`
6320     done
6321     test ! -n "$as_dirs" || mkdir $as_dirs
6322   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6323 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6324    { (exit 1); exit 1; }; }; }
6325
6326     # echo "creating $dirpart/$file"
6327     echo '# dummy' > "$dirpart/$file"
6328   done
6329 done
6330  ;;
6331   esac
6332 done
6333 _ACEOF
6334
6335 cat >>$CONFIG_STATUS <<\_ACEOF
6336
6337 { (exit 0); exit 0; }
6338 _ACEOF
6339 chmod +x $CONFIG_STATUS
6340 ac_clean_files=$ac_clean_files_save
6341
6342
6343 # configure is writing to config.log, and then calls config.status.
6344 # config.status does its own redirection, appending to config.log.
6345 # Unfortunately, on DOS this fails, as config.log is still kept open
6346 # by configure, so config.status won't be able to write to it; its
6347 # output is simply discarded.  So we exec the FD to /dev/null,
6348 # effectively closing config.log, so it can be properly (re)opened and
6349 # appended to by config.status.  When coming back to configure, we
6350 # need to make the FD available again.
6351 if test "$no_create" != yes; then
6352   ac_cs_success=:
6353   ac_config_status_args=
6354   test "$silent" = yes &&
6355     ac_config_status_args="$ac_config_status_args --quiet"
6356   exec 5>/dev/null
6357   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6358   exec 5>>config.log
6359   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6360   # would make configure fail if this is the last instruction.
6361   $ac_cs_success || { (exit 1); exit 1; }
6362 fi
6363