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