OSDN Git Service

2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
[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 mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE 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 build
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.8"
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 # expand $ac_aux_dir to an absolute path
1482 am_aux_dir=`cd $ac_aux_dir && pwd`
1483
1484 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1485 # Use eval to expand $SHELL
1486 if eval "$MISSING --run true"; then
1487   am_missing_run="$MISSING --run "
1488 else
1489   am_missing_run=
1490   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1491 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1492 fi
1493
1494 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1495   # Keeping the `.' argument allows $(mkdir_p) to be used without
1496   # argument.  Indeed, we sometimes output rules like
1497   #   $(mkdir_p) $(somedir)
1498   # where $(somedir) is conditionally defined.
1499   # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1500   # expensive solution, as it forces Make to start a sub-shell.)
1501   mkdir_p='mkdir -p -- .'
1502 else
1503   # On NextStep and OpenStep, the `mkdir' command does not
1504   # recognize any option.  It will interpret all options as
1505   # directories to create, and then abort because `.' already
1506   # exists.
1507   for d in ./-p ./--version;
1508   do
1509     test -d $d && rmdir $d
1510   done
1511   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1512   if test -f "$ac_aux_dir/mkinstalldirs"; then
1513     mkdir_p='$(mkinstalldirs)'
1514   else
1515     mkdir_p='$(install_sh) -d'
1516   fi
1517 fi
1518
1519 for ac_prog in gawk mawk nawk awk
1520 do
1521   # Extract the first word of "$ac_prog", so it can be a program name with args.
1522 set dummy $ac_prog; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_AWK+set}" = set; then
1526   echo $ECHO_N "(cached) $ECHO_C" >&6
1527 else
1528   if test -n "$AWK"; then
1529   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1530 else
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 for as_dir in $PATH
1533 do
1534   IFS=$as_save_IFS
1535   test -z "$as_dir" && as_dir=.
1536   for ac_exec_ext in '' $ac_executable_extensions; do
1537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538     ac_cv_prog_AWK="$ac_prog"
1539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1540     break 2
1541   fi
1542 done
1543 done
1544
1545 fi
1546 fi
1547 AWK=$ac_cv_prog_AWK
1548 if test -n "$AWK"; then
1549   echo "$as_me:$LINENO: result: $AWK" >&5
1550 echo "${ECHO_T}$AWK" >&6
1551 else
1552   echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1554 fi
1555
1556   test -n "$AWK" && break
1557 done
1558
1559 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1560 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1561 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1562 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1563   echo $ECHO_N "(cached) $ECHO_C" >&6
1564 else
1565   cat >conftest.make <<\_ACEOF
1566 all:
1567         @echo 'ac_maketemp="$(MAKE)"'
1568 _ACEOF
1569 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1570 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1571 if test -n "$ac_maketemp"; then
1572   eval ac_cv_prog_make_${ac_make}_set=yes
1573 else
1574   eval ac_cv_prog_make_${ac_make}_set=no
1575 fi
1576 rm -f conftest.make
1577 fi
1578 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1579   echo "$as_me:$LINENO: result: yes" >&5
1580 echo "${ECHO_T}yes" >&6
1581   SET_MAKE=
1582 else
1583   echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1585   SET_MAKE="MAKE=${MAKE-make}"
1586 fi
1587
1588 rm -rf .tst 2>/dev/null
1589 mkdir .tst 2>/dev/null
1590 if test -d .tst; then
1591   am__leading_dot=.
1592 else
1593   am__leading_dot=_
1594 fi
1595 rmdir .tst 2>/dev/null
1596
1597 # test to see if srcdir already configured
1598 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1599    test -f $srcdir/config.status; then
1600   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1601 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1602    { (exit 1); exit 1; }; }
1603 fi
1604
1605 # test whether we have cygpath
1606 if test -z "$CYGPATH_W"; then
1607   if (cygpath --version) >/dev/null 2>/dev/null; then
1608     CYGPATH_W='cygpath -w'
1609   else
1610     CYGPATH_W=echo
1611   fi
1612 fi
1613
1614
1615 # Define the identity of the package.
1616  PACKAGE='libbanshee'
1617  VERSION='0.9'
1618
1619
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE "$PACKAGE"
1622 _ACEOF
1623
1624
1625 cat >>confdefs.h <<_ACEOF
1626 #define VERSION "$VERSION"
1627 _ACEOF
1628
1629 # Some tools Automake needs.
1630
1631 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1632
1633
1634 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1635
1636
1637 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1638
1639
1640 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1641
1642
1643 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1644
1645
1646 AMTAR=${AMTAR-"${am_missing_run}tar"}
1647
1648 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1649
1650 # Installed binaries are usually stripped using `strip' when the user
1651 # run `make install-strip'.  However `strip' might not be the right
1652 # tool to use in cross-compilation environments, therefore Automake
1653 # will honor the `STRIP' environment variable to overrule this program.
1654 if test "$cross_compiling" != no; then
1655   if test -n "$ac_tool_prefix"; then
1656   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1657 set dummy ${ac_tool_prefix}strip; ac_word=$2
1658 echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660 if test "${ac_cv_prog_STRIP+set}" = set; then
1661   echo $ECHO_N "(cached) $ECHO_C" >&6
1662 else
1663   if test -n "$STRIP"; then
1664   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1665 else
1666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 for as_dir in $PATH
1668 do
1669   IFS=$as_save_IFS
1670   test -z "$as_dir" && as_dir=.
1671   for ac_exec_ext in '' $ac_executable_extensions; do
1672   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1674     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675     break 2
1676   fi
1677 done
1678 done
1679
1680 fi
1681 fi
1682 STRIP=$ac_cv_prog_STRIP
1683 if test -n "$STRIP"; then
1684   echo "$as_me:$LINENO: result: $STRIP" >&5
1685 echo "${ECHO_T}$STRIP" >&6
1686 else
1687   echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1689 fi
1690
1691 fi
1692 if test -z "$ac_cv_prog_STRIP"; then
1693   ac_ct_STRIP=$STRIP
1694   # Extract the first word of "strip", so it can be a program name with args.
1695 set dummy strip; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1699   echo $ECHO_N "(cached) $ECHO_C" >&6
1700 else
1701   if test -n "$ac_ct_STRIP"; then
1702   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1703 else
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 for as_dir in $PATH
1706 do
1707   IFS=$as_save_IFS
1708   test -z "$as_dir" && as_dir=.
1709   for ac_exec_ext in '' $ac_executable_extensions; do
1710   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711     ac_cv_prog_ac_ct_STRIP="strip"
1712     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1713     break 2
1714   fi
1715 done
1716 done
1717
1718   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1719 fi
1720 fi
1721 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1722 if test -n "$ac_ct_STRIP"; then
1723   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1724 echo "${ECHO_T}$ac_ct_STRIP" >&6
1725 else
1726   echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1728 fi
1729
1730   STRIP=$ac_ct_STRIP
1731 else
1732   STRIP="$ac_cv_prog_STRIP"
1733 fi
1734
1735 fi
1736 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1737
1738 # We need awk for the "check" target.  The system "awk" is bad on
1739 # some platforms.
1740
1741
1742
1743
1744 # Checks for programs.
1745 ac_ext=c
1746 ac_cpp='$CPP $CPPFLAGS'
1747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1750 if test -n "$ac_tool_prefix"; then
1751   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1752 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_CC+set}" = set; then
1756   echo $ECHO_N "(cached) $ECHO_C" >&6
1757 else
1758   if test -n "$CC"; then
1759   ac_cv_prog_CC="$CC" # Let the user override the test.
1760 else
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 for as_dir in $PATH
1763 do
1764   IFS=$as_save_IFS
1765   test -z "$as_dir" && as_dir=.
1766   for ac_exec_ext in '' $ac_executable_extensions; do
1767   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1769     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770     break 2
1771   fi
1772 done
1773 done
1774
1775 fi
1776 fi
1777 CC=$ac_cv_prog_CC
1778 if test -n "$CC"; then
1779   echo "$as_me:$LINENO: result: $CC" >&5
1780 echo "${ECHO_T}$CC" >&6
1781 else
1782   echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1784 fi
1785
1786 fi
1787 if test -z "$ac_cv_prog_CC"; then
1788   ac_ct_CC=$CC
1789   # Extract the first word of "gcc", so it can be a program name with args.
1790 set dummy gcc; ac_word=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1794   echo $ECHO_N "(cached) $ECHO_C" >&6
1795 else
1796   if test -n "$ac_ct_CC"; then
1797   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1798 else
1799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800 for as_dir in $PATH
1801 do
1802   IFS=$as_save_IFS
1803   test -z "$as_dir" && as_dir=.
1804   for ac_exec_ext in '' $ac_executable_extensions; do
1805   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806     ac_cv_prog_ac_ct_CC="gcc"
1807     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1808     break 2
1809   fi
1810 done
1811 done
1812
1813 fi
1814 fi
1815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6
1819 else
1820   echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1822 fi
1823
1824   CC=$ac_ct_CC
1825 else
1826   CC="$ac_cv_prog_CC"
1827 fi
1828
1829 if test -z "$CC"; then
1830   if test -n "$ac_tool_prefix"; then
1831   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1832 set dummy ${ac_tool_prefix}cc; ac_word=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_CC+set}" = set; then
1836   echo $ECHO_N "(cached) $ECHO_C" >&6
1837 else
1838   if test -n "$CC"; then
1839   ac_cv_prog_CC="$CC" # Let the user override the test.
1840 else
1841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1842 for as_dir in $PATH
1843 do
1844   IFS=$as_save_IFS
1845   test -z "$as_dir" && as_dir=.
1846   for ac_exec_ext in '' $ac_executable_extensions; do
1847   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848     ac_cv_prog_CC="${ac_tool_prefix}cc"
1849     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1850     break 2
1851   fi
1852 done
1853 done
1854
1855 fi
1856 fi
1857 CC=$ac_cv_prog_CC
1858 if test -n "$CC"; then
1859   echo "$as_me:$LINENO: result: $CC" >&5
1860 echo "${ECHO_T}$CC" >&6
1861 else
1862   echo "$as_me:$LINENO: result: no" >&5
1863 echo "${ECHO_T}no" >&6
1864 fi
1865
1866 fi
1867 if test -z "$ac_cv_prog_CC"; then
1868   ac_ct_CC=$CC
1869   # Extract the first word of "cc", so it can be a program name with args.
1870 set dummy cc; ac_word=$2
1871 echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1874   echo $ECHO_N "(cached) $ECHO_C" >&6
1875 else
1876   if test -n "$ac_ct_CC"; then
1877   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1878 else
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 for as_dir in $PATH
1881 do
1882   IFS=$as_save_IFS
1883   test -z "$as_dir" && as_dir=.
1884   for ac_exec_ext in '' $ac_executable_extensions; do
1885   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886     ac_cv_prog_ac_ct_CC="cc"
1887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888     break 2
1889   fi
1890 done
1891 done
1892
1893 fi
1894 fi
1895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1896 if test -n "$ac_ct_CC"; then
1897   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1898 echo "${ECHO_T}$ac_ct_CC" >&6
1899 else
1900   echo "$as_me:$LINENO: result: no" >&5
1901 echo "${ECHO_T}no" >&6
1902 fi
1903
1904   CC=$ac_ct_CC
1905 else
1906   CC="$ac_cv_prog_CC"
1907 fi
1908
1909 fi
1910 if test -z "$CC"; then
1911   # Extract the first word of "cc", so it can be a program name with args.
1912 set dummy cc; ac_word=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915 if test "${ac_cv_prog_CC+set}" = set; then
1916   echo $ECHO_N "(cached) $ECHO_C" >&6
1917 else
1918   if test -n "$CC"; then
1919   ac_cv_prog_CC="$CC" # Let the user override the test.
1920 else
1921   ac_prog_rejected=no
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 for as_dir in $PATH
1924 do
1925   IFS=$as_save_IFS
1926   test -z "$as_dir" && as_dir=.
1927   for ac_exec_ext in '' $ac_executable_extensions; do
1928   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1929     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1930        ac_prog_rejected=yes
1931        continue
1932      fi
1933     ac_cv_prog_CC="cc"
1934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935     break 2
1936   fi
1937 done
1938 done
1939
1940 if test $ac_prog_rejected = yes; then
1941   # We found a bogon in the path, so make sure we never use it.
1942   set dummy $ac_cv_prog_CC
1943   shift
1944   if test $# != 0; then
1945     # We chose a different compiler from the bogus one.
1946     # However, it has the same basename, so the bogon will be chosen
1947     # first if we set CC to just the basename; use the full file name.
1948     shift
1949     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1950   fi
1951 fi
1952 fi
1953 fi
1954 CC=$ac_cv_prog_CC
1955 if test -n "$CC"; then
1956   echo "$as_me:$LINENO: result: $CC" >&5
1957 echo "${ECHO_T}$CC" >&6
1958 else
1959   echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1961 fi
1962
1963 fi
1964 if test -z "$CC"; then
1965   if test -n "$ac_tool_prefix"; then
1966   for ac_prog in cl
1967   do
1968     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1969 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1970 echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972 if test "${ac_cv_prog_CC+set}" = set; then
1973   echo $ECHO_N "(cached) $ECHO_C" >&6
1974 else
1975   if test -n "$CC"; then
1976   ac_cv_prog_CC="$CC" # Let the user override the test.
1977 else
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 for as_dir in $PATH
1980 do
1981   IFS=$as_save_IFS
1982   test -z "$as_dir" && as_dir=.
1983   for ac_exec_ext in '' $ac_executable_extensions; do
1984   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1986     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987     break 2
1988   fi
1989 done
1990 done
1991
1992 fi
1993 fi
1994 CC=$ac_cv_prog_CC
1995 if test -n "$CC"; then
1996   echo "$as_me:$LINENO: result: $CC" >&5
1997 echo "${ECHO_T}$CC" >&6
1998 else
1999   echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6
2001 fi
2002
2003     test -n "$CC" && break
2004   done
2005 fi
2006 if test -z "$CC"; then
2007   ac_ct_CC=$CC
2008   for ac_prog in cl
2009 do
2010   # Extract the first word of "$ac_prog", so it can be a program name with args.
2011 set dummy $ac_prog; ac_word=$2
2012 echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2015   echo $ECHO_N "(cached) $ECHO_C" >&6
2016 else
2017   if test -n "$ac_ct_CC"; then
2018   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2019 else
2020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 for as_dir in $PATH
2022 do
2023   IFS=$as_save_IFS
2024   test -z "$as_dir" && as_dir=.
2025   for ac_exec_ext in '' $ac_executable_extensions; do
2026   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2027     ac_cv_prog_ac_ct_CC="$ac_prog"
2028     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2029     break 2
2030   fi
2031 done
2032 done
2033
2034 fi
2035 fi
2036 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2037 if test -n "$ac_ct_CC"; then
2038   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2039 echo "${ECHO_T}$ac_ct_CC" >&6
2040 else
2041   echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6
2043 fi
2044
2045   test -n "$ac_ct_CC" && break
2046 done
2047
2048   CC=$ac_ct_CC
2049 fi
2050
2051 fi
2052
2053
2054 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2055 See \`config.log' for more details." >&5
2056 echo "$as_me: error: no acceptable C compiler found in \$PATH
2057 See \`config.log' for more details." >&2;}
2058    { (exit 1); exit 1; }; }
2059
2060 # Provide some information about the compiler.
2061 echo "$as_me:$LINENO:" \
2062      "checking for C compiler version" >&5
2063 ac_compiler=`set X $ac_compile; echo $2`
2064 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2065   (eval $ac_compiler --version </dev/null >&5) 2>&5
2066   ac_status=$?
2067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068   (exit $ac_status); }
2069 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2070   (eval $ac_compiler -v </dev/null >&5) 2>&5
2071   ac_status=$?
2072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073   (exit $ac_status); }
2074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2075   (eval $ac_compiler -V </dev/null >&5) 2>&5
2076   ac_status=$?
2077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078   (exit $ac_status); }
2079
2080 cat >conftest.$ac_ext <<_ACEOF
2081 /* confdefs.h.  */
2082 _ACEOF
2083 cat confdefs.h >>conftest.$ac_ext
2084 cat >>conftest.$ac_ext <<_ACEOF
2085 /* end confdefs.h.  */
2086
2087 int
2088 main ()
2089 {
2090
2091   ;
2092   return 0;
2093 }
2094 _ACEOF
2095 ac_clean_files_save=$ac_clean_files
2096 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2097 # Try to create an executable without -o first, disregard a.out.
2098 # It will help us diagnose broken compilers, and finding out an intuition
2099 # of exeext.
2100 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2101 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2102 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2103 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2104   (eval $ac_link_default) 2>&5
2105   ac_status=$?
2106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107   (exit $ac_status); }; then
2108   # Find the output, starting from the most likely.  This scheme is
2109 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2110 # resort.
2111
2112 # Be careful to initialize this variable, since it used to be cached.
2113 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2114 ac_cv_exeext=
2115 # b.out is created by i960 compilers.
2116 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2117 do
2118   test -f "$ac_file" || continue
2119   case $ac_file in
2120     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2121         ;;
2122     conftest.$ac_ext )
2123         # This is the source file.
2124         ;;
2125     [ab].out )
2126         # We found the default executable, but exeext='' is most
2127         # certainly right.
2128         break;;
2129     *.* )
2130         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2131         # FIXME: I believe we export ac_cv_exeext for Libtool,
2132         # but it would be cool to find out if it's true.  Does anybody
2133         # maintain Libtool? --akim.
2134         export ac_cv_exeext
2135         break;;
2136     * )
2137         break;;
2138   esac
2139 done
2140 else
2141   echo "$as_me: failed program was:" >&5
2142 sed 's/^/| /' conftest.$ac_ext >&5
2143
2144 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2145 See \`config.log' for more details." >&5
2146 echo "$as_me: error: C compiler cannot create executables
2147 See \`config.log' for more details." >&2;}
2148    { (exit 77); exit 77; }; }
2149 fi
2150
2151 ac_exeext=$ac_cv_exeext
2152 echo "$as_me:$LINENO: result: $ac_file" >&5
2153 echo "${ECHO_T}$ac_file" >&6
2154
2155 # Check the compiler produces executables we can run.  If not, either
2156 # the compiler is broken, or we cross compile.
2157 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2158 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2159 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2160 # If not cross compiling, check that we can run a simple program.
2161 if test "$cross_compiling" != yes; then
2162   if { ac_try='./$ac_file'
2163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164   (eval $ac_try) 2>&5
2165   ac_status=$?
2166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167   (exit $ac_status); }; }; then
2168     cross_compiling=no
2169   else
2170     if test "$cross_compiling" = maybe; then
2171         cross_compiling=yes
2172     else
2173         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2174 If you meant to cross compile, use \`--host'.
2175 See \`config.log' for more details." >&5
2176 echo "$as_me: error: cannot run C compiled programs.
2177 If you meant to cross compile, use \`--host'.
2178 See \`config.log' for more details." >&2;}
2179    { (exit 1); exit 1; }; }
2180     fi
2181   fi
2182 fi
2183 echo "$as_me:$LINENO: result: yes" >&5
2184 echo "${ECHO_T}yes" >&6
2185
2186 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2187 ac_clean_files=$ac_clean_files_save
2188 # Check the compiler produces executables we can run.  If not, either
2189 # the compiler is broken, or we cross compile.
2190 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2191 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2192 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2193 echo "${ECHO_T}$cross_compiling" >&6
2194
2195 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2196 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2198   (eval $ac_link) 2>&5
2199   ac_status=$?
2200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201   (exit $ac_status); }; then
2202   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2203 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2204 # work properly (i.e., refer to `conftest.exe'), while it won't with
2205 # `rm'.
2206 for ac_file in conftest.exe conftest conftest.*; do
2207   test -f "$ac_file" || continue
2208   case $ac_file in
2209     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2210     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2211           export ac_cv_exeext
2212           break;;
2213     * ) break;;
2214   esac
2215 done
2216 else
2217   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2218 See \`config.log' for more details." >&5
2219 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2220 See \`config.log' for more details." >&2;}
2221    { (exit 1); exit 1; }; }
2222 fi
2223
2224 rm -f conftest$ac_cv_exeext
2225 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2226 echo "${ECHO_T}$ac_cv_exeext" >&6
2227
2228 rm -f conftest.$ac_ext
2229 EXEEXT=$ac_cv_exeext
2230 ac_exeext=$EXEEXT
2231 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2232 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2233 if test "${ac_cv_objext+set}" = set; then
2234   echo $ECHO_N "(cached) $ECHO_C" >&6
2235 else
2236   cat >conftest.$ac_ext <<_ACEOF
2237 /* confdefs.h.  */
2238 _ACEOF
2239 cat confdefs.h >>conftest.$ac_ext
2240 cat >>conftest.$ac_ext <<_ACEOF
2241 /* end confdefs.h.  */
2242
2243 int
2244 main ()
2245 {
2246
2247   ;
2248   return 0;
2249 }
2250 _ACEOF
2251 rm -f conftest.o conftest.obj
2252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2253   (eval $ac_compile) 2>&5
2254   ac_status=$?
2255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256   (exit $ac_status); }; then
2257   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2258   case $ac_file in
2259     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2260     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2261        break;;
2262   esac
2263 done
2264 else
2265   echo "$as_me: failed program was:" >&5
2266 sed 's/^/| /' conftest.$ac_ext >&5
2267
2268 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2269 See \`config.log' for more details." >&5
2270 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2271 See \`config.log' for more details." >&2;}
2272    { (exit 1); exit 1; }; }
2273 fi
2274
2275 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2276 fi
2277 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2278 echo "${ECHO_T}$ac_cv_objext" >&6
2279 OBJEXT=$ac_cv_objext
2280 ac_objext=$OBJEXT
2281 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2282 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2283 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2284   echo $ECHO_N "(cached) $ECHO_C" >&6
2285 else
2286   cat >conftest.$ac_ext <<_ACEOF
2287 /* confdefs.h.  */
2288 _ACEOF
2289 cat confdefs.h >>conftest.$ac_ext
2290 cat >>conftest.$ac_ext <<_ACEOF
2291 /* end confdefs.h.  */
2292
2293 int
2294 main ()
2295 {
2296 #ifndef __GNUC__
2297        choke me
2298 #endif
2299
2300   ;
2301   return 0;
2302 }
2303 _ACEOF
2304 rm -f conftest.$ac_objext
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306   (eval $ac_compile) 2>conftest.er1
2307   ac_status=$?
2308   grep -v '^ *+' conftest.er1 >conftest.err
2309   rm -f conftest.er1
2310   cat conftest.err >&5
2311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312   (exit $ac_status); } &&
2313          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2315   (eval $ac_try) 2>&5
2316   ac_status=$?
2317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318   (exit $ac_status); }; } &&
2319          { ac_try='test -s conftest.$ac_objext'
2320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321   (eval $ac_try) 2>&5
2322   ac_status=$?
2323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324   (exit $ac_status); }; }; then
2325   ac_compiler_gnu=yes
2326 else
2327   echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.$ac_ext >&5
2329
2330 ac_compiler_gnu=no
2331 fi
2332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2334
2335 fi
2336 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2337 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2338 GCC=`test $ac_compiler_gnu = yes && echo yes`
2339 ac_test_CFLAGS=${CFLAGS+set}
2340 ac_save_CFLAGS=$CFLAGS
2341 CFLAGS="-g"
2342 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2343 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2344 if test "${ac_cv_prog_cc_g+set}" = set; then
2345   echo $ECHO_N "(cached) $ECHO_C" >&6
2346 else
2347   cat >conftest.$ac_ext <<_ACEOF
2348 /* confdefs.h.  */
2349 _ACEOF
2350 cat confdefs.h >>conftest.$ac_ext
2351 cat >>conftest.$ac_ext <<_ACEOF
2352 /* end confdefs.h.  */
2353
2354 int
2355 main ()
2356 {
2357
2358   ;
2359   return 0;
2360 }
2361 _ACEOF
2362 rm -f conftest.$ac_objext
2363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2364   (eval $ac_compile) 2>conftest.er1
2365   ac_status=$?
2366   grep -v '^ *+' conftest.er1 >conftest.err
2367   rm -f conftest.er1
2368   cat conftest.err >&5
2369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370   (exit $ac_status); } &&
2371          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373   (eval $ac_try) 2>&5
2374   ac_status=$?
2375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376   (exit $ac_status); }; } &&
2377          { ac_try='test -s conftest.$ac_objext'
2378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379   (eval $ac_try) 2>&5
2380   ac_status=$?
2381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382   (exit $ac_status); }; }; then
2383   ac_cv_prog_cc_g=yes
2384 else
2385   echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.$ac_ext >&5
2387
2388 ac_cv_prog_cc_g=no
2389 fi
2390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2391 fi
2392 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2393 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2394 if test "$ac_test_CFLAGS" = set; then
2395   CFLAGS=$ac_save_CFLAGS
2396 elif test $ac_cv_prog_cc_g = yes; then
2397   if test "$GCC" = yes; then
2398     CFLAGS="-g -O2"
2399   else
2400     CFLAGS="-g"
2401   fi
2402 else
2403   if test "$GCC" = yes; then
2404     CFLAGS="-O2"
2405   else
2406     CFLAGS=
2407   fi
2408 fi
2409 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2410 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2411 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2412   echo $ECHO_N "(cached) $ECHO_C" >&6
2413 else
2414   ac_cv_prog_cc_stdc=no
2415 ac_save_CC=$CC
2416 cat >conftest.$ac_ext <<_ACEOF
2417 /* confdefs.h.  */
2418 _ACEOF
2419 cat confdefs.h >>conftest.$ac_ext
2420 cat >>conftest.$ac_ext <<_ACEOF
2421 /* end confdefs.h.  */
2422 #include <stdarg.h>
2423 #include <stdio.h>
2424 #include <sys/types.h>
2425 #include <sys/stat.h>
2426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2427 struct buf { int x; };
2428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2429 static char *e (p, i)
2430      char **p;
2431      int i;
2432 {
2433   return p[i];
2434 }
2435 static char *f (char * (*g) (char **, int), char **p, ...)
2436 {
2437   char *s;
2438   va_list v;
2439   va_start (v,p);
2440   s = g (p, va_arg (v,int));
2441   va_end (v);
2442   return s;
2443 }
2444
2445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2446    function prototypes and stuff, but not '\xHH' hex character constants.
2447    These don't provoke an error unfortunately, instead are silently treated
2448    as 'x'.  The following induces an error, until -std1 is added to get
2449    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2450    array size at least.  It's necessary to write '\x00'==0 to get something
2451    that's true only with -std1.  */
2452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2453
2454 int test (int i, double x);
2455 struct s1 {int (*f) (int a);};
2456 struct s2 {int (*f) (double a);};
2457 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2458 int argc;
2459 char **argv;
2460 int
2461 main ()
2462 {
2463 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2464   ;
2465   return 0;
2466 }
2467 _ACEOF
2468 # Don't try gcc -ansi; that turns off useful extensions and
2469 # breaks some systems' header files.
2470 # AIX                   -qlanglvl=ansi
2471 # Ultrix and OSF/1      -std1
2472 # HP-UX 10.20 and later -Ae
2473 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2474 # SVR4                  -Xc -D__EXTENSIONS__
2475 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2476 do
2477   CC="$ac_save_CC $ac_arg"
2478   rm -f conftest.$ac_objext
2479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2480   (eval $ac_compile) 2>conftest.er1
2481   ac_status=$?
2482   grep -v '^ *+' conftest.er1 >conftest.err
2483   rm -f conftest.er1
2484   cat conftest.err >&5
2485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486   (exit $ac_status); } &&
2487          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489   (eval $ac_try) 2>&5
2490   ac_status=$?
2491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492   (exit $ac_status); }; } &&
2493          { ac_try='test -s conftest.$ac_objext'
2494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495   (eval $ac_try) 2>&5
2496   ac_status=$?
2497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498   (exit $ac_status); }; }; then
2499   ac_cv_prog_cc_stdc=$ac_arg
2500 break
2501 else
2502   echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.$ac_ext >&5
2504
2505 fi
2506 rm -f conftest.err conftest.$ac_objext
2507 done
2508 rm -f conftest.$ac_ext conftest.$ac_objext
2509 CC=$ac_save_CC
2510
2511 fi
2512
2513 case "x$ac_cv_prog_cc_stdc" in
2514   x|xno)
2515     echo "$as_me:$LINENO: result: none needed" >&5
2516 echo "${ECHO_T}none needed" >&6 ;;
2517   *)
2518     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2519 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2520     CC="$CC $ac_cv_prog_cc_stdc" ;;
2521 esac
2522
2523 # Some people use a C++ compiler to compile C.  Since we use `exit',
2524 # in C++ we need to declare it.  In case someone uses the same compiler
2525 # for both compiling C and C++ we need to have the C++ compiler decide
2526 # the declaration of exit, since it's the most demanding environment.
2527 cat >conftest.$ac_ext <<_ACEOF
2528 #ifndef __cplusplus
2529   choke me
2530 #endif
2531 _ACEOF
2532 rm -f conftest.$ac_objext
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534   (eval $ac_compile) 2>conftest.er1
2535   ac_status=$?
2536   grep -v '^ *+' conftest.er1 >conftest.err
2537   rm -f conftest.er1
2538   cat conftest.err >&5
2539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540   (exit $ac_status); } &&
2541          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543   (eval $ac_try) 2>&5
2544   ac_status=$?
2545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546   (exit $ac_status); }; } &&
2547          { ac_try='test -s conftest.$ac_objext'
2548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549   (eval $ac_try) 2>&5
2550   ac_status=$?
2551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552   (exit $ac_status); }; }; then
2553   for ac_declaration in \
2554    '' \
2555    'extern "C" void std::exit (int) throw (); using std::exit;' \
2556    'extern "C" void std::exit (int); using std::exit;' \
2557    'extern "C" void exit (int) throw ();' \
2558    'extern "C" void exit (int);' \
2559    'void exit (int);'
2560 do
2561   cat >conftest.$ac_ext <<_ACEOF
2562 /* confdefs.h.  */
2563 _ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h.  */
2567 $ac_declaration
2568 #include <stdlib.h>
2569 int
2570 main ()
2571 {
2572 exit (42);
2573   ;
2574   return 0;
2575 }
2576 _ACEOF
2577 rm -f conftest.$ac_objext
2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579   (eval $ac_compile) 2>conftest.er1
2580   ac_status=$?
2581   grep -v '^ *+' conftest.er1 >conftest.err
2582   rm -f conftest.er1
2583   cat conftest.err >&5
2584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585   (exit $ac_status); } &&
2586          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588   (eval $ac_try) 2>&5
2589   ac_status=$?
2590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591   (exit $ac_status); }; } &&
2592          { ac_try='test -s conftest.$ac_objext'
2593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2594   (eval $ac_try) 2>&5
2595   ac_status=$?
2596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597   (exit $ac_status); }; }; then
2598   :
2599 else
2600   echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.$ac_ext >&5
2602
2603 continue
2604 fi
2605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2606   cat >conftest.$ac_ext <<_ACEOF
2607 /* confdefs.h.  */
2608 _ACEOF
2609 cat confdefs.h >>conftest.$ac_ext
2610 cat >>conftest.$ac_ext <<_ACEOF
2611 /* end confdefs.h.  */
2612 $ac_declaration
2613 int
2614 main ()
2615 {
2616 exit (42);
2617   ;
2618   return 0;
2619 }
2620 _ACEOF
2621 rm -f conftest.$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623   (eval $ac_compile) 2>conftest.er1
2624   ac_status=$?
2625   grep -v '^ *+' conftest.er1 >conftest.err
2626   rm -f conftest.er1
2627   cat conftest.err >&5
2628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629   (exit $ac_status); } &&
2630          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632   (eval $ac_try) 2>&5
2633   ac_status=$?
2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635   (exit $ac_status); }; } &&
2636          { ac_try='test -s conftest.$ac_objext'
2637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638   (eval $ac_try) 2>&5
2639   ac_status=$?
2640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641   (exit $ac_status); }; }; then
2642   break
2643 else
2644   echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2646
2647 fi
2648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2649 done
2650 rm -f conftest*
2651 if test -n "$ac_declaration"; then
2652   echo '#ifdef __cplusplus' >>confdefs.h
2653   echo $ac_declaration      >>confdefs.h
2654   echo '#endif'             >>confdefs.h
2655 fi
2656
2657 else
2658   echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2660
2661 fi
2662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2663 ac_ext=c
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2668 DEPDIR="${am__leading_dot}deps"
2669
2670           ac_config_commands="$ac_config_commands depfiles"
2671
2672
2673 am_make=${MAKE-make}
2674 cat > confinc << 'END'
2675 am__doit:
2676         @echo done
2677 .PHONY: am__doit
2678 END
2679 # If we don't find an include directive, just comment out the code.
2680 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2681 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2682 am__include="#"
2683 am__quote=
2684 _am_result=none
2685 # First try GNU make style include.
2686 echo "include confinc" > confmf
2687 # We grep out `Entering directory' and `Leaving directory'
2688 # messages which can occur if `w' ends up in MAKEFLAGS.
2689 # In particular we don't look at `^make:' because GNU make might
2690 # be invoked under some other name (usually "gmake"), in which
2691 # case it prints its new name instead of `make'.
2692 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2693    am__include=include
2694    am__quote=
2695    _am_result=GNU
2696 fi
2697 # Now try BSD make style include.
2698 if test "$am__include" = "#"; then
2699    echo '.include "confinc"' > confmf
2700    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2701       am__include=.include
2702       am__quote="\""
2703       _am_result=BSD
2704    fi
2705 fi
2706
2707
2708 echo "$as_me:$LINENO: result: $_am_result" >&5
2709 echo "${ECHO_T}$_am_result" >&6
2710 rm -f confinc confmf
2711
2712 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2713 if test "${enable_dependency_tracking+set}" = set; then
2714   enableval="$enable_dependency_tracking"
2715
2716 fi;
2717 if test "x$enable_dependency_tracking" != xno; then
2718   am_depcomp="$ac_aux_dir/depcomp"
2719   AMDEPBACKSLASH='\'
2720 fi
2721
2722
2723 if test "x$enable_dependency_tracking" != xno; then
2724   AMDEP_TRUE=
2725   AMDEP_FALSE='#'
2726 else
2727   AMDEP_TRUE='#'
2728   AMDEP_FALSE=
2729 fi
2730
2731
2732
2733
2734 depcc="$CC"   am_compiler_list=
2735
2736 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2737 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2738 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2739   echo $ECHO_N "(cached) $ECHO_C" >&6
2740 else
2741   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2742   # We make a subdir and do the tests there.  Otherwise we can end up
2743   # making bogus files that we don't know about and never remove.  For
2744   # instance it was reported that on HP-UX the gcc test will end up
2745   # making a dummy file named `D' -- because `-MD' means `put the output
2746   # in D'.
2747   mkdir conftest.dir
2748   # Copy depcomp to subdir because otherwise we won't find it if we're
2749   # using a relative directory.
2750   cp "$am_depcomp" conftest.dir
2751   cd conftest.dir
2752   # We will build objects and dependencies in a subdirectory because
2753   # it helps to detect inapplicable dependency modes.  For instance
2754   # both Tru64's cc and ICC support -MD to output dependencies as a
2755   # side effect of compilation, but ICC will put the dependencies in
2756   # the current directory while Tru64 will put them in the object
2757   # directory.
2758   mkdir sub
2759
2760   am_cv_CC_dependencies_compiler_type=none
2761   if test "$am_compiler_list" = ""; then
2762      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2763   fi
2764   for depmode in $am_compiler_list; do
2765     # Setup a source with many dependencies, because some compilers
2766     # like to wrap large dependency lists on column 80 (with \), and
2767     # we should not choose a depcomp mode which is confused by this.
2768     #
2769     # We need to recreate these files for each test, as the compiler may
2770     # overwrite some of them when testing with obscure command lines.
2771     # This happens at least with the AIX C compiler.
2772     : > sub/conftest.c
2773     for i in 1 2 3 4 5 6; do
2774       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2775       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2776       # Solaris 8's {/usr,}/bin/sh.
2777       touch sub/conftst$i.h
2778     done
2779     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2780
2781     case $depmode in
2782     nosideeffect)
2783       # after this tag, mechanisms are not by side-effect, so they'll
2784       # only be used when explicitly requested
2785       if test "x$enable_dependency_tracking" = xyes; then
2786         continue
2787       else
2788         break
2789       fi
2790       ;;
2791     none) break ;;
2792     esac
2793     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2794     # mode.  It turns out that the SunPro C++ compiler does not properly
2795     # handle `-M -o', and we need to detect this.
2796     if depmode=$depmode \
2797        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2798        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2799        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2800          >/dev/null 2>conftest.err &&
2801        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2802        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2803        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2804       # icc doesn't choke on unknown options, it will just issue warnings
2805       # or remarks (even with -Werror).  So we grep stderr for any message
2806       # that says an option was ignored or not supported.
2807       # When given -MP, icc 7.0 and 7.1 complain thusly:
2808       #   icc: Command line warning: ignoring option '-M'; no argument required
2809       # The diagnosis changed in icc 8.0:
2810       #   icc: Command line remark: option '-MP' not supported
2811       if (grep 'ignoring option' conftest.err ||
2812           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2813         am_cv_CC_dependencies_compiler_type=$depmode
2814         break
2815       fi
2816     fi
2817   done
2818
2819   cd ..
2820   rm -rf conftest.dir
2821 else
2822   am_cv_CC_dependencies_compiler_type=none
2823 fi
2824
2825 fi
2826 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2827 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2828 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2829
2830
2831
2832 if
2833   test "x$enable_dependency_tracking" != xno \
2834   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2835   am__fastdepCC_TRUE=
2836   am__fastdepCC_FALSE='#'
2837 else
2838   am__fastdepCC_TRUE='#'
2839   am__fastdepCC_FALSE=
2840 fi
2841
2842
2843 # Find a good install program.  We prefer a C program (faster),
2844 # so one script is as good as another.  But avoid the broken or
2845 # incompatible versions:
2846 # SysV /etc/install, /usr/sbin/install
2847 # SunOS /usr/etc/install
2848 # IRIX /sbin/install
2849 # AIX /bin/install
2850 # AmigaOS /C/install, which installs bootblocks on floppy discs
2851 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2852 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2853 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2854 # OS/2's system install, which has a completely different semantic
2855 # ./install, which can be erroneously created by make from ./install.sh.
2856 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2857 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2858 if test -z "$INSTALL"; then
2859 if test "${ac_cv_path_install+set}" = set; then
2860   echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 for as_dir in $PATH
2864 do
2865   IFS=$as_save_IFS
2866   test -z "$as_dir" && as_dir=.
2867   # Account for people who put trailing slashes in PATH elements.
2868 case $as_dir/ in
2869   ./ | .// | /cC/* | \
2870   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2871   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2872   /usr/ucb/* ) ;;
2873   *)
2874     # OSF1 and SCO ODT 3.0 have their own names for install.
2875     # Don't use installbsd from OSF since it installs stuff as root
2876     # by default.
2877     for ac_prog in ginstall scoinst install; do
2878       for ac_exec_ext in '' $ac_executable_extensions; do
2879         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2880           if test $ac_prog = install &&
2881             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2882             # AIX install.  It has an incompatible calling convention.
2883             :
2884           elif test $ac_prog = install &&
2885             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2886             # program-specific install script used by HP pwplus--don't use.
2887             :
2888           else
2889             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2890             break 3
2891           fi
2892         fi
2893       done
2894     done
2895     ;;
2896 esac
2897 done
2898
2899
2900 fi
2901   if test "${ac_cv_path_install+set}" = set; then
2902     INSTALL=$ac_cv_path_install
2903   else
2904     # As a last resort, use the slow shell script.  We don't cache a
2905     # path for INSTALL within a source directory, because that will
2906     # break other packages using the cache if that directory is
2907     # removed, or if the path is relative.
2908     INSTALL=$ac_install_sh
2909   fi
2910 fi
2911 echo "$as_me:$LINENO: result: $INSTALL" >&5
2912 echo "${ECHO_T}$INSTALL" >&6
2913
2914 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2915 # It thinks the first close brace ends the variable substitution.
2916 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2917
2918 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2919
2920 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2921
2922 if test -n "$ac_tool_prefix"; then
2923   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2924 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2925 echo "$as_me:$LINENO: checking for $ac_word" >&5
2926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2927 if test "${ac_cv_prog_RANLIB+set}" = set; then
2928   echo $ECHO_N "(cached) $ECHO_C" >&6
2929 else
2930   if test -n "$RANLIB"; then
2931   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2932 else
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 for as_dir in $PATH
2935 do
2936   IFS=$as_save_IFS
2937   test -z "$as_dir" && as_dir=.
2938   for ac_exec_ext in '' $ac_executable_extensions; do
2939   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2940     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2941     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2942     break 2
2943   fi
2944 done
2945 done
2946
2947 fi
2948 fi
2949 RANLIB=$ac_cv_prog_RANLIB
2950 if test -n "$RANLIB"; then
2951   echo "$as_me:$LINENO: result: $RANLIB" >&5
2952 echo "${ECHO_T}$RANLIB" >&6
2953 else
2954   echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6
2956 fi
2957
2958 fi
2959 if test -z "$ac_cv_prog_RANLIB"; then
2960   ac_ct_RANLIB=$RANLIB
2961   # Extract the first word of "ranlib", so it can be a program name with args.
2962 set dummy ranlib; ac_word=$2
2963 echo "$as_me:$LINENO: checking for $ac_word" >&5
2964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2965 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2966   echo $ECHO_N "(cached) $ECHO_C" >&6
2967 else
2968   if test -n "$ac_ct_RANLIB"; then
2969   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2970 else
2971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 for as_dir in $PATH
2973 do
2974   IFS=$as_save_IFS
2975   test -z "$as_dir" && as_dir=.
2976   for ac_exec_ext in '' $ac_executable_extensions; do
2977   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2978     ac_cv_prog_ac_ct_RANLIB="ranlib"
2979     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2980     break 2
2981   fi
2982 done
2983 done
2984
2985   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2986 fi
2987 fi
2988 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2989 if test -n "$ac_ct_RANLIB"; then
2990   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2991 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2992 else
2993   echo "$as_me:$LINENO: result: no" >&5
2994 echo "${ECHO_T}no" >&6
2995 fi
2996
2997   RANLIB=$ac_ct_RANLIB
2998 else
2999   RANLIB="$ac_cv_prog_RANLIB"
3000 fi
3001
3002 # Checks for libraries.
3003 # FIXME: Replace `main' with a function in `-llambda':
3004 #AC_CHECK_LIB([lambda], [main])
3005 # FIXME: Replace `main' with a function in `-lm':
3006 #AC_CHECK_LIB([m], [main])
3007
3008
3009 if test x$GCC = xyes; then
3010   ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings  -Wstrict-prototypes -Wmissing-prototypes'
3011 fi
3012
3013
3014 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3015 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3016     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3017 if test "${enable_maintainer_mode+set}" = set; then
3018   enableval="$enable_maintainer_mode"
3019   USE_MAINTAINER_MODE=$enableval
3020 else
3021   USE_MAINTAINER_MODE=no
3022 fi;
3023   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3024 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3025
3026
3027 if test $USE_MAINTAINER_MODE = yes; then
3028   MAINTAINER_MODE_TRUE=
3029   MAINTAINER_MODE_FALSE='#'
3030 else
3031   MAINTAINER_MODE_TRUE='#'
3032   MAINTAINER_MODE_FALSE=
3033 fi
3034
3035   MAINT=$MAINTAINER_MODE_TRUE
3036
3037
3038 # Checks for header files.
3039
3040 ac_ext=c
3041 ac_cpp='$CPP $CPPFLAGS'
3042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3045 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3047 # On Suns, sometimes $CPP names a directory.
3048 if test -n "$CPP" && test -d "$CPP"; then
3049   CPP=
3050 fi
3051 if test -z "$CPP"; then
3052   if test "${ac_cv_prog_CPP+set}" = set; then
3053   echo $ECHO_N "(cached) $ECHO_C" >&6
3054 else
3055       # Double quotes because CPP needs to be expanded
3056     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3057     do
3058       ac_preproc_ok=false
3059 for ac_c_preproc_warn_flag in '' yes
3060 do
3061   # Use a header file that comes with gcc, so configuring glibc
3062   # with a fresh cross-compiler works.
3063   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3064   # <limits.h> exists even on freestanding compilers.
3065   # On the NeXT, cc -E runs the code through the compiler's parser,
3066   # not just through cpp. "Syntax error" is here to catch this case.
3067   cat >conftest.$ac_ext <<_ACEOF
3068 /* confdefs.h.  */
3069 _ACEOF
3070 cat confdefs.h >>conftest.$ac_ext
3071 cat >>conftest.$ac_ext <<_ACEOF
3072 /* end confdefs.h.  */
3073 #ifdef __STDC__
3074 # include <limits.h>
3075 #else
3076 # include <assert.h>
3077 #endif
3078                      Syntax error
3079 _ACEOF
3080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3081   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3082   ac_status=$?
3083   grep -v '^ *+' conftest.er1 >conftest.err
3084   rm -f conftest.er1
3085   cat conftest.err >&5
3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087   (exit $ac_status); } >/dev/null; then
3088   if test -s conftest.err; then
3089     ac_cpp_err=$ac_c_preproc_warn_flag
3090     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3091   else
3092     ac_cpp_err=
3093   fi
3094 else
3095   ac_cpp_err=yes
3096 fi
3097 if test -z "$ac_cpp_err"; then
3098   :
3099 else
3100   echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3102
3103   # Broken: fails on valid input.
3104 continue
3105 fi
3106 rm -f conftest.err conftest.$ac_ext
3107
3108   # OK, works on sane cases.  Now check whether non-existent headers
3109   # can be detected and how.
3110   cat >conftest.$ac_ext <<_ACEOF
3111 /* confdefs.h.  */
3112 _ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h.  */
3116 #include <ac_nonexistent.h>
3117 _ACEOF
3118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3120   ac_status=$?
3121   grep -v '^ *+' conftest.er1 >conftest.err
3122   rm -f conftest.er1
3123   cat conftest.err >&5
3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125   (exit $ac_status); } >/dev/null; then
3126   if test -s conftest.err; then
3127     ac_cpp_err=$ac_c_preproc_warn_flag
3128     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3129   else
3130     ac_cpp_err=
3131   fi
3132 else
3133   ac_cpp_err=yes
3134 fi
3135 if test -z "$ac_cpp_err"; then
3136   # Broken: success on invalid input.
3137 continue
3138 else
3139   echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.$ac_ext >&5
3141
3142   # Passes both tests.
3143 ac_preproc_ok=:
3144 break
3145 fi
3146 rm -f conftest.err conftest.$ac_ext
3147
3148 done
3149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3150 rm -f conftest.err conftest.$ac_ext
3151 if $ac_preproc_ok; then
3152   break
3153 fi
3154
3155     done
3156     ac_cv_prog_CPP=$CPP
3157
3158 fi
3159   CPP=$ac_cv_prog_CPP
3160 else
3161   ac_cv_prog_CPP=$CPP
3162 fi
3163 echo "$as_me:$LINENO: result: $CPP" >&5
3164 echo "${ECHO_T}$CPP" >&6
3165 ac_preproc_ok=false
3166 for ac_c_preproc_warn_flag in '' yes
3167 do
3168   # Use a header file that comes with gcc, so configuring glibc
3169   # with a fresh cross-compiler works.
3170   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3171   # <limits.h> exists even on freestanding compilers.
3172   # On the NeXT, cc -E runs the code through the compiler's parser,
3173   # not just through cpp. "Syntax error" is here to catch this case.
3174   cat >conftest.$ac_ext <<_ACEOF
3175 /* confdefs.h.  */
3176 _ACEOF
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h.  */
3180 #ifdef __STDC__
3181 # include <limits.h>
3182 #else
3183 # include <assert.h>
3184 #endif
3185                      Syntax error
3186 _ACEOF
3187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3188   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3189   ac_status=$?
3190   grep -v '^ *+' conftest.er1 >conftest.err
3191   rm -f conftest.er1
3192   cat conftest.err >&5
3193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194   (exit $ac_status); } >/dev/null; then
3195   if test -s conftest.err; then
3196     ac_cpp_err=$ac_c_preproc_warn_flag
3197     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3198   else
3199     ac_cpp_err=
3200   fi
3201 else
3202   ac_cpp_err=yes
3203 fi
3204 if test -z "$ac_cpp_err"; then
3205   :
3206 else
3207   echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3209
3210   # Broken: fails on valid input.
3211 continue
3212 fi
3213 rm -f conftest.err conftest.$ac_ext
3214
3215   # OK, works on sane cases.  Now check whether non-existent headers
3216   # can be detected and how.
3217   cat >conftest.$ac_ext <<_ACEOF
3218 /* confdefs.h.  */
3219 _ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h.  */
3223 #include <ac_nonexistent.h>
3224 _ACEOF
3225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3226   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3227   ac_status=$?
3228   grep -v '^ *+' conftest.er1 >conftest.err
3229   rm -f conftest.er1
3230   cat conftest.err >&5
3231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232   (exit $ac_status); } >/dev/null; then
3233   if test -s conftest.err; then
3234     ac_cpp_err=$ac_c_preproc_warn_flag
3235     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3236   else
3237     ac_cpp_err=
3238   fi
3239 else
3240   ac_cpp_err=yes
3241 fi
3242 if test -z "$ac_cpp_err"; then
3243   # Broken: success on invalid input.
3244 continue
3245 else
3246   echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3248
3249   # Passes both tests.
3250 ac_preproc_ok=:
3251 break
3252 fi
3253 rm -f conftest.err conftest.$ac_ext
3254
3255 done
3256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3257 rm -f conftest.err conftest.$ac_ext
3258 if $ac_preproc_ok; then
3259   :
3260 else
3261   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3262 See \`config.log' for more details." >&5
3263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3264 See \`config.log' for more details." >&2;}
3265    { (exit 1); exit 1; }; }
3266 fi
3267
3268 ac_ext=c
3269 ac_cpp='$CPP $CPPFLAGS'
3270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3273
3274
3275 echo "$as_me:$LINENO: checking for egrep" >&5
3276 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3277 if test "${ac_cv_prog_egrep+set}" = set; then
3278   echo $ECHO_N "(cached) $ECHO_C" >&6
3279 else
3280   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3281     then ac_cv_prog_egrep='grep -E'
3282     else ac_cv_prog_egrep='egrep'
3283     fi
3284 fi
3285 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3286 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3287  EGREP=$ac_cv_prog_egrep
3288
3289
3290 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3291 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3292 if test "${ac_cv_header_stdc+set}" = set; then
3293   echo $ECHO_N "(cached) $ECHO_C" >&6
3294 else
3295   cat >conftest.$ac_ext <<_ACEOF
3296 /* confdefs.h.  */
3297 _ACEOF
3298 cat confdefs.h >>conftest.$ac_ext
3299 cat >>conftest.$ac_ext <<_ACEOF
3300 /* end confdefs.h.  */
3301 #include <stdlib.h>
3302 #include <stdarg.h>
3303 #include <string.h>
3304 #include <float.h>
3305
3306 int
3307 main ()
3308 {
3309
3310   ;
3311   return 0;
3312 }
3313 _ACEOF
3314 rm -f conftest.$ac_objext
3315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3316   (eval $ac_compile) 2>conftest.er1
3317   ac_status=$?
3318   grep -v '^ *+' conftest.er1 >conftest.err
3319   rm -f conftest.er1
3320   cat conftest.err >&5
3321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322   (exit $ac_status); } &&
3323          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325   (eval $ac_try) 2>&5
3326   ac_status=$?
3327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328   (exit $ac_status); }; } &&
3329          { ac_try='test -s conftest.$ac_objext'
3330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331   (eval $ac_try) 2>&5
3332   ac_status=$?
3333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334   (exit $ac_status); }; }; then
3335   ac_cv_header_stdc=yes
3336 else
3337   echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3339
3340 ac_cv_header_stdc=no
3341 fi
3342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3343
3344 if test $ac_cv_header_stdc = yes; then
3345   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3346   cat >conftest.$ac_ext <<_ACEOF
3347 /* confdefs.h.  */
3348 _ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h.  */
3352 #include <string.h>
3353
3354 _ACEOF
3355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3356   $EGREP "memchr" >/dev/null 2>&1; then
3357   :
3358 else
3359   ac_cv_header_stdc=no
3360 fi
3361 rm -f conftest*
3362
3363 fi
3364
3365 if test $ac_cv_header_stdc = yes; then
3366   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 <stdlib.h>
3374
3375 _ACEOF
3376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3377   $EGREP "free" >/dev/null 2>&1; then
3378   :
3379 else
3380   ac_cv_header_stdc=no
3381 fi
3382 rm -f conftest*
3383
3384 fi
3385
3386 if test $ac_cv_header_stdc = yes; then
3387   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3388   if test "$cross_compiling" = yes; then
3389   :
3390 else
3391   cat >conftest.$ac_ext <<_ACEOF
3392 /* confdefs.h.  */
3393 _ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h.  */
3397 #include <ctype.h>
3398 #if ((' ' & 0x0FF) == 0x020)
3399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3401 #else
3402 # define ISLOWER(c) \
3403                    (('a' <= (c) && (c) <= 'i') \
3404                      || ('j' <= (c) && (c) <= 'r') \
3405                      || ('s' <= (c) && (c) <= 'z'))
3406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3407 #endif
3408
3409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3410 int
3411 main ()
3412 {
3413   int i;
3414   for (i = 0; i < 256; i++)
3415     if (XOR (islower (i), ISLOWER (i))
3416         || toupper (i) != TOUPPER (i))
3417       exit(2);
3418   exit (0);
3419 }
3420 _ACEOF
3421 rm -f conftest$ac_exeext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423   (eval $ac_link) 2>&5
3424   ac_status=$?
3425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428   (eval $ac_try) 2>&5
3429   ac_status=$?
3430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431   (exit $ac_status); }; }; then
3432   :
3433 else
3434   echo "$as_me: program exited with status $ac_status" >&5
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3437
3438 ( exit $ac_status )
3439 ac_cv_header_stdc=no
3440 fi
3441 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3442 fi
3443 fi
3444 fi
3445 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3446 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3447 if test $ac_cv_header_stdc = yes; then
3448
3449 cat >>confdefs.h <<\_ACEOF
3450 #define STDC_HEADERS 1
3451 _ACEOF
3452
3453 fi
3454
3455 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3466                   inttypes.h stdint.h unistd.h
3467 do
3468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3469 echo "$as_me:$LINENO: checking for $ac_header" >&5
3470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3472   echo $ECHO_N "(cached) $ECHO_C" >&6
3473 else
3474   cat >conftest.$ac_ext <<_ACEOF
3475 /* confdefs.h.  */
3476 _ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h.  */
3480 $ac_includes_default
3481
3482 #include <$ac_header>
3483 _ACEOF
3484 rm -f conftest.$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486   (eval $ac_compile) 2>conftest.er1
3487   ac_status=$?
3488   grep -v '^ *+' conftest.er1 >conftest.err
3489   rm -f conftest.er1
3490   cat conftest.err >&5
3491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492   (exit $ac_status); } &&
3493          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495   (eval $ac_try) 2>&5
3496   ac_status=$?
3497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498   (exit $ac_status); }; } &&
3499          { ac_try='test -s conftest.$ac_objext'
3500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501   (eval $ac_try) 2>&5
3502   ac_status=$?
3503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504   (exit $ac_status); }; }; then
3505   eval "$as_ac_Header=yes"
3506 else
3507   echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3509
3510 eval "$as_ac_Header=no"
3511 fi
3512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3513 fi
3514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3517   cat >>confdefs.h <<_ACEOF
3518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3519 _ACEOF
3520
3521 fi
3522
3523 done
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533 for ac_header in fcntl.h limits.h stddef.h stdlib.h string.h sys/param.h unistd.h
3534 do
3535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3537   echo "$as_me:$LINENO: checking for $ac_header" >&5
3538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3540   echo $ECHO_N "(cached) $ECHO_C" >&6
3541 fi
3542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3544 else
3545   # Is the header compilable?
3546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3548 cat >conftest.$ac_ext <<_ACEOF
3549 /* confdefs.h.  */
3550 _ACEOF
3551 cat confdefs.h >>conftest.$ac_ext
3552 cat >>conftest.$ac_ext <<_ACEOF
3553 /* end confdefs.h.  */
3554 $ac_includes_default
3555 #include <$ac_header>
3556 _ACEOF
3557 rm -f conftest.$ac_objext
3558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3559   (eval $ac_compile) 2>conftest.er1
3560   ac_status=$?
3561   grep -v '^ *+' conftest.er1 >conftest.err
3562   rm -f conftest.er1
3563   cat conftest.err >&5
3564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565   (exit $ac_status); } &&
3566          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568   (eval $ac_try) 2>&5
3569   ac_status=$?
3570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571   (exit $ac_status); }; } &&
3572          { ac_try='test -s conftest.$ac_objext'
3573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574   (eval $ac_try) 2>&5
3575   ac_status=$?
3576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577   (exit $ac_status); }; }; then
3578   ac_header_compiler=yes
3579 else
3580   echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.$ac_ext >&5
3582
3583 ac_header_compiler=no
3584 fi
3585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3587 echo "${ECHO_T}$ac_header_compiler" >&6
3588
3589 # Is the header present?
3590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3592 cat >conftest.$ac_ext <<_ACEOF
3593 /* confdefs.h.  */
3594 _ACEOF
3595 cat confdefs.h >>conftest.$ac_ext
3596 cat >>conftest.$ac_ext <<_ACEOF
3597 /* end confdefs.h.  */
3598 #include <$ac_header>
3599 _ACEOF
3600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3601   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3602   ac_status=$?
3603   grep -v '^ *+' conftest.er1 >conftest.err
3604   rm -f conftest.er1
3605   cat conftest.err >&5
3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607   (exit $ac_status); } >/dev/null; then
3608   if test -s conftest.err; then
3609     ac_cpp_err=$ac_c_preproc_warn_flag
3610     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3611   else
3612     ac_cpp_err=
3613   fi
3614 else
3615   ac_cpp_err=yes
3616 fi
3617 if test -z "$ac_cpp_err"; then
3618   ac_header_preproc=yes
3619 else
3620   echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.$ac_ext >&5
3622
3623   ac_header_preproc=no
3624 fi
3625 rm -f conftest.err conftest.$ac_ext
3626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3627 echo "${ECHO_T}$ac_header_preproc" >&6
3628
3629 # So?  What about this header?
3630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3631   yes:no: )
3632     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3634     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3636     ac_header_preproc=yes
3637     ;;
3638   no:yes:* )
3639     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3641     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3642 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3643     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3645     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3646 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3647     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3649     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3651     (
3652       cat <<\_ASBOX
3653 ## ---------------------------------- ##
3654 ## Report this to dberlin@dberlin.org ##
3655 ## ---------------------------------- ##
3656 _ASBOX
3657     ) |
3658       sed "s/^/$as_me: WARNING:     /" >&2
3659     ;;
3660 esac
3661 echo "$as_me:$LINENO: checking for $ac_header" >&5
3662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3664   echo $ECHO_N "(cached) $ECHO_C" >&6
3665 else
3666   eval "$as_ac_Header=\$ac_header_preproc"
3667 fi
3668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3670
3671 fi
3672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3673   cat >>confdefs.h <<_ACEOF
3674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3675 _ACEOF
3676
3677 fi
3678
3679 done
3680
3681 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
3682 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
3683 if test "${ac_cv_header_stdbool_h+set}" = set; then
3684   echo $ECHO_N "(cached) $ECHO_C" >&6
3685 else
3686   cat >conftest.$ac_ext <<_ACEOF
3687 /* confdefs.h.  */
3688 _ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h.  */
3692
3693 #include <stdbool.h>
3694 #ifndef bool
3695 # error bool is not defined
3696 #endif
3697 #ifndef false
3698 # error false is not defined
3699 #endif
3700 #if false
3701 # error false is not 0
3702 #endif
3703 #ifndef true
3704 # error true is not defined
3705 #endif
3706 #if true != 1
3707 # error true is not 1
3708 #endif
3709 #ifndef __bool_true_false_are_defined
3710 # error __bool_true_false_are_defined is not defined
3711 #endif
3712
3713         struct s { _Bool s: 1; _Bool t; } s;
3714
3715         char a[true == 1 ? 1 : -1];
3716         char b[false == 0 ? 1 : -1];
3717         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3718         char d[(bool) -0.5 == true ? 1 : -1];
3719         bool e = &s;
3720         char f[(_Bool) -0.0 == false ? 1 : -1];
3721         char g[true];
3722         char h[sizeof (_Bool)];
3723         char i[sizeof s.t];
3724
3725 int
3726 main ()
3727 {
3728  return !a + !b + !c + !d + !e + !f + !g + !h + !i;
3729   ;
3730   return 0;
3731 }
3732 _ACEOF
3733 rm -f conftest.$ac_objext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735   (eval $ac_compile) 2>conftest.er1
3736   ac_status=$?
3737   grep -v '^ *+' conftest.er1 >conftest.err
3738   rm -f conftest.er1
3739   cat conftest.err >&5
3740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741   (exit $ac_status); } &&
3742          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744   (eval $ac_try) 2>&5
3745   ac_status=$?
3746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747   (exit $ac_status); }; } &&
3748          { ac_try='test -s conftest.$ac_objext'
3749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750   (eval $ac_try) 2>&5
3751   ac_status=$?
3752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753   (exit $ac_status); }; }; then
3754   ac_cv_header_stdbool_h=yes
3755 else
3756   echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3758
3759 ac_cv_header_stdbool_h=no
3760 fi
3761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3762 fi
3763 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
3764 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
3765 echo "$as_me:$LINENO: checking for _Bool" >&5
3766 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
3767 if test "${ac_cv_type__Bool+set}" = set; then
3768   echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770   cat >conftest.$ac_ext <<_ACEOF
3771 /* confdefs.h.  */
3772 _ACEOF
3773 cat confdefs.h >>conftest.$ac_ext
3774 cat >>conftest.$ac_ext <<_ACEOF
3775 /* end confdefs.h.  */
3776 $ac_includes_default
3777 int
3778 main ()
3779 {
3780 if ((_Bool *) 0)
3781   return 0;
3782 if (sizeof (_Bool))
3783   return 0;
3784   ;
3785   return 0;
3786 }
3787 _ACEOF
3788 rm -f conftest.$ac_objext
3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3790   (eval $ac_compile) 2>conftest.er1
3791   ac_status=$?
3792   grep -v '^ *+' conftest.er1 >conftest.err
3793   rm -f conftest.er1
3794   cat conftest.err >&5
3795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796   (exit $ac_status); } &&
3797          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799   (eval $ac_try) 2>&5
3800   ac_status=$?
3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802   (exit $ac_status); }; } &&
3803          { ac_try='test -s conftest.$ac_objext'
3804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805   (eval $ac_try) 2>&5
3806   ac_status=$?
3807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808   (exit $ac_status); }; }; then
3809   ac_cv_type__Bool=yes
3810 else
3811   echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3813
3814 ac_cv_type__Bool=no
3815 fi
3816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3817 fi
3818 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
3819 echo "${ECHO_T}$ac_cv_type__Bool" >&6
3820 if test $ac_cv_type__Bool = yes; then
3821
3822 cat >>confdefs.h <<_ACEOF
3823 #define HAVE__BOOL 1
3824 _ACEOF
3825
3826
3827 fi
3828
3829 if test $ac_cv_header_stdbool_h = yes; then
3830
3831 cat >>confdefs.h <<\_ACEOF
3832 #define HAVE_STDBOOL_H 1
3833 _ACEOF
3834
3835 fi
3836
3837
3838 # Checks for typedefs, structures, and compiler characteristics.
3839 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3840 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3841 if test "${ac_cv_c_const+set}" = set; then
3842   echo $ECHO_N "(cached) $ECHO_C" >&6
3843 else
3844   cat >conftest.$ac_ext <<_ACEOF
3845 /* confdefs.h.  */
3846 _ACEOF
3847 cat confdefs.h >>conftest.$ac_ext
3848 cat >>conftest.$ac_ext <<_ACEOF
3849 /* end confdefs.h.  */
3850
3851 int
3852 main ()
3853 {
3854 /* FIXME: Include the comments suggested by Paul. */
3855 #ifndef __cplusplus
3856   /* Ultrix mips cc rejects this.  */
3857   typedef int charset[2];
3858   const charset x;
3859   /* SunOS 4.1.1 cc rejects this.  */
3860   char const *const *ccp;
3861   char **p;
3862   /* NEC SVR4.0.2 mips cc rejects this.  */
3863   struct point {int x, y;};
3864   static struct point const zero = {0,0};
3865   /* AIX XL C 1.02.0.0 rejects this.
3866      It does not let you subtract one const X* pointer from another in
3867      an arm of an if-expression whose if-part is not a constant
3868      expression */
3869   const char *g = "string";
3870   ccp = &g + (g ? g-g : 0);
3871   /* HPUX 7.0 cc rejects these. */
3872   ++ccp;
3873   p = (char**) ccp;
3874   ccp = (char const *const *) p;
3875   { /* SCO 3.2v4 cc rejects this.  */
3876     char *t;
3877     char const *s = 0 ? (char *) 0 : (char const *) 0;
3878
3879     *t++ = 0;
3880   }
3881   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3882     int x[] = {25, 17};
3883     const int *foo = &x[0];
3884     ++foo;
3885   }
3886   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3887     typedef const int *iptr;
3888     iptr p = 0;
3889     ++p;
3890   }
3891   { /* AIX XL C 1.02.0.0 rejects this saying
3892        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3893     struct s { int j; const int *ap[3]; };
3894     struct s *b; b->j = 5;
3895   }
3896   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3897     const int foo = 10;
3898   }
3899 #endif
3900
3901   ;
3902   return 0;
3903 }
3904 _ACEOF
3905 rm -f conftest.$ac_objext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3907   (eval $ac_compile) 2>conftest.er1
3908   ac_status=$?
3909   grep -v '^ *+' conftest.er1 >conftest.err
3910   rm -f conftest.er1
3911   cat conftest.err >&5
3912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913   (exit $ac_status); } &&
3914          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916   (eval $ac_try) 2>&5
3917   ac_status=$?
3918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919   (exit $ac_status); }; } &&
3920          { ac_try='test -s conftest.$ac_objext'
3921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922   (eval $ac_try) 2>&5
3923   ac_status=$?
3924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925   (exit $ac_status); }; }; then
3926   ac_cv_c_const=yes
3927 else
3928   echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.$ac_ext >&5
3930
3931 ac_cv_c_const=no
3932 fi
3933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3934 fi
3935 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3936 echo "${ECHO_T}$ac_cv_c_const" >&6
3937 if test $ac_cv_c_const = no; then
3938
3939 cat >>confdefs.h <<\_ACEOF
3940 #define const
3941 _ACEOF
3942
3943 fi
3944
3945 echo "$as_me:$LINENO: checking for inline" >&5
3946 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3947 if test "${ac_cv_c_inline+set}" = set; then
3948   echo $ECHO_N "(cached) $ECHO_C" >&6
3949 else
3950   ac_cv_c_inline=no
3951 for ac_kw in inline __inline__ __inline; do
3952   cat >conftest.$ac_ext <<_ACEOF
3953 /* confdefs.h.  */
3954 _ACEOF
3955 cat confdefs.h >>conftest.$ac_ext
3956 cat >>conftest.$ac_ext <<_ACEOF
3957 /* end confdefs.h.  */
3958 #ifndef __cplusplus
3959 typedef int foo_t;
3960 static $ac_kw foo_t static_foo () {return 0; }
3961 $ac_kw foo_t foo () {return 0; }
3962 #endif
3963
3964 _ACEOF
3965 rm -f conftest.$ac_objext
3966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3967   (eval $ac_compile) 2>conftest.er1
3968   ac_status=$?
3969   grep -v '^ *+' conftest.er1 >conftest.err
3970   rm -f conftest.er1
3971   cat conftest.err >&5
3972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973   (exit $ac_status); } &&
3974          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976   (eval $ac_try) 2>&5
3977   ac_status=$?
3978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979   (exit $ac_status); }; } &&
3980          { ac_try='test -s conftest.$ac_objext'
3981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982   (eval $ac_try) 2>&5
3983   ac_status=$?
3984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985   (exit $ac_status); }; }; then
3986   ac_cv_c_inline=$ac_kw; break
3987 else
3988   echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.$ac_ext >&5
3990
3991 fi
3992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3993 done
3994
3995 fi
3996 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3997 echo "${ECHO_T}$ac_cv_c_inline" >&6
3998
3999
4000 case $ac_cv_c_inline in
4001   inline | yes) ;;
4002   *)
4003     case $ac_cv_c_inline in
4004       no) ac_val=;;
4005       *) ac_val=$ac_cv_c_inline;;
4006     esac
4007     cat >>confdefs.h <<_ACEOF
4008 #ifndef __cplusplus
4009 #define inline $ac_val
4010 #endif
4011 _ACEOF
4012     ;;
4013 esac
4014
4015 echo "$as_me:$LINENO: checking for pid_t" >&5
4016 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4017 if test "${ac_cv_type_pid_t+set}" = set; then
4018   echo $ECHO_N "(cached) $ECHO_C" >&6
4019 else
4020   cat >conftest.$ac_ext <<_ACEOF
4021 /* confdefs.h.  */
4022 _ACEOF
4023 cat confdefs.h >>conftest.$ac_ext
4024 cat >>conftest.$ac_ext <<_ACEOF
4025 /* end confdefs.h.  */
4026 $ac_includes_default
4027 int
4028 main ()
4029 {
4030 if ((pid_t *) 0)
4031   return 0;
4032 if (sizeof (pid_t))
4033   return 0;
4034   ;
4035   return 0;
4036 }
4037 _ACEOF
4038 rm -f conftest.$ac_objext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040   (eval $ac_compile) 2>conftest.er1
4041   ac_status=$?
4042   grep -v '^ *+' conftest.er1 >conftest.err
4043   rm -f conftest.er1
4044   cat conftest.err >&5
4045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046   (exit $ac_status); } &&
4047          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049   (eval $ac_try) 2>&5
4050   ac_status=$?
4051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052   (exit $ac_status); }; } &&
4053          { ac_try='test -s conftest.$ac_objext'
4054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055   (eval $ac_try) 2>&5
4056   ac_status=$?
4057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058   (exit $ac_status); }; }; then
4059   ac_cv_type_pid_t=yes
4060 else
4061   echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4063
4064 ac_cv_type_pid_t=no
4065 fi
4066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4067 fi
4068 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4069 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4070 if test $ac_cv_type_pid_t = yes; then
4071   :
4072 else
4073
4074 cat >>confdefs.h <<_ACEOF
4075 #define pid_t int
4076 _ACEOF
4077
4078 fi
4079
4080 echo "$as_me:$LINENO: checking for size_t" >&5
4081 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4082 if test "${ac_cv_type_size_t+set}" = set; then
4083   echo $ECHO_N "(cached) $ECHO_C" >&6
4084 else
4085   cat >conftest.$ac_ext <<_ACEOF
4086 /* confdefs.h.  */
4087 _ACEOF
4088 cat confdefs.h >>conftest.$ac_ext
4089 cat >>conftest.$ac_ext <<_ACEOF
4090 /* end confdefs.h.  */
4091 $ac_includes_default
4092 int
4093 main ()
4094 {
4095 if ((size_t *) 0)
4096   return 0;
4097 if (sizeof (size_t))
4098   return 0;
4099   ;
4100   return 0;
4101 }
4102 _ACEOF
4103 rm -f conftest.$ac_objext
4104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4105   (eval $ac_compile) 2>conftest.er1
4106   ac_status=$?
4107   grep -v '^ *+' conftest.er1 >conftest.err
4108   rm -f conftest.er1
4109   cat conftest.err >&5
4110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111   (exit $ac_status); } &&
4112          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4114   (eval $ac_try) 2>&5
4115   ac_status=$?
4116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117   (exit $ac_status); }; } &&
4118          { ac_try='test -s conftest.$ac_objext'
4119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120   (eval $ac_try) 2>&5
4121   ac_status=$?
4122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123   (exit $ac_status); }; }; then
4124   ac_cv_type_size_t=yes
4125 else
4126   echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4128
4129 ac_cv_type_size_t=no
4130 fi
4131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4132 fi
4133 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4134 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4135 if test $ac_cv_type_size_t = yes; then
4136   :
4137 else
4138
4139 cat >>confdefs.h <<_ACEOF
4140 #define size_t unsigned
4141 _ACEOF
4142
4143 fi
4144
4145
4146 # Checks for library functions.
4147 echo "$as_me:$LINENO: checking for working memcmp" >&5
4148 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4149 if test "${ac_cv_func_memcmp_working+set}" = set; then
4150   echo $ECHO_N "(cached) $ECHO_C" >&6
4151 else
4152   if test "$cross_compiling" = yes; then
4153   ac_cv_func_memcmp_working=no
4154 else
4155   cat >conftest.$ac_ext <<_ACEOF
4156 /* confdefs.h.  */
4157 _ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h.  */
4161 $ac_includes_default
4162 int
4163 main ()
4164 {
4165
4166   /* Some versions of memcmp are not 8-bit clean.  */
4167   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4168   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4169     exit (1);
4170
4171   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4172      or more and with at least one buffer not starting on a 4-byte boundary.
4173      William Lewis provided this test program.   */
4174   {
4175     char foo[21];
4176     char bar[21];
4177     int i;
4178     for (i = 0; i < 4; i++)
4179       {
4180         char *a = foo + i;
4181         char *b = bar + i;
4182         strcpy (a, "--------01111111");
4183         strcpy (b, "--------10000000");
4184         if (memcmp (a, b, 16) >= 0)
4185           exit (1);
4186       }
4187     exit (0);
4188   }
4189
4190   ;
4191   return 0;
4192 }
4193 _ACEOF
4194 rm -f conftest$ac_exeext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4196   (eval $ac_link) 2>&5
4197   ac_status=$?
4198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4201   (eval $ac_try) 2>&5
4202   ac_status=$?
4203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204   (exit $ac_status); }; }; then
4205   ac_cv_func_memcmp_working=yes
4206 else
4207   echo "$as_me: program exited with status $ac_status" >&5
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4210
4211 ( exit $ac_status )
4212 ac_cv_func_memcmp_working=no
4213 fi
4214 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4215 fi
4216 fi
4217 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4218 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4219 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
4220     "memcmp.$ac_objext"   | \
4221   *" memcmp.$ac_objext"   | \
4222     "memcmp.$ac_objext "* | \
4223   *" memcmp.$ac_objext "* ) ;;
4224   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
4225 esac
4226
4227
4228
4229
4230 for ac_header in stdlib.h unistd.h
4231 do
4232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4234   echo "$as_me:$LINENO: checking for $ac_header" >&5
4235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4237   echo $ECHO_N "(cached) $ECHO_C" >&6
4238 fi
4239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4241 else
4242   # Is the header compilable?
4243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4245 cat >conftest.$ac_ext <<_ACEOF
4246 /* confdefs.h.  */
4247 _ACEOF
4248 cat confdefs.h >>conftest.$ac_ext
4249 cat >>conftest.$ac_ext <<_ACEOF
4250 /* end confdefs.h.  */
4251 $ac_includes_default
4252 #include <$ac_header>
4253 _ACEOF
4254 rm -f conftest.$ac_objext
4255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4256   (eval $ac_compile) 2>conftest.er1
4257   ac_status=$?
4258   grep -v '^ *+' conftest.er1 >conftest.err
4259   rm -f conftest.er1
4260   cat conftest.err >&5
4261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262   (exit $ac_status); } &&
4263          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265   (eval $ac_try) 2>&5
4266   ac_status=$?
4267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268   (exit $ac_status); }; } &&
4269          { ac_try='test -s conftest.$ac_objext'
4270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271   (eval $ac_try) 2>&5
4272   ac_status=$?
4273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274   (exit $ac_status); }; }; then
4275   ac_header_compiler=yes
4276 else
4277   echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.$ac_ext >&5
4279
4280 ac_header_compiler=no
4281 fi
4282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4284 echo "${ECHO_T}$ac_header_compiler" >&6
4285
4286 # Is the header present?
4287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4289 cat >conftest.$ac_ext <<_ACEOF
4290 /* confdefs.h.  */
4291 _ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h.  */
4295 #include <$ac_header>
4296 _ACEOF
4297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4298   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4299   ac_status=$?
4300   grep -v '^ *+' conftest.er1 >conftest.err
4301   rm -f conftest.er1
4302   cat conftest.err >&5
4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304   (exit $ac_status); } >/dev/null; then
4305   if test -s conftest.err; then
4306     ac_cpp_err=$ac_c_preproc_warn_flag
4307     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4308   else
4309     ac_cpp_err=
4310   fi
4311 else
4312   ac_cpp_err=yes
4313 fi
4314 if test -z "$ac_cpp_err"; then
4315   ac_header_preproc=yes
4316 else
4317   echo "$as_me: failed program was:" >&5
4318 sed 's/^/| /' conftest.$ac_ext >&5
4319
4320   ac_header_preproc=no
4321 fi
4322 rm -f conftest.err conftest.$ac_ext
4323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4324 echo "${ECHO_T}$ac_header_preproc" >&6
4325
4326 # So?  What about this header?
4327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4328   yes:no: )
4329     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4331     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4333     ac_header_preproc=yes
4334     ;;
4335   no:yes:* )
4336     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4338     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4339 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4340     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4342     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4343 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4344     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4346     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4348     (
4349       cat <<\_ASBOX
4350 ## ---------------------------------- ##
4351 ## Report this to dberlin@dberlin.org ##
4352 ## ---------------------------------- ##
4353 _ASBOX
4354     ) |
4355       sed "s/^/$as_me: WARNING:     /" >&2
4356     ;;
4357 esac
4358 echo "$as_me:$LINENO: checking for $ac_header" >&5
4359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4361   echo $ECHO_N "(cached) $ECHO_C" >&6
4362 else
4363   eval "$as_ac_Header=\$ac_header_preproc"
4364 fi
4365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4367
4368 fi
4369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4370   cat >>confdefs.h <<_ACEOF
4371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4372 _ACEOF
4373
4374 fi
4375
4376 done
4377
4378
4379 for ac_func in getpagesize
4380 do
4381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4382 echo "$as_me:$LINENO: checking for $ac_func" >&5
4383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4384 if eval "test \"\${$as_ac_var+set}\" = set"; then
4385   echo $ECHO_N "(cached) $ECHO_C" >&6
4386 else
4387   cat >conftest.$ac_ext <<_ACEOF
4388 /* confdefs.h.  */
4389 _ACEOF
4390 cat confdefs.h >>conftest.$ac_ext
4391 cat >>conftest.$ac_ext <<_ACEOF
4392 /* end confdefs.h.  */
4393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4395 #define $ac_func innocuous_$ac_func
4396
4397 /* System header to define __stub macros and hopefully few prototypes,
4398     which can conflict with char $ac_func (); below.
4399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4400     <limits.h> exists even on freestanding compilers.  */
4401
4402 #ifdef __STDC__
4403 # include <limits.h>
4404 #else
4405 # include <assert.h>
4406 #endif
4407
4408 #undef $ac_func
4409
4410 /* Override any gcc2 internal prototype to avoid an error.  */
4411 #ifdef __cplusplus
4412 extern "C"
4413 {
4414 #endif
4415 /* We use char because int might match the return type of a gcc2
4416    builtin and then its argument prototype would still apply.  */
4417 char $ac_func ();
4418 /* The GNU C library defines this for functions which it implements
4419     to always fail with ENOSYS.  Some functions are actually named
4420     something starting with __ and the normal name is an alias.  */
4421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4422 choke me
4423 #else
4424 char (*f) () = $ac_func;
4425 #endif
4426 #ifdef __cplusplus
4427 }
4428 #endif
4429
4430 int
4431 main ()
4432 {
4433 return f != $ac_func;
4434   ;
4435   return 0;
4436 }
4437 _ACEOF
4438 rm -f conftest.$ac_objext conftest$ac_exeext
4439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4440   (eval $ac_link) 2>conftest.er1
4441   ac_status=$?
4442   grep -v '^ *+' conftest.er1 >conftest.err
4443   rm -f conftest.er1
4444   cat conftest.err >&5
4445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446   (exit $ac_status); } &&
4447          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4449   (eval $ac_try) 2>&5
4450   ac_status=$?
4451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452   (exit $ac_status); }; } &&
4453          { ac_try='test -s conftest$ac_exeext'
4454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4455   (eval $ac_try) 2>&5
4456   ac_status=$?
4457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458   (exit $ac_status); }; }; then
4459   eval "$as_ac_var=yes"
4460 else
4461   echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.$ac_ext >&5
4463
4464 eval "$as_ac_var=no"
4465 fi
4466 rm -f conftest.err conftest.$ac_objext \
4467       conftest$ac_exeext conftest.$ac_ext
4468 fi
4469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4471 if test `eval echo '${'$as_ac_var'}'` = yes; then
4472   cat >>confdefs.h <<_ACEOF
4473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4474 _ACEOF
4475
4476 fi
4477 done
4478
4479 echo "$as_me:$LINENO: checking for working mmap" >&5
4480 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4481 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4482   echo $ECHO_N "(cached) $ECHO_C" >&6
4483 else
4484   if test "$cross_compiling" = yes; then
4485   ac_cv_func_mmap_fixed_mapped=no
4486 else
4487   cat >conftest.$ac_ext <<_ACEOF
4488 /* confdefs.h.  */
4489 _ACEOF
4490 cat confdefs.h >>conftest.$ac_ext
4491 cat >>conftest.$ac_ext <<_ACEOF
4492 /* end confdefs.h.  */
4493 $ac_includes_default
4494 /* malloc might have been renamed as rpl_malloc. */
4495 #undef malloc
4496
4497 /* Thanks to Mike Haertel and Jim Avera for this test.
4498    Here is a matrix of mmap possibilities:
4499         mmap private not fixed
4500         mmap private fixed at somewhere currently unmapped
4501         mmap private fixed at somewhere already mapped
4502         mmap shared not fixed
4503         mmap shared fixed at somewhere currently unmapped
4504         mmap shared fixed at somewhere already mapped
4505    For private mappings, we should verify that changes cannot be read()
4506    back from the file, nor mmap's back from the file at a different
4507    address.  (There have been systems where private was not correctly
4508    implemented like the infamous i386 svr4.0, and systems where the
4509    VM page cache was not coherent with the file system buffer cache
4510    like early versions of FreeBSD and possibly contemporary NetBSD.)
4511    For shared mappings, we should conversely verify that changes get
4512    propagated back to all the places they're supposed to be.
4513
4514    Grep wants private fixed already mapped.
4515    The main things grep needs to know about mmap are:
4516    * does it exist and is it safe to write into the mmap'd area
4517    * how to use it (BSD variants)  */
4518
4519 #include <fcntl.h>
4520 #include <sys/mman.h>
4521
4522 #if !STDC_HEADERS && !HAVE_STDLIB_H
4523 char *malloc ();
4524 #endif
4525
4526 /* This mess was copied from the GNU getpagesize.h.  */
4527 #if !HAVE_GETPAGESIZE
4528 /* Assume that all systems that can run configure have sys/param.h.  */
4529 # if !HAVE_SYS_PARAM_H
4530 #  define HAVE_SYS_PARAM_H 1
4531 # endif
4532
4533 # ifdef _SC_PAGESIZE
4534 #  define getpagesize() sysconf(_SC_PAGESIZE)
4535 # else /* no _SC_PAGESIZE */
4536 #  if HAVE_SYS_PARAM_H
4537 #   include <sys/param.h>
4538 #   ifdef EXEC_PAGESIZE
4539 #    define getpagesize() EXEC_PAGESIZE
4540 #   else /* no EXEC_PAGESIZE */
4541 #    ifdef NBPG
4542 #     define getpagesize() NBPG * CLSIZE
4543 #     ifndef CLSIZE
4544 #      define CLSIZE 1
4545 #     endif /* no CLSIZE */
4546 #    else /* no NBPG */
4547 #     ifdef NBPC
4548 #      define getpagesize() NBPC
4549 #     else /* no NBPC */
4550 #      ifdef PAGESIZE
4551 #       define getpagesize() PAGESIZE
4552 #      endif /* PAGESIZE */
4553 #     endif /* no NBPC */
4554 #    endif /* no NBPG */
4555 #   endif /* no EXEC_PAGESIZE */
4556 #  else /* no HAVE_SYS_PARAM_H */
4557 #   define getpagesize() 8192   /* punt totally */
4558 #  endif /* no HAVE_SYS_PARAM_H */
4559 # endif /* no _SC_PAGESIZE */
4560
4561 #endif /* no HAVE_GETPAGESIZE */
4562
4563 int
4564 main ()
4565 {
4566   char *data, *data2, *data3;
4567   int i, pagesize;
4568   int fd;
4569
4570   pagesize = getpagesize ();
4571
4572   /* First, make a file with some known garbage in it. */
4573   data = (char *) malloc (pagesize);
4574   if (!data)
4575     exit (1);
4576   for (i = 0; i < pagesize; ++i)
4577     *(data + i) = rand ();
4578   umask (0);
4579   fd = creat ("conftest.mmap", 0600);
4580   if (fd < 0)
4581     exit (1);
4582   if (write (fd, data, pagesize) != pagesize)
4583     exit (1);
4584   close (fd);
4585
4586   /* Next, try to mmap the file at a fixed address which already has
4587      something else allocated at it.  If we can, also make sure that
4588      we see the same garbage.  */
4589   fd = open ("conftest.mmap", O_RDWR);
4590   if (fd < 0)
4591     exit (1);
4592   data2 = (char *) malloc (2 * pagesize);
4593   if (!data2)
4594     exit (1);
4595   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4596   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4597                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
4598     exit (1);
4599   for (i = 0; i < pagesize; ++i)
4600     if (*(data + i) != *(data2 + i))
4601       exit (1);
4602
4603   /* Finally, make sure that changes to the mapped area do not
4604      percolate back to the file as seen by read().  (This is a bug on
4605      some variants of i386 svr4.0.)  */
4606   for (i = 0; i < pagesize; ++i)
4607     *(data2 + i) = *(data2 + i) + 1;
4608   data3 = (char *) malloc (pagesize);
4609   if (!data3)
4610     exit (1);
4611   if (read (fd, data3, pagesize) != pagesize)
4612     exit (1);
4613   for (i = 0; i < pagesize; ++i)
4614     if (*(data + i) != *(data3 + i))
4615       exit (1);
4616   close (fd);
4617   exit (0);
4618 }
4619 _ACEOF
4620 rm -f conftest$ac_exeext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4622   (eval $ac_link) 2>&5
4623   ac_status=$?
4624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627   (eval $ac_try) 2>&5
4628   ac_status=$?
4629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630   (exit $ac_status); }; }; then
4631   ac_cv_func_mmap_fixed_mapped=yes
4632 else
4633   echo "$as_me: program exited with status $ac_status" >&5
4634 echo "$as_me: failed program was:" >&5
4635 sed 's/^/| /' conftest.$ac_ext >&5
4636
4637 ( exit $ac_status )
4638 ac_cv_func_mmap_fixed_mapped=no
4639 fi
4640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4641 fi
4642 fi
4643 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4644 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4645 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4646
4647 cat >>confdefs.h <<\_ACEOF
4648 #define HAVE_MMAP 1
4649 _ACEOF
4650
4651 fi
4652 rm -f conftest.mmap
4653
4654
4655 for ac_func in vprintf
4656 do
4657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4658 echo "$as_me:$LINENO: checking for $ac_func" >&5
4659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4660 if eval "test \"\${$as_ac_var+set}\" = set"; then
4661   echo $ECHO_N "(cached) $ECHO_C" >&6
4662 else
4663   cat >conftest.$ac_ext <<_ACEOF
4664 /* confdefs.h.  */
4665 _ACEOF
4666 cat confdefs.h >>conftest.$ac_ext
4667 cat >>conftest.$ac_ext <<_ACEOF
4668 /* end confdefs.h.  */
4669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4671 #define $ac_func innocuous_$ac_func
4672
4673 /* System header to define __stub macros and hopefully few prototypes,
4674     which can conflict with char $ac_func (); below.
4675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676     <limits.h> exists even on freestanding compilers.  */
4677
4678 #ifdef __STDC__
4679 # include <limits.h>
4680 #else
4681 # include <assert.h>
4682 #endif
4683
4684 #undef $ac_func
4685
4686 /* Override any gcc2 internal prototype to avoid an error.  */
4687 #ifdef __cplusplus
4688 extern "C"
4689 {
4690 #endif
4691 /* We use char because int might match the return type of a gcc2
4692    builtin and then its argument prototype would still apply.  */
4693 char $ac_func ();
4694 /* The GNU C library defines this for functions which it implements
4695     to always fail with ENOSYS.  Some functions are actually named
4696     something starting with __ and the normal name is an alias.  */
4697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4698 choke me
4699 #else
4700 char (*f) () = $ac_func;
4701 #endif
4702 #ifdef __cplusplus
4703 }
4704 #endif
4705
4706 int
4707 main ()
4708 {
4709 return f != $ac_func;
4710   ;
4711   return 0;
4712 }
4713 _ACEOF
4714 rm -f conftest.$ac_objext conftest$ac_exeext
4715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4716   (eval $ac_link) 2>conftest.er1
4717   ac_status=$?
4718   grep -v '^ *+' conftest.er1 >conftest.err
4719   rm -f conftest.er1
4720   cat conftest.err >&5
4721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722   (exit $ac_status); } &&
4723          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725   (eval $ac_try) 2>&5
4726   ac_status=$?
4727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728   (exit $ac_status); }; } &&
4729          { ac_try='test -s conftest$ac_exeext'
4730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731   (eval $ac_try) 2>&5
4732   ac_status=$?
4733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734   (exit $ac_status); }; }; then
4735   eval "$as_ac_var=yes"
4736 else
4737   echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.$ac_ext >&5
4739
4740 eval "$as_ac_var=no"
4741 fi
4742 rm -f conftest.err conftest.$ac_objext \
4743       conftest$ac_exeext conftest.$ac_ext
4744 fi
4745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4747 if test `eval echo '${'$as_ac_var'}'` = yes; then
4748   cat >>confdefs.h <<_ACEOF
4749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4750 _ACEOF
4751
4752 echo "$as_me:$LINENO: checking for _doprnt" >&5
4753 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4754 if test "${ac_cv_func__doprnt+set}" = set; then
4755   echo $ECHO_N "(cached) $ECHO_C" >&6
4756 else
4757   cat >conftest.$ac_ext <<_ACEOF
4758 /* confdefs.h.  */
4759 _ACEOF
4760 cat confdefs.h >>conftest.$ac_ext
4761 cat >>conftest.$ac_ext <<_ACEOF
4762 /* end confdefs.h.  */
4763 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4765 #define _doprnt innocuous__doprnt
4766
4767 /* System header to define __stub macros and hopefully few prototypes,
4768     which can conflict with char _doprnt (); below.
4769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4770     <limits.h> exists even on freestanding compilers.  */
4771
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777
4778 #undef _doprnt
4779
4780 /* Override any gcc2 internal prototype to avoid an error.  */
4781 #ifdef __cplusplus
4782 extern "C"
4783 {
4784 #endif
4785 /* We use char because int might match the return type of a gcc2
4786    builtin and then its argument prototype would still apply.  */
4787 char _doprnt ();
4788 /* The GNU C library defines this for functions which it implements
4789     to always fail with ENOSYS.  Some functions are actually named
4790     something starting with __ and the normal name is an alias.  */
4791 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4792 choke me
4793 #else
4794 char (*f) () = _doprnt;
4795 #endif
4796 #ifdef __cplusplus
4797 }
4798 #endif
4799
4800 int
4801 main ()
4802 {
4803 return f != _doprnt;
4804   ;
4805   return 0;
4806 }
4807 _ACEOF
4808 rm -f conftest.$ac_objext conftest$ac_exeext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4810   (eval $ac_link) 2>conftest.er1
4811   ac_status=$?
4812   grep -v '^ *+' conftest.er1 >conftest.err
4813   rm -f conftest.er1
4814   cat conftest.err >&5
4815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816   (exit $ac_status); } &&
4817          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819   (eval $ac_try) 2>&5
4820   ac_status=$?
4821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822   (exit $ac_status); }; } &&
4823          { ac_try='test -s conftest$ac_exeext'
4824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4825   (eval $ac_try) 2>&5
4826   ac_status=$?
4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828   (exit $ac_status); }; }; then
4829   ac_cv_func__doprnt=yes
4830 else
4831   echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4833
4834 ac_cv_func__doprnt=no
4835 fi
4836 rm -f conftest.err conftest.$ac_objext \
4837       conftest$ac_exeext conftest.$ac_ext
4838 fi
4839 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4840 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4841 if test $ac_cv_func__doprnt = yes; then
4842
4843 cat >>confdefs.h <<\_ACEOF
4844 #define HAVE_DOPRNT 1
4845 _ACEOF
4846
4847 fi
4848
4849 fi
4850 done
4851
4852
4853
4854
4855
4856
4857
4858
4859 for ac_func in atexit dup2 floor getpagesize memset munmap
4860 do
4861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4862 echo "$as_me:$LINENO: checking for $ac_func" >&5
4863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4864 if eval "test \"\${$as_ac_var+set}\" = set"; then
4865   echo $ECHO_N "(cached) $ECHO_C" >&6
4866 else
4867   cat >conftest.$ac_ext <<_ACEOF
4868 /* confdefs.h.  */
4869 _ACEOF
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h.  */
4873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4875 #define $ac_func innocuous_$ac_func
4876
4877 /* System header to define __stub macros and hopefully few prototypes,
4878     which can conflict with char $ac_func (); below.
4879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4880     <limits.h> exists even on freestanding compilers.  */
4881
4882 #ifdef __STDC__
4883 # include <limits.h>
4884 #else
4885 # include <assert.h>
4886 #endif
4887
4888 #undef $ac_func
4889
4890 /* Override any gcc2 internal prototype to avoid an error.  */
4891 #ifdef __cplusplus
4892 extern "C"
4893 {
4894 #endif
4895 /* We use char because int might match the return type of a gcc2
4896    builtin and then its argument prototype would still apply.  */
4897 char $ac_func ();
4898 /* The GNU C library defines this for functions which it implements
4899     to always fail with ENOSYS.  Some functions are actually named
4900     something starting with __ and the normal name is an alias.  */
4901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4902 choke me
4903 #else
4904 char (*f) () = $ac_func;
4905 #endif
4906 #ifdef __cplusplus
4907 }
4908 #endif
4909
4910 int
4911 main ()
4912 {
4913 return f != $ac_func;
4914   ;
4915   return 0;
4916 }
4917 _ACEOF
4918 rm -f conftest.$ac_objext conftest$ac_exeext
4919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4920   (eval $ac_link) 2>conftest.er1
4921   ac_status=$?
4922   grep -v '^ *+' conftest.er1 >conftest.err
4923   rm -f conftest.er1
4924   cat conftest.err >&5
4925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926   (exit $ac_status); } &&
4927          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929   (eval $ac_try) 2>&5
4930   ac_status=$?
4931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932   (exit $ac_status); }; } &&
4933          { ac_try='test -s conftest$ac_exeext'
4934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935   (eval $ac_try) 2>&5
4936   ac_status=$?
4937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938   (exit $ac_status); }; }; then
4939   eval "$as_ac_var=yes"
4940 else
4941   echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4943
4944 eval "$as_ac_var=no"
4945 fi
4946 rm -f conftest.err conftest.$ac_objext \
4947       conftest$ac_exeext conftest.$ac_ext
4948 fi
4949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4951 if test `eval echo '${'$as_ac_var'}'` = yes; then
4952   cat >>confdefs.h <<_ACEOF
4953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4954 _ACEOF
4955
4956 fi
4957 done
4958
4959
4960                                         ac_config_files="$ac_config_files Makefile engine/Makefile libcompat/Makefile points-to/Makefile"
4961
4962 cat >confcache <<\_ACEOF
4963 # This file is a shell script that caches the results of configure
4964 # tests run on this system so they can be shared between configure
4965 # scripts and configure runs, see configure's option --config-cache.
4966 # It is not useful on other systems.  If it contains results you don't
4967 # want to keep, you may remove or edit it.
4968 #
4969 # config.status only pays attention to the cache file if you give it
4970 # the --recheck option to rerun configure.
4971 #
4972 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4973 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4974 # following values.
4975
4976 _ACEOF
4977
4978 # The following way of writing the cache mishandles newlines in values,
4979 # but we know of no workaround that is simple, portable, and efficient.
4980 # So, don't put newlines in cache variables' values.
4981 # Ultrix sh set writes to stderr and can't be redirected directly,
4982 # and sets the high bit in the cache file unless we assign to the vars.
4983 {
4984   (set) 2>&1 |
4985     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4986     *ac_space=\ *)
4987       # `set' does not quote correctly, so add quotes (double-quote
4988       # substitution turns \\\\ into \\, and sed turns \\ into \).
4989       sed -n \
4990         "s/'/'\\\\''/g;
4991           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4992       ;;
4993     *)
4994       # `set' quotes correctly as required by POSIX, so do not add quotes.
4995       sed -n \
4996         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4997       ;;
4998     esac;
4999 } |
5000   sed '
5001      t clear
5002      : clear
5003      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5004      t end
5005      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5006      : end' >>confcache
5007 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5008   if test -w $cache_file; then
5009     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5010     cat confcache >$cache_file
5011   else
5012     echo "not updating unwritable cache $cache_file"
5013   fi
5014 fi
5015 rm -f confcache
5016
5017 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5018 # Let make expand exec_prefix.
5019 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5020
5021 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5022 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5023 # trailing colons and then remove the whole line if VPATH becomes empty
5024 # (actually we leave an empty line to preserve line numbers).
5025 if test "x$srcdir" = x.; then
5026   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5027 s/:*\$(srcdir):*/:/;
5028 s/:*\${srcdir}:*/:/;
5029 s/:*@srcdir@:*/:/;
5030 s/^\([^=]*=[     ]*\):*/\1/;
5031 s/:*$//;
5032 s/^[^=]*=[       ]*$//;
5033 }'
5034 fi
5035
5036 DEFS=-DHAVE_CONFIG_H
5037
5038 ac_libobjs=
5039 ac_ltlibobjs=
5040 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5041   # 1. Remove the extension, and $U if already installed.
5042   ac_i=`echo "$ac_i" |
5043          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5044   # 2. Add them.
5045   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5046   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5047 done
5048 LIBOBJS=$ac_libobjs
5049
5050 LTLIBOBJS=$ac_ltlibobjs
5051
5052
5053 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5054   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5055 Usually this means the macro was only invoked conditionally." >&5
5056 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5057 Usually this means the macro was only invoked conditionally." >&2;}
5058    { (exit 1); exit 1; }; }
5059 fi
5060 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5061   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5062 Usually this means the macro was only invoked conditionally." >&5
5063 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5064 Usually this means the macro was only invoked conditionally." >&2;}
5065    { (exit 1); exit 1; }; }
5066 fi
5067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5068   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5069 Usually this means the macro was only invoked conditionally." >&5
5070 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5071 Usually this means the macro was only invoked conditionally." >&2;}
5072    { (exit 1); exit 1; }; }
5073 fi
5074
5075 : ${CONFIG_STATUS=./config.status}
5076 ac_clean_files_save=$ac_clean_files
5077 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5078 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5079 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5080 cat >$CONFIG_STATUS <<_ACEOF
5081 #! $SHELL
5082 # Generated by $as_me.
5083 # Run this file to recreate the current configuration.
5084 # Compiler output produced by configure, useful for debugging
5085 # configure, is in config.log if it exists.
5086
5087 debug=false
5088 ac_cs_recheck=false
5089 ac_cs_silent=false
5090 SHELL=\${CONFIG_SHELL-$SHELL}
5091 _ACEOF
5092
5093 cat >>$CONFIG_STATUS <<\_ACEOF
5094 ## --------------------- ##
5095 ## M4sh Initialization.  ##
5096 ## --------------------- ##
5097
5098 # Be Bourne compatible
5099 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5100   emulate sh
5101   NULLCMD=:
5102   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5103   # is contrary to our usage.  Disable this feature.
5104   alias -g '${1+"$@"}'='"$@"'
5105 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5106   set -o posix
5107 fi
5108 DUALCASE=1; export DUALCASE # for MKS sh
5109
5110 # Support unset when possible.
5111 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5112   as_unset=unset
5113 else
5114   as_unset=false
5115 fi
5116
5117
5118 # Work around bugs in pre-3.0 UWIN ksh.
5119 $as_unset ENV MAIL MAILPATH
5120 PS1='$ '
5121 PS2='> '
5122 PS4='+ '
5123
5124 # NLS nuisances.
5125 for as_var in \
5126   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5127   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5128   LC_TELEPHONE LC_TIME
5129 do
5130   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5131     eval $as_var=C; export $as_var
5132   else
5133     $as_unset $as_var
5134   fi
5135 done
5136
5137 # Required to use basename.
5138 if expr a : '\(a\)' >/dev/null 2>&1; then
5139   as_expr=expr
5140 else
5141   as_expr=false
5142 fi
5143
5144 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5145   as_basename=basename
5146 else
5147   as_basename=false
5148 fi
5149
5150
5151 # Name of the executable.
5152 as_me=`$as_basename "$0" ||
5153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5154          X"$0" : 'X\(//\)$' \| \
5155          X"$0" : 'X\(/\)$' \| \
5156          .     : '\(.\)' 2>/dev/null ||
5157 echo X/"$0" |
5158     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5159           /^X\/\(\/\/\)$/{ s//\1/; q; }
5160           /^X\/\(\/\).*/{ s//\1/; q; }
5161           s/.*/./; q'`
5162
5163
5164 # PATH needs CR, and LINENO needs CR and PATH.
5165 # Avoid depending upon Character Ranges.
5166 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5167 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5168 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5169 as_cr_digits='0123456789'
5170 as_cr_alnum=$as_cr_Letters$as_cr_digits
5171
5172 # The user is always right.
5173 if test "${PATH_SEPARATOR+set}" != set; then
5174   echo "#! /bin/sh" >conf$$.sh
5175   echo  "exit 0"   >>conf$$.sh
5176   chmod +x conf$$.sh
5177   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5178     PATH_SEPARATOR=';'
5179   else
5180     PATH_SEPARATOR=:
5181   fi
5182   rm -f conf$$.sh
5183 fi
5184
5185
5186   as_lineno_1=$LINENO
5187   as_lineno_2=$LINENO
5188   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5189   test "x$as_lineno_1" != "x$as_lineno_2" &&
5190   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5191   # Find who we are.  Look in the path if we contain no path at all
5192   # relative or not.
5193   case $0 in
5194     *[\\/]* ) as_myself=$0 ;;
5195     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH
5197 do
5198   IFS=$as_save_IFS
5199   test -z "$as_dir" && as_dir=.
5200   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5201 done
5202
5203        ;;
5204   esac
5205   # We did not find ourselves, most probably we were run as `sh COMMAND'
5206   # in which case we are not to be found in the path.
5207   if test "x$as_myself" = x; then
5208     as_myself=$0
5209   fi
5210   if test ! -f "$as_myself"; then
5211     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5212 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5213    { (exit 1); exit 1; }; }
5214   fi
5215   case $CONFIG_SHELL in
5216   '')
5217     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5219 do
5220   IFS=$as_save_IFS
5221   test -z "$as_dir" && as_dir=.
5222   for as_base in sh bash ksh sh5; do
5223          case $as_dir in
5224          /*)
5225            if ("$as_dir/$as_base" -c '
5226   as_lineno_1=$LINENO
5227   as_lineno_2=$LINENO
5228   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5229   test "x$as_lineno_1" != "x$as_lineno_2" &&
5230   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5231              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5232              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5233              CONFIG_SHELL=$as_dir/$as_base
5234              export CONFIG_SHELL
5235              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5236            fi;;
5237          esac
5238        done
5239 done
5240 ;;
5241   esac
5242
5243   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5244   # uniformly replaced by the line number.  The first 'sed' inserts a
5245   # line-number line before each line; the second 'sed' does the real
5246   # work.  The second script uses 'N' to pair each line-number line
5247   # with the numbered line, and appends trailing '-' during
5248   # substitution so that $LINENO is not a special case at line end.
5249   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5250   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5251   sed '=' <$as_myself |
5252     sed '
5253       N
5254       s,$,-,
5255       : loop
5256       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5257       t loop
5258       s,-$,,
5259       s,^['$as_cr_digits']*\n,,
5260     ' >$as_me.lineno &&
5261   chmod +x $as_me.lineno ||
5262     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5263 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5264    { (exit 1); exit 1; }; }
5265
5266   # Don't try to exec as it changes $[0], causing all sort of problems
5267   # (the dirname of $[0] is not the place where we might find the
5268   # original and so on.  Autoconf is especially sensible to this).
5269   . ./$as_me.lineno
5270   # Exit status is that of the last command.
5271   exit
5272 }
5273
5274
5275 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5276   *c*,-n*) ECHO_N= ECHO_C='
5277 ' ECHO_T='      ' ;;
5278   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5279   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5280 esac
5281
5282 if expr a : '\(a\)' >/dev/null 2>&1; then
5283   as_expr=expr
5284 else
5285   as_expr=false
5286 fi
5287
5288 rm -f conf$$ conf$$.exe conf$$.file
5289 echo >conf$$.file
5290 if ln -s conf$$.file conf$$ 2>/dev/null; then
5291   # We could just check for DJGPP; but this test a) works b) is more generic
5292   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5293   if test -f conf$$.exe; then
5294     # Don't use ln at all; we don't have any links
5295     as_ln_s='cp -p'
5296   else
5297     as_ln_s='ln -s'
5298   fi
5299 elif ln conf$$.file conf$$ 2>/dev/null; then
5300   as_ln_s=ln
5301 else
5302   as_ln_s='cp -p'
5303 fi
5304 rm -f conf$$ conf$$.exe conf$$.file
5305
5306 if mkdir -p . 2>/dev/null; then
5307   as_mkdir_p=:
5308 else
5309   test -d ./-p && rmdir ./-p
5310   as_mkdir_p=false
5311 fi
5312
5313 as_executable_p="test -f"
5314
5315 # Sed expression to map a string onto a valid CPP name.
5316 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5317
5318 # Sed expression to map a string onto a valid variable name.
5319 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5320
5321
5322 # IFS
5323 # We need space, tab and new line, in precisely that order.
5324 as_nl='
5325 '
5326 IFS="   $as_nl"
5327
5328 # CDPATH.
5329 $as_unset CDPATH
5330
5331 exec 6>&1
5332
5333 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5334 # report actual input values of CONFIG_FILES etc. instead of their
5335 # values after options handling.  Logging --version etc. is OK.
5336 exec 5>>config.log
5337 {
5338   echo
5339   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5340 ## Running $as_me. ##
5341 _ASBOX
5342 } >&5
5343 cat >&5 <<_CSEOF
5344
5345 This file was extended by libbanshee $as_me 0.9, which was
5346 generated by GNU Autoconf 2.59.  Invocation command line was
5347
5348   CONFIG_FILES    = $CONFIG_FILES
5349   CONFIG_HEADERS  = $CONFIG_HEADERS
5350   CONFIG_LINKS    = $CONFIG_LINKS
5351   CONFIG_COMMANDS = $CONFIG_COMMANDS
5352   $ $0 $@
5353
5354 _CSEOF
5355 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5356 echo >&5
5357 _ACEOF
5358
5359 # Files that config.status was made for.
5360 if test -n "$ac_config_files"; then
5361   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5362 fi
5363
5364 if test -n "$ac_config_headers"; then
5365   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5366 fi
5367
5368 if test -n "$ac_config_links"; then
5369   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5370 fi
5371
5372 if test -n "$ac_config_commands"; then
5373   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5374 fi
5375
5376 cat >>$CONFIG_STATUS <<\_ACEOF
5377
5378 ac_cs_usage="\
5379 \`$as_me' instantiates files from templates according to the
5380 current configuration.
5381
5382 Usage: $0 [OPTIONS] [FILE]...
5383
5384   -h, --help       print this help, then exit
5385   -V, --version    print version number, then exit
5386   -q, --quiet      do not print progress messages
5387   -d, --debug      don't remove temporary files
5388       --recheck    update $as_me by reconfiguring in the same conditions
5389   --file=FILE[:TEMPLATE]
5390                    instantiate the configuration file FILE
5391   --header=FILE[:TEMPLATE]
5392                    instantiate the configuration header FILE
5393
5394 Configuration files:
5395 $config_files
5396
5397 Configuration headers:
5398 $config_headers
5399
5400 Configuration commands:
5401 $config_commands
5402
5403 Report bugs to <bug-autoconf@gnu.org>."
5404 _ACEOF
5405
5406 cat >>$CONFIG_STATUS <<_ACEOF
5407 ac_cs_version="\\
5408 libbanshee config.status 0.9
5409 configured by $0, generated by GNU Autoconf 2.59,
5410   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5411
5412 Copyright (C) 2003 Free Software Foundation, Inc.
5413 This config.status script is free software; the Free Software Foundation
5414 gives unlimited permission to copy, distribute and modify it."
5415 srcdir=$srcdir
5416 INSTALL="$INSTALL"
5417 _ACEOF
5418
5419 cat >>$CONFIG_STATUS <<\_ACEOF
5420 # If no file are specified by the user, then we need to provide default
5421 # value.  By we need to know if files were specified by the user.
5422 ac_need_defaults=:
5423 while test $# != 0
5424 do
5425   case $1 in
5426   --*=*)
5427     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5428     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5429     ac_shift=:
5430     ;;
5431   -*)
5432     ac_option=$1
5433     ac_optarg=$2
5434     ac_shift=shift
5435     ;;
5436   *) # This is not an option, so the user has probably given explicit
5437      # arguments.
5438      ac_option=$1
5439      ac_need_defaults=false;;
5440   esac
5441
5442   case $ac_option in
5443   # Handling of the options.
5444 _ACEOF
5445 cat >>$CONFIG_STATUS <<\_ACEOF
5446   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5447     ac_cs_recheck=: ;;
5448   --version | --vers* | -V )
5449     echo "$ac_cs_version"; exit 0 ;;
5450   --he | --h)
5451     # Conflict between --help and --header
5452     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5453 Try \`$0 --help' for more information." >&5
5454 echo "$as_me: error: ambiguous option: $1
5455 Try \`$0 --help' for more information." >&2;}
5456    { (exit 1); exit 1; }; };;
5457   --help | --hel | -h )
5458     echo "$ac_cs_usage"; exit 0 ;;
5459   --debug | --d* | -d )
5460     debug=: ;;
5461   --file | --fil | --fi | --f )
5462     $ac_shift
5463     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5464     ac_need_defaults=false;;
5465   --header | --heade | --head | --hea )
5466     $ac_shift
5467     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5468     ac_need_defaults=false;;
5469   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5470   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5471     ac_cs_silent=: ;;
5472
5473   # This is an error.
5474   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5475 Try \`$0 --help' for more information." >&5
5476 echo "$as_me: error: unrecognized option: $1
5477 Try \`$0 --help' for more information." >&2;}
5478    { (exit 1); exit 1; }; } ;;
5479
5480   *) ac_config_targets="$ac_config_targets $1" ;;
5481
5482   esac
5483   shift
5484 done
5485
5486 ac_configure_extra_args=
5487
5488 if $ac_cs_silent; then
5489   exec 6>/dev/null
5490   ac_configure_extra_args="$ac_configure_extra_args --silent"
5491 fi
5492
5493 _ACEOF
5494 cat >>$CONFIG_STATUS <<_ACEOF
5495 if \$ac_cs_recheck; then
5496   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5497   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5498 fi
5499
5500 _ACEOF
5501
5502 cat >>$CONFIG_STATUS <<_ACEOF
5503 #
5504 # INIT-COMMANDS section.
5505 #
5506
5507 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5508
5509 _ACEOF
5510
5511
5512
5513 cat >>$CONFIG_STATUS <<\_ACEOF
5514 for ac_config_target in $ac_config_targets
5515 do
5516   case "$ac_config_target" in
5517   # Handling of arguments.
5518   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5519   "engine/Makefile" ) CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
5520   "libcompat/Makefile" ) CONFIG_FILES="$CONFIG_FILES libcompat/Makefile" ;;
5521   "points-to/Makefile" ) CONFIG_FILES="$CONFIG_FILES points-to/Makefile" ;;
5522   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5523   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5524   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5525 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5526    { (exit 1); exit 1; }; };;
5527   esac
5528 done
5529
5530 # If the user did not use the arguments to specify the items to instantiate,
5531 # then the envvar interface is used.  Set only those that are not.
5532 # We use the long form for the default assignment because of an extremely
5533 # bizarre bug on SunOS 4.1.3.
5534 if $ac_need_defaults; then
5535   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5536   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5537   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5538 fi
5539
5540 # Have a temporary directory for convenience.  Make it in the build tree
5541 # simply because there is no reason to put it here, and in addition,
5542 # creating and moving files from /tmp can sometimes cause problems.
5543 # Create a temporary directory, and hook for its removal unless debugging.
5544 $debug ||
5545 {
5546   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5547   trap '{ (exit 1); exit 1; }' 1 2 13 15
5548 }
5549
5550 # Create a (secure) tmp directory for tmp files.
5551
5552 {
5553   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5554   test -n "$tmp" && test -d "$tmp"
5555 }  ||
5556 {
5557   tmp=./confstat$$-$RANDOM
5558   (umask 077 && mkdir $tmp)
5559 } ||
5560 {
5561    echo "$me: cannot create a temporary directory in ." >&2
5562    { (exit 1); exit 1; }
5563 }
5564
5565 _ACEOF
5566
5567 cat >>$CONFIG_STATUS <<_ACEOF
5568
5569 #
5570 # CONFIG_FILES section.
5571 #
5572
5573 # No need to generate the scripts if there are no CONFIG_FILES.
5574 # This happens for instance when ./config.status config.h
5575 if test -n "\$CONFIG_FILES"; then
5576   # Protect against being on the right side of a sed subst in config.status.
5577   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5578    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5579 s,@SHELL@,$SHELL,;t t
5580 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5581 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5582 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5583 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5584 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5585 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5586 s,@exec_prefix@,$exec_prefix,;t t
5587 s,@prefix@,$prefix,;t t
5588 s,@program_transform_name@,$program_transform_name,;t t
5589 s,@bindir@,$bindir,;t t
5590 s,@sbindir@,$sbindir,;t t
5591 s,@libexecdir@,$libexecdir,;t t
5592 s,@datadir@,$datadir,;t t
5593 s,@sysconfdir@,$sysconfdir,;t t
5594 s,@sharedstatedir@,$sharedstatedir,;t t
5595 s,@localstatedir@,$localstatedir,;t t
5596 s,@libdir@,$libdir,;t t
5597 s,@includedir@,$includedir,;t t
5598 s,@oldincludedir@,$oldincludedir,;t t
5599 s,@infodir@,$infodir,;t t
5600 s,@mandir@,$mandir,;t t
5601 s,@build_alias@,$build_alias,;t t
5602 s,@host_alias@,$host_alias,;t t
5603 s,@target_alias@,$target_alias,;t t
5604 s,@DEFS@,$DEFS,;t t
5605 s,@ECHO_C@,$ECHO_C,;t t
5606 s,@ECHO_N@,$ECHO_N,;t t
5607 s,@ECHO_T@,$ECHO_T,;t t
5608 s,@LIBS@,$LIBS,;t t
5609 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5610 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5611 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5612 s,@CYGPATH_W@,$CYGPATH_W,;t t
5613 s,@PACKAGE@,$PACKAGE,;t t
5614 s,@VERSION@,$VERSION,;t t
5615 s,@ACLOCAL@,$ACLOCAL,;t t
5616 s,@AUTOCONF@,$AUTOCONF,;t t
5617 s,@AUTOMAKE@,$AUTOMAKE,;t t
5618 s,@AUTOHEADER@,$AUTOHEADER,;t t
5619 s,@MAKEINFO@,$MAKEINFO,;t t
5620 s,@AMTAR@,$AMTAR,;t t
5621 s,@install_sh@,$install_sh,;t t
5622 s,@STRIP@,$STRIP,;t t
5623 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5624 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5625 s,@mkdir_p@,$mkdir_p,;t t
5626 s,@AWK@,$AWK,;t t
5627 s,@SET_MAKE@,$SET_MAKE,;t t
5628 s,@am__leading_dot@,$am__leading_dot,;t t
5629 s,@CC@,$CC,;t t
5630 s,@CFLAGS@,$CFLAGS,;t t
5631 s,@LDFLAGS@,$LDFLAGS,;t t
5632 s,@CPPFLAGS@,$CPPFLAGS,;t t
5633 s,@ac_ct_CC@,$ac_ct_CC,;t t
5634 s,@EXEEXT@,$EXEEXT,;t t
5635 s,@OBJEXT@,$OBJEXT,;t t
5636 s,@DEPDIR@,$DEPDIR,;t t
5637 s,@am__include@,$am__include,;t t
5638 s,@am__quote@,$am__quote,;t t
5639 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5640 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5641 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5642 s,@CCDEPMODE@,$CCDEPMODE,;t t
5643 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5644 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5645 s,@RANLIB@,$RANLIB,;t t
5646 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5647 s,@ac_libbanshee_warn_cflags@,$ac_libbanshee_warn_cflags,;t t
5648 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5649 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5650 s,@MAINT@,$MAINT,;t t
5651 s,@CPP@,$CPP,;t t
5652 s,@EGREP@,$EGREP,;t t
5653 s,@LIBOBJS@,$LIBOBJS,;t t
5654 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5655 CEOF
5656
5657 _ACEOF
5658
5659   cat >>$CONFIG_STATUS <<\_ACEOF
5660   # Split the substitutions into bite-sized pieces for seds with
5661   # small command number limits, like on Digital OSF/1 and HP-UX.
5662   ac_max_sed_lines=48
5663   ac_sed_frag=1 # Number of current file.
5664   ac_beg=1 # First line for current file.
5665   ac_end=$ac_max_sed_lines # Line after last line for current file.
5666   ac_more_lines=:
5667   ac_sed_cmds=
5668   while $ac_more_lines; do
5669     if test $ac_beg -gt 1; then
5670       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5671     else
5672       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5673     fi
5674     if test ! -s $tmp/subs.frag; then
5675       ac_more_lines=false
5676     else
5677       # The purpose of the label and of the branching condition is to
5678       # speed up the sed processing (if there are no `@' at all, there
5679       # is no need to browse any of the substitutions).
5680       # These are the two extra sed commands mentioned above.
5681       (echo ':t
5682   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5683       if test -z "$ac_sed_cmds"; then
5684         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5685       else
5686         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5687       fi
5688       ac_sed_frag=`expr $ac_sed_frag + 1`
5689       ac_beg=$ac_end
5690       ac_end=`expr $ac_end + $ac_max_sed_lines`
5691     fi
5692   done
5693   if test -z "$ac_sed_cmds"; then
5694     ac_sed_cmds=cat
5695   fi
5696 fi # test -n "$CONFIG_FILES"
5697
5698 _ACEOF
5699 cat >>$CONFIG_STATUS <<\_ACEOF
5700 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5701   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5702   case $ac_file in
5703   - | *:- | *:-:* ) # input from stdin
5704         cat >$tmp/stdin
5705         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5706         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5707   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5708         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5709   * )   ac_file_in=$ac_file.in ;;
5710   esac
5711
5712   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5713   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5715          X"$ac_file" : 'X\(//\)[^/]' \| \
5716          X"$ac_file" : 'X\(//\)$' \| \
5717          X"$ac_file" : 'X\(/\)' \| \
5718          .     : '\(.\)' 2>/dev/null ||
5719 echo X"$ac_file" |
5720     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5721           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5722           /^X\(\/\/\)$/{ s//\1/; q; }
5723           /^X\(\/\).*/{ s//\1/; q; }
5724           s/.*/./; q'`
5725   { if $as_mkdir_p; then
5726     mkdir -p "$ac_dir"
5727   else
5728     as_dir="$ac_dir"
5729     as_dirs=
5730     while test ! -d "$as_dir"; do
5731       as_dirs="$as_dir $as_dirs"
5732       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5734          X"$as_dir" : 'X\(//\)[^/]' \| \
5735          X"$as_dir" : 'X\(//\)$' \| \
5736          X"$as_dir" : 'X\(/\)' \| \
5737          .     : '\(.\)' 2>/dev/null ||
5738 echo X"$as_dir" |
5739     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5740           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5741           /^X\(\/\/\)$/{ s//\1/; q; }
5742           /^X\(\/\).*/{ s//\1/; q; }
5743           s/.*/./; q'`
5744     done
5745     test ! -n "$as_dirs" || mkdir $as_dirs
5746   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5747 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5748    { (exit 1); exit 1; }; }; }
5749
5750   ac_builddir=.
5751
5752 if test "$ac_dir" != .; then
5753   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5754   # A "../" for each directory in $ac_dir_suffix.
5755   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5756 else
5757   ac_dir_suffix= ac_top_builddir=
5758 fi
5759
5760 case $srcdir in
5761   .)  # No --srcdir option.  We are building in place.
5762     ac_srcdir=.
5763     if test -z "$ac_top_builddir"; then
5764        ac_top_srcdir=.
5765     else
5766        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5767     fi ;;
5768   [\\/]* | ?:[\\/]* )  # Absolute path.
5769     ac_srcdir=$srcdir$ac_dir_suffix;
5770     ac_top_srcdir=$srcdir ;;
5771   *) # Relative path.
5772     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5773     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5774 esac
5775
5776 # Do not use `cd foo && pwd` to compute absolute paths, because
5777 # the directories may not exist.
5778 case `pwd` in
5779 .) ac_abs_builddir="$ac_dir";;
5780 *)
5781   case "$ac_dir" in
5782   .) ac_abs_builddir=`pwd`;;
5783   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5784   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5785   esac;;
5786 esac
5787 case $ac_abs_builddir in
5788 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5789 *)
5790   case ${ac_top_builddir}. in
5791   .) ac_abs_top_builddir=$ac_abs_builddir;;
5792   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5793   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5794   esac;;
5795 esac
5796 case $ac_abs_builddir in
5797 .) ac_abs_srcdir=$ac_srcdir;;
5798 *)
5799   case $ac_srcdir in
5800   .) ac_abs_srcdir=$ac_abs_builddir;;
5801   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5802   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5803   esac;;
5804 esac
5805 case $ac_abs_builddir in
5806 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5807 *)
5808   case $ac_top_srcdir in
5809   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5810   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5811   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5812   esac;;
5813 esac
5814
5815
5816   case $INSTALL in
5817   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5818   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5819   esac
5820
5821   # Let's still pretend it is `configure' which instantiates (i.e., don't
5822   # use $as_me), people would be surprised to read:
5823   #    /* config.h.  Generated by config.status.  */
5824   if test x"$ac_file" = x-; then
5825     configure_input=
5826   else
5827     configure_input="$ac_file.  "
5828   fi
5829   configure_input=$configure_input"Generated from `echo $ac_file_in |
5830                                      sed 's,.*/,,'` by configure."
5831
5832   # First look for the input files in the build tree, otherwise in the
5833   # src tree.
5834   ac_file_inputs=`IFS=:
5835     for f in $ac_file_in; do
5836       case $f in
5837       -) echo $tmp/stdin ;;
5838       [\\/$]*)
5839          # Absolute (can't be DOS-style, as IFS=:)
5840          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5841 echo "$as_me: error: cannot find input file: $f" >&2;}
5842    { (exit 1); exit 1; }; }
5843          echo "$f";;
5844       *) # Relative
5845          if test -f "$f"; then
5846            # Build tree
5847            echo "$f"
5848          elif test -f "$srcdir/$f"; then
5849            # Source tree
5850            echo "$srcdir/$f"
5851          else
5852            # /dev/null tree
5853            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5854 echo "$as_me: error: cannot find input file: $f" >&2;}
5855    { (exit 1); exit 1; }; }
5856          fi;;
5857       esac
5858     done` || { (exit 1); exit 1; }
5859
5860   if test x"$ac_file" != x-; then
5861     { echo "$as_me:$LINENO: creating $ac_file" >&5
5862 echo "$as_me: creating $ac_file" >&6;}
5863     rm -f "$ac_file"
5864   fi
5865 _ACEOF
5866 cat >>$CONFIG_STATUS <<_ACEOF
5867   sed "$ac_vpsub
5868 $extrasub
5869 _ACEOF
5870 cat >>$CONFIG_STATUS <<\_ACEOF
5871 :t
5872 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5873 s,@configure_input@,$configure_input,;t t
5874 s,@srcdir@,$ac_srcdir,;t t
5875 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5876 s,@top_srcdir@,$ac_top_srcdir,;t t
5877 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5878 s,@builddir@,$ac_builddir,;t t
5879 s,@abs_builddir@,$ac_abs_builddir,;t t
5880 s,@top_builddir@,$ac_top_builddir,;t t
5881 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5882 s,@INSTALL@,$ac_INSTALL,;t t
5883 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5884   rm -f $tmp/stdin
5885   if test x"$ac_file" != x-; then
5886     mv $tmp/out $ac_file
5887   else
5888     cat $tmp/out
5889     rm -f $tmp/out
5890   fi
5891
5892 done
5893 _ACEOF
5894 cat >>$CONFIG_STATUS <<\_ACEOF
5895
5896 #
5897 # CONFIG_HEADER section.
5898 #
5899
5900 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5901 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5902 #
5903 # ac_d sets the value in "#define NAME VALUE" lines.
5904 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
5905 ac_dB='[         ].*$,\1#\2'
5906 ac_dC=' '
5907 ac_dD=',;t'
5908 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5909 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5910 ac_uB='$,\1#\2define\3'
5911 ac_uC=' '
5912 ac_uD=',;t'
5913
5914 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5915   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5916   case $ac_file in
5917   - | *:- | *:-:* ) # input from stdin
5918         cat >$tmp/stdin
5919         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5920         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5921   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5922         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5923   * )   ac_file_in=$ac_file.in ;;
5924   esac
5925
5926   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5927 echo "$as_me: creating $ac_file" >&6;}
5928
5929   # First look for the input files in the build tree, otherwise in the
5930   # src tree.
5931   ac_file_inputs=`IFS=:
5932     for f in $ac_file_in; do
5933       case $f in
5934       -) echo $tmp/stdin ;;
5935       [\\/$]*)
5936          # Absolute (can't be DOS-style, as IFS=:)
5937          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5938 echo "$as_me: error: cannot find input file: $f" >&2;}
5939    { (exit 1); exit 1; }; }
5940          # Do quote $f, to prevent DOS paths from being IFS'd.
5941          echo "$f";;
5942       *) # Relative
5943          if test -f "$f"; then
5944            # Build tree
5945            echo "$f"
5946          elif test -f "$srcdir/$f"; then
5947            # Source tree
5948            echo "$srcdir/$f"
5949          else
5950            # /dev/null tree
5951            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5952 echo "$as_me: error: cannot find input file: $f" >&2;}
5953    { (exit 1); exit 1; }; }
5954          fi;;
5955       esac
5956     done` || { (exit 1); exit 1; }
5957   # Remove the trailing spaces.
5958   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
5959
5960 _ACEOF
5961
5962 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5963 # `conftest.undefs', that substitutes the proper values into
5964 # config.h.in to produce config.h.  The first handles `#define'
5965 # templates, and the second `#undef' templates.
5966 # And first: Protect against being on the right side of a sed subst in
5967 # config.status.  Protect against being in an unquoted here document
5968 # in config.status.
5969 rm -f conftest.defines conftest.undefs
5970 # Using a here document instead of a string reduces the quoting nightmare.
5971 # Putting comments in sed scripts is not portable.
5972 #
5973 # `end' is used to avoid that the second main sed command (meant for
5974 # 0-ary CPP macros) applies to n-ary macro definitions.
5975 # See the Autoconf documentation for `clear'.
5976 cat >confdef2sed.sed <<\_ACEOF
5977 s/[\\&,]/\\&/g
5978 s,[\\$`],\\&,g
5979 t clear
5980 : clear
5981 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5982 t end
5983 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5984 : end
5985 _ACEOF
5986 # If some macros were called several times there might be several times
5987 # the same #defines, which is useless.  Nevertheless, we may not want to
5988 # sort them, since we want the *last* AC-DEFINE to be honored.
5989 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5990 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5991 rm -f confdef2sed.sed
5992
5993 # This sed command replaces #undef with comments.  This is necessary, for
5994 # example, in the case of _POSIX_SOURCE, which is predefined and required
5995 # on some systems where configure will not decide to define it.
5996 cat >>conftest.undefs <<\_ACEOF
5997 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5998 _ACEOF
5999
6000 # Break up conftest.defines because some shells have a limit on the size
6001 # of here documents, and old seds have small limits too (100 cmds).
6002 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6003 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6004 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6005 echo '  :' >>$CONFIG_STATUS
6006 rm -f conftest.tail
6007 while grep . conftest.defines >/dev/null
6008 do
6009   # Write a limited-size here document to $tmp/defines.sed.
6010   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6011   # Speed up: don't consider the non `#define' lines.
6012   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6013   # Work around the forget-to-reset-the-flag bug.
6014   echo 't clr' >>$CONFIG_STATUS
6015   echo ': clr' >>$CONFIG_STATUS
6016   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6017   echo 'CEOF
6018   sed -f $tmp/defines.sed $tmp/in >$tmp/out
6019   rm -f $tmp/in
6020   mv $tmp/out $tmp/in
6021 ' >>$CONFIG_STATUS
6022   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6023   rm -f conftest.defines
6024   mv conftest.tail conftest.defines
6025 done
6026 rm -f conftest.defines
6027 echo '  fi # grep' >>$CONFIG_STATUS
6028 echo >>$CONFIG_STATUS
6029
6030 # Break up conftest.undefs because some shells have a limit on the size
6031 # of here documents, and old seds have small limits too (100 cmds).
6032 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
6033 rm -f conftest.tail
6034 while grep . conftest.undefs >/dev/null
6035 do
6036   # Write a limited-size here document to $tmp/undefs.sed.
6037   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6038   # Speed up: don't consider the non `#undef'
6039   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
6040   # Work around the forget-to-reset-the-flag bug.
6041   echo 't clr' >>$CONFIG_STATUS
6042   echo ': clr' >>$CONFIG_STATUS
6043   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6044   echo 'CEOF
6045   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6046   rm -f $tmp/in
6047   mv $tmp/out $tmp/in
6048 ' >>$CONFIG_STATUS
6049   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6050   rm -f conftest.undefs
6051   mv conftest.tail conftest.undefs
6052 done
6053 rm -f conftest.undefs
6054
6055 cat >>$CONFIG_STATUS <<\_ACEOF
6056   # Let's still pretend it is `configure' which instantiates (i.e., don't
6057   # use $as_me), people would be surprised to read:
6058   #    /* config.h.  Generated by config.status.  */
6059   if test x"$ac_file" = x-; then
6060     echo "/* Generated by configure.  */" >$tmp/config.h
6061   else
6062     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6063   fi
6064   cat $tmp/in >>$tmp/config.h
6065   rm -f $tmp/in
6066   if test x"$ac_file" != x-; then
6067     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6068       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6069 echo "$as_me: $ac_file is unchanged" >&6;}
6070     else
6071       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6073          X"$ac_file" : 'X\(//\)[^/]' \| \
6074          X"$ac_file" : 'X\(//\)$' \| \
6075          X"$ac_file" : 'X\(/\)' \| \
6076          .     : '\(.\)' 2>/dev/null ||
6077 echo X"$ac_file" |
6078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6079           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6080           /^X\(\/\/\)$/{ s//\1/; q; }
6081           /^X\(\/\).*/{ s//\1/; q; }
6082           s/.*/./; q'`
6083       { if $as_mkdir_p; then
6084     mkdir -p "$ac_dir"
6085   else
6086     as_dir="$ac_dir"
6087     as_dirs=
6088     while test ! -d "$as_dir"; do
6089       as_dirs="$as_dir $as_dirs"
6090       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6092          X"$as_dir" : 'X\(//\)[^/]' \| \
6093          X"$as_dir" : 'X\(//\)$' \| \
6094          X"$as_dir" : 'X\(/\)' \| \
6095          .     : '\(.\)' 2>/dev/null ||
6096 echo X"$as_dir" |
6097     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6098           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6099           /^X\(\/\/\)$/{ s//\1/; q; }
6100           /^X\(\/\).*/{ s//\1/; q; }
6101           s/.*/./; q'`
6102     done
6103     test ! -n "$as_dirs" || mkdir $as_dirs
6104   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6105 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6106    { (exit 1); exit 1; }; }; }
6107
6108       rm -f $ac_file
6109       mv $tmp/config.h $ac_file
6110     fi
6111   else
6112     cat $tmp/config.h
6113     rm -f $tmp/config.h
6114   fi
6115 # Compute $ac_file's index in $config_headers.
6116 _am_stamp_count=1
6117 for _am_header in $config_headers :; do
6118   case $_am_header in
6119     $ac_file | $ac_file:* )
6120       break ;;
6121     * )
6122       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6123   esac
6124 done
6125 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6126 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6127          X$ac_file : 'X\(//\)[^/]' \| \
6128          X$ac_file : 'X\(//\)$' \| \
6129          X$ac_file : 'X\(/\)' \| \
6130          .     : '\(.\)' 2>/dev/null ||
6131 echo X$ac_file |
6132     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6133           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6134           /^X\(\/\/\)$/{ s//\1/; q; }
6135           /^X\(\/\).*/{ s//\1/; q; }
6136           s/.*/./; q'`/stamp-h$_am_stamp_count
6137 done
6138 _ACEOF
6139 cat >>$CONFIG_STATUS <<\_ACEOF
6140
6141 #
6142 # CONFIG_COMMANDS section.
6143 #
6144 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6145   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6146   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6147   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6148 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6149          X"$ac_dest" : 'X\(//\)[^/]' \| \
6150          X"$ac_dest" : 'X\(//\)$' \| \
6151          X"$ac_dest" : 'X\(/\)' \| \
6152          .     : '\(.\)' 2>/dev/null ||
6153 echo X"$ac_dest" |
6154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6155           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6156           /^X\(\/\/\)$/{ s//\1/; q; }
6157           /^X\(\/\).*/{ s//\1/; q; }
6158           s/.*/./; q'`
6159   { if $as_mkdir_p; then
6160     mkdir -p "$ac_dir"
6161   else
6162     as_dir="$ac_dir"
6163     as_dirs=
6164     while test ! -d "$as_dir"; do
6165       as_dirs="$as_dir $as_dirs"
6166       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6168          X"$as_dir" : 'X\(//\)[^/]' \| \
6169          X"$as_dir" : 'X\(//\)$' \| \
6170          X"$as_dir" : 'X\(/\)' \| \
6171          .     : '\(.\)' 2>/dev/null ||
6172 echo X"$as_dir" |
6173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6174           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6175           /^X\(\/\/\)$/{ s//\1/; q; }
6176           /^X\(\/\).*/{ s//\1/; q; }
6177           s/.*/./; q'`
6178     done
6179     test ! -n "$as_dirs" || mkdir $as_dirs
6180   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6181 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6182    { (exit 1); exit 1; }; }; }
6183
6184   ac_builddir=.
6185
6186 if test "$ac_dir" != .; then
6187   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6188   # A "../" for each directory in $ac_dir_suffix.
6189   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6190 else
6191   ac_dir_suffix= ac_top_builddir=
6192 fi
6193
6194 case $srcdir in
6195   .)  # No --srcdir option.  We are building in place.
6196     ac_srcdir=.
6197     if test -z "$ac_top_builddir"; then
6198        ac_top_srcdir=.
6199     else
6200        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6201     fi ;;
6202   [\\/]* | ?:[\\/]* )  # Absolute path.
6203     ac_srcdir=$srcdir$ac_dir_suffix;
6204     ac_top_srcdir=$srcdir ;;
6205   *) # Relative path.
6206     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6207     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6208 esac
6209
6210 # Do not use `cd foo && pwd` to compute absolute paths, because
6211 # the directories may not exist.
6212 case `pwd` in
6213 .) ac_abs_builddir="$ac_dir";;
6214 *)
6215   case "$ac_dir" in
6216   .) ac_abs_builddir=`pwd`;;
6217   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6218   *) ac_abs_builddir=`pwd`/"$ac_dir";;
6219   esac;;
6220 esac
6221 case $ac_abs_builddir in
6222 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6223 *)
6224   case ${ac_top_builddir}. in
6225   .) ac_abs_top_builddir=$ac_abs_builddir;;
6226   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6227   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6228   esac;;
6229 esac
6230 case $ac_abs_builddir in
6231 .) ac_abs_srcdir=$ac_srcdir;;
6232 *)
6233   case $ac_srcdir in
6234   .) ac_abs_srcdir=$ac_abs_builddir;;
6235   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6236   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6237   esac;;
6238 esac
6239 case $ac_abs_builddir in
6240 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6241 *)
6242   case $ac_top_srcdir in
6243   .) ac_abs_top_srcdir=$ac_abs_builddir;;
6244   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6245   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6246   esac;;
6247 esac
6248
6249
6250   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6251 echo "$as_me: executing $ac_dest commands" >&6;}
6252   case $ac_dest in
6253     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6254   # Strip MF so we end up with the name of the file.
6255   mf=`echo "$mf" | sed -e 's/:.*$//'`
6256   # Check whether this is an Automake generated Makefile or not.
6257   # We used to match only the files named `Makefile.in', but
6258   # some people rename them; so instead we look at the file content.
6259   # Grep'ing the first line is not enough: some people post-process
6260   # each Makefile.in and add a new line on top of each file to say so.
6261   # So let's grep whole file.
6262   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6263     dirpart=`(dirname "$mf") 2>/dev/null ||
6264 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6265          X"$mf" : 'X\(//\)[^/]' \| \
6266          X"$mf" : 'X\(//\)$' \| \
6267          X"$mf" : 'X\(/\)' \| \
6268          .     : '\(.\)' 2>/dev/null ||
6269 echo X"$mf" |
6270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6271           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6272           /^X\(\/\/\)$/{ s//\1/; q; }
6273           /^X\(\/\).*/{ s//\1/; q; }
6274           s/.*/./; q'`
6275   else
6276     continue
6277   fi
6278   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6279   # Extract the definition of DEP_FILES from the Makefile without
6280   # running `make'.
6281   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6282   test -z "$DEPDIR" && continue
6283   # When using ansi2knr, U may be empty or an underscore; expand it
6284   U=`sed -n 's/^U = //p' < "$mf"`
6285   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6286   # We invoke sed twice because it is the simplest approach to
6287   # changing $(DEPDIR) to its actual value in the expansion.
6288   for file in `sed -n '
6289     /^DEP_FILES = .*\\\\$/ {
6290       s/^DEP_FILES = //
6291       :loop
6292         s/\\\\$//
6293         p
6294         n
6295         /\\\\$/ b loop
6296       p
6297     }
6298     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6299        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6300     # Make sure the directory exists.
6301     test -f "$dirpart/$file" && continue
6302     fdir=`(dirname "$file") 2>/dev/null ||
6303 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6304          X"$file" : 'X\(//\)[^/]' \| \
6305          X"$file" : 'X\(//\)$' \| \
6306          X"$file" : 'X\(/\)' \| \
6307          .     : '\(.\)' 2>/dev/null ||
6308 echo X"$file" |
6309     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6310           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6311           /^X\(\/\/\)$/{ s//\1/; q; }
6312           /^X\(\/\).*/{ s//\1/; q; }
6313           s/.*/./; q'`
6314     { if $as_mkdir_p; then
6315     mkdir -p $dirpart/$fdir
6316   else
6317     as_dir=$dirpart/$fdir
6318     as_dirs=
6319     while test ! -d "$as_dir"; do
6320       as_dirs="$as_dir $as_dirs"
6321       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6323          X"$as_dir" : 'X\(//\)[^/]' \| \
6324          X"$as_dir" : 'X\(//\)$' \| \
6325          X"$as_dir" : 'X\(/\)' \| \
6326          .     : '\(.\)' 2>/dev/null ||
6327 echo X"$as_dir" |
6328     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6329           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6330           /^X\(\/\/\)$/{ s//\1/; q; }
6331           /^X\(\/\).*/{ s//\1/; q; }
6332           s/.*/./; q'`
6333     done
6334     test ! -n "$as_dirs" || mkdir $as_dirs
6335   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6336 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6337    { (exit 1); exit 1; }; }; }
6338
6339     # echo "creating $dirpart/$file"
6340     echo '# dummy' > "$dirpart/$file"
6341   done
6342 done
6343  ;;
6344   esac
6345 done
6346 _ACEOF
6347
6348 cat >>$CONFIG_STATUS <<\_ACEOF
6349
6350 { (exit 0); exit 0; }
6351 _ACEOF
6352 chmod +x $CONFIG_STATUS
6353 ac_clean_files=$ac_clean_files_save
6354
6355
6356 # configure is writing to config.log, and then calls config.status.
6357 # config.status does its own redirection, appending to config.log.
6358 # Unfortunately, on DOS this fails, as config.log is still kept open
6359 # by configure, so config.status won't be able to write to it; its
6360 # output is simply discarded.  So we exec the FD to /dev/null,
6361 # effectively closing config.log, so it can be properly (re)opened and
6362 # appended to by config.status.  When coming back to configure, we
6363 # need to make the FD available again.
6364 if test "$no_create" != yes; then
6365   ac_cs_success=:
6366   ac_config_status_args=
6367   test "$silent" = yes &&
6368     ac_config_status_args="$ac_config_status_args --quiet"
6369   exec 5>/dev/null
6370   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6371   exec 5>>config.log
6372   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6373   # would make configure fail if this is the last instruction.
6374   $ac_cs_success || { (exit 1); exit 1; }
6375 fi
6376