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