OSDN Git Service

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