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