comparison configure @ 42:94d988cef54e

* Update to new autoconf build system
author Chris Cannam
date Mon, 18 Oct 2010 14:10:00 +0100
parents
children 4d07f61dba3f
comparison
equal deleted inserted replaced
41:f0346cc8ff21 42:94d988cef54e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Sonic Annotator 0.5.
4 #
5 # Report bugs to <cannam@all-day-breakfast.com>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10 # Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if 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
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_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.
47 if 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 --'
51 elif (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'
54 else
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'
74 fi
75
76 # The user is always right.
77 if 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 }
83 fi
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.)
91 IFS=" "" $as_nl"
92
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152 esac
153 fi
154 "
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169 exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179 else
180 as_have_required=no
181 fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202 fi
203 fi
204 done;;
205 esac
206 as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: cannam@all-day-breakfast.com about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
238 fi
239 exit 1
240 fi
241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257 { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266 return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274 set +e
275 as_fn_set_status $1
276 exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
308 q
309 }
310 /^X\(\/\/\)$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\).*/{
315 s//\1/
316 q
317 }
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
334 {
335 eval $1+=\$2
336 }'
337 else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354 else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359 fi # as_fn_arith
360
361
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
367 as_fn_error ()
368 {
369 as_status=$?; test $as_status -eq 0 && as_status=1
370 if test "$3"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373 fi
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
376 } # as_fn_error
377
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381 else
382 as_expr=false
383 fi
384
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387 else
388 as_basename=false
389 fi
390
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393 else
394 as_dirname=false
395 fi
396
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
404 q
405 }
406 /^X\/\(\/\/\)$/{
407 s//\1/
408 q
409 }
410 /^X\/\(\/\).*/{
411 s//\1/
412 q
413 }
414 s/.*/./; q'`
415
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
429 sed -n '
430 p
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
436 b
437 :lineno
438 N
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
450 . "./$as_me.lineno"
451 # Exit status is that of the last command.
452 exit
453 }
454
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;
464 *)
465 ECHO_N='-n';;
466 esac
467
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471 else
472 rm -f conf$$.dir
473 mkdir conf$$.dir 2>/dev/null
474 fi
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 as_ln_s='ln -s'
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
487 as_ln_s='cp -p'
488 fi
489 else
490 as_ln_s='cp -p'
491 fi
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
494
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
497 else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
500 fi
501
502 if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504 else
505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
509 fi
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
513 test -d "$1/.";
514 else
515 case $1 in #(
516 -*)set "./$1";;
517 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
521 '
522 fi
523 as_executable_p=$as_test_x
524
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532 test -n "$DJDIR" || exec 7<&0 </dev/null
533 exec 6>&1
534
535 # Name of the host.
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539
540 #
541 # Initializations.
542 #
543 ac_default_prefix=/usr/local
544 ac_clean_files=
545 ac_config_libobj_dir=.
546 LIBOBJS=
547 cross_compiling=no
548 subdirs=
549 MFLAGS=
550 MAKEFLAGS=
551
552 # Identity of this package.
553 PACKAGE_NAME='Sonic Annotator'
554 PACKAGE_TARNAME='sonic-annotator'
555 PACKAGE_VERSION='0.5'
556 PACKAGE_STRING='Sonic Annotator 0.5'
557 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com'
558 PACKAGE_URL=''
559
560 ac_unique_file="runner/main.cpp"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
563 #include <stdio.h>
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
566 #endif
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
569 #endif
570 #ifdef STDC_HEADERS
571 # include <stdlib.h>
572 # include <stddef.h>
573 #else
574 # ifdef HAVE_STDLIB_H
575 # include <stdlib.h>
576 # endif
577 #endif
578 #ifdef HAVE_STRING_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
580 # include <memory.h>
581 # endif
582 # include <string.h>
583 #endif
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
586 #endif
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
589 #endif
590 #ifdef HAVE_STDINT_H
591 # include <stdint.h>
592 #endif
593 #ifdef HAVE_UNISTD_H
594 # include <unistd.h>
595 #endif"
596
597 ac_subst_vars='LTLIBOBJS
598 LIBOBJS
599 CODENAME
600 QMAKE_CONFIG
601 HAVES
602 CXXFLAGS_MINIMAL
603 CUT
604 SHA1SUM
605 MAKEDEPEND
606 XARGS
607 PERL
608 id3tag_LIBS
609 id3tag_CFLAGS
610 mad_LIBS
611 mad_CFLAGS
612 fishsound_LIBS
613 fishsound_CFLAGS
614 oggz_LIBS
615 oggz_CFLAGS
616 lrdf_LIBS
617 lrdf_CFLAGS
618 libpulse_LIBS
619 libpulse_CFLAGS
620 JACK_LIBS
621 JACK_CFLAGS
622 portaudio_2_0_LIBS
623 portaudio_2_0_CFLAGS
624 liblo_LIBS
625 liblo_CFLAGS
626 redland_LIBS
627 redland_CFLAGS
628 rasqal_LIBS
629 rasqal_CFLAGS
630 raptor_LIBS
631 raptor_CFLAGS
632 rubberband_LIBS
633 rubberband_CFLAGS
634 vamphostsdk_LIBS
635 vamphostsdk_CFLAGS
636 vamp_LIBS
637 vamp_CFLAGS
638 samplerate_LIBS
639 samplerate_CFLAGS
640 sndfile_LIBS
641 sndfile_CFLAGS
642 fftw3f_LIBS
643 fftw3f_CFLAGS
644 fftw3_LIBS
645 fftw3_CFLAGS
646 bz2_LIBS
647 bz2_CFLAGS
648 QMAKE
649 PKG_CONFIG
650 EGREP
651 GREP
652 CXXCPP
653 MKDIR_P
654 INSTALL_DATA
655 INSTALL_SCRIPT
656 INSTALL_PROGRAM
657 ac_ct_CXX
658 CXXFLAGS
659 CXX
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
666 CC
667 target_alias
668 host_alias
669 build_alias
670 LIBS
671 ECHO_T
672 ECHO_N
673 ECHO_C
674 DEFS
675 mandir
676 localedir
677 libdir
678 psdir
679 pdfdir
680 dvidir
681 htmldir
682 infodir
683 docdir
684 oldincludedir
685 includedir
686 localstatedir
687 sharedstatedir
688 sysconfdir
689 datadir
690 datarootdir
691 libexecdir
692 sbindir
693 bindir
694 program_transform_name
695 prefix
696 exec_prefix
697 PACKAGE_URL
698 PACKAGE_BUGREPORT
699 PACKAGE_STRING
700 PACKAGE_VERSION
701 PACKAGE_TARNAME
702 PACKAGE_NAME
703 PATH_SEPARATOR
704 SHELL'
705 ac_subst_files=''
706 ac_user_opts='
707 enable_option_checking
708 enable_debug
709 '
710 ac_precious_vars='build_alias
711 host_alias
712 target_alias
713 CC
714 CFLAGS
715 LDFLAGS
716 LIBS
717 CPPFLAGS
718 CXX
719 CXXFLAGS
720 CCC
721 CXXCPP
722 PKG_CONFIG
723 bz2_CFLAGS
724 bz2_LIBS
725 fftw3_CFLAGS
726 fftw3_LIBS
727 fftw3f_CFLAGS
728 fftw3f_LIBS
729 sndfile_CFLAGS
730 sndfile_LIBS
731 samplerate_CFLAGS
732 samplerate_LIBS
733 vamp_CFLAGS
734 vamp_LIBS
735 vamphostsdk_CFLAGS
736 vamphostsdk_LIBS
737 rubberband_CFLAGS
738 rubberband_LIBS
739 raptor_CFLAGS
740 raptor_LIBS
741 rasqal_CFLAGS
742 rasqal_LIBS
743 redland_CFLAGS
744 redland_LIBS
745 liblo_CFLAGS
746 liblo_LIBS
747 portaudio_2_0_CFLAGS
748 portaudio_2_0_LIBS
749 JACK_CFLAGS
750 JACK_LIBS
751 libpulse_CFLAGS
752 libpulse_LIBS
753 lrdf_CFLAGS
754 lrdf_LIBS
755 oggz_CFLAGS
756 oggz_LIBS
757 fishsound_CFLAGS
758 fishsound_LIBS
759 mad_CFLAGS
760 mad_LIBS
761 id3tag_CFLAGS
762 id3tag_LIBS'
763
764
765 # Initialize some variables set by options.
766 ac_init_help=
767 ac_init_version=false
768 ac_unrecognized_opts=
769 ac_unrecognized_sep=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
772 cache_file=/dev/null
773 exec_prefix=NONE
774 no_create=
775 no_recursion=
776 prefix=NONE
777 program_prefix=NONE
778 program_suffix=NONE
779 program_transform_name=s,x,x,
780 silent=
781 site=
782 srcdir=
783 verbose=
784 x_includes=NONE
785 x_libraries=NONE
786
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir='${datarootdir}/info'
805 htmldir='${docdir}'
806 dvidir='${docdir}'
807 pdfdir='${docdir}'
808 psdir='${docdir}'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
812
813 ac_prev=
814 ac_dashdash=
815 for ac_option
816 do
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
820 ac_prev=
821 continue
822 fi
823
824 case $ac_option in
825 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826 *) ac_optarg=yes ;;
827 esac
828
829 # Accept the important Cygnus configure options, so we can diagnose typos.
830
831 case $ac_dashdash$ac_option in
832 --)
833 ac_dashdash=yes ;;
834
835 -bindir | --bindir | --bindi | --bind | --bin | --bi)
836 ac_prev=bindir ;;
837 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
838 bindir=$ac_optarg ;;
839
840 -build | --build | --buil | --bui | --bu)
841 ac_prev=build_alias ;;
842 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
843 build_alias=$ac_optarg ;;
844
845 -cache-file | --cache-file | --cache-fil | --cache-fi \
846 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
847 ac_prev=cache_file ;;
848 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
849 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
850 cache_file=$ac_optarg ;;
851
852 --config-cache | -C)
853 cache_file=config.cache ;;
854
855 -datadir | --datadir | --datadi | --datad)
856 ac_prev=datadir ;;
857 -datadir=* | --datadir=* | --datadi=* | --datad=*)
858 datadir=$ac_optarg ;;
859
860 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
861 | --dataroo | --dataro | --datar)
862 ac_prev=datarootdir ;;
863 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
864 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
865 datarootdir=$ac_optarg ;;
866
867 -disable-* | --disable-*)
868 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
871 as_fn_error "invalid feature name: $ac_useropt"
872 ac_useropt_orig=$ac_useropt
873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
874 case $ac_user_opts in
875 *"
876 "enable_$ac_useropt"
877 "*) ;;
878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
879 ac_unrecognized_sep=', ';;
880 esac
881 eval enable_$ac_useropt=no ;;
882
883 -docdir | --docdir | --docdi | --doc | --do)
884 ac_prev=docdir ;;
885 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
886 docdir=$ac_optarg ;;
887
888 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
889 ac_prev=dvidir ;;
890 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
891 dvidir=$ac_optarg ;;
892
893 -enable-* | --enable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
901 *"
902 "enable_$ac_useropt"
903 "*) ;;
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
906 esac
907 eval enable_$ac_useropt=\$ac_optarg ;;
908
909 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
910 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
911 | --exec | --exe | --ex)
912 ac_prev=exec_prefix ;;
913 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
914 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
915 | --exec=* | --exe=* | --ex=*)
916 exec_prefix=$ac_optarg ;;
917
918 -gas | --gas | --ga | --g)
919 # Obsolete; use --with-gas.
920 with_gas=yes ;;
921
922 -help | --help | --hel | --he | -h)
923 ac_init_help=long ;;
924 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
925 ac_init_help=recursive ;;
926 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
927 ac_init_help=short ;;
928
929 -host | --host | --hos | --ho)
930 ac_prev=host_alias ;;
931 -host=* | --host=* | --hos=* | --ho=*)
932 host_alias=$ac_optarg ;;
933
934 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
935 ac_prev=htmldir ;;
936 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
937 | --ht=*)
938 htmldir=$ac_optarg ;;
939
940 -includedir | --includedir | --includedi | --included | --include \
941 | --includ | --inclu | --incl | --inc)
942 ac_prev=includedir ;;
943 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
944 | --includ=* | --inclu=* | --incl=* | --inc=*)
945 includedir=$ac_optarg ;;
946
947 -infodir | --infodir | --infodi | --infod | --info | --inf)
948 ac_prev=infodir ;;
949 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
950 infodir=$ac_optarg ;;
951
952 -libdir | --libdir | --libdi | --libd)
953 ac_prev=libdir ;;
954 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 libdir=$ac_optarg ;;
956
957 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
958 | --libexe | --libex | --libe)
959 ac_prev=libexecdir ;;
960 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
961 | --libexe=* | --libex=* | --libe=*)
962 libexecdir=$ac_optarg ;;
963
964 -localedir | --localedir | --localedi | --localed | --locale)
965 ac_prev=localedir ;;
966 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
967 localedir=$ac_optarg ;;
968
969 -localstatedir | --localstatedir | --localstatedi | --localstated \
970 | --localstate | --localstat | --localsta | --localst | --locals)
971 ac_prev=localstatedir ;;
972 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
973 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
974 localstatedir=$ac_optarg ;;
975
976 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
977 ac_prev=mandir ;;
978 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
979 mandir=$ac_optarg ;;
980
981 -nfp | --nfp | --nf)
982 # Obsolete; use --without-fp.
983 with_fp=no ;;
984
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
986 | --no-cr | --no-c | -n)
987 no_create=yes ;;
988
989 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
990 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 no_recursion=yes ;;
992
993 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
994 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
995 | --oldin | --oldi | --old | --ol | --o)
996 ac_prev=oldincludedir ;;
997 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
998 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
999 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1000 oldincludedir=$ac_optarg ;;
1001
1002 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1003 ac_prev=prefix ;;
1004 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1005 prefix=$ac_optarg ;;
1006
1007 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1008 | --program-pre | --program-pr | --program-p)
1009 ac_prev=program_prefix ;;
1010 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1011 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1012 program_prefix=$ac_optarg ;;
1013
1014 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1015 | --program-suf | --program-su | --program-s)
1016 ac_prev=program_suffix ;;
1017 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1018 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1019 program_suffix=$ac_optarg ;;
1020
1021 -program-transform-name | --program-transform-name \
1022 | --program-transform-nam | --program-transform-na \
1023 | --program-transform-n | --program-transform- \
1024 | --program-transform | --program-transfor \
1025 | --program-transfo | --program-transf \
1026 | --program-trans | --program-tran \
1027 | --progr-tra | --program-tr | --program-t)
1028 ac_prev=program_transform_name ;;
1029 -program-transform-name=* | --program-transform-name=* \
1030 | --program-transform-nam=* | --program-transform-na=* \
1031 | --program-transform-n=* | --program-transform-=* \
1032 | --program-transform=* | --program-transfor=* \
1033 | --program-transfo=* | --program-transf=* \
1034 | --program-trans=* | --program-tran=* \
1035 | --progr-tra=* | --program-tr=* | --program-t=*)
1036 program_transform_name=$ac_optarg ;;
1037
1038 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1039 ac_prev=pdfdir ;;
1040 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1041 pdfdir=$ac_optarg ;;
1042
1043 -psdir | --psdir | --psdi | --psd | --ps)
1044 ac_prev=psdir ;;
1045 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 psdir=$ac_optarg ;;
1047
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1050 silent=yes ;;
1051
1052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1053 ac_prev=sbindir ;;
1054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1055 | --sbi=* | --sb=*)
1056 sbindir=$ac_optarg ;;
1057
1058 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1059 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1060 | --sharedst | --shareds | --shared | --share | --shar \
1061 | --sha | --sh)
1062 ac_prev=sharedstatedir ;;
1063 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1064 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1065 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1066 | --sha=* | --sh=*)
1067 sharedstatedir=$ac_optarg ;;
1068
1069 -site | --site | --sit)
1070 ac_prev=site ;;
1071 -site=* | --site=* | --sit=*)
1072 site=$ac_optarg ;;
1073
1074 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1075 ac_prev=srcdir ;;
1076 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1077 srcdir=$ac_optarg ;;
1078
1079 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1080 | --syscon | --sysco | --sysc | --sys | --sy)
1081 ac_prev=sysconfdir ;;
1082 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1083 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1084 sysconfdir=$ac_optarg ;;
1085
1086 -target | --target | --targe | --targ | --tar | --ta | --t)
1087 ac_prev=target_alias ;;
1088 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1089 target_alias=$ac_optarg ;;
1090
1091 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 verbose=yes ;;
1093
1094 -version | --version | --versio | --versi | --vers | -V)
1095 ac_init_version=: ;;
1096
1097 -with-* | --with-*)
1098 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 as_fn_error "invalid package name: $ac_useropt"
1102 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1105 *"
1106 "with_$ac_useropt"
1107 "*) ;;
1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1109 ac_unrecognized_sep=', ';;
1110 esac
1111 eval with_$ac_useropt=\$ac_optarg ;;
1112
1113 -without-* | --without-*)
1114 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1117 as_fn_error "invalid package name: $ac_useropt"
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1121 *"
1122 "with_$ac_useropt"
1123 "*) ;;
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1126 esac
1127 eval with_$ac_useropt=no ;;
1128
1129 --x)
1130 # Obsolete; use --with-x.
1131 with_x=yes ;;
1132
1133 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1134 | --x-incl | --x-inc | --x-in | --x-i)
1135 ac_prev=x_includes ;;
1136 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1137 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1138 x_includes=$ac_optarg ;;
1139
1140 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1141 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1142 ac_prev=x_libraries ;;
1143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145 x_libraries=$ac_optarg ;;
1146
1147 -*) as_fn_error "unrecognized option: \`$ac_option'
1148 Try \`$0 --help' for more information."
1149 ;;
1150
1151 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 case $ac_envvar in #(
1155 '' | [0-9]* | *[!_$as_cr_alnum]* )
1156 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1157 esac
1158 eval $ac_envvar=\$ac_optarg
1159 export $ac_envvar ;;
1160
1161 *)
1162 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 ;;
1168
1169 esac
1170 done
1171
1172 if test -n "$ac_prev"; then
1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174 as_fn_error "missing argument to $ac_option"
1175 fi
1176
1177 if test -n "$ac_unrecognized_opts"; then
1178 case $enable_option_checking in
1179 no) ;;
1180 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1181 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182 esac
1183 fi
1184
1185 # Check all directory arguments for consistency.
1186 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1187 datadir sysconfdir sharedstatedir localstatedir includedir \
1188 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1189 libdir localedir mandir
1190 do
1191 eval ac_val=\$$ac_var
1192 # Remove trailing slashes.
1193 case $ac_val in
1194 */ )
1195 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1196 eval $ac_var=\$ac_val;;
1197 esac
1198 # Be sure to have absolute directory names.
1199 case $ac_val in
1200 [\\/$]* | ?:[\\/]* ) continue;;
1201 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1202 esac
1203 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1204 done
1205
1206 # There might be people who depend on the old broken behavior: `$host'
1207 # used to hold the argument of --host etc.
1208 # FIXME: To remove some day.
1209 build=$build_alias
1210 host=$host_alias
1211 target=$target_alias
1212
1213 # FIXME: To remove some day.
1214 if test "x$host_alias" != x; then
1215 if test "x$build_alias" = x; then
1216 cross_compiling=maybe
1217 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1218 If a cross compiler is detected then cross compile mode will be used." >&2
1219 elif test "x$build_alias" != "x$host_alias"; then
1220 cross_compiling=yes
1221 fi
1222 fi
1223
1224 ac_tool_prefix=
1225 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1226
1227 test "$silent" = yes && exec 6>/dev/null
1228
1229
1230 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1231 ac_ls_di=`ls -di .` &&
1232 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1233 as_fn_error "working directory cannot be determined"
1234 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1235 as_fn_error "pwd does not report name of working directory"
1236
1237
1238 # Find the source files, if location was not specified.
1239 if test -z "$srcdir"; then
1240 ac_srcdir_defaulted=yes
1241 # Try the directory containing this script, then the parent directory.
1242 ac_confdir=`$as_dirname -- "$as_myself" ||
1243 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1244 X"$as_myself" : 'X\(//\)[^/]' \| \
1245 X"$as_myself" : 'X\(//\)$' \| \
1246 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1247 $as_echo X"$as_myself" |
1248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1249 s//\1/
1250 q
1251 }
1252 /^X\(\/\/\)[^/].*/{
1253 s//\1/
1254 q
1255 }
1256 /^X\(\/\/\)$/{
1257 s//\1/
1258 q
1259 }
1260 /^X\(\/\).*/{
1261 s//\1/
1262 q
1263 }
1264 s/.*/./; q'`
1265 srcdir=$ac_confdir
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 srcdir=..
1268 fi
1269 else
1270 ac_srcdir_defaulted=no
1271 fi
1272 if test ! -r "$srcdir/$ac_unique_file"; then
1273 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1274 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1275 fi
1276 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1277 ac_abs_confdir=`(
1278 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1279 pwd)`
1280 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
1282 srcdir=.
1283 fi
1284 # Remove unnecessary trailing slashes from srcdir.
1285 # Double slashes in file names in object file debugging info
1286 # mess up M-x gdb in Emacs.
1287 case $srcdir in
1288 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 esac
1290 for ac_var in $ac_precious_vars; do
1291 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_env_${ac_var}_value=\$${ac_var}
1293 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1294 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295 done
1296
1297 #
1298 # Report the --help message.
1299 #
1300 if test "$ac_init_help" = "long"; then
1301 # Omit some internal or obsolete options to make the list less imposing.
1302 # This message is too long to be a string in the A/UX 3.1 sh.
1303 cat <<_ACEOF
1304 \`configure' configures Sonic Annotator 0.5 to adapt to many kinds of systems.
1305
1306 Usage: $0 [OPTION]... [VAR=VALUE]...
1307
1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309 VAR=VALUE. See below for descriptions of some of the useful variables.
1310
1311 Defaults for the options are specified in brackets.
1312
1313 Configuration:
1314 -h, --help display this help and exit
1315 --help=short display options specific to this package
1316 --help=recursive display the short help of all the included packages
1317 -V, --version display version information and exit
1318 -q, --quiet, --silent do not print \`checking...' messages
1319 --cache-file=FILE cache test results in FILE [disabled]
1320 -C, --config-cache alias for \`--cache-file=config.cache'
1321 -n, --no-create do not create output files
1322 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323
1324 Installation directories:
1325 --prefix=PREFIX install architecture-independent files in PREFIX
1326 [$ac_default_prefix]
1327 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1328 [PREFIX]
1329
1330 By default, \`make install' will install all the files in
1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1333 for instance \`--prefix=\$HOME'.
1334
1335 For better control, use the options below.
1336
1337 Fine tuning of the installation directories:
1338 --bindir=DIR user executables [EPREFIX/bin]
1339 --sbindir=DIR system admin executables [EPREFIX/sbin]
1340 --libexecdir=DIR program executables [EPREFIX/libexec]
1341 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1342 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1343 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1344 --libdir=DIR object code libraries [EPREFIX/lib]
1345 --includedir=DIR C header files [PREFIX/include]
1346 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1349 --infodir=DIR info documentation [DATAROOTDIR/info]
1350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1351 --mandir=DIR man documentation [DATAROOTDIR/man]
1352 --docdir=DIR documentation root [DATAROOTDIR/doc/sonic-annotator]
1353 --htmldir=DIR html documentation [DOCDIR]
1354 --dvidir=DIR dvi documentation [DOCDIR]
1355 --pdfdir=DIR pdf documentation [DOCDIR]
1356 --psdir=DIR ps documentation [DOCDIR]
1357 _ACEOF
1358
1359 cat <<\_ACEOF
1360 _ACEOF
1361 fi
1362
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Sonic Annotator 0.5:";;
1366 esac
1367 cat <<\_ACEOF
1368
1369 Optional Features:
1370 --disable-option-checking ignore unrecognized --enable/--with options
1371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1373 --enable-debug enable debug support [default=no]
1374
1375 Some influential environment variables:
1376 CC C compiler command
1377 CFLAGS C compiler flags
1378 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1379 nonstandard directory <lib dir>
1380 LIBS libraries to pass to the linker, e.g. -l<library>
1381 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1382 you have headers in a nonstandard directory <include dir>
1383 CXX C++ compiler command
1384 CXXFLAGS C++ compiler flags
1385 CXXCPP C++ preprocessor
1386 PKG_CONFIG path to pkg-config utility
1387 bz2_CFLAGS C compiler flags for bz2, overriding pkg-config
1388 bz2_LIBS linker flags for bz2, overriding pkg-config
1389 fftw3_CFLAGS
1390 C compiler flags for fftw3, overriding pkg-config
1391 fftw3_LIBS linker flags for fftw3, overriding pkg-config
1392 fftw3f_CFLAGS
1393 C compiler flags for fftw3f, overriding pkg-config
1394 fftw3f_LIBS linker flags for fftw3f, overriding pkg-config
1395 sndfile_CFLAGS
1396 C compiler flags for sndfile, overriding pkg-config
1397 sndfile_LIBS
1398 linker flags for sndfile, overriding pkg-config
1399 samplerate_CFLAGS
1400 C compiler flags for samplerate, overriding pkg-config
1401 samplerate_LIBS
1402 linker flags for samplerate, overriding pkg-config
1403 vamp_CFLAGS C compiler flags for vamp, overriding pkg-config
1404 vamp_LIBS linker flags for vamp, overriding pkg-config
1405 vamphostsdk_CFLAGS
1406 C compiler flags for vamphostsdk, overriding pkg-config
1407 vamphostsdk_LIBS
1408 linker flags for vamphostsdk, overriding pkg-config
1409 rubberband_CFLAGS
1410 C compiler flags for rubberband, overriding pkg-config
1411 rubberband_LIBS
1412 linker flags for rubberband, overriding pkg-config
1413 raptor_CFLAGS
1414 C compiler flags for raptor, overriding pkg-config
1415 raptor_LIBS linker flags for raptor, overriding pkg-config
1416 rasqal_CFLAGS
1417 C compiler flags for rasqal, overriding pkg-config
1418 rasqal_LIBS linker flags for rasqal, overriding pkg-config
1419 redland_CFLAGS
1420 C compiler flags for redland, overriding pkg-config
1421 redland_LIBS
1422 linker flags for redland, overriding pkg-config
1423 liblo_CFLAGS
1424 C compiler flags for liblo, overriding pkg-config
1425 liblo_LIBS linker flags for liblo, overriding pkg-config
1426 portaudio_2_0_CFLAGS
1427 C compiler flags for portaudio_2_0, overriding pkg-config
1428 portaudio_2_0_LIBS
1429 linker flags for portaudio_2_0, overriding pkg-config
1430 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
1431 JACK_LIBS linker flags for JACK, overriding pkg-config
1432 libpulse_CFLAGS
1433 C compiler flags for libpulse, overriding pkg-config
1434 libpulse_LIBS
1435 linker flags for libpulse, overriding pkg-config
1436 lrdf_CFLAGS C compiler flags for lrdf, overriding pkg-config
1437 lrdf_LIBS linker flags for lrdf, overriding pkg-config
1438 oggz_CFLAGS C compiler flags for oggz, overriding pkg-config
1439 oggz_LIBS linker flags for oggz, overriding pkg-config
1440 fishsound_CFLAGS
1441 C compiler flags for fishsound, overriding pkg-config
1442 fishsound_LIBS
1443 linker flags for fishsound, overriding pkg-config
1444 mad_CFLAGS C compiler flags for mad, overriding pkg-config
1445 mad_LIBS linker flags for mad, overriding pkg-config
1446 id3tag_CFLAGS
1447 C compiler flags for id3tag, overriding pkg-config
1448 id3tag_LIBS linker flags for id3tag, overriding pkg-config
1449
1450 Use these variables to override the choices made by `configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1452
1453 Report bugs to <cannam@all-day-breakfast.com>.
1454 _ACEOF
1455 ac_status=$?
1456 fi
1457
1458 if test "$ac_init_help" = "recursive"; then
1459 # If there are subdirs, report their specific --help.
1460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1461 test -d "$ac_dir" ||
1462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1463 continue
1464 ac_builddir=.
1465
1466 case "$ac_dir" in
1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 *)
1469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1470 # A ".." for each directory in $ac_dir_suffix.
1471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1472 case $ac_top_builddir_sub in
1473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1475 esac ;;
1476 esac
1477 ac_abs_top_builddir=$ac_pwd
1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1479 # for backward compatibility:
1480 ac_top_builddir=$ac_top_build_prefix
1481
1482 case $srcdir in
1483 .) # We are building in place.
1484 ac_srcdir=.
1485 ac_top_srcdir=$ac_top_builddir_sub
1486 ac_abs_top_srcdir=$ac_pwd ;;
1487 [\\/]* | ?:[\\/]* ) # Absolute name.
1488 ac_srcdir=$srcdir$ac_dir_suffix;
1489 ac_top_srcdir=$srcdir
1490 ac_abs_top_srcdir=$srcdir ;;
1491 *) # Relative name.
1492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1493 ac_top_srcdir=$ac_top_build_prefix$srcdir
1494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1495 esac
1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497
1498 cd "$ac_dir" || { ac_status=$?; continue; }
1499 # Check for guested configure.
1500 if test -f "$ac_srcdir/configure.gnu"; then
1501 echo &&
1502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1503 elif test -f "$ac_srcdir/configure"; then
1504 echo &&
1505 $SHELL "$ac_srcdir/configure" --help=recursive
1506 else
1507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 fi || ac_status=$?
1509 cd "$ac_pwd" || { ac_status=$?; break; }
1510 done
1511 fi
1512
1513 test -n "$ac_init_help" && exit $ac_status
1514 if $ac_init_version; then
1515 cat <<\_ACEOF
1516 Sonic Annotator configure 0.5
1517 generated by GNU Autoconf 2.65
1518
1519 Copyright (C) 2009 Free Software Foundation, Inc.
1520 This configure script is free software; the Free Software Foundation
1521 gives unlimited permission to copy, distribute and modify it.
1522 _ACEOF
1523 exit
1524 fi
1525
1526 ## ------------------------ ##
1527 ## Autoconf initialization. ##
1528 ## ------------------------ ##
1529
1530 # ac_fn_c_try_compile LINENO
1531 # --------------------------
1532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_c_try_compile ()
1534 {
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 rm -f conftest.$ac_objext
1537 if { { ac_try="$ac_compile"
1538 case "(($ac_try" in
1539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1540 *) ac_try_echo=$ac_try;;
1541 esac
1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_compile") 2>conftest.err
1545 ac_status=$?
1546 if test -s conftest.err; then
1547 grep -v '^ *+' conftest.err >conftest.er1
1548 cat conftest.er1 >&5
1549 mv -f conftest.er1 conftest.err
1550 fi
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } && {
1553 test -z "$ac_c_werror_flag" ||
1554 test ! -s conftest.err
1555 } && test -s conftest.$ac_objext; then :
1556 ac_retval=0
1557 else
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1560
1561 ac_retval=1
1562 fi
1563 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1564 as_fn_set_status $ac_retval
1565
1566 } # ac_fn_c_try_compile
1567
1568 # ac_fn_cxx_try_compile LINENO
1569 # ----------------------------
1570 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1571 ac_fn_cxx_try_compile ()
1572 {
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 rm -f conftest.$ac_objext
1575 if { { ac_try="$ac_compile"
1576 case "(($ac_try" in
1577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1579 esac
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_compile") 2>conftest.err
1583 ac_status=$?
1584 if test -s conftest.err; then
1585 grep -v '^ *+' conftest.err >conftest.er1
1586 cat conftest.er1 >&5
1587 mv -f conftest.er1 conftest.err
1588 fi
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } && {
1591 test -z "$ac_cxx_werror_flag" ||
1592 test ! -s conftest.err
1593 } && test -s conftest.$ac_objext; then :
1594 ac_retval=0
1595 else
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1598
1599 ac_retval=1
1600 fi
1601 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 as_fn_set_status $ac_retval
1603
1604 } # ac_fn_cxx_try_compile
1605
1606 # ac_fn_cxx_try_cpp LINENO
1607 # ------------------------
1608 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1609 ac_fn_cxx_try_cpp ()
1610 {
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if { { ac_try="$ac_cpp conftest.$ac_ext"
1613 case "(($ac_try" in
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1616 esac
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1620 ac_status=$?
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1625 fi
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } >/dev/null && {
1628 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1629 test ! -s conftest.err
1630 }; then :
1631 ac_retval=0
1632 else
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1635
1636 ac_retval=1
1637 fi
1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1639 as_fn_set_status $ac_retval
1640
1641 } # ac_fn_cxx_try_cpp
1642
1643 # ac_fn_cxx_try_run LINENO
1644 # ------------------------
1645 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1646 # that executables *can* be run.
1647 ac_fn_cxx_try_run ()
1648 {
1649 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650 if { { ac_try="$ac_link"
1651 case "(($ac_try" in
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1654 esac
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_link") 2>&5
1658 ac_status=$?
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1661 { { case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_try") 2>&5
1668 ac_status=$?
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; }; }; then :
1671 ac_retval=0
1672 else
1673 $as_echo "$as_me: program exited with status $ac_status" >&5
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.$ac_ext >&5
1676
1677 ac_retval=$ac_status
1678 fi
1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1680 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1681 as_fn_set_status $ac_retval
1682
1683 } # ac_fn_cxx_try_run
1684
1685 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1686 # ---------------------------------------------------------
1687 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1688 # the include files in INCLUDES and setting the cache variable VAR
1689 # accordingly.
1690 ac_fn_cxx_check_header_mongrel ()
1691 {
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1695 $as_echo_n "checking for $2... " >&6; }
1696 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1697 $as_echo_n "(cached) " >&6
1698 fi
1699 eval ac_res=\$$3
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701 $as_echo "$ac_res" >&6; }
1702 else
1703 # Is the header compilable?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1705 $as_echo_n "checking $2 usability... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1708 $4
1709 #include <$2>
1710 _ACEOF
1711 if ac_fn_cxx_try_compile "$LINENO"; then :
1712 ac_header_compiler=yes
1713 else
1714 ac_header_compiler=no
1715 fi
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1718 $as_echo "$ac_header_compiler" >&6; }
1719
1720 # Is the header present?
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1722 $as_echo_n "checking $2 presence... " >&6; }
1723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1724 /* end confdefs.h. */
1725 #include <$2>
1726 _ACEOF
1727 if ac_fn_cxx_try_cpp "$LINENO"; then :
1728 ac_header_preproc=yes
1729 else
1730 ac_header_preproc=no
1731 fi
1732 rm -f conftest.err conftest.$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1734 $as_echo "$ac_header_preproc" >&6; }
1735
1736 # So? What about this header?
1737 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1738 yes:no: )
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1740 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1743 ;;
1744 no:yes:* )
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1746 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1748 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1750 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1752 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1754 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1755 ( cat <<\_ASBOX
1756 ## ------------------------------------------- ##
1757 ## Report this to cannam@all-day-breakfast.com ##
1758 ## ------------------------------------------- ##
1759 _ASBOX
1760 ) | sed "s/^/$as_me: WARNING: /" >&2
1761 ;;
1762 esac
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1766 $as_echo_n "(cached) " >&6
1767 else
1768 eval "$3=\$ac_header_compiler"
1769 fi
1770 eval ac_res=\$$3
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773 fi
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775
1776 } # ac_fn_cxx_check_header_mongrel
1777
1778 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1779 # ---------------------------------------------------------
1780 # Tests whether HEADER exists and can be compiled using the include files in
1781 # INCLUDES, setting the cache variable VAR accordingly.
1782 ac_fn_cxx_check_header_compile ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1788 $as_echo_n "(cached) " >&6
1789 else
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1792 $4
1793 #include <$2>
1794 _ACEOF
1795 if ac_fn_cxx_try_compile "$LINENO"; then :
1796 eval "$3=yes"
1797 else
1798 eval "$3=no"
1799 fi
1800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801 fi
1802 eval ac_res=\$$3
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806
1807 } # ac_fn_cxx_check_header_compile
1808
1809 # ac_fn_cxx_try_link LINENO
1810 # -------------------------
1811 # Try to link conftest.$ac_ext, and return whether this succeeded.
1812 ac_fn_cxx_try_link ()
1813 {
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 rm -f conftest.$ac_objext conftest$ac_exeext
1816 if { { ac_try="$ac_link"
1817 case "(($ac_try" in
1818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819 *) ac_try_echo=$ac_try;;
1820 esac
1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_link") 2>conftest.err
1824 ac_status=$?
1825 if test -s conftest.err; then
1826 grep -v '^ *+' conftest.err >conftest.er1
1827 cat conftest.er1 >&5
1828 mv -f conftest.er1 conftest.err
1829 fi
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; } && {
1832 test -z "$ac_cxx_werror_flag" ||
1833 test ! -s conftest.err
1834 } && test -s conftest$ac_exeext && {
1835 test "$cross_compiling" = yes ||
1836 $as_test_x conftest$ac_exeext
1837 }; then :
1838 ac_retval=0
1839 else
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.$ac_ext >&5
1842
1843 ac_retval=1
1844 fi
1845 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1846 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1847 # interfere with the next link command; also delete a directory that is
1848 # left behind by Apple's compiler. We do this before executing the actions.
1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 as_fn_set_status $ac_retval
1852
1853 } # ac_fn_cxx_try_link
1854 cat >config.log <<_ACEOF
1855 This file contains any messages produced by compilers while
1856 running configure, to aid debugging if configure makes a mistake.
1857
1858 It was created by Sonic Annotator $as_me 0.5, which was
1859 generated by GNU Autoconf 2.65. Invocation command line was
1860
1861 $ $0 $@
1862
1863 _ACEOF
1864 exec 5>>config.log
1865 {
1866 cat <<_ASUNAME
1867 ## --------- ##
1868 ## Platform. ##
1869 ## --------- ##
1870
1871 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1872 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1873 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1874 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1875 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1876
1877 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1878 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1879
1880 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1881 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1882 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1883 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1884 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1885 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1886 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1887
1888 _ASUNAME
1889
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 for as_dir in $PATH
1892 do
1893 IFS=$as_save_IFS
1894 test -z "$as_dir" && as_dir=.
1895 $as_echo "PATH: $as_dir"
1896 done
1897 IFS=$as_save_IFS
1898
1899 } >&5
1900
1901 cat >&5 <<_ACEOF
1902
1903
1904 ## ----------- ##
1905 ## Core tests. ##
1906 ## ----------- ##
1907
1908 _ACEOF
1909
1910
1911 # Keep a trace of the command line.
1912 # Strip out --no-create and --no-recursion so they do not pile up.
1913 # Strip out --silent because we don't want to record it for future runs.
1914 # Also quote any args containing shell meta-characters.
1915 # Make two passes to allow for proper duplicate-argument suppression.
1916 ac_configure_args=
1917 ac_configure_args0=
1918 ac_configure_args1=
1919 ac_must_keep_next=false
1920 for ac_pass in 1 2
1921 do
1922 for ac_arg
1923 do
1924 case $ac_arg in
1925 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1926 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1927 | -silent | --silent | --silen | --sile | --sil)
1928 continue ;;
1929 *\'*)
1930 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1931 esac
1932 case $ac_pass in
1933 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1934 2)
1935 as_fn_append ac_configure_args1 " '$ac_arg'"
1936 if test $ac_must_keep_next = true; then
1937 ac_must_keep_next=false # Got value, back to normal.
1938 else
1939 case $ac_arg in
1940 *=* | --config-cache | -C | -disable-* | --disable-* \
1941 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1942 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1943 | -with-* | --with-* | -without-* | --without-* | --x)
1944 case "$ac_configure_args0 " in
1945 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1946 esac
1947 ;;
1948 -* ) ac_must_keep_next=true ;;
1949 esac
1950 fi
1951 as_fn_append ac_configure_args " '$ac_arg'"
1952 ;;
1953 esac
1954 done
1955 done
1956 { ac_configure_args0=; unset ac_configure_args0;}
1957 { ac_configure_args1=; unset ac_configure_args1;}
1958
1959 # When interrupted or exit'd, cleanup temporary files, and complete
1960 # config.log. We remove comments because anyway the quotes in there
1961 # would cause problems or look ugly.
1962 # WARNING: Use '\'' to represent an apostrophe within the trap.
1963 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1964 trap 'exit_status=$?
1965 # Save into config.log some information that might help in debugging.
1966 {
1967 echo
1968
1969 cat <<\_ASBOX
1970 ## ---------------- ##
1971 ## Cache variables. ##
1972 ## ---------------- ##
1973 _ASBOX
1974 echo
1975 # The following way of writing the cache mishandles newlines in values,
1976 (
1977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1978 eval ac_val=\$$ac_var
1979 case $ac_val in #(
1980 *${as_nl}*)
1981 case $ac_var in #(
1982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1984 esac
1985 case $ac_var in #(
1986 _ | IFS | as_nl) ;; #(
1987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1988 *) { eval $ac_var=; unset $ac_var;} ;;
1989 esac ;;
1990 esac
1991 done
1992 (set) 2>&1 |
1993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1994 *${as_nl}ac_space=\ *)
1995 sed -n \
1996 "s/'\''/'\''\\\\'\'''\''/g;
1997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1998 ;; #(
1999 *)
2000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2001 ;;
2002 esac |
2003 sort
2004 )
2005 echo
2006
2007 cat <<\_ASBOX
2008 ## ----------------- ##
2009 ## Output variables. ##
2010 ## ----------------- ##
2011 _ASBOX
2012 echo
2013 for ac_var in $ac_subst_vars
2014 do
2015 eval ac_val=\$$ac_var
2016 case $ac_val in
2017 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2018 esac
2019 $as_echo "$ac_var='\''$ac_val'\''"
2020 done | sort
2021 echo
2022
2023 if test -n "$ac_subst_files"; then
2024 cat <<\_ASBOX
2025 ## ------------------- ##
2026 ## File substitutions. ##
2027 ## ------------------- ##
2028 _ASBOX
2029 echo
2030 for ac_var in $ac_subst_files
2031 do
2032 eval ac_val=\$$ac_var
2033 case $ac_val in
2034 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 esac
2036 $as_echo "$ac_var='\''$ac_val'\''"
2037 done | sort
2038 echo
2039 fi
2040
2041 if test -s confdefs.h; then
2042 cat <<\_ASBOX
2043 ## ----------- ##
2044 ## confdefs.h. ##
2045 ## ----------- ##
2046 _ASBOX
2047 echo
2048 cat confdefs.h
2049 echo
2050 fi
2051 test "$ac_signal" != 0 &&
2052 $as_echo "$as_me: caught signal $ac_signal"
2053 $as_echo "$as_me: exit $exit_status"
2054 } >&5
2055 rm -f core *.core core.conftest.* &&
2056 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2057 exit $exit_status
2058 ' 0
2059 for ac_signal in 1 2 13 15; do
2060 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2061 done
2062 ac_signal=0
2063
2064 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2065 rm -f -r conftest* confdefs.h
2066
2067 $as_echo "/* confdefs.h */" > confdefs.h
2068
2069 # Predefined preprocessor variables.
2070
2071 cat >>confdefs.h <<_ACEOF
2072 #define PACKAGE_NAME "$PACKAGE_NAME"
2073 _ACEOF
2074
2075 cat >>confdefs.h <<_ACEOF
2076 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2077 _ACEOF
2078
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2081 _ACEOF
2082
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE_STRING "$PACKAGE_STRING"
2085 _ACEOF
2086
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2089 _ACEOF
2090
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_URL "$PACKAGE_URL"
2093 _ACEOF
2094
2095
2096 # Let the site file select an alternate cache file if it wants to.
2097 # Prefer an explicitly selected file to automatically selected ones.
2098 ac_site_file1=NONE
2099 ac_site_file2=NONE
2100 if test -n "$CONFIG_SITE"; then
2101 ac_site_file1=$CONFIG_SITE
2102 elif test "x$prefix" != xNONE; then
2103 ac_site_file1=$prefix/share/config.site
2104 ac_site_file2=$prefix/etc/config.site
2105 else
2106 ac_site_file1=$ac_default_prefix/share/config.site
2107 ac_site_file2=$ac_default_prefix/etc/config.site
2108 fi
2109 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2110 do
2111 test "x$ac_site_file" = xNONE && continue
2112 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2114 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2115 sed 's/^/| /' "$ac_site_file" >&5
2116 . "$ac_site_file"
2117 fi
2118 done
2119
2120 if test -r "$cache_file"; then
2121 # Some versions of bash will fail to source /dev/null (special files
2122 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2123 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2125 $as_echo "$as_me: loading cache $cache_file" >&6;}
2126 case $cache_file in
2127 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2128 *) . "./$cache_file";;
2129 esac
2130 fi
2131 else
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2133 $as_echo "$as_me: creating cache $cache_file" >&6;}
2134 >$cache_file
2135 fi
2136
2137 # Check that the precious variables saved in the cache have kept the same
2138 # value.
2139 ac_cache_corrupted=false
2140 for ac_var in $ac_precious_vars; do
2141 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2142 eval ac_new_set=\$ac_env_${ac_var}_set
2143 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2144 eval ac_new_val=\$ac_env_${ac_var}_value
2145 case $ac_old_set,$ac_new_set in
2146 set,)
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2148 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2149 ac_cache_corrupted=: ;;
2150 ,set)
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2152 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2153 ac_cache_corrupted=: ;;
2154 ,);;
2155 *)
2156 if test "x$ac_old_val" != "x$ac_new_val"; then
2157 # differences in whitespace do not lead to failure.
2158 ac_old_val_w=`echo x $ac_old_val`
2159 ac_new_val_w=`echo x $ac_new_val`
2160 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2162 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2163 ac_cache_corrupted=:
2164 else
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2166 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2167 eval $ac_var=\$ac_old_val
2168 fi
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2170 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2172 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2173 fi;;
2174 esac
2175 # Pass precious variables to config.status.
2176 if test "$ac_new_set" = set; then
2177 case $ac_new_val in
2178 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2179 *) ac_arg=$ac_var=$ac_new_val ;;
2180 esac
2181 case " $ac_configure_args " in
2182 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2183 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2184 esac
2185 fi
2186 done
2187 if $ac_cache_corrupted; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2191 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2192 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2193 fi
2194 ## -------------------- ##
2195 ## Main body of script. ##
2196 ## -------------------- ##
2197
2198 ac_ext=c
2199 ac_cpp='$CPP $CPPFLAGS'
2200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2203
2204
2205
2206
2207
2208 # Autoconf will set CXXFLAGS; we don't usually want it to, because we
2209 # either define our own flags (at least if GCC is in use) or else use
2210 # the user's preferences. We need to ensure CXXFLAGS is only set if
2211 # the user has expressly set it. So, save the user's (or empty)
2212 # setting now and restore it after Autoconf has done its bit of
2213 # piddling about.
2214 USER_CXXFLAGS="$CXXFLAGS"
2215
2216 ac_ext=cpp
2217 ac_cpp='$CXXCPP $CPPFLAGS'
2218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2221
2222
2223 ac_ext=c
2224 ac_cpp='$CPP $CPPFLAGS'
2225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2228 if test -n "$ac_tool_prefix"; then
2229 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2230 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2232 $as_echo_n "checking for $ac_word... " >&6; }
2233 if test "${ac_cv_prog_CC+set}" = set; then :
2234 $as_echo_n "(cached) " >&6
2235 else
2236 if test -n "$CC"; then
2237 ac_cv_prog_CC="$CC" # Let the user override the test.
2238 else
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 for as_dir in $PATH
2241 do
2242 IFS=$as_save_IFS
2243 test -z "$as_dir" && as_dir=.
2244 for ac_exec_ext in '' $ac_executable_extensions; do
2245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2246 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 break 2
2249 fi
2250 done
2251 done
2252 IFS=$as_save_IFS
2253
2254 fi
2255 fi
2256 CC=$ac_cv_prog_CC
2257 if test -n "$CC"; then
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2259 $as_echo "$CC" >&6; }
2260 else
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2262 $as_echo "no" >&6; }
2263 fi
2264
2265
2266 fi
2267 if test -z "$ac_cv_prog_CC"; then
2268 ac_ct_CC=$CC
2269 # Extract the first word of "gcc", so it can be a program name with args.
2270 set dummy gcc; ac_word=$2
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2272 $as_echo_n "checking for $ac_word... " >&6; }
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2274 $as_echo_n "(cached) " >&6
2275 else
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2278 else
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 for as_dir in $PATH
2281 do
2282 IFS=$as_save_IFS
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_ac_ct_CC="gcc"
2287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 break 2
2289 fi
2290 done
2291 done
2292 IFS=$as_save_IFS
2293
2294 fi
2295 fi
2296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2299 $as_echo "$ac_ct_CC" >&6; }
2300 else
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2302 $as_echo "no" >&6; }
2303 fi
2304
2305 if test "x$ac_ct_CC" = x; then
2306 CC=""
2307 else
2308 case $cross_compiling:$ac_tool_warned in
2309 yes:)
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2312 ac_tool_warned=yes ;;
2313 esac
2314 CC=$ac_ct_CC
2315 fi
2316 else
2317 CC="$ac_cv_prog_CC"
2318 fi
2319
2320 if test -z "$CC"; then
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}cc; ac_word=$2
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2325 $as_echo_n "checking for $ac_word... " >&6; }
2326 if test "${ac_cv_prog_CC+set}" = set; then :
2327 $as_echo_n "(cached) " >&6
2328 else
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2334 do
2335 IFS=$as_save_IFS
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_CC="${ac_tool_prefix}cc"
2340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 break 2
2342 fi
2343 done
2344 done
2345 IFS=$as_save_IFS
2346
2347 fi
2348 fi
2349 CC=$ac_cv_prog_CC
2350 if test -n "$CC"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2352 $as_echo "$CC" >&6; }
2353 else
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2355 $as_echo "no" >&6; }
2356 fi
2357
2358
2359 fi
2360 fi
2361 if test -z "$CC"; then
2362 # Extract the first word of "cc", so it can be a program name with args.
2363 set dummy cc; ac_word=$2
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2365 $as_echo_n "checking for $ac_word... " >&6; }
2366 if test "${ac_cv_prog_CC+set}" = set; then :
2367 $as_echo_n "(cached) " >&6
2368 else
2369 if test -n "$CC"; then
2370 ac_cv_prog_CC="$CC" # Let the user override the test.
2371 else
2372 ac_prog_rejected=no
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 for as_dir in $PATH
2375 do
2376 IFS=$as_save_IFS
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2380 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2381 ac_prog_rejected=yes
2382 continue
2383 fi
2384 ac_cv_prog_CC="cc"
2385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 break 2
2387 fi
2388 done
2389 done
2390 IFS=$as_save_IFS
2391
2392 if test $ac_prog_rejected = yes; then
2393 # We found a bogon in the path, so make sure we never use it.
2394 set dummy $ac_cv_prog_CC
2395 shift
2396 if test $# != 0; then
2397 # We chose a different compiler from the bogus one.
2398 # However, it has the same basename, so the bogon will be chosen
2399 # first if we set CC to just the basename; use the full file name.
2400 shift
2401 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2402 fi
2403 fi
2404 fi
2405 fi
2406 CC=$ac_cv_prog_CC
2407 if test -n "$CC"; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2409 $as_echo "$CC" >&6; }
2410 else
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2412 $as_echo "no" >&6; }
2413 fi
2414
2415
2416 fi
2417 if test -z "$CC"; then
2418 if test -n "$ac_tool_prefix"; then
2419 for ac_prog in cl.exe
2420 do
2421 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2422 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2424 $as_echo_n "checking for $ac_word... " >&6; }
2425 if test "${ac_cv_prog_CC+set}" = set; then :
2426 $as_echo_n "(cached) " >&6
2427 else
2428 if test -n "$CC"; then
2429 ac_cv_prog_CC="$CC" # Let the user override the test.
2430 else
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 for as_dir in $PATH
2433 do
2434 IFS=$as_save_IFS
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 break 2
2441 fi
2442 done
2443 done
2444 IFS=$as_save_IFS
2445
2446 fi
2447 fi
2448 CC=$ac_cv_prog_CC
2449 if test -n "$CC"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2451 $as_echo "$CC" >&6; }
2452 else
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2454 $as_echo "no" >&6; }
2455 fi
2456
2457
2458 test -n "$CC" && break
2459 done
2460 fi
2461 if test -z "$CC"; then
2462 ac_ct_CC=$CC
2463 for ac_prog in cl.exe
2464 do
2465 # Extract the first word of "$ac_prog", so it can be a program name with args.
2466 set dummy $ac_prog; ac_word=$2
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2468 $as_echo_n "checking for $ac_word... " >&6; }
2469 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2470 $as_echo_n "(cached) " >&6
2471 else
2472 if test -n "$ac_ct_CC"; then
2473 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2477 do
2478 IFS=$as_save_IFS
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2482 ac_cv_prog_ac_ct_CC="$ac_prog"
2483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 break 2
2485 fi
2486 done
2487 done
2488 IFS=$as_save_IFS
2489
2490 fi
2491 fi
2492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2493 if test -n "$ac_ct_CC"; then
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2495 $as_echo "$ac_ct_CC" >&6; }
2496 else
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2498 $as_echo "no" >&6; }
2499 fi
2500
2501
2502 test -n "$ac_ct_CC" && break
2503 done
2504
2505 if test "x$ac_ct_CC" = x; then
2506 CC=""
2507 else
2508 case $cross_compiling:$ac_tool_warned in
2509 yes:)
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2512 ac_tool_warned=yes ;;
2513 esac
2514 CC=$ac_ct_CC
2515 fi
2516 fi
2517
2518 fi
2519
2520
2521 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2523 as_fn_error "no acceptable C compiler found in \$PATH
2524 See \`config.log' for more details." "$LINENO" 5; }
2525
2526 # Provide some information about the compiler.
2527 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2528 set X $ac_compile
2529 ac_compiler=$2
2530 for ac_option in --version -v -V -qversion; do
2531 { { ac_try="$ac_compiler $ac_option >&5"
2532 case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2539 ac_status=$?
2540 if test -s conftest.err; then
2541 sed '10a\
2542 ... rest of stderr output deleted ...
2543 10q' conftest.err >conftest.er1
2544 cat conftest.er1 >&5
2545 fi
2546 rm -f conftest.er1 conftest.err
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; }
2549 done
2550
2551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2552 /* end confdefs.h. */
2553
2554 int
2555 main ()
2556 {
2557
2558 ;
2559 return 0;
2560 }
2561 _ACEOF
2562 ac_clean_files_save=$ac_clean_files
2563 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2564 # Try to create an executable without -o first, disregard a.out.
2565 # It will help us diagnose broken compilers, and finding out an intuition
2566 # of exeext.
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2568 $as_echo_n "checking whether the C compiler works... " >&6; }
2569 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2570
2571 # The possible output files:
2572 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2573
2574 ac_rmfiles=
2575 for ac_file in $ac_files
2576 do
2577 case $ac_file in
2578 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2579 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2580 esac
2581 done
2582 rm -f $ac_rmfiles
2583
2584 if { { ac_try="$ac_link_default"
2585 case "(($ac_try" in
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2588 esac
2589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2590 $as_echo "$ac_try_echo"; } >&5
2591 (eval "$ac_link_default") 2>&5
2592 ac_status=$?
2593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2594 test $ac_status = 0; }; then :
2595 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2596 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2597 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2598 # so that the user can short-circuit this test for compilers unknown to
2599 # Autoconf.
2600 for ac_file in $ac_files ''
2601 do
2602 test -f "$ac_file" || continue
2603 case $ac_file in
2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2605 ;;
2606 [ab].out )
2607 # We found the default executable, but exeext='' is most
2608 # certainly right.
2609 break;;
2610 *.* )
2611 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2612 then :; else
2613 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2614 fi
2615 # We set ac_cv_exeext here because the later test for it is not
2616 # safe: cross compilers may not add the suffix if given an `-o'
2617 # argument, so we may need to know it at that point already.
2618 # Even if this section looks crufty: it has the advantage of
2619 # actually working.
2620 break;;
2621 * )
2622 break;;
2623 esac
2624 done
2625 test "$ac_cv_exeext" = no && ac_cv_exeext=
2626
2627 else
2628 ac_file=''
2629 fi
2630 if test -z "$ac_file"; then :
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2632 $as_echo "no" >&6; }
2633 $as_echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2635
2636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2638 { as_fn_set_status 77
2639 as_fn_error "C compiler cannot create executables
2640 See \`config.log' for more details." "$LINENO" 5; }; }
2641 else
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2643 $as_echo "yes" >&6; }
2644 fi
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2646 $as_echo_n "checking for C compiler default output file name... " >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2648 $as_echo "$ac_file" >&6; }
2649 ac_exeext=$ac_cv_exeext
2650
2651 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2652 ac_clean_files=$ac_clean_files_save
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2654 $as_echo_n "checking for suffix of executables... " >&6; }
2655 if { { ac_try="$ac_link"
2656 case "(($ac_try" in
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2659 esac
2660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2661 $as_echo "$ac_try_echo"; } >&5
2662 (eval "$ac_link") 2>&5
2663 ac_status=$?
2664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2665 test $ac_status = 0; }; then :
2666 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2667 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2668 # work properly (i.e., refer to `conftest.exe'), while it won't with
2669 # `rm'.
2670 for ac_file in conftest.exe conftest conftest.*; do
2671 test -f "$ac_file" || continue
2672 case $ac_file in
2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2674 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2675 break;;
2676 * ) break;;
2677 esac
2678 done
2679 else
2680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2682 as_fn_error "cannot compute suffix of executables: cannot compile and link
2683 See \`config.log' for more details." "$LINENO" 5; }
2684 fi
2685 rm -f conftest conftest$ac_cv_exeext
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2687 $as_echo "$ac_cv_exeext" >&6; }
2688
2689 rm -f conftest.$ac_ext
2690 EXEEXT=$ac_cv_exeext
2691 ac_exeext=$EXEEXT
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693 /* end confdefs.h. */
2694 #include <stdio.h>
2695 int
2696 main ()
2697 {
2698 FILE *f = fopen ("conftest.out", "w");
2699 return ferror (f) || fclose (f) != 0;
2700
2701 ;
2702 return 0;
2703 }
2704 _ACEOF
2705 ac_clean_files="$ac_clean_files conftest.out"
2706 # Check that the compiler produces executables we can run. If not, either
2707 # the compiler is broken, or we cross compile.
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2709 $as_echo_n "checking whether we are cross compiling... " >&6; }
2710 if test "$cross_compiling" != yes; then
2711 { { ac_try="$ac_link"
2712 case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_link") 2>&5
2719 ac_status=$?
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; }
2722 if { ac_try='./conftest$ac_cv_exeext'
2723 { { case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_try") 2>&5
2730 ac_status=$?
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; }; }; then
2733 cross_compiling=no
2734 else
2735 if test "$cross_compiling" = maybe; then
2736 cross_compiling=yes
2737 else
2738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 as_fn_error "cannot run C compiled programs.
2741 If you meant to cross compile, use \`--host'.
2742 See \`config.log' for more details." "$LINENO" 5; }
2743 fi
2744 fi
2745 fi
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2747 $as_echo "$cross_compiling" >&6; }
2748
2749 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2750 ac_clean_files=$ac_clean_files_save
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2752 $as_echo_n "checking for suffix of object files... " >&6; }
2753 if test "${ac_cv_objext+set}" = set; then :
2754 $as_echo_n "(cached) " >&6
2755 else
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2757 /* end confdefs.h. */
2758
2759 int
2760 main ()
2761 {
2762
2763 ;
2764 return 0;
2765 }
2766 _ACEOF
2767 rm -f conftest.o conftest.obj
2768 if { { ac_try="$ac_compile"
2769 case "(($ac_try" in
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2772 esac
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 $as_echo "$ac_try_echo"; } >&5
2775 (eval "$ac_compile") 2>&5
2776 ac_status=$?
2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; }; then :
2779 for ac_file in conftest.o conftest.obj conftest.*; do
2780 test -f "$ac_file" || continue;
2781 case $ac_file in
2782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2784 break;;
2785 esac
2786 done
2787 else
2788 $as_echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2790
2791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2793 as_fn_error "cannot compute suffix of object files: cannot compile
2794 See \`config.log' for more details." "$LINENO" 5; }
2795 fi
2796 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2797 fi
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2799 $as_echo "$ac_cv_objext" >&6; }
2800 OBJEXT=$ac_cv_objext
2801 ac_objext=$OBJEXT
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2803 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2804 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2805 $as_echo_n "(cached) " >&6
2806 else
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2808 /* end confdefs.h. */
2809
2810 int
2811 main ()
2812 {
2813 #ifndef __GNUC__
2814 choke me
2815 #endif
2816
2817 ;
2818 return 0;
2819 }
2820 _ACEOF
2821 if ac_fn_c_try_compile "$LINENO"; then :
2822 ac_compiler_gnu=yes
2823 else
2824 ac_compiler_gnu=no
2825 fi
2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2827 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2828
2829 fi
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2831 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2832 if test $ac_compiler_gnu = yes; then
2833 GCC=yes
2834 else
2835 GCC=
2836 fi
2837 ac_test_CFLAGS=${CFLAGS+set}
2838 ac_save_CFLAGS=$CFLAGS
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2840 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2841 if test "${ac_cv_prog_cc_g+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2843 else
2844 ac_save_c_werror_flag=$ac_c_werror_flag
2845 ac_c_werror_flag=yes
2846 ac_cv_prog_cc_g=no
2847 CFLAGS="-g"
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2850
2851 int
2852 main ()
2853 {
2854
2855 ;
2856 return 0;
2857 }
2858 _ACEOF
2859 if ac_fn_c_try_compile "$LINENO"; then :
2860 ac_cv_prog_cc_g=yes
2861 else
2862 CFLAGS=""
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2865
2866 int
2867 main ()
2868 {
2869
2870 ;
2871 return 0;
2872 }
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2875
2876 else
2877 ac_c_werror_flag=$ac_save_c_werror_flag
2878 CFLAGS="-g"
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2881
2882 int
2883 main ()
2884 {
2885
2886 ;
2887 return 0;
2888 }
2889 _ACEOF
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 ac_cv_prog_cc_g=yes
2892 fi
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2894 fi
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2896 fi
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 ac_c_werror_flag=$ac_save_c_werror_flag
2899 fi
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2901 $as_echo "$ac_cv_prog_cc_g" >&6; }
2902 if test "$ac_test_CFLAGS" = set; then
2903 CFLAGS=$ac_save_CFLAGS
2904 elif test $ac_cv_prog_cc_g = yes; then
2905 if test "$GCC" = yes; then
2906 CFLAGS="-g -O2"
2907 else
2908 CFLAGS="-g"
2909 fi
2910 else
2911 if test "$GCC" = yes; then
2912 CFLAGS="-O2"
2913 else
2914 CFLAGS=
2915 fi
2916 fi
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2919 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2920 $as_echo_n "(cached) " >&6
2921 else
2922 ac_cv_prog_cc_c89=no
2923 ac_save_CC=$CC
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2926 #include <stdarg.h>
2927 #include <stdio.h>
2928 #include <sys/types.h>
2929 #include <sys/stat.h>
2930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2931 struct buf { int x; };
2932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2933 static char *e (p, i)
2934 char **p;
2935 int i;
2936 {
2937 return p[i];
2938 }
2939 static char *f (char * (*g) (char **, int), char **p, ...)
2940 {
2941 char *s;
2942 va_list v;
2943 va_start (v,p);
2944 s = g (p, va_arg (v,int));
2945 va_end (v);
2946 return s;
2947 }
2948
2949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2950 function prototypes and stuff, but not '\xHH' hex character constants.
2951 These don't provoke an error unfortunately, instead are silently treated
2952 as 'x'. The following induces an error, until -std is added to get
2953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2954 array size at least. It's necessary to write '\x00'==0 to get something
2955 that's true only with -std. */
2956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2957
2958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2959 inside strings and character constants. */
2960 #define FOO(x) 'x'
2961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2962
2963 int test (int i, double x);
2964 struct s1 {int (*f) (int a);};
2965 struct s2 {int (*f) (double a);};
2966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2967 int argc;
2968 char **argv;
2969 int
2970 main ()
2971 {
2972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2973 ;
2974 return 0;
2975 }
2976 _ACEOF
2977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2979 do
2980 CC="$ac_save_CC $ac_arg"
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 ac_cv_prog_cc_c89=$ac_arg
2983 fi
2984 rm -f core conftest.err conftest.$ac_objext
2985 test "x$ac_cv_prog_cc_c89" != "xno" && break
2986 done
2987 rm -f conftest.$ac_ext
2988 CC=$ac_save_CC
2989
2990 fi
2991 # AC_CACHE_VAL
2992 case "x$ac_cv_prog_cc_c89" in
2993 x)
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2995 $as_echo "none needed" >&6; } ;;
2996 xno)
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2998 $as_echo "unsupported" >&6; } ;;
2999 *)
3000 CC="$CC $ac_cv_prog_cc_c89"
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3003 esac
3004 if test "x$ac_cv_prog_cc_c89" != xno; then :
3005
3006 fi
3007
3008 ac_ext=cpp
3009 ac_cpp='$CXXCPP $CPPFLAGS'
3010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3013
3014 ac_ext=cpp
3015 ac_cpp='$CXXCPP $CPPFLAGS'
3016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3019 if test -z "$CXX"; then
3020 if test -n "$CCC"; then
3021 CXX=$CCC
3022 else
3023 if test -n "$ac_tool_prefix"; then
3024 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3025 do
3026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if test "${ac_cv_prog_CXX+set}" = set; then :
3031 $as_echo_n "(cached) " >&6
3032 else
3033 if test -n "$CXX"; then
3034 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3035 else
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH
3038 do
3039 IFS=$as_save_IFS
3040 test -z "$as_dir" && as_dir=.
3041 for ac_exec_ext in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 break 2
3046 fi
3047 done
3048 done
3049 IFS=$as_save_IFS
3050
3051 fi
3052 fi
3053 CXX=$ac_cv_prog_CXX
3054 if test -n "$CXX"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3056 $as_echo "$CXX" >&6; }
3057 else
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3059 $as_echo "no" >&6; }
3060 fi
3061
3062
3063 test -n "$CXX" && break
3064 done
3065 fi
3066 if test -z "$CXX"; then
3067 ac_ct_CXX=$CXX
3068 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3069 do
3070 # Extract the first word of "$ac_prog", so it can be a program name with args.
3071 set dummy $ac_prog; ac_word=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3075 $as_echo_n "(cached) " >&6
3076 else
3077 if test -n "$ac_ct_CXX"; then
3078 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3079 else
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3082 do
3083 IFS=$as_save_IFS
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_prog_ac_ct_CXX="$ac_prog"
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 break 2
3090 fi
3091 done
3092 done
3093 IFS=$as_save_IFS
3094
3095 fi
3096 fi
3097 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3098 if test -n "$ac_ct_CXX"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3100 $as_echo "$ac_ct_CXX" >&6; }
3101 else
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3104 fi
3105
3106
3107 test -n "$ac_ct_CXX" && break
3108 done
3109
3110 if test "x$ac_ct_CXX" = x; then
3111 CXX="g++"
3112 else
3113 case $cross_compiling:$ac_tool_warned in
3114 yes:)
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3117 ac_tool_warned=yes ;;
3118 esac
3119 CXX=$ac_ct_CXX
3120 fi
3121 fi
3122
3123 fi
3124 fi
3125 # Provide some information about the compiler.
3126 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3127 set X $ac_compile
3128 ac_compiler=$2
3129 for ac_option in --version -v -V -qversion; do
3130 { { ac_try="$ac_compiler $ac_option >&5"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136 $as_echo "$ac_try_echo"; } >&5
3137 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3138 ac_status=$?
3139 if test -s conftest.err; then
3140 sed '10a\
3141 ... rest of stderr output deleted ...
3142 10q' conftest.err >conftest.er1
3143 cat conftest.er1 >&5
3144 fi
3145 rm -f conftest.er1 conftest.err
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; }
3148 done
3149
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3151 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3152 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3153 $as_echo_n "(cached) " >&6
3154 else
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3157
3158 int
3159 main ()
3160 {
3161 #ifndef __GNUC__
3162 choke me
3163 #endif
3164
3165 ;
3166 return 0;
3167 }
3168 _ACEOF
3169 if ac_fn_cxx_try_compile "$LINENO"; then :
3170 ac_compiler_gnu=yes
3171 else
3172 ac_compiler_gnu=no
3173 fi
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3176
3177 fi
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3179 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3180 if test $ac_compiler_gnu = yes; then
3181 GXX=yes
3182 else
3183 GXX=
3184 fi
3185 ac_test_CXXFLAGS=${CXXFLAGS+set}
3186 ac_save_CXXFLAGS=$CXXFLAGS
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3188 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3189 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3191 else
3192 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3193 ac_cxx_werror_flag=yes
3194 ac_cv_prog_cxx_g=no
3195 CXXFLAGS="-g"
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3198
3199 int
3200 main ()
3201 {
3202
3203 ;
3204 return 0;
3205 }
3206 _ACEOF
3207 if ac_fn_cxx_try_compile "$LINENO"; then :
3208 ac_cv_prog_cxx_g=yes
3209 else
3210 CXXFLAGS=""
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3213
3214 int
3215 main ()
3216 {
3217
3218 ;
3219 return 0;
3220 }
3221 _ACEOF
3222 if ac_fn_cxx_try_compile "$LINENO"; then :
3223
3224 else
3225 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3226 CXXFLAGS="-g"
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3229
3230 int
3231 main ()
3232 {
3233
3234 ;
3235 return 0;
3236 }
3237 _ACEOF
3238 if ac_fn_cxx_try_compile "$LINENO"; then :
3239 ac_cv_prog_cxx_g=yes
3240 fi
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 fi
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3244 fi
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3246 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3247 fi
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3249 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3250 if test "$ac_test_CXXFLAGS" = set; then
3251 CXXFLAGS=$ac_save_CXXFLAGS
3252 elif test $ac_cv_prog_cxx_g = yes; then
3253 if test "$GXX" = yes; then
3254 CXXFLAGS="-g -O2"
3255 else
3256 CXXFLAGS="-g"
3257 fi
3258 else
3259 if test "$GXX" = yes; then
3260 CXXFLAGS="-O2"
3261 else
3262 CXXFLAGS=
3263 fi
3264 fi
3265 ac_ext=cpp
3266 ac_cpp='$CXXCPP $CPPFLAGS'
3267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3270
3271 ac_aux_dir=
3272 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3273 for ac_t in install-sh install.sh shtool; do
3274 if test -f "$ac_dir/$ac_t"; then
3275 ac_aux_dir=$ac_dir
3276 ac_install_sh="$ac_aux_dir/$ac_t -c"
3277 break 2
3278 fi
3279 done
3280 done
3281 if test -z "$ac_aux_dir"; then
3282 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3283 fi
3284
3285 # These three variables are undocumented and unsupported,
3286 # and are intended to be withdrawn in a future Autoconf release.
3287 # They can cause serious problems if a builder's source tree is in a directory
3288 # whose full name contains unusual characters.
3289 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3290 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3291 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3292
3293
3294 # Find a good install program. We prefer a C program (faster),
3295 # so one script is as good as another. But avoid the broken or
3296 # incompatible versions:
3297 # SysV /etc/install, /usr/sbin/install
3298 # SunOS /usr/etc/install
3299 # IRIX /sbin/install
3300 # AIX /bin/install
3301 # AmigaOS /C/install, which installs bootblocks on floppy discs
3302 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3303 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3304 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3305 # OS/2's system install, which has a completely different semantic
3306 # ./install, which can be erroneously created by make from ./install.sh.
3307 # Reject install programs that cannot install multiple files.
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3309 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3310 if test -z "$INSTALL"; then
3311 if test "${ac_cv_path_install+set}" = set; then :
3312 $as_echo_n "(cached) " >&6
3313 else
3314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 for as_dir in $PATH
3316 do
3317 IFS=$as_save_IFS
3318 test -z "$as_dir" && as_dir=.
3319 # Account for people who put trailing slashes in PATH elements.
3320 case $as_dir/ in #((
3321 ./ | .// | /[cC]/* | \
3322 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3323 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3324 /usr/ucb/* ) ;;
3325 *)
3326 # OSF1 and SCO ODT 3.0 have their own names for install.
3327 # Don't use installbsd from OSF since it installs stuff as root
3328 # by default.
3329 for ac_prog in ginstall scoinst install; do
3330 for ac_exec_ext in '' $ac_executable_extensions; do
3331 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3332 if test $ac_prog = install &&
3333 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3334 # AIX install. It has an incompatible calling convention.
3335 :
3336 elif test $ac_prog = install &&
3337 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3338 # program-specific install script used by HP pwplus--don't use.
3339 :
3340 else
3341 rm -rf conftest.one conftest.two conftest.dir
3342 echo one > conftest.one
3343 echo two > conftest.two
3344 mkdir conftest.dir
3345 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3346 test -s conftest.one && test -s conftest.two &&
3347 test -s conftest.dir/conftest.one &&
3348 test -s conftest.dir/conftest.two
3349 then
3350 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3351 break 3
3352 fi
3353 fi
3354 fi
3355 done
3356 done
3357 ;;
3358 esac
3359
3360 done
3361 IFS=$as_save_IFS
3362
3363 rm -rf conftest.one conftest.two conftest.dir
3364
3365 fi
3366 if test "${ac_cv_path_install+set}" = set; then
3367 INSTALL=$ac_cv_path_install
3368 else
3369 # As a last resort, use the slow shell script. Don't cache a
3370 # value for INSTALL within a source directory, because that will
3371 # break other packages using the cache if that directory is
3372 # removed, or if the value is a relative name.
3373 INSTALL=$ac_install_sh
3374 fi
3375 fi
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3377 $as_echo "$INSTALL" >&6; }
3378
3379 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3380 # It thinks the first close brace ends the variable substitution.
3381 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3382
3383 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3384
3385 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3386
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3388 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3389 if test -z "$MKDIR_P"; then
3390 if test "${ac_cv_path_mkdir+set}" = set; then :
3391 $as_echo_n "(cached) " >&6
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3395 do
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_prog in mkdir gmkdir; do
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3401 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3402 'mkdir (GNU coreutils) '* | \
3403 'mkdir (coreutils) '* | \
3404 'mkdir (fileutils) '4.1*)
3405 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3406 break 3;;
3407 esac
3408 done
3409 done
3410 done
3411 IFS=$as_save_IFS
3412
3413 fi
3414
3415 test -d ./--version && rmdir ./--version
3416 if test "${ac_cv_path_mkdir+set}" = set; then
3417 MKDIR_P="$ac_cv_path_mkdir -p"
3418 else
3419 # As a last resort, use the slow shell script. Don't cache a
3420 # value for MKDIR_P within a source directory, because that will
3421 # break other packages using the cache if that directory is
3422 # removed, or if the value is a relative name.
3423 MKDIR_P="$ac_install_sh -d"
3424 fi
3425 fi
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3427 $as_echo "$MKDIR_P" >&6; }
3428
3429
3430
3431 ac_ext=cpp
3432 ac_cpp='$CXXCPP $CPPFLAGS'
3433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3437 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3438 if test -z "$CXXCPP"; then
3439 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
3440 $as_echo_n "(cached) " >&6
3441 else
3442 # Double quotes because CXXCPP needs to be expanded
3443 for CXXCPP in "$CXX -E" "/lib/cpp"
3444 do
3445 ac_preproc_ok=false
3446 for ac_cxx_preproc_warn_flag in '' yes
3447 do
3448 # Use a header file that comes with gcc, so configuring glibc
3449 # with a fresh cross-compiler works.
3450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3451 # <limits.h> exists even on freestanding compilers.
3452 # On the NeXT, cc -E runs the code through the compiler's parser,
3453 # not just through cpp. "Syntax error" is here to catch this case.
3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3455 /* end confdefs.h. */
3456 #ifdef __STDC__
3457 # include <limits.h>
3458 #else
3459 # include <assert.h>
3460 #endif
3461 Syntax error
3462 _ACEOF
3463 if ac_fn_cxx_try_cpp "$LINENO"; then :
3464
3465 else
3466 # Broken: fails on valid input.
3467 continue
3468 fi
3469 rm -f conftest.err conftest.$ac_ext
3470
3471 # OK, works on sane cases. Now check whether nonexistent headers
3472 # can be detected and how.
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3475 #include <ac_nonexistent.h>
3476 _ACEOF
3477 if ac_fn_cxx_try_cpp "$LINENO"; then :
3478 # Broken: success on invalid input.
3479 continue
3480 else
3481 # Passes both tests.
3482 ac_preproc_ok=:
3483 break
3484 fi
3485 rm -f conftest.err conftest.$ac_ext
3486
3487 done
3488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3489 rm -f conftest.err conftest.$ac_ext
3490 if $ac_preproc_ok; then :
3491 break
3492 fi
3493
3494 done
3495 ac_cv_prog_CXXCPP=$CXXCPP
3496
3497 fi
3498 CXXCPP=$ac_cv_prog_CXXCPP
3499 else
3500 ac_cv_prog_CXXCPP=$CXXCPP
3501 fi
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
3503 $as_echo "$CXXCPP" >&6; }
3504 ac_preproc_ok=false
3505 for ac_cxx_preproc_warn_flag in '' yes
3506 do
3507 # Use a header file that comes with gcc, so configuring glibc
3508 # with a fresh cross-compiler works.
3509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3510 # <limits.h> exists even on freestanding compilers.
3511 # On the NeXT, cc -E runs the code through the compiler's parser,
3512 # not just through cpp. "Syntax error" is here to catch this case.
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3515 #ifdef __STDC__
3516 # include <limits.h>
3517 #else
3518 # include <assert.h>
3519 #endif
3520 Syntax error
3521 _ACEOF
3522 if ac_fn_cxx_try_cpp "$LINENO"; then :
3523
3524 else
3525 # Broken: fails on valid input.
3526 continue
3527 fi
3528 rm -f conftest.err conftest.$ac_ext
3529
3530 # OK, works on sane cases. Now check whether nonexistent headers
3531 # can be detected and how.
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3534 #include <ac_nonexistent.h>
3535 _ACEOF
3536 if ac_fn_cxx_try_cpp "$LINENO"; then :
3537 # Broken: success on invalid input.
3538 continue
3539 else
3540 # Passes both tests.
3541 ac_preproc_ok=:
3542 break
3543 fi
3544 rm -f conftest.err conftest.$ac_ext
3545
3546 done
3547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3548 rm -f conftest.err conftest.$ac_ext
3549 if $ac_preproc_ok; then :
3550
3551 else
3552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3554 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
3555 See \`config.log' for more details." "$LINENO" 5; }
3556 fi
3557
3558 ac_ext=cpp
3559 ac_cpp='$CXXCPP $CPPFLAGS'
3560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3563
3564
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3566 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3567 if test "${ac_cv_path_GREP+set}" = set; then :
3568 $as_echo_n "(cached) " >&6
3569 else
3570 if test -z "$GREP"; then
3571 ac_path_GREP_found=false
3572 # Loop through the user's path and test for each of PROGNAME-LIST
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3575 do
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_prog in grep ggrep; do
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3581 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3582 # Check for GNU ac_path_GREP and select it if it is found.
3583 # Check for GNU $ac_path_GREP
3584 case `"$ac_path_GREP" --version 2>&1` in
3585 *GNU*)
3586 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3587 *)
3588 ac_count=0
3589 $as_echo_n 0123456789 >"conftest.in"
3590 while :
3591 do
3592 cat "conftest.in" "conftest.in" >"conftest.tmp"
3593 mv "conftest.tmp" "conftest.in"
3594 cp "conftest.in" "conftest.nl"
3595 $as_echo 'GREP' >> "conftest.nl"
3596 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3598 as_fn_arith $ac_count + 1 && ac_count=$as_val
3599 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3600 # Best one so far, save it but keep looking for a better one
3601 ac_cv_path_GREP="$ac_path_GREP"
3602 ac_path_GREP_max=$ac_count
3603 fi
3604 # 10*(2^10) chars as input seems more than enough
3605 test $ac_count -gt 10 && break
3606 done
3607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3608 esac
3609
3610 $ac_path_GREP_found && break 3
3611 done
3612 done
3613 done
3614 IFS=$as_save_IFS
3615 if test -z "$ac_cv_path_GREP"; then
3616 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3617 fi
3618 else
3619 ac_cv_path_GREP=$GREP
3620 fi
3621
3622 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3624 $as_echo "$ac_cv_path_GREP" >&6; }
3625 GREP="$ac_cv_path_GREP"
3626
3627
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3629 $as_echo_n "checking for egrep... " >&6; }
3630 if test "${ac_cv_path_EGREP+set}" = set; then :
3631 $as_echo_n "(cached) " >&6
3632 else
3633 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3634 then ac_cv_path_EGREP="$GREP -E"
3635 else
3636 if test -z "$EGREP"; then
3637 ac_path_EGREP_found=false
3638 # Loop through the user's path and test for each of PROGNAME-LIST
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3641 do
3642 IFS=$as_save_IFS
3643 test -z "$as_dir" && as_dir=.
3644 for ac_prog in egrep; do
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3647 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3648 # Check for GNU ac_path_EGREP and select it if it is found.
3649 # Check for GNU $ac_path_EGREP
3650 case `"$ac_path_EGREP" --version 2>&1` in
3651 *GNU*)
3652 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3653 *)
3654 ac_count=0
3655 $as_echo_n 0123456789 >"conftest.in"
3656 while :
3657 do
3658 cat "conftest.in" "conftest.in" >"conftest.tmp"
3659 mv "conftest.tmp" "conftest.in"
3660 cp "conftest.in" "conftest.nl"
3661 $as_echo 'EGREP' >> "conftest.nl"
3662 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3663 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3664 as_fn_arith $ac_count + 1 && ac_count=$as_val
3665 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3666 # Best one so far, save it but keep looking for a better one
3667 ac_cv_path_EGREP="$ac_path_EGREP"
3668 ac_path_EGREP_max=$ac_count
3669 fi
3670 # 10*(2^10) chars as input seems more than enough
3671 test $ac_count -gt 10 && break
3672 done
3673 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3674 esac
3675
3676 $ac_path_EGREP_found && break 3
3677 done
3678 done
3679 done
3680 IFS=$as_save_IFS
3681 if test -z "$ac_cv_path_EGREP"; then
3682 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3683 fi
3684 else
3685 ac_cv_path_EGREP=$EGREP
3686 fi
3687
3688 fi
3689 fi
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3691 $as_echo "$ac_cv_path_EGREP" >&6; }
3692 EGREP="$ac_cv_path_EGREP"
3693
3694
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3696 $as_echo_n "checking for ANSI C header files... " >&6; }
3697 if test "${ac_cv_header_stdc+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3699 else
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3702 #include <stdlib.h>
3703 #include <stdarg.h>
3704 #include <string.h>
3705 #include <float.h>
3706
3707 int
3708 main ()
3709 {
3710
3711 ;
3712 return 0;
3713 }
3714 _ACEOF
3715 if ac_fn_cxx_try_compile "$LINENO"; then :
3716 ac_cv_header_stdc=yes
3717 else
3718 ac_cv_header_stdc=no
3719 fi
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721
3722 if test $ac_cv_header_stdc = yes; then
3723 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3726 #include <string.h>
3727
3728 _ACEOF
3729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3730 $EGREP "memchr" >/dev/null 2>&1; then :
3731
3732 else
3733 ac_cv_header_stdc=no
3734 fi
3735 rm -f conftest*
3736
3737 fi
3738
3739 if test $ac_cv_header_stdc = yes; then
3740 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3742 /* end confdefs.h. */
3743 #include <stdlib.h>
3744
3745 _ACEOF
3746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3747 $EGREP "free" >/dev/null 2>&1; then :
3748
3749 else
3750 ac_cv_header_stdc=no
3751 fi
3752 rm -f conftest*
3753
3754 fi
3755
3756 if test $ac_cv_header_stdc = yes; then
3757 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3758 if test "$cross_compiling" = yes; then :
3759 :
3760 else
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3763 #include <ctype.h>
3764 #include <stdlib.h>
3765 #if ((' ' & 0x0FF) == 0x020)
3766 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3767 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3768 #else
3769 # define ISLOWER(c) \
3770 (('a' <= (c) && (c) <= 'i') \
3771 || ('j' <= (c) && (c) <= 'r') \
3772 || ('s' <= (c) && (c) <= 'z'))
3773 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3774 #endif
3775
3776 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3777 int
3778 main ()
3779 {
3780 int i;
3781 for (i = 0; i < 256; i++)
3782 if (XOR (islower (i), ISLOWER (i))
3783 || toupper (i) != TOUPPER (i))
3784 return 2;
3785 return 0;
3786 }
3787 _ACEOF
3788 if ac_fn_cxx_try_run "$LINENO"; then :
3789
3790 else
3791 ac_cv_header_stdc=no
3792 fi
3793 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3794 conftest.$ac_objext conftest.beam conftest.$ac_ext
3795 fi
3796
3797 fi
3798 fi
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3800 $as_echo "$ac_cv_header_stdc" >&6; }
3801 if test $ac_cv_header_stdc = yes; then
3802
3803 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3804
3805 fi
3806
3807
3808 # These are the flags Autoconf guesses for us; we use them later if
3809 # the user has set none and we are not using GCC (so lack our own
3810 # preferred flags)
3811 AUTOCONF_CXXFLAGS="$CXXFLAGS"
3812
3813
3814
3815 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3816 if test -n "$ac_tool_prefix"; then
3817 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3818 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820 $as_echo_n "checking for $ac_word... " >&6; }
3821 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
3822 $as_echo_n "(cached) " >&6
3823 else
3824 case $PKG_CONFIG in
3825 [\\/]* | ?:[\\/]*)
3826 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3827 ;;
3828 *)
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 for as_dir in $PATH
3831 do
3832 IFS=$as_save_IFS
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3836 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 break 2
3839 fi
3840 done
3841 done
3842 IFS=$as_save_IFS
3843
3844 ;;
3845 esac
3846 fi
3847 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3848 if test -n "$PKG_CONFIG"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3850 $as_echo "$PKG_CONFIG" >&6; }
3851 else
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3854 fi
3855
3856
3857 fi
3858 if test -z "$ac_cv_path_PKG_CONFIG"; then
3859 ac_pt_PKG_CONFIG=$PKG_CONFIG
3860 # Extract the first word of "pkg-config", so it can be a program name with args.
3861 set dummy pkg-config; ac_word=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
3865 $as_echo_n "(cached) " >&6
3866 else
3867 case $ac_pt_PKG_CONFIG in
3868 [\\/]* | ?:[\\/]*)
3869 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3870 ;;
3871 *)
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in $PATH
3874 do
3875 IFS=$as_save_IFS
3876 test -z "$as_dir" && as_dir=.
3877 for ac_exec_ext in '' $ac_executable_extensions; do
3878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3879 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3881 break 2
3882 fi
3883 done
3884 done
3885 IFS=$as_save_IFS
3886
3887 ;;
3888 esac
3889 fi
3890 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3891 if test -n "$ac_pt_PKG_CONFIG"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3893 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3894 else
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3897 fi
3898
3899 if test "x$ac_pt_PKG_CONFIG" = x; then
3900 PKG_CONFIG=""
3901 else
3902 case $cross_compiling:$ac_tool_warned in
3903 yes:)
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3906 ac_tool_warned=yes ;;
3907 esac
3908 PKG_CONFIG=$ac_pt_PKG_CONFIG
3909 fi
3910 else
3911 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3912 fi
3913
3914 fi
3915 if test -n "$PKG_CONFIG"; then
3916 _pkg_min_version=0.9.0
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3918 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3919 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3921 $as_echo "yes" >&6; }
3922 else
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3925 PKG_CONFIG=""
3926 fi
3927
3928 fi
3929
3930
3931
3932
3933 if test x$QMAKE = x ; then
3934 # Extract the first word of "qmake-qt4", so it can be a program name with args.
3935 set dummy qmake-qt4; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if test "${ac_cv_prog_QMAKE+set}" = set; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$QMAKE"; then
3942 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
3943 else
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945 for as_dir in $QTDIR/bin/
3946 do
3947 IFS=$as_save_IFS
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt4"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 break 2
3954 fi
3955 done
3956 done
3957 IFS=$as_save_IFS
3958
3959 fi
3960 fi
3961 QMAKE=$ac_cv_prog_QMAKE
3962 if test -n "$QMAKE"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
3964 $as_echo "$QMAKE" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3968 fi
3969
3970
3971 fi
3972 if test x$QMAKE = x ; then
3973 # Extract the first word of "qmake", so it can be a program name with args.
3974 set dummy qmake; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if test "${ac_cv_prog_QMAKE+set}" = set; then :
3978 $as_echo_n "(cached) " >&6
3979 else
3980 if test -n "$QMAKE"; then
3981 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
3982 else
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3984 for as_dir in $QTDIR/bin/
3985 do
3986 IFS=$as_save_IFS
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 ac_cv_prog_QMAKE="$QTDIR/bin/qmake"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 break 2
3993 fi
3994 done
3995 done
3996 IFS=$as_save_IFS
3997
3998 fi
3999 fi
4000 QMAKE=$ac_cv_prog_QMAKE
4001 if test -n "$QMAKE"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
4003 $as_echo "$QMAKE" >&6; }
4004 else
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4007 fi
4008
4009
4010 fi
4011 if test x$QMAKE = x ; then
4012 # Extract the first word of "qmake.exe", so it can be a program name with args.
4013 set dummy qmake.exe; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if test "${ac_cv_prog_QMAKE+set}" = set; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -n "$QMAKE"; then
4020 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $QTDIR/bin/
4024 do
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4029 ac_cv_prog_QMAKE="$QTDIR/bin/qmake.exe"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4032 fi
4033 done
4034 done
4035 IFS=$as_save_IFS
4036
4037 fi
4038 fi
4039 QMAKE=$ac_cv_prog_QMAKE
4040 if test -n "$QMAKE"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
4042 $as_echo "$QMAKE" >&6; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4046 fi
4047
4048
4049 fi
4050 if test x$QMAKE = x ; then
4051 # Extract the first word of "qmake-qt4", so it can be a program name with args.
4052 set dummy qmake-qt4; ac_word=$2
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4054 $as_echo_n "checking for $ac_word... " >&6; }
4055 if test "${ac_cv_prog_QMAKE+set}" = set; then :
4056 $as_echo_n "(cached) " >&6
4057 else
4058 if test -n "$QMAKE"; then
4059 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
4060 else
4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062 for as_dir in $PATH
4063 do
4064 IFS=$as_save_IFS
4065 test -z "$as_dir" && as_dir=.
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4068 ac_cv_prog_QMAKE="qmake-qt4"
4069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4070 break 2
4071 fi
4072 done
4073 done
4074 IFS=$as_save_IFS
4075
4076 fi
4077 fi
4078 QMAKE=$ac_cv_prog_QMAKE
4079 if test -n "$QMAKE"; then
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
4081 $as_echo "$QMAKE" >&6; }
4082 else
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4084 $as_echo "no" >&6; }
4085 fi
4086
4087
4088 fi
4089 if test x$QMAKE = x ; then
4090 # Extract the first word of "qmake", so it can be a program name with args.
4091 set dummy qmake; ac_word=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if test "${ac_cv_prog_QMAKE+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 if test -n "$QMAKE"; then
4098 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
4099 else
4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 for as_dir in $PATH
4102 do
4103 IFS=$as_save_IFS
4104 test -z "$as_dir" && as_dir=.
4105 for ac_exec_ext in '' $ac_executable_extensions; do
4106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4107 ac_cv_prog_QMAKE="qmake"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 break 2
4110 fi
4111 done
4112 done
4113 IFS=$as_save_IFS
4114
4115 fi
4116 fi
4117 QMAKE=$ac_cv_prog_QMAKE
4118 if test -n "$QMAKE"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5
4120 $as_echo "$QMAKE" >&6; }
4121 else
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4124 fi
4125
4126
4127 fi
4128 if test x$QMAKE = x ; then
4129 as_fn_error "
4130 Failed to find the required qmake-qt4 or qmake program. Please
4131 ensure you have the necessary Qt4 development files installed, and
4132 if necessary set QTDIR to the location of your Qt4 installation.
4133 " "$LINENO" 5
4134 fi
4135
4136 # Suitable versions of qmake should print out something like:
4137 #
4138 # QMake version 2.01a
4139 # Using Qt version 4.6.3 in /usr/lib
4140 #
4141 # This may be translated, so we check only for the numbers (2.x and 4.x
4142 # in that order).
4143 #
4144 QMAKE_VERSION_OUTPUT=`$QMAKE -v`
4145 case "$QMAKE_VERSION_OUTPUT" in
4146 *2.*4.*) ;;
4147 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
4148 *** The version of qmake found in \"$QMAKE\" looks like it might be
4149 from the wrong version of Qt (Qt4 is required). Please check
4150 that this is the correct version of qmake for Qt4 builds.
4151 " >&5
4152 $as_echo "$as_me: WARNING:
4153 *** The version of qmake found in \"$QMAKE\" looks like it might be
4154 from the wrong version of Qt (Qt4 is required). Please check
4155 that this is the correct version of qmake for Qt4 builds.
4156 " >&2;}
4157 esac
4158
4159 case "`uname`" in
4160 *Darwin*) QMAKE="$QMAKE -spec macx-g++";;
4161 esac
4162
4163
4164
4165 SV_DEFINES_DEBUG="-DDEBUG -DBUILD_DEBUG -DWANT_TIMING"
4166 SV_DEFINES_RELEASE="-DNDEBUG -DBUILD_RELEASE -DNO_TIMING"
4167 SV_DEFINES_MINIMAL="$SV_DEFINES_RELEASE"
4168
4169 # Now we have: USER_CXXFLAGS contains any flags the user set
4170 # explicitly; AUTOCONF_CXXFLAGS contains flags that Autoconf thought
4171 # we should use. If we have GCC, we override the latter but then
4172 # allow ourselves to be overridden (later) by the former
4173
4174 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS"
4175 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS"
4176 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
4177
4178 if test "x$GCC" = "xyes"; then
4179 CXXFLAGS_DEBUG="-Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe"
4180 CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe"
4181 CXXFLAGS_MINIMAL="-g0 -O0"
4182 fi
4183
4184 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE"
4185 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE"
4186
4187 QMAKE_CONFIG="release"
4188
4189 # Check whether --enable-debug was given.
4190 if test "${enable_debug+set}" = set; then :
4191 enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: enabling debug build" >&5
4192 $as_echo "$as_me: enabling debug build" >&6;}
4193 QMAKE_CONFIG="debug"
4194 CXXFLAGS_BUILD="$CXXFLAGS_DEBUG"
4195 SV_DEFINES_BUILD="$SV_DEFINES_DEBUG"
4196 fi
4197
4198
4199 if test x"$USER_CXXFLAGS" != x; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&5
4201 $as_echo "$as_me: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&6;}
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: Overriding default compiler flags with the above user setting." >&5
4203 $as_echo "$as_me: Overriding default compiler flags with the above user setting." >&6;}
4204 CXXFLAGS_BUILD="$USER_CXXFLAGS"
4205 CXXFLAGS_MINIMAL="$USER_CXXFLAGS"
4206 fi
4207
4208 CXXFLAGS="$CXXFLAGS_BUILD $SV_DEFINES_BUILD"
4209
4210 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4211 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4212 inttypes.h stdint.h unistd.h
4213 do :
4214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4215 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4216 "
4217 eval as_val=\$$as_ac_Header
4218 if test "x$as_val" = x""yes; then :
4219 cat >>confdefs.h <<_ACEOF
4220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4221 _ACEOF
4222
4223 fi
4224
4225 done
4226
4227
4228
4229 SV_MODULE_MODULE=bz2
4230 SV_MODULE_VERSION_TEST=""
4231 SV_MODULE_HEADER=bzlib.h
4232 SV_MODULE_LIB=bz2
4233 SV_MODULE_FUNC=BZ2_bzReadOpen
4234 SV_MODULE_HAVE=HAVE_$(echo bz2 | tr 'a-z' 'A-Z')
4235 SV_MODULE_FAILED=1
4236 if test -z "$SV_MODULE_VERSION_TEST" ; then
4237 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
4238 fi
4239 if test -n "$PKG_CONFIG"; then
4240
4241 pkg_failed=no
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bz2" >&5
4243 $as_echo_n "checking for bz2... " >&6; }
4244
4245 if test -n "$PKG_CONFIG"; then
4246 if test -n "$bz2_CFLAGS"; then
4247 pkg_cv_bz2_CFLAGS="$bz2_CFLAGS"
4248 else
4249 if test -n "$PKG_CONFIG" && \
4250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4251 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4252 ac_status=$?
4253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4254 test $ac_status = 0; }; then
4255 pkg_cv_bz2_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4256 else
4257 pkg_failed=yes
4258 fi
4259 fi
4260 else
4261 pkg_failed=untried
4262 fi
4263 if test -n "$PKG_CONFIG"; then
4264 if test -n "$bz2_LIBS"; then
4265 pkg_cv_bz2_LIBS="$bz2_LIBS"
4266 else
4267 if test -n "$PKG_CONFIG" && \
4268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4269 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4270 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }; then
4273 pkg_cv_bz2_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4274 else
4275 pkg_failed=yes
4276 fi
4277 fi
4278 else
4279 pkg_failed=untried
4280 fi
4281
4282
4283
4284 if test $pkg_failed = yes; then
4285
4286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4287 _pkg_short_errors_supported=yes
4288 else
4289 _pkg_short_errors_supported=no
4290 fi
4291 if test $_pkg_short_errors_supported = yes; then
4292 bz2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4293 else
4294 bz2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4295 fi
4296 # Put the nasty error message in config.log where it belongs
4297 echo "$bz2_PKG_ERRORS" >&5
4298
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4302 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4303 elif test $pkg_failed = untried; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4305 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4306 else
4307 bz2_CFLAGS=$pkg_cv_bz2_CFLAGS
4308 bz2_LIBS=$pkg_cv_bz2_LIBS
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4310 $as_echo "yes" >&6; }
4311 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $bz2_CFLAGS";LIBS="$LIBS $bz2_LIBS";SV_MODULE_FAILED=""
4312 fi
4313 fi
4314 if test -n "$SV_MODULE_FAILED"; then
4315 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
4316 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
4317 eval as_val=\$$as_ac_Header
4318 if test "x$as_val" = x""yes; then :
4319 HAVES="$HAVES $SV_MODULE_HAVE"
4320 else
4321 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
4322 fi
4323
4324
4325 if test -n "$SV_MODULE_LIB"; then
4326 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4328 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4329 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
4330 $as_echo_n "(cached) " >&6
4331 else
4332 ac_check_lib_save_LIBS=$LIBS
4333 LIBS="-l$SV_MODULE_LIB $LIBS"
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4336
4337 /* Override any GCC internal prototype to avoid an error.
4338 Use char because int might match the return type of a GCC
4339 builtin and then its argument prototype would still apply. */
4340 #ifdef __cplusplus
4341 extern "C"
4342 #endif
4343 char $SV_MODULE_FUNC ();
4344 int
4345 main ()
4346 {
4347 return $SV_MODULE_FUNC ();
4348 ;
4349 return 0;
4350 }
4351 _ACEOF
4352 if ac_fn_cxx_try_link "$LINENO"; then :
4353 eval "$as_ac_Lib=yes"
4354 else
4355 eval "$as_ac_Lib=no"
4356 fi
4357 rm -f core conftest.err conftest.$ac_objext \
4358 conftest$ac_exeext conftest.$ac_ext
4359 LIBS=$ac_check_lib_save_LIBS
4360 fi
4361 eval ac_res=\$$as_ac_Lib
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4363 $as_echo "$ac_res" >&6; }
4364 eval as_val=\$$as_ac_Lib
4365 if test "x$as_val" = x""yes; then :
4366 LIBS="$LIBS -l$SV_MODULE_LIB"
4367 else
4368 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
4369 fi
4370
4371 fi
4372 fi
4373
4374
4375 SV_MODULE_MODULE=fftw3
4376 SV_MODULE_VERSION_TEST="fftw3 >= 3.0.0"
4377 SV_MODULE_HEADER=fftw3.h
4378 SV_MODULE_LIB=fftw3
4379 SV_MODULE_FUNC=fftw_execute
4380 SV_MODULE_HAVE=HAVE_$(echo fftw3 | tr 'a-z' 'A-Z')
4381 SV_MODULE_FAILED=1
4382 if test -z "$SV_MODULE_VERSION_TEST" ; then
4383 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
4384 fi
4385 if test -n "$PKG_CONFIG"; then
4386
4387 pkg_failed=no
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3" >&5
4389 $as_echo_n "checking for fftw3... " >&6; }
4390
4391 if test -n "$PKG_CONFIG"; then
4392 if test -n "$fftw3_CFLAGS"; then
4393 pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS"
4394 else
4395 if test -n "$PKG_CONFIG" && \
4396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4397 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4398 ac_status=$?
4399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4400 test $ac_status = 0; }; then
4401 pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4402 else
4403 pkg_failed=yes
4404 fi
4405 fi
4406 else
4407 pkg_failed=untried
4408 fi
4409 if test -n "$PKG_CONFIG"; then
4410 if test -n "$fftw3_LIBS"; then
4411 pkg_cv_fftw3_LIBS="$fftw3_LIBS"
4412 else
4413 if test -n "$PKG_CONFIG" && \
4414 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4415 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4416 ac_status=$?
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }; then
4419 pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4420 else
4421 pkg_failed=yes
4422 fi
4423 fi
4424 else
4425 pkg_failed=untried
4426 fi
4427
4428
4429
4430 if test $pkg_failed = yes; then
4431
4432 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4433 _pkg_short_errors_supported=yes
4434 else
4435 _pkg_short_errors_supported=no
4436 fi
4437 if test $_pkg_short_errors_supported = yes; then
4438 fftw3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4439 else
4440 fftw3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4441 fi
4442 # Put the nasty error message in config.log where it belongs
4443 echo "$fftw3_PKG_ERRORS" >&5
4444
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4448 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4449 elif test $pkg_failed = untried; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4451 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4452 else
4453 fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS
4454 fftw3_LIBS=$pkg_cv_fftw3_LIBS
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4456 $as_echo "yes" >&6; }
4457 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fftw3_CFLAGS";LIBS="$LIBS $fftw3_LIBS";SV_MODULE_FAILED=""
4458 fi
4459 fi
4460 if test -n "$SV_MODULE_FAILED"; then
4461 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
4462 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
4463 eval as_val=\$$as_ac_Header
4464 if test "x$as_val" = x""yes; then :
4465 HAVES="$HAVES $SV_MODULE_HAVE"
4466 else
4467 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
4468 fi
4469
4470
4471 if test -n "$SV_MODULE_LIB"; then
4472 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4474 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4475 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
4476 $as_echo_n "(cached) " >&6
4477 else
4478 ac_check_lib_save_LIBS=$LIBS
4479 LIBS="-l$SV_MODULE_LIB $LIBS"
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4482
4483 /* Override any GCC internal prototype to avoid an error.
4484 Use char because int might match the return type of a GCC
4485 builtin and then its argument prototype would still apply. */
4486 #ifdef __cplusplus
4487 extern "C"
4488 #endif
4489 char $SV_MODULE_FUNC ();
4490 int
4491 main ()
4492 {
4493 return $SV_MODULE_FUNC ();
4494 ;
4495 return 0;
4496 }
4497 _ACEOF
4498 if ac_fn_cxx_try_link "$LINENO"; then :
4499 eval "$as_ac_Lib=yes"
4500 else
4501 eval "$as_ac_Lib=no"
4502 fi
4503 rm -f core conftest.err conftest.$ac_objext \
4504 conftest$ac_exeext conftest.$ac_ext
4505 LIBS=$ac_check_lib_save_LIBS
4506 fi
4507 eval ac_res=\$$as_ac_Lib
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4509 $as_echo "$ac_res" >&6; }
4510 eval as_val=\$$as_ac_Lib
4511 if test "x$as_val" = x""yes; then :
4512 LIBS="$LIBS -l$SV_MODULE_LIB"
4513 else
4514 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
4515 fi
4516
4517 fi
4518 fi
4519
4520
4521 SV_MODULE_MODULE=fftw3f
4522 SV_MODULE_VERSION_TEST="fftw3f >= 3.0.0"
4523 SV_MODULE_HEADER=fftw3.h
4524 SV_MODULE_LIB=fftw3f
4525 SV_MODULE_FUNC=fftwf_execute
4526 SV_MODULE_HAVE=HAVE_$(echo fftw3f | tr 'a-z' 'A-Z')
4527 SV_MODULE_FAILED=1
4528 if test -z "$SV_MODULE_VERSION_TEST" ; then
4529 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
4530 fi
4531 if test -n "$PKG_CONFIG"; then
4532
4533 pkg_failed=no
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3f" >&5
4535 $as_echo_n "checking for fftw3f... " >&6; }
4536
4537 if test -n "$PKG_CONFIG"; then
4538 if test -n "$fftw3f_CFLAGS"; then
4539 pkg_cv_fftw3f_CFLAGS="$fftw3f_CFLAGS"
4540 else
4541 if test -n "$PKG_CONFIG" && \
4542 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4543 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4544 ac_status=$?
4545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4546 test $ac_status = 0; }; then
4547 pkg_cv_fftw3f_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4548 else
4549 pkg_failed=yes
4550 fi
4551 fi
4552 else
4553 pkg_failed=untried
4554 fi
4555 if test -n "$PKG_CONFIG"; then
4556 if test -n "$fftw3f_LIBS"; then
4557 pkg_cv_fftw3f_LIBS="$fftw3f_LIBS"
4558 else
4559 if test -n "$PKG_CONFIG" && \
4560 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4561 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4562 ac_status=$?
4563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4564 test $ac_status = 0; }; then
4565 pkg_cv_fftw3f_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4566 else
4567 pkg_failed=yes
4568 fi
4569 fi
4570 else
4571 pkg_failed=untried
4572 fi
4573
4574
4575
4576 if test $pkg_failed = yes; then
4577
4578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4579 _pkg_short_errors_supported=yes
4580 else
4581 _pkg_short_errors_supported=no
4582 fi
4583 if test $_pkg_short_errors_supported = yes; then
4584 fftw3f_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4585 else
4586 fftw3f_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4587 fi
4588 # Put the nasty error message in config.log where it belongs
4589 echo "$fftw3f_PKG_ERRORS" >&5
4590
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4592 $as_echo "no" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4594 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4595 elif test $pkg_failed = untried; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4597 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4598 else
4599 fftw3f_CFLAGS=$pkg_cv_fftw3f_CFLAGS
4600 fftw3f_LIBS=$pkg_cv_fftw3f_LIBS
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4602 $as_echo "yes" >&6; }
4603 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fftw3f_CFLAGS";LIBS="$LIBS $fftw3f_LIBS";SV_MODULE_FAILED=""
4604 fi
4605 fi
4606 if test -n "$SV_MODULE_FAILED"; then
4607 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
4608 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
4609 eval as_val=\$$as_ac_Header
4610 if test "x$as_val" = x""yes; then :
4611 HAVES="$HAVES $SV_MODULE_HAVE"
4612 else
4613 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
4614 fi
4615
4616
4617 if test -n "$SV_MODULE_LIB"; then
4618 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4620 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4621 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
4622 $as_echo_n "(cached) " >&6
4623 else
4624 ac_check_lib_save_LIBS=$LIBS
4625 LIBS="-l$SV_MODULE_LIB $LIBS"
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4628
4629 /* Override any GCC internal prototype to avoid an error.
4630 Use char because int might match the return type of a GCC
4631 builtin and then its argument prototype would still apply. */
4632 #ifdef __cplusplus
4633 extern "C"
4634 #endif
4635 char $SV_MODULE_FUNC ();
4636 int
4637 main ()
4638 {
4639 return $SV_MODULE_FUNC ();
4640 ;
4641 return 0;
4642 }
4643 _ACEOF
4644 if ac_fn_cxx_try_link "$LINENO"; then :
4645 eval "$as_ac_Lib=yes"
4646 else
4647 eval "$as_ac_Lib=no"
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext \
4650 conftest$ac_exeext conftest.$ac_ext
4651 LIBS=$ac_check_lib_save_LIBS
4652 fi
4653 eval ac_res=\$$as_ac_Lib
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4655 $as_echo "$ac_res" >&6; }
4656 eval as_val=\$$as_ac_Lib
4657 if test "x$as_val" = x""yes; then :
4658 LIBS="$LIBS -l$SV_MODULE_LIB"
4659 else
4660 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
4661 fi
4662
4663 fi
4664 fi
4665
4666
4667 SV_MODULE_MODULE=sndfile
4668 SV_MODULE_VERSION_TEST="sndfile >= 1.0.16"
4669 SV_MODULE_HEADER=sndfile.h
4670 SV_MODULE_LIB=sndfile
4671 SV_MODULE_FUNC=sf_open
4672 SV_MODULE_HAVE=HAVE_$(echo sndfile | tr 'a-z' 'A-Z')
4673 SV_MODULE_FAILED=1
4674 if test -z "$SV_MODULE_VERSION_TEST" ; then
4675 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
4676 fi
4677 if test -n "$PKG_CONFIG"; then
4678
4679 pkg_failed=no
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sndfile" >&5
4681 $as_echo_n "checking for sndfile... " >&6; }
4682
4683 if test -n "$PKG_CONFIG"; then
4684 if test -n "$sndfile_CFLAGS"; then
4685 pkg_cv_sndfile_CFLAGS="$sndfile_CFLAGS"
4686 else
4687 if test -n "$PKG_CONFIG" && \
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4689 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4690 ac_status=$?
4691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4692 test $ac_status = 0; }; then
4693 pkg_cv_sndfile_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4694 else
4695 pkg_failed=yes
4696 fi
4697 fi
4698 else
4699 pkg_failed=untried
4700 fi
4701 if test -n "$PKG_CONFIG"; then
4702 if test -n "$sndfile_LIBS"; then
4703 pkg_cv_sndfile_LIBS="$sndfile_LIBS"
4704 else
4705 if test -n "$PKG_CONFIG" && \
4706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4707 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4708 ac_status=$?
4709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4710 test $ac_status = 0; }; then
4711 pkg_cv_sndfile_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4712 else
4713 pkg_failed=yes
4714 fi
4715 fi
4716 else
4717 pkg_failed=untried
4718 fi
4719
4720
4721
4722 if test $pkg_failed = yes; then
4723
4724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4725 _pkg_short_errors_supported=yes
4726 else
4727 _pkg_short_errors_supported=no
4728 fi
4729 if test $_pkg_short_errors_supported = yes; then
4730 sndfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4731 else
4732 sndfile_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4733 fi
4734 # Put the nasty error message in config.log where it belongs
4735 echo "$sndfile_PKG_ERRORS" >&5
4736
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4740 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4741 elif test $pkg_failed = untried; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4743 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4744 else
4745 sndfile_CFLAGS=$pkg_cv_sndfile_CFLAGS
4746 sndfile_LIBS=$pkg_cv_sndfile_LIBS
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4748 $as_echo "yes" >&6; }
4749 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $sndfile_CFLAGS";LIBS="$LIBS $sndfile_LIBS";SV_MODULE_FAILED=""
4750 fi
4751 fi
4752 if test -n "$SV_MODULE_FAILED"; then
4753 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
4754 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
4755 eval as_val=\$$as_ac_Header
4756 if test "x$as_val" = x""yes; then :
4757 HAVES="$HAVES $SV_MODULE_HAVE"
4758 else
4759 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
4760 fi
4761
4762
4763 if test -n "$SV_MODULE_LIB"; then
4764 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4766 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4767 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
4768 $as_echo_n "(cached) " >&6
4769 else
4770 ac_check_lib_save_LIBS=$LIBS
4771 LIBS="-l$SV_MODULE_LIB $LIBS"
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774
4775 /* Override any GCC internal prototype to avoid an error.
4776 Use char because int might match the return type of a GCC
4777 builtin and then its argument prototype would still apply. */
4778 #ifdef __cplusplus
4779 extern "C"
4780 #endif
4781 char $SV_MODULE_FUNC ();
4782 int
4783 main ()
4784 {
4785 return $SV_MODULE_FUNC ();
4786 ;
4787 return 0;
4788 }
4789 _ACEOF
4790 if ac_fn_cxx_try_link "$LINENO"; then :
4791 eval "$as_ac_Lib=yes"
4792 else
4793 eval "$as_ac_Lib=no"
4794 fi
4795 rm -f core conftest.err conftest.$ac_objext \
4796 conftest$ac_exeext conftest.$ac_ext
4797 LIBS=$ac_check_lib_save_LIBS
4798 fi
4799 eval ac_res=\$$as_ac_Lib
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4801 $as_echo "$ac_res" >&6; }
4802 eval as_val=\$$as_ac_Lib
4803 if test "x$as_val" = x""yes; then :
4804 LIBS="$LIBS -l$SV_MODULE_LIB"
4805 else
4806 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
4807 fi
4808
4809 fi
4810 fi
4811
4812
4813 SV_MODULE_MODULE=samplerate
4814 SV_MODULE_VERSION_TEST="samplerate >= 0.1.2"
4815 SV_MODULE_HEADER=samplerate.h
4816 SV_MODULE_LIB=samplerate
4817 SV_MODULE_FUNC=src_new
4818 SV_MODULE_HAVE=HAVE_$(echo samplerate | tr 'a-z' 'A-Z')
4819 SV_MODULE_FAILED=1
4820 if test -z "$SV_MODULE_VERSION_TEST" ; then
4821 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
4822 fi
4823 if test -n "$PKG_CONFIG"; then
4824
4825 pkg_failed=no
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate" >&5
4827 $as_echo_n "checking for samplerate... " >&6; }
4828
4829 if test -n "$PKG_CONFIG"; then
4830 if test -n "$samplerate_CFLAGS"; then
4831 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS"
4832 else
4833 if test -n "$PKG_CONFIG" && \
4834 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4835 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4836 ac_status=$?
4837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4838 test $ac_status = 0; }; then
4839 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4840 else
4841 pkg_failed=yes
4842 fi
4843 fi
4844 else
4845 pkg_failed=untried
4846 fi
4847 if test -n "$PKG_CONFIG"; then
4848 if test -n "$samplerate_LIBS"; then
4849 pkg_cv_samplerate_LIBS="$samplerate_LIBS"
4850 else
4851 if test -n "$PKG_CONFIG" && \
4852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4853 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4854 ac_status=$?
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; }; then
4857 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4858 else
4859 pkg_failed=yes
4860 fi
4861 fi
4862 else
4863 pkg_failed=untried
4864 fi
4865
4866
4867
4868 if test $pkg_failed = yes; then
4869
4870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4871 _pkg_short_errors_supported=yes
4872 else
4873 _pkg_short_errors_supported=no
4874 fi
4875 if test $_pkg_short_errors_supported = yes; then
4876 samplerate_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4877 else
4878 samplerate_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
4879 fi
4880 # Put the nasty error message in config.log where it belongs
4881 echo "$samplerate_PKG_ERRORS" >&5
4882
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4886 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4887 elif test $pkg_failed = untried; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
4889 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4890 else
4891 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS
4892 samplerate_LIBS=$pkg_cv_samplerate_LIBS
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4894 $as_echo "yes" >&6; }
4895 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $samplerate_CFLAGS";LIBS="$LIBS $samplerate_LIBS";SV_MODULE_FAILED=""
4896 fi
4897 fi
4898 if test -n "$SV_MODULE_FAILED"; then
4899 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
4900 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
4901 eval as_val=\$$as_ac_Header
4902 if test "x$as_val" = x""yes; then :
4903 HAVES="$HAVES $SV_MODULE_HAVE"
4904 else
4905 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
4906 fi
4907
4908
4909 if test -n "$SV_MODULE_LIB"; then
4910 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4912 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4913 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
4914 $as_echo_n "(cached) " >&6
4915 else
4916 ac_check_lib_save_LIBS=$LIBS
4917 LIBS="-l$SV_MODULE_LIB $LIBS"
4918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 /* end confdefs.h. */
4920
4921 /* Override any GCC internal prototype to avoid an error.
4922 Use char because int might match the return type of a GCC
4923 builtin and then its argument prototype would still apply. */
4924 #ifdef __cplusplus
4925 extern "C"
4926 #endif
4927 char $SV_MODULE_FUNC ();
4928 int
4929 main ()
4930 {
4931 return $SV_MODULE_FUNC ();
4932 ;
4933 return 0;
4934 }
4935 _ACEOF
4936 if ac_fn_cxx_try_link "$LINENO"; then :
4937 eval "$as_ac_Lib=yes"
4938 else
4939 eval "$as_ac_Lib=no"
4940 fi
4941 rm -f core conftest.err conftest.$ac_objext \
4942 conftest$ac_exeext conftest.$ac_ext
4943 LIBS=$ac_check_lib_save_LIBS
4944 fi
4945 eval ac_res=\$$as_ac_Lib
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4947 $as_echo "$ac_res" >&6; }
4948 eval as_val=\$$as_ac_Lib
4949 if test "x$as_val" = x""yes; then :
4950 LIBS="$LIBS -l$SV_MODULE_LIB"
4951 else
4952 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
4953 fi
4954
4955 fi
4956 fi
4957
4958
4959 SV_MODULE_MODULE=vamp
4960 SV_MODULE_VERSION_TEST="vamp >= 2.1"
4961 SV_MODULE_HEADER=vamp/vamp.h
4962 SV_MODULE_LIB=
4963 SV_MODULE_FUNC=
4964 SV_MODULE_HAVE=HAVE_$(echo vamp | tr 'a-z' 'A-Z')
4965 SV_MODULE_FAILED=1
4966 if test -z "$SV_MODULE_VERSION_TEST" ; then
4967 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
4968 fi
4969 if test -n "$PKG_CONFIG"; then
4970
4971 pkg_failed=no
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5
4973 $as_echo_n "checking for vamp... " >&6; }
4974
4975 if test -n "$PKG_CONFIG"; then
4976 if test -n "$vamp_CFLAGS"; then
4977 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS"
4978 else
4979 if test -n "$PKG_CONFIG" && \
4980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4981 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4982 ac_status=$?
4983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4984 test $ac_status = 0; }; then
4985 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4986 else
4987 pkg_failed=yes
4988 fi
4989 fi
4990 else
4991 pkg_failed=untried
4992 fi
4993 if test -n "$PKG_CONFIG"; then
4994 if test -n "$vamp_LIBS"; then
4995 pkg_cv_vamp_LIBS="$vamp_LIBS"
4996 else
4997 if test -n "$PKG_CONFIG" && \
4998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4999 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5000 ac_status=$?
5001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5002 test $ac_status = 0; }; then
5003 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5004 else
5005 pkg_failed=yes
5006 fi
5007 fi
5008 else
5009 pkg_failed=untried
5010 fi
5011
5012
5013
5014 if test $pkg_failed = yes; then
5015
5016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5017 _pkg_short_errors_supported=yes
5018 else
5019 _pkg_short_errors_supported=no
5020 fi
5021 if test $_pkg_short_errors_supported = yes; then
5022 vamp_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5023 else
5024 vamp_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5025 fi
5026 # Put the nasty error message in config.log where it belongs
5027 echo "$vamp_PKG_ERRORS" >&5
5028
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5030 $as_echo "no" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5032 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5033 elif test $pkg_failed = untried; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5035 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5036 else
5037 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS
5038 vamp_LIBS=$pkg_cv_vamp_LIBS
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5040 $as_echo "yes" >&6; }
5041 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamp_CFLAGS";LIBS="$LIBS $vamp_LIBS";SV_MODULE_FAILED=""
5042 fi
5043 fi
5044 if test -n "$SV_MODULE_FAILED"; then
5045 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5046 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5047 eval as_val=\$$as_ac_Header
5048 if test "x$as_val" = x""yes; then :
5049 HAVES="$HAVES $SV_MODULE_HAVE"
5050 else
5051 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5052 fi
5053
5054
5055 if test -n "$SV_MODULE_LIB"; then
5056 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5058 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5059 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_check_lib_save_LIBS=$LIBS
5063 LIBS="-l$SV_MODULE_LIB $LIBS"
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5066
5067 /* Override any GCC internal prototype to avoid an error.
5068 Use char because int might match the return type of a GCC
5069 builtin and then its argument prototype would still apply. */
5070 #ifdef __cplusplus
5071 extern "C"
5072 #endif
5073 char $SV_MODULE_FUNC ();
5074 int
5075 main ()
5076 {
5077 return $SV_MODULE_FUNC ();
5078 ;
5079 return 0;
5080 }
5081 _ACEOF
5082 if ac_fn_cxx_try_link "$LINENO"; then :
5083 eval "$as_ac_Lib=yes"
5084 else
5085 eval "$as_ac_Lib=no"
5086 fi
5087 rm -f core conftest.err conftest.$ac_objext \
5088 conftest$ac_exeext conftest.$ac_ext
5089 LIBS=$ac_check_lib_save_LIBS
5090 fi
5091 eval ac_res=\$$as_ac_Lib
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5093 $as_echo "$ac_res" >&6; }
5094 eval as_val=\$$as_ac_Lib
5095 if test "x$as_val" = x""yes; then :
5096 LIBS="$LIBS -l$SV_MODULE_LIB"
5097 else
5098 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5099 fi
5100
5101 fi
5102 fi
5103
5104
5105 SV_MODULE_MODULE=vamphostsdk
5106 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.0"
5107 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h
5108 SV_MODULE_LIB=
5109 SV_MODULE_FUNC=
5110 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z')
5111 SV_MODULE_FAILED=1
5112 if test -z "$SV_MODULE_VERSION_TEST" ; then
5113 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5114 fi
5115 if test -n "$PKG_CONFIG"; then
5116
5117 pkg_failed=no
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5
5119 $as_echo_n "checking for vamphostsdk... " >&6; }
5120
5121 if test -n "$PKG_CONFIG"; then
5122 if test -n "$vamphostsdk_CFLAGS"; then
5123 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS"
5124 else
5125 if test -n "$PKG_CONFIG" && \
5126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5127 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5128 ac_status=$?
5129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5130 test $ac_status = 0; }; then
5131 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5132 else
5133 pkg_failed=yes
5134 fi
5135 fi
5136 else
5137 pkg_failed=untried
5138 fi
5139 if test -n "$PKG_CONFIG"; then
5140 if test -n "$vamphostsdk_LIBS"; then
5141 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS"
5142 else
5143 if test -n "$PKG_CONFIG" && \
5144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5145 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5146 ac_status=$?
5147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5148 test $ac_status = 0; }; then
5149 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5150 else
5151 pkg_failed=yes
5152 fi
5153 fi
5154 else
5155 pkg_failed=untried
5156 fi
5157
5158
5159
5160 if test $pkg_failed = yes; then
5161
5162 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5163 _pkg_short_errors_supported=yes
5164 else
5165 _pkg_short_errors_supported=no
5166 fi
5167 if test $_pkg_short_errors_supported = yes; then
5168 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5169 else
5170 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5171 fi
5172 # Put the nasty error message in config.log where it belongs
5173 echo "$vamphostsdk_PKG_ERRORS" >&5
5174
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5178 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5179 elif test $pkg_failed = untried; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5181 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5182 else
5183 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS
5184 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5186 $as_echo "yes" >&6; }
5187 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS";LIBS="$LIBS $vamphostsdk_LIBS";SV_MODULE_FAILED=""
5188 fi
5189 fi
5190 if test -n "$SV_MODULE_FAILED"; then
5191 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5192 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5193 eval as_val=\$$as_ac_Header
5194 if test "x$as_val" = x""yes; then :
5195 HAVES="$HAVES $SV_MODULE_HAVE"
5196 else
5197 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5198 fi
5199
5200
5201 if test -n "$SV_MODULE_LIB"; then
5202 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5204 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5205 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
5206 $as_echo_n "(cached) " >&6
5207 else
5208 ac_check_lib_save_LIBS=$LIBS
5209 LIBS="-l$SV_MODULE_LIB $LIBS"
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5212
5213 /* Override any GCC internal prototype to avoid an error.
5214 Use char because int might match the return type of a GCC
5215 builtin and then its argument prototype would still apply. */
5216 #ifdef __cplusplus
5217 extern "C"
5218 #endif
5219 char $SV_MODULE_FUNC ();
5220 int
5221 main ()
5222 {
5223 return $SV_MODULE_FUNC ();
5224 ;
5225 return 0;
5226 }
5227 _ACEOF
5228 if ac_fn_cxx_try_link "$LINENO"; then :
5229 eval "$as_ac_Lib=yes"
5230 else
5231 eval "$as_ac_Lib=no"
5232 fi
5233 rm -f core conftest.err conftest.$ac_objext \
5234 conftest$ac_exeext conftest.$ac_ext
5235 LIBS=$ac_check_lib_save_LIBS
5236 fi
5237 eval ac_res=\$$as_ac_Lib
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5239 $as_echo "$ac_res" >&6; }
5240 eval as_val=\$$as_ac_Lib
5241 if test "x$as_val" = x""yes; then :
5242 LIBS="$LIBS -l$SV_MODULE_LIB"
5243 else
5244 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5245 fi
5246
5247 fi
5248 fi
5249
5250
5251 SV_MODULE_MODULE=rubberband
5252 SV_MODULE_VERSION_TEST="rubberband"
5253 SV_MODULE_HEADER=rubberband/RubberBandStretcher.h
5254 SV_MODULE_LIB=rubberband
5255 SV_MODULE_FUNC=rubberband_new
5256 SV_MODULE_HAVE=HAVE_$(echo rubberband | tr 'a-z' 'A-Z')
5257 SV_MODULE_FAILED=1
5258 if test -z "$SV_MODULE_VERSION_TEST" ; then
5259 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5260 fi
5261 if test -n "$PKG_CONFIG"; then
5262
5263 pkg_failed=no
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5
5265 $as_echo_n "checking for rubberband... " >&6; }
5266
5267 if test -n "$PKG_CONFIG"; then
5268 if test -n "$rubberband_CFLAGS"; then
5269 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS"
5270 else
5271 if test -n "$PKG_CONFIG" && \
5272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5273 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5274 ac_status=$?
5275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5276 test $ac_status = 0; }; then
5277 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5278 else
5279 pkg_failed=yes
5280 fi
5281 fi
5282 else
5283 pkg_failed=untried
5284 fi
5285 if test -n "$PKG_CONFIG"; then
5286 if test -n "$rubberband_LIBS"; then
5287 pkg_cv_rubberband_LIBS="$rubberband_LIBS"
5288 else
5289 if test -n "$PKG_CONFIG" && \
5290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5291 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5292 ac_status=$?
5293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5294 test $ac_status = 0; }; then
5295 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5296 else
5297 pkg_failed=yes
5298 fi
5299 fi
5300 else
5301 pkg_failed=untried
5302 fi
5303
5304
5305
5306 if test $pkg_failed = yes; then
5307
5308 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5309 _pkg_short_errors_supported=yes
5310 else
5311 _pkg_short_errors_supported=no
5312 fi
5313 if test $_pkg_short_errors_supported = yes; then
5314 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5315 else
5316 rubberband_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5317 fi
5318 # Put the nasty error message in config.log where it belongs
5319 echo "$rubberband_PKG_ERRORS" >&5
5320
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5324 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5325 elif test $pkg_failed = untried; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5327 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5328 else
5329 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS
5330 rubberband_LIBS=$pkg_cv_rubberband_LIBS
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5332 $as_echo "yes" >&6; }
5333 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED=""
5334 fi
5335 fi
5336 if test -n "$SV_MODULE_FAILED"; then
5337 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5338 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5339 eval as_val=\$$as_ac_Header
5340 if test "x$as_val" = x""yes; then :
5341 HAVES="$HAVES $SV_MODULE_HAVE"
5342 else
5343 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5344 fi
5345
5346
5347 if test -n "$SV_MODULE_LIB"; then
5348 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5350 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5351 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
5352 $as_echo_n "(cached) " >&6
5353 else
5354 ac_check_lib_save_LIBS=$LIBS
5355 LIBS="-l$SV_MODULE_LIB $LIBS"
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5358
5359 /* Override any GCC internal prototype to avoid an error.
5360 Use char because int might match the return type of a GCC
5361 builtin and then its argument prototype would still apply. */
5362 #ifdef __cplusplus
5363 extern "C"
5364 #endif
5365 char $SV_MODULE_FUNC ();
5366 int
5367 main ()
5368 {
5369 return $SV_MODULE_FUNC ();
5370 ;
5371 return 0;
5372 }
5373 _ACEOF
5374 if ac_fn_cxx_try_link "$LINENO"; then :
5375 eval "$as_ac_Lib=yes"
5376 else
5377 eval "$as_ac_Lib=no"
5378 fi
5379 rm -f core conftest.err conftest.$ac_objext \
5380 conftest$ac_exeext conftest.$ac_ext
5381 LIBS=$ac_check_lib_save_LIBS
5382 fi
5383 eval ac_res=\$$as_ac_Lib
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5385 $as_echo "$ac_res" >&6; }
5386 eval as_val=\$$as_ac_Lib
5387 if test "x$as_val" = x""yes; then :
5388 LIBS="$LIBS -l$SV_MODULE_LIB"
5389 else
5390 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5391 fi
5392
5393 fi
5394 fi
5395
5396
5397 SV_MODULE_MODULE=raptor
5398 SV_MODULE_VERSION_TEST="raptor >= 1.4.20"
5399 SV_MODULE_HEADER=raptor.h
5400 SV_MODULE_LIB=raptor
5401 SV_MODULE_FUNC=raptor_start_parse
5402 SV_MODULE_HAVE=HAVE_$(echo raptor | tr 'a-z' 'A-Z')
5403 SV_MODULE_FAILED=1
5404 if test -z "$SV_MODULE_VERSION_TEST" ; then
5405 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5406 fi
5407 if test -n "$PKG_CONFIG"; then
5408
5409 pkg_failed=no
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raptor" >&5
5411 $as_echo_n "checking for raptor... " >&6; }
5412
5413 if test -n "$PKG_CONFIG"; then
5414 if test -n "$raptor_CFLAGS"; then
5415 pkg_cv_raptor_CFLAGS="$raptor_CFLAGS"
5416 else
5417 if test -n "$PKG_CONFIG" && \
5418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5419 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5420 ac_status=$?
5421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5422 test $ac_status = 0; }; then
5423 pkg_cv_raptor_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5424 else
5425 pkg_failed=yes
5426 fi
5427 fi
5428 else
5429 pkg_failed=untried
5430 fi
5431 if test -n "$PKG_CONFIG"; then
5432 if test -n "$raptor_LIBS"; then
5433 pkg_cv_raptor_LIBS="$raptor_LIBS"
5434 else
5435 if test -n "$PKG_CONFIG" && \
5436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5437 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5438 ac_status=$?
5439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5440 test $ac_status = 0; }; then
5441 pkg_cv_raptor_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5442 else
5443 pkg_failed=yes
5444 fi
5445 fi
5446 else
5447 pkg_failed=untried
5448 fi
5449
5450
5451
5452 if test $pkg_failed = yes; then
5453
5454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5455 _pkg_short_errors_supported=yes
5456 else
5457 _pkg_short_errors_supported=no
5458 fi
5459 if test $_pkg_short_errors_supported = yes; then
5460 raptor_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5461 else
5462 raptor_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5463 fi
5464 # Put the nasty error message in config.log where it belongs
5465 echo "$raptor_PKG_ERRORS" >&5
5466
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5470 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5471 elif test $pkg_failed = untried; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5473 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5474 else
5475 raptor_CFLAGS=$pkg_cv_raptor_CFLAGS
5476 raptor_LIBS=$pkg_cv_raptor_LIBS
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5478 $as_echo "yes" >&6; }
5479 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $raptor_CFLAGS";LIBS="$LIBS $raptor_LIBS";SV_MODULE_FAILED=""
5480 fi
5481 fi
5482 if test -n "$SV_MODULE_FAILED"; then
5483 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5484 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5485 eval as_val=\$$as_ac_Header
5486 if test "x$as_val" = x""yes; then :
5487 HAVES="$HAVES $SV_MODULE_HAVE"
5488 else
5489 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5490 fi
5491
5492
5493 if test -n "$SV_MODULE_LIB"; then
5494 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5496 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5497 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 ac_check_lib_save_LIBS=$LIBS
5501 LIBS="-l$SV_MODULE_LIB $LIBS"
5502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5503 /* end confdefs.h. */
5504
5505 /* Override any GCC internal prototype to avoid an error.
5506 Use char because int might match the return type of a GCC
5507 builtin and then its argument prototype would still apply. */
5508 #ifdef __cplusplus
5509 extern "C"
5510 #endif
5511 char $SV_MODULE_FUNC ();
5512 int
5513 main ()
5514 {
5515 return $SV_MODULE_FUNC ();
5516 ;
5517 return 0;
5518 }
5519 _ACEOF
5520 if ac_fn_cxx_try_link "$LINENO"; then :
5521 eval "$as_ac_Lib=yes"
5522 else
5523 eval "$as_ac_Lib=no"
5524 fi
5525 rm -f core conftest.err conftest.$ac_objext \
5526 conftest$ac_exeext conftest.$ac_ext
5527 LIBS=$ac_check_lib_save_LIBS
5528 fi
5529 eval ac_res=\$$as_ac_Lib
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5531 $as_echo "$ac_res" >&6; }
5532 eval as_val=\$$as_ac_Lib
5533 if test "x$as_val" = x""yes; then :
5534 LIBS="$LIBS -l$SV_MODULE_LIB"
5535 else
5536 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5537 fi
5538
5539 fi
5540 fi
5541
5542
5543 SV_MODULE_MODULE=rasqal
5544 SV_MODULE_VERSION_TEST="rasqal >= 0.9.19"
5545 SV_MODULE_HEADER=rasqal/rasqal.h
5546 SV_MODULE_LIB=rasqal
5547 SV_MODULE_FUNC=rasqal_new_world
5548 SV_MODULE_HAVE=HAVE_$(echo rasqal | tr 'a-z' 'A-Z')
5549 SV_MODULE_FAILED=1
5550 if test -z "$SV_MODULE_VERSION_TEST" ; then
5551 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5552 fi
5553 if test -n "$PKG_CONFIG"; then
5554
5555 pkg_failed=no
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rasqal" >&5
5557 $as_echo_n "checking for rasqal... " >&6; }
5558
5559 if test -n "$PKG_CONFIG"; then
5560 if test -n "$rasqal_CFLAGS"; then
5561 pkg_cv_rasqal_CFLAGS="$rasqal_CFLAGS"
5562 else
5563 if test -n "$PKG_CONFIG" && \
5564 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5565 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5566 ac_status=$?
5567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5568 test $ac_status = 0; }; then
5569 pkg_cv_rasqal_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5570 else
5571 pkg_failed=yes
5572 fi
5573 fi
5574 else
5575 pkg_failed=untried
5576 fi
5577 if test -n "$PKG_CONFIG"; then
5578 if test -n "$rasqal_LIBS"; then
5579 pkg_cv_rasqal_LIBS="$rasqal_LIBS"
5580 else
5581 if test -n "$PKG_CONFIG" && \
5582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5583 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5584 ac_status=$?
5585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5586 test $ac_status = 0; }; then
5587 pkg_cv_rasqal_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5588 else
5589 pkg_failed=yes
5590 fi
5591 fi
5592 else
5593 pkg_failed=untried
5594 fi
5595
5596
5597
5598 if test $pkg_failed = yes; then
5599
5600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5601 _pkg_short_errors_supported=yes
5602 else
5603 _pkg_short_errors_supported=no
5604 fi
5605 if test $_pkg_short_errors_supported = yes; then
5606 rasqal_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5607 else
5608 rasqal_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5609 fi
5610 # Put the nasty error message in config.log where it belongs
5611 echo "$rasqal_PKG_ERRORS" >&5
5612
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5616 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5617 elif test $pkg_failed = untried; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5619 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5620 else
5621 rasqal_CFLAGS=$pkg_cv_rasqal_CFLAGS
5622 rasqal_LIBS=$pkg_cv_rasqal_LIBS
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5624 $as_echo "yes" >&6; }
5625 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS";LIBS="$LIBS $rasqal_LIBS";SV_MODULE_FAILED=""
5626 fi
5627 fi
5628 if test -n "$SV_MODULE_FAILED"; then
5629 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5630 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5631 eval as_val=\$$as_ac_Header
5632 if test "x$as_val" = x""yes; then :
5633 HAVES="$HAVES $SV_MODULE_HAVE"
5634 else
5635 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5636 fi
5637
5638
5639 if test -n "$SV_MODULE_LIB"; then
5640 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5642 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5643 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
5644 $as_echo_n "(cached) " >&6
5645 else
5646 ac_check_lib_save_LIBS=$LIBS
5647 LIBS="-l$SV_MODULE_LIB $LIBS"
5648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5650
5651 /* Override any GCC internal prototype to avoid an error.
5652 Use char because int might match the return type of a GCC
5653 builtin and then its argument prototype would still apply. */
5654 #ifdef __cplusplus
5655 extern "C"
5656 #endif
5657 char $SV_MODULE_FUNC ();
5658 int
5659 main ()
5660 {
5661 return $SV_MODULE_FUNC ();
5662 ;
5663 return 0;
5664 }
5665 _ACEOF
5666 if ac_fn_cxx_try_link "$LINENO"; then :
5667 eval "$as_ac_Lib=yes"
5668 else
5669 eval "$as_ac_Lib=no"
5670 fi
5671 rm -f core conftest.err conftest.$ac_objext \
5672 conftest$ac_exeext conftest.$ac_ext
5673 LIBS=$ac_check_lib_save_LIBS
5674 fi
5675 eval ac_res=\$$as_ac_Lib
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5677 $as_echo "$ac_res" >&6; }
5678 eval as_val=\$$as_ac_Lib
5679 if test "x$as_val" = x""yes; then :
5680 LIBS="$LIBS -l$SV_MODULE_LIB"
5681 else
5682 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5683 fi
5684
5685 fi
5686 fi
5687
5688
5689 SV_MODULE_MODULE=redland
5690 SV_MODULE_VERSION_TEST="redland >= 1.0.10"
5691 SV_MODULE_HEADER=librdf.h
5692 SV_MODULE_LIB=rdf
5693 SV_MODULE_FUNC=librdf_new_world
5694 SV_MODULE_HAVE=HAVE_$(echo redland | tr 'a-z' 'A-Z')
5695 SV_MODULE_FAILED=1
5696 if test -z "$SV_MODULE_VERSION_TEST" ; then
5697 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5698 fi
5699 if test -n "$PKG_CONFIG"; then
5700
5701 pkg_failed=no
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redland" >&5
5703 $as_echo_n "checking for redland... " >&6; }
5704
5705 if test -n "$PKG_CONFIG"; then
5706 if test -n "$redland_CFLAGS"; then
5707 pkg_cv_redland_CFLAGS="$redland_CFLAGS"
5708 else
5709 if test -n "$PKG_CONFIG" && \
5710 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5711 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5712 ac_status=$?
5713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5714 test $ac_status = 0; }; then
5715 pkg_cv_redland_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5716 else
5717 pkg_failed=yes
5718 fi
5719 fi
5720 else
5721 pkg_failed=untried
5722 fi
5723 if test -n "$PKG_CONFIG"; then
5724 if test -n "$redland_LIBS"; then
5725 pkg_cv_redland_LIBS="$redland_LIBS"
5726 else
5727 if test -n "$PKG_CONFIG" && \
5728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5729 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5730 ac_status=$?
5731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; }; then
5733 pkg_cv_redland_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5734 else
5735 pkg_failed=yes
5736 fi
5737 fi
5738 else
5739 pkg_failed=untried
5740 fi
5741
5742
5743
5744 if test $pkg_failed = yes; then
5745
5746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5747 _pkg_short_errors_supported=yes
5748 else
5749 _pkg_short_errors_supported=no
5750 fi
5751 if test $_pkg_short_errors_supported = yes; then
5752 redland_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5753 else
5754 redland_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5755 fi
5756 # Put the nasty error message in config.log where it belongs
5757 echo "$redland_PKG_ERRORS" >&5
5758
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5762 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5763 elif test $pkg_failed = untried; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5765 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5766 else
5767 redland_CFLAGS=$pkg_cv_redland_CFLAGS
5768 redland_LIBS=$pkg_cv_redland_LIBS
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5770 $as_echo "yes" >&6; }
5771 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $redland_CFLAGS";LIBS="$LIBS $redland_LIBS";SV_MODULE_FAILED=""
5772 fi
5773 fi
5774 if test -n "$SV_MODULE_FAILED"; then
5775 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5776 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5777 eval as_val=\$$as_ac_Header
5778 if test "x$as_val" = x""yes; then :
5779 HAVES="$HAVES $SV_MODULE_HAVE"
5780 else
5781 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5782 fi
5783
5784
5785 if test -n "$SV_MODULE_LIB"; then
5786 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5788 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5789 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
5790 $as_echo_n "(cached) " >&6
5791 else
5792 ac_check_lib_save_LIBS=$LIBS
5793 LIBS="-l$SV_MODULE_LIB $LIBS"
5794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5795 /* end confdefs.h. */
5796
5797 /* Override any GCC internal prototype to avoid an error.
5798 Use char because int might match the return type of a GCC
5799 builtin and then its argument prototype would still apply. */
5800 #ifdef __cplusplus
5801 extern "C"
5802 #endif
5803 char $SV_MODULE_FUNC ();
5804 int
5805 main ()
5806 {
5807 return $SV_MODULE_FUNC ();
5808 ;
5809 return 0;
5810 }
5811 _ACEOF
5812 if ac_fn_cxx_try_link "$LINENO"; then :
5813 eval "$as_ac_Lib=yes"
5814 else
5815 eval "$as_ac_Lib=no"
5816 fi
5817 rm -f core conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5819 LIBS=$ac_check_lib_save_LIBS
5820 fi
5821 eval ac_res=\$$as_ac_Lib
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5823 $as_echo "$ac_res" >&6; }
5824 eval as_val=\$$as_ac_Lib
5825 if test "x$as_val" = x""yes; then :
5826 LIBS="$LIBS -l$SV_MODULE_LIB"
5827 else
5828 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5829 fi
5830
5831 fi
5832 fi
5833
5834
5835
5836 SV_MODULE_MODULE=liblo
5837 SV_MODULE_VERSION_TEST=""
5838 SV_MODULE_HEADER=lo/lo.h
5839 SV_MODULE_LIB=lo
5840 SV_MODULE_FUNC=lo_address_new
5841 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z')
5842 SV_MODULE_FAILED=1
5843 if test -z "$SV_MODULE_VERSION_TEST" ; then
5844 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5845 fi
5846 if test -n "$PKG_CONFIG"; then
5847
5848 pkg_failed=no
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5
5850 $as_echo_n "checking for liblo... " >&6; }
5851
5852 if test -n "$PKG_CONFIG"; then
5853 if test -n "$liblo_CFLAGS"; then
5854 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS"
5855 else
5856 if test -n "$PKG_CONFIG" && \
5857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5858 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5859 ac_status=$?
5860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5861 test $ac_status = 0; }; then
5862 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5863 else
5864 pkg_failed=yes
5865 fi
5866 fi
5867 else
5868 pkg_failed=untried
5869 fi
5870 if test -n "$PKG_CONFIG"; then
5871 if test -n "$liblo_LIBS"; then
5872 pkg_cv_liblo_LIBS="$liblo_LIBS"
5873 else
5874 if test -n "$PKG_CONFIG" && \
5875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5876 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5877 ac_status=$?
5878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5879 test $ac_status = 0; }; then
5880 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5881 else
5882 pkg_failed=yes
5883 fi
5884 fi
5885 else
5886 pkg_failed=untried
5887 fi
5888
5889
5890
5891 if test $pkg_failed = yes; then
5892
5893 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5894 _pkg_short_errors_supported=yes
5895 else
5896 _pkg_short_errors_supported=no
5897 fi
5898 if test $_pkg_short_errors_supported = yes; then
5899 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5900 else
5901 liblo_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
5902 fi
5903 # Put the nasty error message in config.log where it belongs
5904 echo "$liblo_PKG_ERRORS" >&5
5905
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 $as_echo "no" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5909 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5910 elif test $pkg_failed = untried; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
5912 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5913 else
5914 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS
5915 liblo_LIBS=$pkg_cv_liblo_LIBS
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5917 $as_echo "yes" >&6; }
5918 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED=""
5919 fi
5920 fi
5921 if test -n "$SV_MODULE_FAILED"; then
5922 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5923 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5924 eval as_val=\$$as_ac_Header
5925 if test "x$as_val" = x""yes; then :
5926 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
5927 else
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
5929 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
5930 fi
5931
5932
5933 if test -z "$SV_MODULE_FAILED"; then
5934 if test -n "$SV_MODULE_LIB"; then
5935 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5937 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5938 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
5939 $as_echo_n "(cached) " >&6
5940 else
5941 ac_check_lib_save_LIBS=$LIBS
5942 LIBS="-l$SV_MODULE_LIB $LIBS"
5943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h. */
5945
5946 /* Override any GCC internal prototype to avoid an error.
5947 Use char because int might match the return type of a GCC
5948 builtin and then its argument prototype would still apply. */
5949 #ifdef __cplusplus
5950 extern "C"
5951 #endif
5952 char $SV_MODULE_FUNC ();
5953 int
5954 main ()
5955 {
5956 return $SV_MODULE_FUNC ();
5957 ;
5958 return 0;
5959 }
5960 _ACEOF
5961 if ac_fn_cxx_try_link "$LINENO"; then :
5962 eval "$as_ac_Lib=yes"
5963 else
5964 eval "$as_ac_Lib=no"
5965 fi
5966 rm -f core conftest.err conftest.$ac_objext \
5967 conftest$ac_exeext conftest.$ac_ext
5968 LIBS=$ac_check_lib_save_LIBS
5969 fi
5970 eval ac_res=\$$as_ac_Lib
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5972 $as_echo "$ac_res" >&6; }
5973 eval as_val=\$$as_ac_Lib
5974 if test "x$as_val" = x""yes; then :
5975 LIBS="$LIBS -l$SV_MODULE_LIB"
5976 else
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
5978 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
5979 fi
5980
5981 fi
5982 fi
5983 fi
5984
5985
5986 SV_MODULE_MODULE=portaudio_2_0
5987 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19"
5988 SV_MODULE_HEADER=portaudio.h
5989 SV_MODULE_LIB=portaudio
5990 SV_MODULE_FUNC=Pa_IsFormatSupported
5991 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z')
5992 SV_MODULE_FAILED=1
5993 if test -z "$SV_MODULE_VERSION_TEST" ; then
5994 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5995 fi
5996 if test -n "$PKG_CONFIG"; then
5997
5998 pkg_failed=no
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5
6000 $as_echo_n "checking for portaudio_2_0... " >&6; }
6001
6002 if test -n "$PKG_CONFIG"; then
6003 if test -n "$portaudio_2_0_CFLAGS"; then
6004 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS"
6005 else
6006 if test -n "$PKG_CONFIG" && \
6007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6008 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6009 ac_status=$?
6010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6011 test $ac_status = 0; }; then
6012 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6013 else
6014 pkg_failed=yes
6015 fi
6016 fi
6017 else
6018 pkg_failed=untried
6019 fi
6020 if test -n "$PKG_CONFIG"; then
6021 if test -n "$portaudio_2_0_LIBS"; then
6022 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS"
6023 else
6024 if test -n "$PKG_CONFIG" && \
6025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6026 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6027 ac_status=$?
6028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6029 test $ac_status = 0; }; then
6030 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6031 else
6032 pkg_failed=yes
6033 fi
6034 fi
6035 else
6036 pkg_failed=untried
6037 fi
6038
6039
6040
6041 if test $pkg_failed = yes; then
6042
6043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6044 _pkg_short_errors_supported=yes
6045 else
6046 _pkg_short_errors_supported=no
6047 fi
6048 if test $_pkg_short_errors_supported = yes; then
6049 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6050 else
6051 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6052 fi
6053 # Put the nasty error message in config.log where it belongs
6054 echo "$portaudio_2_0_PKG_ERRORS" >&5
6055
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6059 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6060 elif test $pkg_failed = untried; then
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6062 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6063 else
6064 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS
6065 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6067 $as_echo "yes" >&6; }
6068 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED=""
6069 fi
6070 fi
6071 if test -n "$SV_MODULE_FAILED"; then
6072 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6073 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6074 eval as_val=\$$as_ac_Header
6075 if test "x$as_val" = x""yes; then :
6076 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
6077 else
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
6079 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
6080 fi
6081
6082
6083 if test -z "$SV_MODULE_FAILED"; then
6084 if test -n "$SV_MODULE_LIB"; then
6085 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6087 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6088 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
6089 $as_echo_n "(cached) " >&6
6090 else
6091 ac_check_lib_save_LIBS=$LIBS
6092 LIBS="-l$SV_MODULE_LIB $LIBS"
6093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6094 /* end confdefs.h. */
6095
6096 /* Override any GCC internal prototype to avoid an error.
6097 Use char because int might match the return type of a GCC
6098 builtin and then its argument prototype would still apply. */
6099 #ifdef __cplusplus
6100 extern "C"
6101 #endif
6102 char $SV_MODULE_FUNC ();
6103 int
6104 main ()
6105 {
6106 return $SV_MODULE_FUNC ();
6107 ;
6108 return 0;
6109 }
6110 _ACEOF
6111 if ac_fn_cxx_try_link "$LINENO"; then :
6112 eval "$as_ac_Lib=yes"
6113 else
6114 eval "$as_ac_Lib=no"
6115 fi
6116 rm -f core conftest.err conftest.$ac_objext \
6117 conftest$ac_exeext conftest.$ac_ext
6118 LIBS=$ac_check_lib_save_LIBS
6119 fi
6120 eval ac_res=\$$as_ac_Lib
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6122 $as_echo "$ac_res" >&6; }
6123 eval as_val=\$$as_ac_Lib
6124 if test "x$as_val" = x""yes; then :
6125 LIBS="$LIBS -l$SV_MODULE_LIB"
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
6128 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
6129 fi
6130
6131 fi
6132 fi
6133 fi
6134
6135
6136 SV_MODULE_MODULE=JACK
6137 SV_MODULE_VERSION_TEST="jack >= 0.100"
6138 SV_MODULE_HEADER=jack/jack.h
6139 SV_MODULE_LIB=jack
6140 SV_MODULE_FUNC=jack_client_open
6141 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z')
6142 SV_MODULE_FAILED=1
6143 if test -z "$SV_MODULE_VERSION_TEST" ; then
6144 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6145 fi
6146 if test -n "$PKG_CONFIG"; then
6147
6148 pkg_failed=no
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
6150 $as_echo_n "checking for JACK... " >&6; }
6151
6152 if test -n "$PKG_CONFIG"; then
6153 if test -n "$JACK_CFLAGS"; then
6154 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
6155 else
6156 if test -n "$PKG_CONFIG" && \
6157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6158 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6159 ac_status=$?
6160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6161 test $ac_status = 0; }; then
6162 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6163 else
6164 pkg_failed=yes
6165 fi
6166 fi
6167 else
6168 pkg_failed=untried
6169 fi
6170 if test -n "$PKG_CONFIG"; then
6171 if test -n "$JACK_LIBS"; then
6172 pkg_cv_JACK_LIBS="$JACK_LIBS"
6173 else
6174 if test -n "$PKG_CONFIG" && \
6175 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6176 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6177 ac_status=$?
6178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179 test $ac_status = 0; }; then
6180 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6181 else
6182 pkg_failed=yes
6183 fi
6184 fi
6185 else
6186 pkg_failed=untried
6187 fi
6188
6189
6190
6191 if test $pkg_failed = yes; then
6192
6193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6194 _pkg_short_errors_supported=yes
6195 else
6196 _pkg_short_errors_supported=no
6197 fi
6198 if test $_pkg_short_errors_supported = yes; then
6199 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6200 else
6201 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6202 fi
6203 # Put the nasty error message in config.log where it belongs
6204 echo "$JACK_PKG_ERRORS" >&5
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6209 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6210 elif test $pkg_failed = untried; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6212 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6213 else
6214 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
6215 JACK_LIBS=$pkg_cv_JACK_LIBS
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6217 $as_echo "yes" >&6; }
6218 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED=""
6219 fi
6220 fi
6221 if test -n "$SV_MODULE_FAILED"; then
6222 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6223 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6224 eval as_val=\$$as_ac_Header
6225 if test "x$as_val" = x""yes; then :
6226 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
6227 else
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
6229 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
6230 fi
6231
6232
6233 if test -z "$SV_MODULE_FAILED"; then
6234 if test -n "$SV_MODULE_LIB"; then
6235 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6237 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6238 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
6239 $as_echo_n "(cached) " >&6
6240 else
6241 ac_check_lib_save_LIBS=$LIBS
6242 LIBS="-l$SV_MODULE_LIB $LIBS"
6243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6244 /* end confdefs.h. */
6245
6246 /* Override any GCC internal prototype to avoid an error.
6247 Use char because int might match the return type of a GCC
6248 builtin and then its argument prototype would still apply. */
6249 #ifdef __cplusplus
6250 extern "C"
6251 #endif
6252 char $SV_MODULE_FUNC ();
6253 int
6254 main ()
6255 {
6256 return $SV_MODULE_FUNC ();
6257 ;
6258 return 0;
6259 }
6260 _ACEOF
6261 if ac_fn_cxx_try_link "$LINENO"; then :
6262 eval "$as_ac_Lib=yes"
6263 else
6264 eval "$as_ac_Lib=no"
6265 fi
6266 rm -f core conftest.err conftest.$ac_objext \
6267 conftest$ac_exeext conftest.$ac_ext
6268 LIBS=$ac_check_lib_save_LIBS
6269 fi
6270 eval ac_res=\$$as_ac_Lib
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6272 $as_echo "$ac_res" >&6; }
6273 eval as_val=\$$as_ac_Lib
6274 if test "x$as_val" = x""yes; then :
6275 LIBS="$LIBS -l$SV_MODULE_LIB"
6276 else
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
6278 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
6279 fi
6280
6281 fi
6282 fi
6283 fi
6284
6285
6286 SV_MODULE_MODULE=libpulse
6287 SV_MODULE_VERSION_TEST="libpulse >= 0.9"
6288 SV_MODULE_HEADER=pulse/pulseaudio.h
6289 SV_MODULE_LIB=pulse
6290 SV_MODULE_FUNC=pa_stream_new
6291 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z')
6292 SV_MODULE_FAILED=1
6293 if test -z "$SV_MODULE_VERSION_TEST" ; then
6294 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6295 fi
6296 if test -n "$PKG_CONFIG"; then
6297
6298 pkg_failed=no
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5
6300 $as_echo_n "checking for libpulse... " >&6; }
6301
6302 if test -n "$PKG_CONFIG"; then
6303 if test -n "$libpulse_CFLAGS"; then
6304 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS"
6305 else
6306 if test -n "$PKG_CONFIG" && \
6307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6308 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6309 ac_status=$?
6310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6311 test $ac_status = 0; }; then
6312 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6313 else
6314 pkg_failed=yes
6315 fi
6316 fi
6317 else
6318 pkg_failed=untried
6319 fi
6320 if test -n "$PKG_CONFIG"; then
6321 if test -n "$libpulse_LIBS"; then
6322 pkg_cv_libpulse_LIBS="$libpulse_LIBS"
6323 else
6324 if test -n "$PKG_CONFIG" && \
6325 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6326 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6327 ac_status=$?
6328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6329 test $ac_status = 0; }; then
6330 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6331 else
6332 pkg_failed=yes
6333 fi
6334 fi
6335 else
6336 pkg_failed=untried
6337 fi
6338
6339
6340
6341 if test $pkg_failed = yes; then
6342
6343 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6344 _pkg_short_errors_supported=yes
6345 else
6346 _pkg_short_errors_supported=no
6347 fi
6348 if test $_pkg_short_errors_supported = yes; then
6349 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6350 else
6351 libpulse_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6352 fi
6353 # Put the nasty error message in config.log where it belongs
6354 echo "$libpulse_PKG_ERRORS" >&5
6355
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357 $as_echo "no" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6359 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6360 elif test $pkg_failed = untried; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6362 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6363 else
6364 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS
6365 libpulse_LIBS=$pkg_cv_libpulse_LIBS
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6367 $as_echo "yes" >&6; }
6368 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED=""
6369 fi
6370 fi
6371 if test -n "$SV_MODULE_FAILED"; then
6372 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6373 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6374 eval as_val=\$$as_ac_Header
6375 if test "x$as_val" = x""yes; then :
6376 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
6377 else
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
6379 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
6380 fi
6381
6382
6383 if test -z "$SV_MODULE_FAILED"; then
6384 if test -n "$SV_MODULE_LIB"; then
6385 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6387 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6388 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 ac_check_lib_save_LIBS=$LIBS
6392 LIBS="-l$SV_MODULE_LIB $LIBS"
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395
6396 /* Override any GCC internal prototype to avoid an error.
6397 Use char because int might match the return type of a GCC
6398 builtin and then its argument prototype would still apply. */
6399 #ifdef __cplusplus
6400 extern "C"
6401 #endif
6402 char $SV_MODULE_FUNC ();
6403 int
6404 main ()
6405 {
6406 return $SV_MODULE_FUNC ();
6407 ;
6408 return 0;
6409 }
6410 _ACEOF
6411 if ac_fn_cxx_try_link "$LINENO"; then :
6412 eval "$as_ac_Lib=yes"
6413 else
6414 eval "$as_ac_Lib=no"
6415 fi
6416 rm -f core conftest.err conftest.$ac_objext \
6417 conftest$ac_exeext conftest.$ac_ext
6418 LIBS=$ac_check_lib_save_LIBS
6419 fi
6420 eval ac_res=\$$as_ac_Lib
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6422 $as_echo "$ac_res" >&6; }
6423 eval as_val=\$$as_ac_Lib
6424 if test "x$as_val" = x""yes; then :
6425 LIBS="$LIBS -l$SV_MODULE_LIB"
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
6428 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
6429 fi
6430
6431 fi
6432 fi
6433 fi
6434
6435
6436 SV_MODULE_MODULE=lrdf
6437 SV_MODULE_VERSION_TEST="lrdf >= 0.2"
6438 SV_MODULE_HEADER=lrdf.h
6439 SV_MODULE_LIB=lrdf
6440 SV_MODULE_FUNC=lrdf_init
6441 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z')
6442 SV_MODULE_FAILED=1
6443 if test -z "$SV_MODULE_VERSION_TEST" ; then
6444 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6445 fi
6446 if test -n "$PKG_CONFIG"; then
6447
6448 pkg_failed=no
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5
6450 $as_echo_n "checking for lrdf... " >&6; }
6451
6452 if test -n "$PKG_CONFIG"; then
6453 if test -n "$lrdf_CFLAGS"; then
6454 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS"
6455 else
6456 if test -n "$PKG_CONFIG" && \
6457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6458 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6459 ac_status=$?
6460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6461 test $ac_status = 0; }; then
6462 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6463 else
6464 pkg_failed=yes
6465 fi
6466 fi
6467 else
6468 pkg_failed=untried
6469 fi
6470 if test -n "$PKG_CONFIG"; then
6471 if test -n "$lrdf_LIBS"; then
6472 pkg_cv_lrdf_LIBS="$lrdf_LIBS"
6473 else
6474 if test -n "$PKG_CONFIG" && \
6475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6476 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6477 ac_status=$?
6478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6479 test $ac_status = 0; }; then
6480 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6481 else
6482 pkg_failed=yes
6483 fi
6484 fi
6485 else
6486 pkg_failed=untried
6487 fi
6488
6489
6490
6491 if test $pkg_failed = yes; then
6492
6493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6494 _pkg_short_errors_supported=yes
6495 else
6496 _pkg_short_errors_supported=no
6497 fi
6498 if test $_pkg_short_errors_supported = yes; then
6499 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6500 else
6501 lrdf_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6502 fi
6503 # Put the nasty error message in config.log where it belongs
6504 echo "$lrdf_PKG_ERRORS" >&5
6505
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6507 $as_echo "no" >&6; }
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6509 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6510 elif test $pkg_failed = untried; then
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6512 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6513 else
6514 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS
6515 lrdf_LIBS=$pkg_cv_lrdf_LIBS
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6517 $as_echo "yes" >&6; }
6518 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED=""
6519 fi
6520 fi
6521 if test -n "$SV_MODULE_FAILED"; then
6522 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6523 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6524 eval as_val=\$$as_ac_Header
6525 if test "x$as_val" = x""yes; then :
6526 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
6527 else
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
6529 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
6530 fi
6531
6532
6533 if test -z "$SV_MODULE_FAILED"; then
6534 if test -n "$SV_MODULE_LIB"; then
6535 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6537 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6538 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
6539 $as_echo_n "(cached) " >&6
6540 else
6541 ac_check_lib_save_LIBS=$LIBS
6542 LIBS="-l$SV_MODULE_LIB $LIBS"
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6545
6546 /* Override any GCC internal prototype to avoid an error.
6547 Use char because int might match the return type of a GCC
6548 builtin and then its argument prototype would still apply. */
6549 #ifdef __cplusplus
6550 extern "C"
6551 #endif
6552 char $SV_MODULE_FUNC ();
6553 int
6554 main ()
6555 {
6556 return $SV_MODULE_FUNC ();
6557 ;
6558 return 0;
6559 }
6560 _ACEOF
6561 if ac_fn_cxx_try_link "$LINENO"; then :
6562 eval "$as_ac_Lib=yes"
6563 else
6564 eval "$as_ac_Lib=no"
6565 fi
6566 rm -f core conftest.err conftest.$ac_objext \
6567 conftest$ac_exeext conftest.$ac_ext
6568 LIBS=$ac_check_lib_save_LIBS
6569 fi
6570 eval ac_res=\$$as_ac_Lib
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6572 $as_echo "$ac_res" >&6; }
6573 eval as_val=\$$as_ac_Lib
6574 if test "x$as_val" = x""yes; then :
6575 LIBS="$LIBS -l$SV_MODULE_LIB"
6576 else
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
6578 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
6579 fi
6580
6581 fi
6582 fi
6583 fi
6584
6585
6586 SV_MODULE_MODULE=oggz
6587 SV_MODULE_VERSION_TEST="oggz >= 1.0.0"
6588 SV_MODULE_HEADER=oggz/oggz.h
6589 SV_MODULE_LIB=oggz
6590 SV_MODULE_FUNC=oggz_run
6591 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z')
6592 SV_MODULE_FAILED=1
6593 if test -z "$SV_MODULE_VERSION_TEST" ; then
6594 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6595 fi
6596 if test -n "$PKG_CONFIG"; then
6597
6598 pkg_failed=no
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5
6600 $as_echo_n "checking for oggz... " >&6; }
6601
6602 if test -n "$PKG_CONFIG"; then
6603 if test -n "$oggz_CFLAGS"; then
6604 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS"
6605 else
6606 if test -n "$PKG_CONFIG" && \
6607 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6608 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6609 ac_status=$?
6610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6611 test $ac_status = 0; }; then
6612 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6613 else
6614 pkg_failed=yes
6615 fi
6616 fi
6617 else
6618 pkg_failed=untried
6619 fi
6620 if test -n "$PKG_CONFIG"; then
6621 if test -n "$oggz_LIBS"; then
6622 pkg_cv_oggz_LIBS="$oggz_LIBS"
6623 else
6624 if test -n "$PKG_CONFIG" && \
6625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6626 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6627 ac_status=$?
6628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629 test $ac_status = 0; }; then
6630 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6631 else
6632 pkg_failed=yes
6633 fi
6634 fi
6635 else
6636 pkg_failed=untried
6637 fi
6638
6639
6640
6641 if test $pkg_failed = yes; then
6642
6643 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6644 _pkg_short_errors_supported=yes
6645 else
6646 _pkg_short_errors_supported=no
6647 fi
6648 if test $_pkg_short_errors_supported = yes; then
6649 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6650 else
6651 oggz_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6652 fi
6653 # Put the nasty error message in config.log where it belongs
6654 echo "$oggz_PKG_ERRORS" >&5
6655
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 $as_echo "no" >&6; }
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6659 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6660 elif test $pkg_failed = untried; then
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6662 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6663 else
6664 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS
6665 oggz_LIBS=$pkg_cv_oggz_LIBS
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6667 $as_echo "yes" >&6; }
6668 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED=""
6669 fi
6670 fi
6671 if test -n "$SV_MODULE_FAILED"; then
6672 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6673 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6674 eval as_val=\$$as_ac_Header
6675 if test "x$as_val" = x""yes; then :
6676 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
6679 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
6680 fi
6681
6682
6683 if test -z "$SV_MODULE_FAILED"; then
6684 if test -n "$SV_MODULE_LIB"; then
6685 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6687 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6688 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 ac_check_lib_save_LIBS=$LIBS
6692 LIBS="-l$SV_MODULE_LIB $LIBS"
6693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6695
6696 /* Override any GCC internal prototype to avoid an error.
6697 Use char because int might match the return type of a GCC
6698 builtin and then its argument prototype would still apply. */
6699 #ifdef __cplusplus
6700 extern "C"
6701 #endif
6702 char $SV_MODULE_FUNC ();
6703 int
6704 main ()
6705 {
6706 return $SV_MODULE_FUNC ();
6707 ;
6708 return 0;
6709 }
6710 _ACEOF
6711 if ac_fn_cxx_try_link "$LINENO"; then :
6712 eval "$as_ac_Lib=yes"
6713 else
6714 eval "$as_ac_Lib=no"
6715 fi
6716 rm -f core conftest.err conftest.$ac_objext \
6717 conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6719 fi
6720 eval ac_res=\$$as_ac_Lib
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6722 $as_echo "$ac_res" >&6; }
6723 eval as_val=\$$as_ac_Lib
6724 if test "x$as_val" = x""yes; then :
6725 LIBS="$LIBS -l$SV_MODULE_LIB"
6726 else
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
6728 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
6729 fi
6730
6731 fi
6732 fi
6733 fi
6734
6735
6736 SV_MODULE_MODULE=fishsound
6737 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0"
6738 SV_MODULE_HEADER=fishsound/fishsound.h
6739 SV_MODULE_LIB=fishsound
6740 SV_MODULE_FUNC=fish_sound_new
6741 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z')
6742 SV_MODULE_FAILED=1
6743 if test -z "$SV_MODULE_VERSION_TEST" ; then
6744 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6745 fi
6746 if test -n "$PKG_CONFIG"; then
6747
6748 pkg_failed=no
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5
6750 $as_echo_n "checking for fishsound... " >&6; }
6751
6752 if test -n "$PKG_CONFIG"; then
6753 if test -n "$fishsound_CFLAGS"; then
6754 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS"
6755 else
6756 if test -n "$PKG_CONFIG" && \
6757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6758 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6759 ac_status=$?
6760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6761 test $ac_status = 0; }; then
6762 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6763 else
6764 pkg_failed=yes
6765 fi
6766 fi
6767 else
6768 pkg_failed=untried
6769 fi
6770 if test -n "$PKG_CONFIG"; then
6771 if test -n "$fishsound_LIBS"; then
6772 pkg_cv_fishsound_LIBS="$fishsound_LIBS"
6773 else
6774 if test -n "$PKG_CONFIG" && \
6775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6776 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6777 ac_status=$?
6778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6779 test $ac_status = 0; }; then
6780 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6781 else
6782 pkg_failed=yes
6783 fi
6784 fi
6785 else
6786 pkg_failed=untried
6787 fi
6788
6789
6790
6791 if test $pkg_failed = yes; then
6792
6793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6794 _pkg_short_errors_supported=yes
6795 else
6796 _pkg_short_errors_supported=no
6797 fi
6798 if test $_pkg_short_errors_supported = yes; then
6799 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6800 else
6801 fishsound_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6802 fi
6803 # Put the nasty error message in config.log where it belongs
6804 echo "$fishsound_PKG_ERRORS" >&5
6805
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6809 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6810 elif test $pkg_failed = untried; then
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6812 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6813 else
6814 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS
6815 fishsound_LIBS=$pkg_cv_fishsound_LIBS
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6817 $as_echo "yes" >&6; }
6818 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED=""
6819 fi
6820 fi
6821 if test -n "$SV_MODULE_FAILED"; then
6822 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6823 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6824 eval as_val=\$$as_ac_Header
6825 if test "x$as_val" = x""yes; then :
6826 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
6827 else
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
6829 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
6830 fi
6831
6832
6833 if test -z "$SV_MODULE_FAILED"; then
6834 if test -n "$SV_MODULE_LIB"; then
6835 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6837 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6838 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6841 ac_check_lib_save_LIBS=$LIBS
6842 LIBS="-l$SV_MODULE_LIB $LIBS"
6843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6844 /* end confdefs.h. */
6845
6846 /* Override any GCC internal prototype to avoid an error.
6847 Use char because int might match the return type of a GCC
6848 builtin and then its argument prototype would still apply. */
6849 #ifdef __cplusplus
6850 extern "C"
6851 #endif
6852 char $SV_MODULE_FUNC ();
6853 int
6854 main ()
6855 {
6856 return $SV_MODULE_FUNC ();
6857 ;
6858 return 0;
6859 }
6860 _ACEOF
6861 if ac_fn_cxx_try_link "$LINENO"; then :
6862 eval "$as_ac_Lib=yes"
6863 else
6864 eval "$as_ac_Lib=no"
6865 fi
6866 rm -f core conftest.err conftest.$ac_objext \
6867 conftest$ac_exeext conftest.$ac_ext
6868 LIBS=$ac_check_lib_save_LIBS
6869 fi
6870 eval ac_res=\$$as_ac_Lib
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6872 $as_echo "$ac_res" >&6; }
6873 eval as_val=\$$as_ac_Lib
6874 if test "x$as_val" = x""yes; then :
6875 LIBS="$LIBS -l$SV_MODULE_LIB"
6876 else
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
6878 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
6879 fi
6880
6881 fi
6882 fi
6883 fi
6884
6885
6886 SV_MODULE_MODULE=mad
6887 SV_MODULE_VERSION_TEST="mad >= 0.15.0"
6888 SV_MODULE_HEADER=mad.h
6889 SV_MODULE_LIB=mad
6890 SV_MODULE_FUNC=mad_decoder_init
6891 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z')
6892 SV_MODULE_FAILED=1
6893 if test -z "$SV_MODULE_VERSION_TEST" ; then
6894 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6895 fi
6896 if test -n "$PKG_CONFIG"; then
6897
6898 pkg_failed=no
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5
6900 $as_echo_n "checking for mad... " >&6; }
6901
6902 if test -n "$PKG_CONFIG"; then
6903 if test -n "$mad_CFLAGS"; then
6904 pkg_cv_mad_CFLAGS="$mad_CFLAGS"
6905 else
6906 if test -n "$PKG_CONFIG" && \
6907 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6908 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6909 ac_status=$?
6910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6911 test $ac_status = 0; }; then
6912 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6913 else
6914 pkg_failed=yes
6915 fi
6916 fi
6917 else
6918 pkg_failed=untried
6919 fi
6920 if test -n "$PKG_CONFIG"; then
6921 if test -n "$mad_LIBS"; then
6922 pkg_cv_mad_LIBS="$mad_LIBS"
6923 else
6924 if test -n "$PKG_CONFIG" && \
6925 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6926 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6931 else
6932 pkg_failed=yes
6933 fi
6934 fi
6935 else
6936 pkg_failed=untried
6937 fi
6938
6939
6940
6941 if test $pkg_failed = yes; then
6942
6943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6944 _pkg_short_errors_supported=yes
6945 else
6946 _pkg_short_errors_supported=no
6947 fi
6948 if test $_pkg_short_errors_supported = yes; then
6949 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6950 else
6951 mad_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
6952 fi
6953 # Put the nasty error message in config.log where it belongs
6954 echo "$mad_PKG_ERRORS" >&5
6955
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957 $as_echo "no" >&6; }
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6959 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6960 elif test $pkg_failed = untried; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
6962 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6963 else
6964 mad_CFLAGS=$pkg_cv_mad_CFLAGS
6965 mad_LIBS=$pkg_cv_mad_LIBS
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6967 $as_echo "yes" >&6; }
6968 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED=""
6969 fi
6970 fi
6971 if test -n "$SV_MODULE_FAILED"; then
6972 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6973 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6974 eval as_val=\$$as_ac_Header
6975 if test "x$as_val" = x""yes; then :
6976 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
6977 else
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
6979 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
6980 fi
6981
6982
6983 if test -z "$SV_MODULE_FAILED"; then
6984 if test -n "$SV_MODULE_LIB"; then
6985 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6987 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6988 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
6989 $as_echo_n "(cached) " >&6
6990 else
6991 ac_check_lib_save_LIBS=$LIBS
6992 LIBS="-l$SV_MODULE_LIB $LIBS"
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6994 /* end confdefs.h. */
6995
6996 /* Override any GCC internal prototype to avoid an error.
6997 Use char because int might match the return type of a GCC
6998 builtin and then its argument prototype would still apply. */
6999 #ifdef __cplusplus
7000 extern "C"
7001 #endif
7002 char $SV_MODULE_FUNC ();
7003 int
7004 main ()
7005 {
7006 return $SV_MODULE_FUNC ();
7007 ;
7008 return 0;
7009 }
7010 _ACEOF
7011 if ac_fn_cxx_try_link "$LINENO"; then :
7012 eval "$as_ac_Lib=yes"
7013 else
7014 eval "$as_ac_Lib=no"
7015 fi
7016 rm -f core conftest.err conftest.$ac_objext \
7017 conftest$ac_exeext conftest.$ac_ext
7018 LIBS=$ac_check_lib_save_LIBS
7019 fi
7020 eval ac_res=\$$as_ac_Lib
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7022 $as_echo "$ac_res" >&6; }
7023 eval as_val=\$$as_ac_Lib
7024 if test "x$as_val" = x""yes; then :
7025 LIBS="$LIBS -l$SV_MODULE_LIB"
7026 else
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
7028 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
7029 fi
7030
7031 fi
7032 fi
7033 fi
7034
7035
7036 SV_MODULE_MODULE=id3tag
7037 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0"
7038 SV_MODULE_HEADER=id3tag.h
7039 SV_MODULE_LIB=id3tag
7040 SV_MODULE_FUNC=id3_tag_new
7041 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z')
7042 SV_MODULE_FAILED=1
7043 if test -z "$SV_MODULE_VERSION_TEST" ; then
7044 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
7045 fi
7046 if test -n "$PKG_CONFIG"; then
7047
7048 pkg_failed=no
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5
7050 $as_echo_n "checking for id3tag... " >&6; }
7051
7052 if test -n "$PKG_CONFIG"; then
7053 if test -n "$id3tag_CFLAGS"; then
7054 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS"
7055 else
7056 if test -n "$PKG_CONFIG" && \
7057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7058 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; }; then
7062 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7063 else
7064 pkg_failed=yes
7065 fi
7066 fi
7067 else
7068 pkg_failed=untried
7069 fi
7070 if test -n "$PKG_CONFIG"; then
7071 if test -n "$id3tag_LIBS"; then
7072 pkg_cv_id3tag_LIBS="$id3tag_LIBS"
7073 else
7074 if test -n "$PKG_CONFIG" && \
7075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7076 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7077 ac_status=$?
7078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7079 test $ac_status = 0; }; then
7080 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7081 else
7082 pkg_failed=yes
7083 fi
7084 fi
7085 else
7086 pkg_failed=untried
7087 fi
7088
7089
7090
7091 if test $pkg_failed = yes; then
7092
7093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7094 _pkg_short_errors_supported=yes
7095 else
7096 _pkg_short_errors_supported=no
7097 fi
7098 if test $_pkg_short_errors_supported = yes; then
7099 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
7100 else
7101 id3tag_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
7102 fi
7103 # Put the nasty error message in config.log where it belongs
7104 echo "$id3tag_PKG_ERRORS" >&5
7105
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7107 $as_echo "no" >&6; }
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
7109 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7110 elif test $pkg_failed = untried; then
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5
7112 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7113 else
7114 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS
7115 id3tag_LIBS=$pkg_cv_id3tag_LIBS
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7117 $as_echo "yes" >&6; }
7118 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED=""
7119 fi
7120 fi
7121 if test -n "$SV_MODULE_FAILED"; then
7122 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7123 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7124 eval as_val=\$$as_ac_Header
7125 if test "x$as_val" = x""yes; then :
7126 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
7127 else
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
7129 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
7130 fi
7131
7132
7133 if test -z "$SV_MODULE_FAILED"; then
7134 if test -n "$SV_MODULE_LIB"; then
7135 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
7137 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
7138 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
7139 $as_echo_n "(cached) " >&6
7140 else
7141 ac_check_lib_save_LIBS=$LIBS
7142 LIBS="-l$SV_MODULE_LIB $LIBS"
7143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7144 /* end confdefs.h. */
7145
7146 /* Override any GCC internal prototype to avoid an error.
7147 Use char because int might match the return type of a GCC
7148 builtin and then its argument prototype would still apply. */
7149 #ifdef __cplusplus
7150 extern "C"
7151 #endif
7152 char $SV_MODULE_FUNC ();
7153 int
7154 main ()
7155 {
7156 return $SV_MODULE_FUNC ();
7157 ;
7158 return 0;
7159 }
7160 _ACEOF
7161 if ac_fn_cxx_try_link "$LINENO"; then :
7162 eval "$as_ac_Lib=yes"
7163 else
7164 eval "$as_ac_Lib=no"
7165 fi
7166 rm -f core conftest.err conftest.$ac_objext \
7167 conftest$ac_exeext conftest.$ac_ext
7168 LIBS=$ac_check_lib_save_LIBS
7169 fi
7170 eval ac_res=\$$as_ac_Lib
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7172 $as_echo "$ac_res" >&6; }
7173 eval as_val=\$$as_ac_Lib
7174 if test "x$as_val" = x""yes; then :
7175 LIBS="$LIBS -l$SV_MODULE_LIB"
7176 else
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
7178 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
7179 fi
7180
7181 fi
7182 fi
7183 fi
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205 ac_config_files="$ac_config_files config.pri"
7206
7207 cat >confcache <<\_ACEOF
7208 # This file is a shell script that caches the results of configure
7209 # tests run on this system so they can be shared between configure
7210 # scripts and configure runs, see configure's option --config-cache.
7211 # It is not useful on other systems. If it contains results you don't
7212 # want to keep, you may remove or edit it.
7213 #
7214 # config.status only pays attention to the cache file if you give it
7215 # the --recheck option to rerun configure.
7216 #
7217 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7218 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7219 # following values.
7220
7221 _ACEOF
7222
7223 # The following way of writing the cache mishandles newlines in values,
7224 # but we know of no workaround that is simple, portable, and efficient.
7225 # So, we kill variables containing newlines.
7226 # Ultrix sh set writes to stderr and can't be redirected directly,
7227 # and sets the high bit in the cache file unless we assign to the vars.
7228 (
7229 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7230 eval ac_val=\$$ac_var
7231 case $ac_val in #(
7232 *${as_nl}*)
7233 case $ac_var in #(
7234 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7236 esac
7237 case $ac_var in #(
7238 _ | IFS | as_nl) ;; #(
7239 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7240 *) { eval $ac_var=; unset $ac_var;} ;;
7241 esac ;;
7242 esac
7243 done
7244
7245 (set) 2>&1 |
7246 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7247 *${as_nl}ac_space=\ *)
7248 # `set' does not quote correctly, so add quotes: double-quote
7249 # substitution turns \\\\ into \\, and sed turns \\ into \.
7250 sed -n \
7251 "s/'/'\\\\''/g;
7252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7253 ;; #(
7254 *)
7255 # `set' quotes correctly as required by POSIX, so do not add quotes.
7256 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7257 ;;
7258 esac |
7259 sort
7260 ) |
7261 sed '
7262 /^ac_cv_env_/b end
7263 t clear
7264 :clear
7265 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7266 t end
7267 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7268 :end' >>confcache
7269 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7270 if test -w "$cache_file"; then
7271 test "x$cache_file" != "x/dev/null" &&
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7273 $as_echo "$as_me: updating cache $cache_file" >&6;}
7274 cat confcache >$cache_file
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7277 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7278 fi
7279 fi
7280 rm -f confcache
7281
7282 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7283 # Let make expand exec_prefix.
7284 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7285
7286 # Transform confdefs.h into DEFS.
7287 # Protect against shell expansion while executing Makefile rules.
7288 # Protect against Makefile macro expansion.
7289 #
7290 # If the first sed substitution is executed (which looks for macros that
7291 # take arguments), then branch to the quote section. Otherwise,
7292 # look for a macro that doesn't take arguments.
7293 ac_script='
7294 :mline
7295 /\\$/{
7296 N
7297 s,\\\n,,
7298 b mline
7299 }
7300 t clear
7301 :clear
7302 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7303 t quote
7304 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7305 t quote
7306 b any
7307 :quote
7308 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7309 s/\[/\\&/g
7310 s/\]/\\&/g
7311 s/\$/$$/g
7312 H
7313 :any
7314 ${
7315 g
7316 s/^\n//
7317 s/\n/ /g
7318 p
7319 }
7320 '
7321 DEFS=`sed -n "$ac_script" confdefs.h`
7322
7323
7324 ac_libobjs=
7325 ac_ltlibobjs=
7326 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7327 # 1. Remove the extension, and $U if already installed.
7328 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7329 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7330 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7331 # will be set to the directory where LIBOBJS objects are built.
7332 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7333 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7334 done
7335 LIBOBJS=$ac_libobjs
7336
7337 LTLIBOBJS=$ac_ltlibobjs
7338
7339
7340
7341 : ${CONFIG_STATUS=./config.status}
7342 ac_write_fail=0
7343 ac_clean_files_save=$ac_clean_files
7344 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7346 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7347 as_write_fail=0
7348 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7349 #! $SHELL
7350 # Generated by $as_me.
7351 # Run this file to recreate the current configuration.
7352 # Compiler output produced by configure, useful for debugging
7353 # configure, is in config.log if it exists.
7354
7355 debug=false
7356 ac_cs_recheck=false
7357 ac_cs_silent=false
7358
7359 SHELL=\${CONFIG_SHELL-$SHELL}
7360 export SHELL
7361 _ASEOF
7362 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7363 ## -------------------- ##
7364 ## M4sh Initialization. ##
7365 ## -------------------- ##
7366
7367 # Be more Bourne compatible
7368 DUALCASE=1; export DUALCASE # for MKS sh
7369 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7370 emulate sh
7371 NULLCMD=:
7372 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7373 # is contrary to our usage. Disable this feature.
7374 alias -g '${1+"$@"}'='"$@"'
7375 setopt NO_GLOB_SUBST
7376 else
7377 case `(set -o) 2>/dev/null` in #(
7378 *posix*) :
7379 set -o posix ;; #(
7380 *) :
7381 ;;
7382 esac
7383 fi
7384
7385
7386 as_nl='
7387 '
7388 export as_nl
7389 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7390 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7391 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7392 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7393 # Prefer a ksh shell builtin over an external printf program on Solaris,
7394 # but without wasting forks for bash or zsh.
7395 if test -z "$BASH_VERSION$ZSH_VERSION" \
7396 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7397 as_echo='print -r --'
7398 as_echo_n='print -rn --'
7399 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7400 as_echo='printf %s\n'
7401 as_echo_n='printf %s'
7402 else
7403 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7404 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7405 as_echo_n='/usr/ucb/echo -n'
7406 else
7407 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7408 as_echo_n_body='eval
7409 arg=$1;
7410 case $arg in #(
7411 *"$as_nl"*)
7412 expr "X$arg" : "X\\(.*\\)$as_nl";
7413 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7414 esac;
7415 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7416 '
7417 export as_echo_n_body
7418 as_echo_n='sh -c $as_echo_n_body as_echo'
7419 fi
7420 export as_echo_body
7421 as_echo='sh -c $as_echo_body as_echo'
7422 fi
7423
7424 # The user is always right.
7425 if test "${PATH_SEPARATOR+set}" != set; then
7426 PATH_SEPARATOR=:
7427 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7428 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7429 PATH_SEPARATOR=';'
7430 }
7431 fi
7432
7433
7434 # IFS
7435 # We need space, tab and new line, in precisely that order. Quoting is
7436 # there to prevent editors from complaining about space-tab.
7437 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7438 # splitting by setting IFS to empty value.)
7439 IFS=" "" $as_nl"
7440
7441 # Find who we are. Look in the path if we contain no directory separator.
7442 case $0 in #((
7443 *[\\/]* ) as_myself=$0 ;;
7444 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7445 for as_dir in $PATH
7446 do
7447 IFS=$as_save_IFS
7448 test -z "$as_dir" && as_dir=.
7449 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7450 done
7451 IFS=$as_save_IFS
7452
7453 ;;
7454 esac
7455 # We did not find ourselves, most probably we were run as `sh COMMAND'
7456 # in which case we are not to be found in the path.
7457 if test "x$as_myself" = x; then
7458 as_myself=$0
7459 fi
7460 if test ! -f "$as_myself"; then
7461 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7462 exit 1
7463 fi
7464
7465 # Unset variables that we do not need and which cause bugs (e.g. in
7466 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7467 # suppresses any "Segmentation fault" message there. '((' could
7468 # trigger a bug in pdksh 5.2.14.
7469 for as_var in BASH_ENV ENV MAIL MAILPATH
7470 do eval test x\${$as_var+set} = xset \
7471 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7472 done
7473 PS1='$ '
7474 PS2='> '
7475 PS4='+ '
7476
7477 # NLS nuisances.
7478 LC_ALL=C
7479 export LC_ALL
7480 LANGUAGE=C
7481 export LANGUAGE
7482
7483 # CDPATH.
7484 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7485
7486
7487 # as_fn_error ERROR [LINENO LOG_FD]
7488 # ---------------------------------
7489 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7490 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7491 # script with status $?, using 1 if that was 0.
7492 as_fn_error ()
7493 {
7494 as_status=$?; test $as_status -eq 0 && as_status=1
7495 if test "$3"; then
7496 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7497 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
7498 fi
7499 $as_echo "$as_me: error: $1" >&2
7500 as_fn_exit $as_status
7501 } # as_fn_error
7502
7503
7504 # as_fn_set_status STATUS
7505 # -----------------------
7506 # Set $? to STATUS, without forking.
7507 as_fn_set_status ()
7508 {
7509 return $1
7510 } # as_fn_set_status
7511
7512 # as_fn_exit STATUS
7513 # -----------------
7514 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7515 as_fn_exit ()
7516 {
7517 set +e
7518 as_fn_set_status $1
7519 exit $1
7520 } # as_fn_exit
7521
7522 # as_fn_unset VAR
7523 # ---------------
7524 # Portably unset VAR.
7525 as_fn_unset ()
7526 {
7527 { eval $1=; unset $1;}
7528 }
7529 as_unset=as_fn_unset
7530 # as_fn_append VAR VALUE
7531 # ----------------------
7532 # Append the text in VALUE to the end of the definition contained in VAR. Take
7533 # advantage of any shell optimizations that allow amortized linear growth over
7534 # repeated appends, instead of the typical quadratic growth present in naive
7535 # implementations.
7536 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7537 eval 'as_fn_append ()
7538 {
7539 eval $1+=\$2
7540 }'
7541 else
7542 as_fn_append ()
7543 {
7544 eval $1=\$$1\$2
7545 }
7546 fi # as_fn_append
7547
7548 # as_fn_arith ARG...
7549 # ------------------
7550 # Perform arithmetic evaluation on the ARGs, and store the result in the
7551 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7552 # must be portable across $(()) and expr.
7553 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7554 eval 'as_fn_arith ()
7555 {
7556 as_val=$(( $* ))
7557 }'
7558 else
7559 as_fn_arith ()
7560 {
7561 as_val=`expr "$@" || test $? -eq 1`
7562 }
7563 fi # as_fn_arith
7564
7565
7566 if expr a : '\(a\)' >/dev/null 2>&1 &&
7567 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7568 as_expr=expr
7569 else
7570 as_expr=false
7571 fi
7572
7573 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7574 as_basename=basename
7575 else
7576 as_basename=false
7577 fi
7578
7579 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7580 as_dirname=dirname
7581 else
7582 as_dirname=false
7583 fi
7584
7585 as_me=`$as_basename -- "$0" ||
7586 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7587 X"$0" : 'X\(//\)$' \| \
7588 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7589 $as_echo X/"$0" |
7590 sed '/^.*\/\([^/][^/]*\)\/*$/{
7591 s//\1/
7592 q
7593 }
7594 /^X\/\(\/\/\)$/{
7595 s//\1/
7596 q
7597 }
7598 /^X\/\(\/\).*/{
7599 s//\1/
7600 q
7601 }
7602 s/.*/./; q'`
7603
7604 # Avoid depending upon Character Ranges.
7605 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7606 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7607 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7608 as_cr_digits='0123456789'
7609 as_cr_alnum=$as_cr_Letters$as_cr_digits
7610
7611 ECHO_C= ECHO_N= ECHO_T=
7612 case `echo -n x` in #(((((
7613 -n*)
7614 case `echo 'xy\c'` in
7615 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7616 xy) ECHO_C='\c';;
7617 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7618 ECHO_T=' ';;
7619 esac;;
7620 *)
7621 ECHO_N='-n';;
7622 esac
7623
7624 rm -f conf$$ conf$$.exe conf$$.file
7625 if test -d conf$$.dir; then
7626 rm -f conf$$.dir/conf$$.file
7627 else
7628 rm -f conf$$.dir
7629 mkdir conf$$.dir 2>/dev/null
7630 fi
7631 if (echo >conf$$.file) 2>/dev/null; then
7632 if ln -s conf$$.file conf$$ 2>/dev/null; then
7633 as_ln_s='ln -s'
7634 # ... but there are two gotchas:
7635 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7636 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7637 # In both cases, we have to default to `cp -p'.
7638 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7639 as_ln_s='cp -p'
7640 elif ln conf$$.file conf$$ 2>/dev/null; then
7641 as_ln_s=ln
7642 else
7643 as_ln_s='cp -p'
7644 fi
7645 else
7646 as_ln_s='cp -p'
7647 fi
7648 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7649 rmdir conf$$.dir 2>/dev/null
7650
7651
7652 # as_fn_mkdir_p
7653 # -------------
7654 # Create "$as_dir" as a directory, including parents if necessary.
7655 as_fn_mkdir_p ()
7656 {
7657
7658 case $as_dir in #(
7659 -*) as_dir=./$as_dir;;
7660 esac
7661 test -d "$as_dir" || eval $as_mkdir_p || {
7662 as_dirs=
7663 while :; do
7664 case $as_dir in #(
7665 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7666 *) as_qdir=$as_dir;;
7667 esac
7668 as_dirs="'$as_qdir' $as_dirs"
7669 as_dir=`$as_dirname -- "$as_dir" ||
7670 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7671 X"$as_dir" : 'X\(//\)[^/]' \| \
7672 X"$as_dir" : 'X\(//\)$' \| \
7673 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7674 $as_echo X"$as_dir" |
7675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7676 s//\1/
7677 q
7678 }
7679 /^X\(\/\/\)[^/].*/{
7680 s//\1/
7681 q
7682 }
7683 /^X\(\/\/\)$/{
7684 s//\1/
7685 q
7686 }
7687 /^X\(\/\).*/{
7688 s//\1/
7689 q
7690 }
7691 s/.*/./; q'`
7692 test -d "$as_dir" && break
7693 done
7694 test -z "$as_dirs" || eval "mkdir $as_dirs"
7695 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
7696
7697
7698 } # as_fn_mkdir_p
7699 if mkdir -p . 2>/dev/null; then
7700 as_mkdir_p='mkdir -p "$as_dir"'
7701 else
7702 test -d ./-p && rmdir ./-p
7703 as_mkdir_p=false
7704 fi
7705
7706 if test -x / >/dev/null 2>&1; then
7707 as_test_x='test -x'
7708 else
7709 if ls -dL / >/dev/null 2>&1; then
7710 as_ls_L_option=L
7711 else
7712 as_ls_L_option=
7713 fi
7714 as_test_x='
7715 eval sh -c '\''
7716 if test -d "$1"; then
7717 test -d "$1/.";
7718 else
7719 case $1 in #(
7720 -*)set "./$1";;
7721 esac;
7722 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7723 ???[sx]*):;;*)false;;esac;fi
7724 '\'' sh
7725 '
7726 fi
7727 as_executable_p=$as_test_x
7728
7729 # Sed expression to map a string onto a valid CPP name.
7730 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7731
7732 # Sed expression to map a string onto a valid variable name.
7733 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7734
7735
7736 exec 6>&1
7737 ## ----------------------------------- ##
7738 ## Main body of $CONFIG_STATUS script. ##
7739 ## ----------------------------------- ##
7740 _ASEOF
7741 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7742
7743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7744 # Save the log message, to keep $0 and so on meaningful, and to
7745 # report actual input values of CONFIG_FILES etc. instead of their
7746 # values after options handling.
7747 ac_log="
7748 This file was extended by Sonic Annotator $as_me 0.5, which was
7749 generated by GNU Autoconf 2.65. Invocation command line was
7750
7751 CONFIG_FILES = $CONFIG_FILES
7752 CONFIG_HEADERS = $CONFIG_HEADERS
7753 CONFIG_LINKS = $CONFIG_LINKS
7754 CONFIG_COMMANDS = $CONFIG_COMMANDS
7755 $ $0 $@
7756
7757 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7758 "
7759
7760 _ACEOF
7761
7762 case $ac_config_files in *"
7763 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7764 esac
7765
7766
7767
7768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7769 # Files that config.status was made for.
7770 config_files="$ac_config_files"
7771
7772 _ACEOF
7773
7774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7775 ac_cs_usage="\
7776 \`$as_me' instantiates files and other configuration actions
7777 from templates according to the current configuration. Unless the files
7778 and actions are specified as TAGs, all are instantiated by default.
7779
7780 Usage: $0 [OPTION]... [TAG]...
7781
7782 -h, --help print this help, then exit
7783 -V, --version print version number and configuration settings, then exit
7784 --config print configuration, then exit
7785 -q, --quiet, --silent
7786 do not print progress messages
7787 -d, --debug don't remove temporary files
7788 --recheck update $as_me by reconfiguring in the same conditions
7789 --file=FILE[:TEMPLATE]
7790 instantiate the configuration file FILE
7791
7792 Configuration files:
7793 $config_files
7794
7795 Report bugs to <cannam@all-day-breakfast.com>."
7796
7797 _ACEOF
7798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7799 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7800 ac_cs_version="\\
7801 Sonic Annotator config.status 0.5
7802 configured by $0, generated by GNU Autoconf 2.65,
7803 with options \\"\$ac_cs_config\\"
7804
7805 Copyright (C) 2009 Free Software Foundation, Inc.
7806 This config.status script is free software; the Free Software Foundation
7807 gives unlimited permission to copy, distribute and modify it."
7808
7809 ac_pwd='$ac_pwd'
7810 srcdir='$srcdir'
7811 INSTALL='$INSTALL'
7812 MKDIR_P='$MKDIR_P'
7813 test -n "\$AWK" || AWK=awk
7814 _ACEOF
7815
7816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7817 # The default lists apply if the user does not specify any file.
7818 ac_need_defaults=:
7819 while test $# != 0
7820 do
7821 case $1 in
7822 --*=*)
7823 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7824 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7825 ac_shift=:
7826 ;;
7827 *)
7828 ac_option=$1
7829 ac_optarg=$2
7830 ac_shift=shift
7831 ;;
7832 esac
7833
7834 case $ac_option in
7835 # Handling of the options.
7836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7837 ac_cs_recheck=: ;;
7838 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7839 $as_echo "$ac_cs_version"; exit ;;
7840 --config | --confi | --conf | --con | --co | --c )
7841 $as_echo "$ac_cs_config"; exit ;;
7842 --debug | --debu | --deb | --de | --d | -d )
7843 debug=: ;;
7844 --file | --fil | --fi | --f )
7845 $ac_shift
7846 case $ac_optarg in
7847 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7848 esac
7849 as_fn_append CONFIG_FILES " '$ac_optarg'"
7850 ac_need_defaults=false;;
7851 --he | --h | --help | --hel | -h )
7852 $as_echo "$ac_cs_usage"; exit ;;
7853 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7854 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7855 ac_cs_silent=: ;;
7856
7857 # This is an error.
7858 -*) as_fn_error "unrecognized option: \`$1'
7859 Try \`$0 --help' for more information." ;;
7860
7861 *) as_fn_append ac_config_targets " $1"
7862 ac_need_defaults=false ;;
7863
7864 esac
7865 shift
7866 done
7867
7868 ac_configure_extra_args=
7869
7870 if $ac_cs_silent; then
7871 exec 6>/dev/null
7872 ac_configure_extra_args="$ac_configure_extra_args --silent"
7873 fi
7874
7875 _ACEOF
7876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7877 if \$ac_cs_recheck; then
7878 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7879 shift
7880 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7881 CONFIG_SHELL='$SHELL'
7882 export CONFIG_SHELL
7883 exec "\$@"
7884 fi
7885
7886 _ACEOF
7887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7888 exec 5>>config.log
7889 {
7890 echo
7891 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7892 ## Running $as_me. ##
7893 _ASBOX
7894 $as_echo "$ac_log"
7895 } >&5
7896
7897 _ACEOF
7898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7899 _ACEOF
7900
7901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7902
7903 # Handling of arguments.
7904 for ac_config_target in $ac_config_targets
7905 do
7906 case $ac_config_target in
7907 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;;
7908
7909 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7910 esac
7911 done
7912
7913
7914 # If the user did not use the arguments to specify the items to instantiate,
7915 # then the envvar interface is used. Set only those that are not.
7916 # We use the long form for the default assignment because of an extremely
7917 # bizarre bug on SunOS 4.1.3.
7918 if $ac_need_defaults; then
7919 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7920 fi
7921
7922 # Have a temporary directory for convenience. Make it in the build tree
7923 # simply because there is no reason against having it here, and in addition,
7924 # creating and moving files from /tmp can sometimes cause problems.
7925 # Hook for its removal unless debugging.
7926 # Note that there is a small window in which the directory will not be cleaned:
7927 # after its creation but before its name has been assigned to `$tmp'.
7928 $debug ||
7929 {
7930 tmp=
7931 trap 'exit_status=$?
7932 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7933 ' 0
7934 trap 'as_fn_exit 1' 1 2 13 15
7935 }
7936 # Create a (secure) tmp directory for tmp files.
7937
7938 {
7939 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7940 test -n "$tmp" && test -d "$tmp"
7941 } ||
7942 {
7943 tmp=./conf$$-$RANDOM
7944 (umask 077 && mkdir "$tmp")
7945 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
7946
7947 # Set up the scripts for CONFIG_FILES section.
7948 # No need to generate them if there are no CONFIG_FILES.
7949 # This happens for instance with `./config.status config.h'.
7950 if test -n "$CONFIG_FILES"; then
7951
7952
7953 ac_cr=`echo X | tr X '\015'`
7954 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7955 # But we know of no other shell where ac_cr would be empty at this
7956 # point, so we can use a bashism as a fallback.
7957 if test "x$ac_cr" = x; then
7958 eval ac_cr=\$\'\\r\'
7959 fi
7960 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7961 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7962 ac_cs_awk_cr='\r'
7963 else
7964 ac_cs_awk_cr=$ac_cr
7965 fi
7966
7967 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7968 _ACEOF
7969
7970
7971 {
7972 echo "cat >conf$$subs.awk <<_ACEOF" &&
7973 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7974 echo "_ACEOF"
7975 } >conf$$subs.sh ||
7976 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7977 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7978 ac_delim='%!_!# '
7979 for ac_last_try in false false false false false :; do
7980 . ./conf$$subs.sh ||
7981 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7982
7983 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7984 if test $ac_delim_n = $ac_delim_num; then
7985 break
7986 elif $ac_last_try; then
7987 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7988 else
7989 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7990 fi
7991 done
7992 rm -f conf$$subs.sh
7993
7994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7995 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7996 _ACEOF
7997 sed -n '
7998 h
7999 s/^/S["/; s/!.*/"]=/
8000 p
8001 g
8002 s/^[^!]*!//
8003 :repl
8004 t repl
8005 s/'"$ac_delim"'$//
8006 t delim
8007 :nl
8008 h
8009 s/\(.\{148\}\)..*/\1/
8010 t more1
8011 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8012 p
8013 n
8014 b repl
8015 :more1
8016 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8017 p
8018 g
8019 s/.\{148\}//
8020 t nl
8021 :delim
8022 h
8023 s/\(.\{148\}\)..*/\1/
8024 t more2
8025 s/["\\]/\\&/g; s/^/"/; s/$/"/
8026 p
8027 b
8028 :more2
8029 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8030 p
8031 g
8032 s/.\{148\}//
8033 t delim
8034 ' <conf$$subs.awk | sed '
8035 /^[^""]/{
8036 N
8037 s/\n//
8038 }
8039 ' >>$CONFIG_STATUS || ac_write_fail=1
8040 rm -f conf$$subs.awk
8041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8042 _ACAWK
8043 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8044 for (key in S) S_is_set[key] = 1
8045 FS = ""
8046
8047 }
8048 {
8049 line = $ 0
8050 nfields = split(line, field, "@")
8051 substed = 0
8052 len = length(field[1])
8053 for (i = 2; i < nfields; i++) {
8054 key = field[i]
8055 keylen = length(key)
8056 if (S_is_set[key]) {
8057 value = S[key]
8058 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8059 len += length(value) + length(field[++i])
8060 substed = 1
8061 } else
8062 len += 1 + keylen
8063 }
8064
8065 print line
8066 }
8067
8068 _ACAWK
8069 _ACEOF
8070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8071 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8072 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8073 else
8074 cat
8075 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8076 || as_fn_error "could not setup config files machinery" "$LINENO" 5
8077 _ACEOF
8078
8079 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8080 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8081 # trailing colons and then remove the whole line if VPATH becomes empty
8082 # (actually we leave an empty line to preserve line numbers).
8083 if test "x$srcdir" = x.; then
8084 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8085 s/:*\$(srcdir):*/:/
8086 s/:*\${srcdir}:*/:/
8087 s/:*@srcdir@:*/:/
8088 s/^\([^=]*=[ ]*\):*/\1/
8089 s/:*$//
8090 s/^[^=]*=[ ]*$//
8091 }'
8092 fi
8093
8094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8095 fi # test -n "$CONFIG_FILES"
8096
8097
8098 eval set X " :F $CONFIG_FILES "
8099 shift
8100 for ac_tag
8101 do
8102 case $ac_tag in
8103 :[FHLC]) ac_mode=$ac_tag; continue;;
8104 esac
8105 case $ac_mode$ac_tag in
8106 :[FHL]*:*);;
8107 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
8108 :[FH]-) ac_tag=-:-;;
8109 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8110 esac
8111 ac_save_IFS=$IFS
8112 IFS=:
8113 set x $ac_tag
8114 IFS=$ac_save_IFS
8115 shift
8116 ac_file=$1
8117 shift
8118
8119 case $ac_mode in
8120 :L) ac_source=$1;;
8121 :[FH])
8122 ac_file_inputs=
8123 for ac_f
8124 do
8125 case $ac_f in
8126 -) ac_f="$tmp/stdin";;
8127 *) # Look for the file first in the build tree, then in the source tree
8128 # (if the path is not absolute). The absolute path cannot be DOS-style,
8129 # because $ac_f cannot contain `:'.
8130 test -f "$ac_f" ||
8131 case $ac_f in
8132 [\\/$]*) false;;
8133 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8134 esac ||
8135 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8136 esac
8137 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8138 as_fn_append ac_file_inputs " '$ac_f'"
8139 done
8140
8141 # Let's still pretend it is `configure' which instantiates (i.e., don't
8142 # use $as_me), people would be surprised to read:
8143 # /* config.h. Generated by config.status. */
8144 configure_input='Generated from '`
8145 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8146 `' by configure.'
8147 if test x"$ac_file" != x-; then
8148 configure_input="$ac_file. $configure_input"
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8150 $as_echo "$as_me: creating $ac_file" >&6;}
8151 fi
8152 # Neutralize special characters interpreted by sed in replacement strings.
8153 case $configure_input in #(
8154 *\&* | *\|* | *\\* )
8155 ac_sed_conf_input=`$as_echo "$configure_input" |
8156 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8157 *) ac_sed_conf_input=$configure_input;;
8158 esac
8159
8160 case $ac_tag in
8161 *:-:* | *:-) cat >"$tmp/stdin" \
8162 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
8163 esac
8164 ;;
8165 esac
8166
8167 ac_dir=`$as_dirname -- "$ac_file" ||
8168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8169 X"$ac_file" : 'X\(//\)[^/]' \| \
8170 X"$ac_file" : 'X\(//\)$' \| \
8171 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8172 $as_echo X"$ac_file" |
8173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8174 s//\1/
8175 q
8176 }
8177 /^X\(\/\/\)[^/].*/{
8178 s//\1/
8179 q
8180 }
8181 /^X\(\/\/\)$/{
8182 s//\1/
8183 q
8184 }
8185 /^X\(\/\).*/{
8186 s//\1/
8187 q
8188 }
8189 s/.*/./; q'`
8190 as_dir="$ac_dir"; as_fn_mkdir_p
8191 ac_builddir=.
8192
8193 case "$ac_dir" in
8194 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8195 *)
8196 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8197 # A ".." for each directory in $ac_dir_suffix.
8198 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8199 case $ac_top_builddir_sub in
8200 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8201 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8202 esac ;;
8203 esac
8204 ac_abs_top_builddir=$ac_pwd
8205 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8206 # for backward compatibility:
8207 ac_top_builddir=$ac_top_build_prefix
8208
8209 case $srcdir in
8210 .) # We are building in place.
8211 ac_srcdir=.
8212 ac_top_srcdir=$ac_top_builddir_sub
8213 ac_abs_top_srcdir=$ac_pwd ;;
8214 [\\/]* | ?:[\\/]* ) # Absolute name.
8215 ac_srcdir=$srcdir$ac_dir_suffix;
8216 ac_top_srcdir=$srcdir
8217 ac_abs_top_srcdir=$srcdir ;;
8218 *) # Relative name.
8219 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8220 ac_top_srcdir=$ac_top_build_prefix$srcdir
8221 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8222 esac
8223 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8224
8225
8226 case $ac_mode in
8227 :F)
8228 #
8229 # CONFIG_FILE
8230 #
8231
8232 case $INSTALL in
8233 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8234 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8235 esac
8236 ac_MKDIR_P=$MKDIR_P
8237 case $MKDIR_P in
8238 [\\/$]* | ?:[\\/]* ) ;;
8239 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8240 esac
8241 _ACEOF
8242
8243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8244 # If the template does not know about datarootdir, expand it.
8245 # FIXME: This hack should be removed a few years after 2.60.
8246 ac_datarootdir_hack=; ac_datarootdir_seen=
8247 ac_sed_dataroot='
8248 /datarootdir/ {
8249 p
8250 q
8251 }
8252 /@datadir@/p
8253 /@docdir@/p
8254 /@infodir@/p
8255 /@localedir@/p
8256 /@mandir@/p'
8257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8258 *datarootdir*) ac_datarootdir_seen=yes;;
8259 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8261 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8262 _ACEOF
8263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8264 ac_datarootdir_hack='
8265 s&@datadir@&$datadir&g
8266 s&@docdir@&$docdir&g
8267 s&@infodir@&$infodir&g
8268 s&@localedir@&$localedir&g
8269 s&@mandir@&$mandir&g
8270 s&\\\${datarootdir}&$datarootdir&g' ;;
8271 esac
8272 _ACEOF
8273
8274 # Neutralize VPATH when `$srcdir' = `.'.
8275 # Shell code in configure.ac might set extrasub.
8276 # FIXME: do we really want to maintain this feature?
8277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8278 ac_sed_extra="$ac_vpsub
8279 $extrasub
8280 _ACEOF
8281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8282 :t
8283 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8284 s|@configure_input@|$ac_sed_conf_input|;t t
8285 s&@top_builddir@&$ac_top_builddir_sub&;t t
8286 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8287 s&@srcdir@&$ac_srcdir&;t t
8288 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8289 s&@top_srcdir@&$ac_top_srcdir&;t t
8290 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8291 s&@builddir@&$ac_builddir&;t t
8292 s&@abs_builddir@&$ac_abs_builddir&;t t
8293 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8294 s&@INSTALL@&$ac_INSTALL&;t t
8295 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8296 $ac_datarootdir_hack
8297 "
8298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8299 || as_fn_error "could not create $ac_file" "$LINENO" 5
8300
8301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8302 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8305 which seems to be undefined. Please make sure it is defined." >&5
8306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8307 which seems to be undefined. Please make sure it is defined." >&2;}
8308
8309 rm -f "$tmp/stdin"
8310 case $ac_file in
8311 -) cat "$tmp/out" && rm -f "$tmp/out";;
8312 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8313 esac \
8314 || as_fn_error "could not create $ac_file" "$LINENO" 5
8315 ;;
8316
8317
8318
8319 esac
8320
8321 done # for ac_tag
8322
8323
8324 as_fn_exit 0
8325 _ACEOF
8326 ac_clean_files=$ac_clean_files_save
8327
8328 test $ac_write_fail = 0 ||
8329 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
8330
8331
8332 # configure is writing to config.log, and then calls config.status.
8333 # config.status does its own redirection, appending to config.log.
8334 # Unfortunately, on DOS this fails, as config.log is still kept open
8335 # by configure, so config.status won't be able to write to it; its
8336 # output is simply discarded. So we exec the FD to /dev/null,
8337 # effectively closing config.log, so it can be properly (re)opened and
8338 # appended to by config.status. When coming back to configure, we
8339 # need to make the FD available again.
8340 if test "$no_create" != yes; then
8341 ac_cs_success=:
8342 ac_config_status_args=
8343 test "$silent" = yes &&
8344 ac_config_status_args="$ac_config_status_args --quiet"
8345 exec 5>/dev/null
8346 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8347 exec 5>>config.log
8348 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8349 # would make configure fail if this is the last instruction.
8350 $ac_cs_success || as_fn_exit $?
8351 fi
8352 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8354 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8355 fi
8356
8357 ac_config_files="$ac_config_files version.h"
8358
8359 cat >confcache <<\_ACEOF
8360 # This file is a shell script that caches the results of configure
8361 # tests run on this system so they can be shared between configure
8362 # scripts and configure runs, see configure's option --config-cache.
8363 # It is not useful on other systems. If it contains results you don't
8364 # want to keep, you may remove or edit it.
8365 #
8366 # config.status only pays attention to the cache file if you give it
8367 # the --recheck option to rerun configure.
8368 #
8369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8371 # following values.
8372
8373 _ACEOF
8374
8375 # The following way of writing the cache mishandles newlines in values,
8376 # but we know of no workaround that is simple, portable, and efficient.
8377 # So, we kill variables containing newlines.
8378 # Ultrix sh set writes to stderr and can't be redirected directly,
8379 # and sets the high bit in the cache file unless we assign to the vars.
8380 (
8381 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8382 eval ac_val=\$$ac_var
8383 case $ac_val in #(
8384 *${as_nl}*)
8385 case $ac_var in #(
8386 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8387 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8388 esac
8389 case $ac_var in #(
8390 _ | IFS | as_nl) ;; #(
8391 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8392 *) { eval $ac_var=; unset $ac_var;} ;;
8393 esac ;;
8394 esac
8395 done
8396
8397 (set) 2>&1 |
8398 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8399 *${as_nl}ac_space=\ *)
8400 # `set' does not quote correctly, so add quotes: double-quote
8401 # substitution turns \\\\ into \\, and sed turns \\ into \.
8402 sed -n \
8403 "s/'/'\\\\''/g;
8404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8405 ;; #(
8406 *)
8407 # `set' quotes correctly as required by POSIX, so do not add quotes.
8408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8409 ;;
8410 esac |
8411 sort
8412 ) |
8413 sed '
8414 /^ac_cv_env_/b end
8415 t clear
8416 :clear
8417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8418 t end
8419 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8420 :end' >>confcache
8421 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8422 if test -w "$cache_file"; then
8423 test "x$cache_file" != "x/dev/null" &&
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8425 $as_echo "$as_me: updating cache $cache_file" >&6;}
8426 cat confcache >$cache_file
8427 else
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8430 fi
8431 fi
8432 rm -f confcache
8433
8434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8435 # Let make expand exec_prefix.
8436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8437
8438 # Transform confdefs.h into DEFS.
8439 # Protect against shell expansion while executing Makefile rules.
8440 # Protect against Makefile macro expansion.
8441 #
8442 # If the first sed substitution is executed (which looks for macros that
8443 # take arguments), then branch to the quote section. Otherwise,
8444 # look for a macro that doesn't take arguments.
8445 ac_script='
8446 :mline
8447 /\\$/{
8448 N
8449 s,\\\n,,
8450 b mline
8451 }
8452 t clear
8453 :clear
8454 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
8455 t quote
8456 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
8457 t quote
8458 b any
8459 :quote
8460 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8461 s/\[/\\&/g
8462 s/\]/\\&/g
8463 s/\$/$$/g
8464 H
8465 :any
8466 ${
8467 g
8468 s/^\n//
8469 s/\n/ /g
8470 p
8471 }
8472 '
8473 DEFS=`sed -n "$ac_script" confdefs.h`
8474
8475
8476 ac_libobjs=
8477 ac_ltlibobjs=
8478 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8479 # 1. Remove the extension, and $U if already installed.
8480 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8481 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8482 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8483 # will be set to the directory where LIBOBJS objects are built.
8484 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8485 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8486 done
8487 LIBOBJS=$ac_libobjs
8488
8489 LTLIBOBJS=$ac_ltlibobjs
8490
8491
8492
8493 : ${CONFIG_STATUS=./config.status}
8494 ac_write_fail=0
8495 ac_clean_files_save=$ac_clean_files
8496 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8498 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8499 as_write_fail=0
8500 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8501 #! $SHELL
8502 # Generated by $as_me.
8503 # Run this file to recreate the current configuration.
8504 # Compiler output produced by configure, useful for debugging
8505 # configure, is in config.log if it exists.
8506
8507 debug=false
8508 ac_cs_recheck=false
8509 ac_cs_silent=false
8510
8511 SHELL=\${CONFIG_SHELL-$SHELL}
8512 export SHELL
8513 _ASEOF
8514 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8515 ## -------------------- ##
8516 ## M4sh Initialization. ##
8517 ## -------------------- ##
8518
8519 # Be more Bourne compatible
8520 DUALCASE=1; export DUALCASE # for MKS sh
8521 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8522 emulate sh
8523 NULLCMD=:
8524 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8525 # is contrary to our usage. Disable this feature.
8526 alias -g '${1+"$@"}'='"$@"'
8527 setopt NO_GLOB_SUBST
8528 else
8529 case `(set -o) 2>/dev/null` in #(
8530 *posix*) :
8531 set -o posix ;; #(
8532 *) :
8533 ;;
8534 esac
8535 fi
8536
8537
8538 as_nl='
8539 '
8540 export as_nl
8541 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8542 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8543 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8544 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8545 # Prefer a ksh shell builtin over an external printf program on Solaris,
8546 # but without wasting forks for bash or zsh.
8547 if test -z "$BASH_VERSION$ZSH_VERSION" \
8548 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8549 as_echo='print -r --'
8550 as_echo_n='print -rn --'
8551 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8552 as_echo='printf %s\n'
8553 as_echo_n='printf %s'
8554 else
8555 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8556 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8557 as_echo_n='/usr/ucb/echo -n'
8558 else
8559 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8560 as_echo_n_body='eval
8561 arg=$1;
8562 case $arg in #(
8563 *"$as_nl"*)
8564 expr "X$arg" : "X\\(.*\\)$as_nl";
8565 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8566 esac;
8567 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8568 '
8569 export as_echo_n_body
8570 as_echo_n='sh -c $as_echo_n_body as_echo'
8571 fi
8572 export as_echo_body
8573 as_echo='sh -c $as_echo_body as_echo'
8574 fi
8575
8576 # The user is always right.
8577 if test "${PATH_SEPARATOR+set}" != set; then
8578 PATH_SEPARATOR=:
8579 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8580 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8581 PATH_SEPARATOR=';'
8582 }
8583 fi
8584
8585
8586 # IFS
8587 # We need space, tab and new line, in precisely that order. Quoting is
8588 # there to prevent editors from complaining about space-tab.
8589 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8590 # splitting by setting IFS to empty value.)
8591 IFS=" "" $as_nl"
8592
8593 # Find who we are. Look in the path if we contain no directory separator.
8594 case $0 in #((
8595 *[\\/]* ) as_myself=$0 ;;
8596 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8597 for as_dir in $PATH
8598 do
8599 IFS=$as_save_IFS
8600 test -z "$as_dir" && as_dir=.
8601 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8602 done
8603 IFS=$as_save_IFS
8604
8605 ;;
8606 esac
8607 # We did not find ourselves, most probably we were run as `sh COMMAND'
8608 # in which case we are not to be found in the path.
8609 if test "x$as_myself" = x; then
8610 as_myself=$0
8611 fi
8612 if test ! -f "$as_myself"; then
8613 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8614 exit 1
8615 fi
8616
8617 # Unset variables that we do not need and which cause bugs (e.g. in
8618 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8619 # suppresses any "Segmentation fault" message there. '((' could
8620 # trigger a bug in pdksh 5.2.14.
8621 for as_var in BASH_ENV ENV MAIL MAILPATH
8622 do eval test x\${$as_var+set} = xset \
8623 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8624 done
8625 PS1='$ '
8626 PS2='> '
8627 PS4='+ '
8628
8629 # NLS nuisances.
8630 LC_ALL=C
8631 export LC_ALL
8632 LANGUAGE=C
8633 export LANGUAGE
8634
8635 # CDPATH.
8636 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8637
8638
8639 # as_fn_error ERROR [LINENO LOG_FD]
8640 # ---------------------------------
8641 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8642 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8643 # script with status $?, using 1 if that was 0.
8644 as_fn_error ()
8645 {
8646 as_status=$?; test $as_status -eq 0 && as_status=1
8647 if test "$3"; then
8648 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8649 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8650 fi
8651 $as_echo "$as_me: error: $1" >&2
8652 as_fn_exit $as_status
8653 } # as_fn_error
8654
8655
8656 # as_fn_set_status STATUS
8657 # -----------------------
8658 # Set $? to STATUS, without forking.
8659 as_fn_set_status ()
8660 {
8661 return $1
8662 } # as_fn_set_status
8663
8664 # as_fn_exit STATUS
8665 # -----------------
8666 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8667 as_fn_exit ()
8668 {
8669 set +e
8670 as_fn_set_status $1
8671 exit $1
8672 } # as_fn_exit
8673
8674 # as_fn_unset VAR
8675 # ---------------
8676 # Portably unset VAR.
8677 as_fn_unset ()
8678 {
8679 { eval $1=; unset $1;}
8680 }
8681 as_unset=as_fn_unset
8682 # as_fn_append VAR VALUE
8683 # ----------------------
8684 # Append the text in VALUE to the end of the definition contained in VAR. Take
8685 # advantage of any shell optimizations that allow amortized linear growth over
8686 # repeated appends, instead of the typical quadratic growth present in naive
8687 # implementations.
8688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8689 eval 'as_fn_append ()
8690 {
8691 eval $1+=\$2
8692 }'
8693 else
8694 as_fn_append ()
8695 {
8696 eval $1=\$$1\$2
8697 }
8698 fi # as_fn_append
8699
8700 # as_fn_arith ARG...
8701 # ------------------
8702 # Perform arithmetic evaluation on the ARGs, and store the result in the
8703 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8704 # must be portable across $(()) and expr.
8705 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8706 eval 'as_fn_arith ()
8707 {
8708 as_val=$(( $* ))
8709 }'
8710 else
8711 as_fn_arith ()
8712 {
8713 as_val=`expr "$@" || test $? -eq 1`
8714 }
8715 fi # as_fn_arith
8716
8717
8718 if expr a : '\(a\)' >/dev/null 2>&1 &&
8719 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8720 as_expr=expr
8721 else
8722 as_expr=false
8723 fi
8724
8725 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8726 as_basename=basename
8727 else
8728 as_basename=false
8729 fi
8730
8731 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8732 as_dirname=dirname
8733 else
8734 as_dirname=false
8735 fi
8736
8737 as_me=`$as_basename -- "$0" ||
8738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8739 X"$0" : 'X\(//\)$' \| \
8740 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8741 $as_echo X/"$0" |
8742 sed '/^.*\/\([^/][^/]*\)\/*$/{
8743 s//\1/
8744 q
8745 }
8746 /^X\/\(\/\/\)$/{
8747 s//\1/
8748 q
8749 }
8750 /^X\/\(\/\).*/{
8751 s//\1/
8752 q
8753 }
8754 s/.*/./; q'`
8755
8756 # Avoid depending upon Character Ranges.
8757 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8758 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8759 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8760 as_cr_digits='0123456789'
8761 as_cr_alnum=$as_cr_Letters$as_cr_digits
8762
8763 ECHO_C= ECHO_N= ECHO_T=
8764 case `echo -n x` in #(((((
8765 -n*)
8766 case `echo 'xy\c'` in
8767 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8768 xy) ECHO_C='\c';;
8769 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8770 ECHO_T=' ';;
8771 esac;;
8772 *)
8773 ECHO_N='-n';;
8774 esac
8775
8776 rm -f conf$$ conf$$.exe conf$$.file
8777 if test -d conf$$.dir; then
8778 rm -f conf$$.dir/conf$$.file
8779 else
8780 rm -f conf$$.dir
8781 mkdir conf$$.dir 2>/dev/null
8782 fi
8783 if (echo >conf$$.file) 2>/dev/null; then
8784 if ln -s conf$$.file conf$$ 2>/dev/null; then
8785 as_ln_s='ln -s'
8786 # ... but there are two gotchas:
8787 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8788 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8789 # In both cases, we have to default to `cp -p'.
8790 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8791 as_ln_s='cp -p'
8792 elif ln conf$$.file conf$$ 2>/dev/null; then
8793 as_ln_s=ln
8794 else
8795 as_ln_s='cp -p'
8796 fi
8797 else
8798 as_ln_s='cp -p'
8799 fi
8800 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8801 rmdir conf$$.dir 2>/dev/null
8802
8803
8804 # as_fn_mkdir_p
8805 # -------------
8806 # Create "$as_dir" as a directory, including parents if necessary.
8807 as_fn_mkdir_p ()
8808 {
8809
8810 case $as_dir in #(
8811 -*) as_dir=./$as_dir;;
8812 esac
8813 test -d "$as_dir" || eval $as_mkdir_p || {
8814 as_dirs=
8815 while :; do
8816 case $as_dir in #(
8817 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8818 *) as_qdir=$as_dir;;
8819 esac
8820 as_dirs="'$as_qdir' $as_dirs"
8821 as_dir=`$as_dirname -- "$as_dir" ||
8822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8823 X"$as_dir" : 'X\(//\)[^/]' \| \
8824 X"$as_dir" : 'X\(//\)$' \| \
8825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8826 $as_echo X"$as_dir" |
8827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8828 s//\1/
8829 q
8830 }
8831 /^X\(\/\/\)[^/].*/{
8832 s//\1/
8833 q
8834 }
8835 /^X\(\/\/\)$/{
8836 s//\1/
8837 q
8838 }
8839 /^X\(\/\).*/{
8840 s//\1/
8841 q
8842 }
8843 s/.*/./; q'`
8844 test -d "$as_dir" && break
8845 done
8846 test -z "$as_dirs" || eval "mkdir $as_dirs"
8847 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
8848
8849
8850 } # as_fn_mkdir_p
8851 if mkdir -p . 2>/dev/null; then
8852 as_mkdir_p='mkdir -p "$as_dir"'
8853 else
8854 test -d ./-p && rmdir ./-p
8855 as_mkdir_p=false
8856 fi
8857
8858 if test -x / >/dev/null 2>&1; then
8859 as_test_x='test -x'
8860 else
8861 if ls -dL / >/dev/null 2>&1; then
8862 as_ls_L_option=L
8863 else
8864 as_ls_L_option=
8865 fi
8866 as_test_x='
8867 eval sh -c '\''
8868 if test -d "$1"; then
8869 test -d "$1/.";
8870 else
8871 case $1 in #(
8872 -*)set "./$1";;
8873 esac;
8874 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8875 ???[sx]*):;;*)false;;esac;fi
8876 '\'' sh
8877 '
8878 fi
8879 as_executable_p=$as_test_x
8880
8881 # Sed expression to map a string onto a valid CPP name.
8882 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8883
8884 # Sed expression to map a string onto a valid variable name.
8885 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8886
8887
8888 exec 6>&1
8889 ## ----------------------------------- ##
8890 ## Main body of $CONFIG_STATUS script. ##
8891 ## ----------------------------------- ##
8892 _ASEOF
8893 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8894
8895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8896 # Save the log message, to keep $0 and so on meaningful, and to
8897 # report actual input values of CONFIG_FILES etc. instead of their
8898 # values after options handling.
8899 ac_log="
8900 This file was extended by Sonic Annotator $as_me 0.5, which was
8901 generated by GNU Autoconf 2.65. Invocation command line was
8902
8903 CONFIG_FILES = $CONFIG_FILES
8904 CONFIG_HEADERS = $CONFIG_HEADERS
8905 CONFIG_LINKS = $CONFIG_LINKS
8906 CONFIG_COMMANDS = $CONFIG_COMMANDS
8907 $ $0 $@
8908
8909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8910 "
8911
8912 _ACEOF
8913
8914 case $ac_config_files in *"
8915 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8916 esac
8917
8918
8919
8920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8921 # Files that config.status was made for.
8922 config_files="$ac_config_files"
8923
8924 _ACEOF
8925
8926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8927 ac_cs_usage="\
8928 \`$as_me' instantiates files and other configuration actions
8929 from templates according to the current configuration. Unless the files
8930 and actions are specified as TAGs, all are instantiated by default.
8931
8932 Usage: $0 [OPTION]... [TAG]...
8933
8934 -h, --help print this help, then exit
8935 -V, --version print version number and configuration settings, then exit
8936 --config print configuration, then exit
8937 -q, --quiet, --silent
8938 do not print progress messages
8939 -d, --debug don't remove temporary files
8940 --recheck update $as_me by reconfiguring in the same conditions
8941 --file=FILE[:TEMPLATE]
8942 instantiate the configuration file FILE
8943
8944 Configuration files:
8945 $config_files
8946
8947 Report bugs to <cannam@all-day-breakfast.com>."
8948
8949 _ACEOF
8950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8951 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8952 ac_cs_version="\\
8953 Sonic Annotator config.status 0.5
8954 configured by $0, generated by GNU Autoconf 2.65,
8955 with options \\"\$ac_cs_config\\"
8956
8957 Copyright (C) 2009 Free Software Foundation, Inc.
8958 This config.status script is free software; the Free Software Foundation
8959 gives unlimited permission to copy, distribute and modify it."
8960
8961 ac_pwd='$ac_pwd'
8962 srcdir='$srcdir'
8963 INSTALL='$INSTALL'
8964 MKDIR_P='$MKDIR_P'
8965 test -n "\$AWK" || AWK=awk
8966 _ACEOF
8967
8968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8969 # The default lists apply if the user does not specify any file.
8970 ac_need_defaults=:
8971 while test $# != 0
8972 do
8973 case $1 in
8974 --*=*)
8975 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8976 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8977 ac_shift=:
8978 ;;
8979 *)
8980 ac_option=$1
8981 ac_optarg=$2
8982 ac_shift=shift
8983 ;;
8984 esac
8985
8986 case $ac_option in
8987 # Handling of the options.
8988 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8989 ac_cs_recheck=: ;;
8990 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8991 $as_echo "$ac_cs_version"; exit ;;
8992 --config | --confi | --conf | --con | --co | --c )
8993 $as_echo "$ac_cs_config"; exit ;;
8994 --debug | --debu | --deb | --de | --d | -d )
8995 debug=: ;;
8996 --file | --fil | --fi | --f )
8997 $ac_shift
8998 case $ac_optarg in
8999 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9000 esac
9001 as_fn_append CONFIG_FILES " '$ac_optarg'"
9002 ac_need_defaults=false;;
9003 --he | --h | --help | --hel | -h )
9004 $as_echo "$ac_cs_usage"; exit ;;
9005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9006 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9007 ac_cs_silent=: ;;
9008
9009 # This is an error.
9010 -*) as_fn_error "unrecognized option: \`$1'
9011 Try \`$0 --help' for more information." ;;
9012
9013 *) as_fn_append ac_config_targets " $1"
9014 ac_need_defaults=false ;;
9015
9016 esac
9017 shift
9018 done
9019
9020 ac_configure_extra_args=
9021
9022 if $ac_cs_silent; then
9023 exec 6>/dev/null
9024 ac_configure_extra_args="$ac_configure_extra_args --silent"
9025 fi
9026
9027 _ACEOF
9028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9029 if \$ac_cs_recheck; then
9030 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9031 shift
9032 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9033 CONFIG_SHELL='$SHELL'
9034 export CONFIG_SHELL
9035 exec "\$@"
9036 fi
9037
9038 _ACEOF
9039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9040 exec 5>>config.log
9041 {
9042 echo
9043 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9044 ## Running $as_me. ##
9045 _ASBOX
9046 $as_echo "$ac_log"
9047 } >&5
9048
9049 _ACEOF
9050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9051 _ACEOF
9052
9053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9054
9055 # Handling of arguments.
9056 for ac_config_target in $ac_config_targets
9057 do
9058 case $ac_config_target in
9059 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;;
9060 "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;;
9061
9062 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9063 esac
9064 done
9065
9066
9067 # If the user did not use the arguments to specify the items to instantiate,
9068 # then the envvar interface is used. Set only those that are not.
9069 # We use the long form for the default assignment because of an extremely
9070 # bizarre bug on SunOS 4.1.3.
9071 if $ac_need_defaults; then
9072 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9073 fi
9074
9075 # Have a temporary directory for convenience. Make it in the build tree
9076 # simply because there is no reason against having it here, and in addition,
9077 # creating and moving files from /tmp can sometimes cause problems.
9078 # Hook for its removal unless debugging.
9079 # Note that there is a small window in which the directory will not be cleaned:
9080 # after its creation but before its name has been assigned to `$tmp'.
9081 $debug ||
9082 {
9083 tmp=
9084 trap 'exit_status=$?
9085 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9086 ' 0
9087 trap 'as_fn_exit 1' 1 2 13 15
9088 }
9089 # Create a (secure) tmp directory for tmp files.
9090
9091 {
9092 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9093 test -n "$tmp" && test -d "$tmp"
9094 } ||
9095 {
9096 tmp=./conf$$-$RANDOM
9097 (umask 077 && mkdir "$tmp")
9098 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
9099
9100 # Set up the scripts for CONFIG_FILES section.
9101 # No need to generate them if there are no CONFIG_FILES.
9102 # This happens for instance with `./config.status config.h'.
9103 if test -n "$CONFIG_FILES"; then
9104
9105
9106 ac_cr=`echo X | tr X '\015'`
9107 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9108 # But we know of no other shell where ac_cr would be empty at this
9109 # point, so we can use a bashism as a fallback.
9110 if test "x$ac_cr" = x; then
9111 eval ac_cr=\$\'\\r\'
9112 fi
9113 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9114 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9115 ac_cs_awk_cr='\r'
9116 else
9117 ac_cs_awk_cr=$ac_cr
9118 fi
9119
9120 echo 'BEGIN {' >"$tmp/subs1.awk" &&
9121 _ACEOF
9122
9123
9124 {
9125 echo "cat >conf$$subs.awk <<_ACEOF" &&
9126 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9127 echo "_ACEOF"
9128 } >conf$$subs.sh ||
9129 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9130 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
9131 ac_delim='%!_!# '
9132 for ac_last_try in false false false false false :; do
9133 . ./conf$$subs.sh ||
9134 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9135
9136 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9137 if test $ac_delim_n = $ac_delim_num; then
9138 break
9139 elif $ac_last_try; then
9140 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
9141 else
9142 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9143 fi
9144 done
9145 rm -f conf$$subs.sh
9146
9147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9148 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
9149 _ACEOF
9150 sed -n '
9151 h
9152 s/^/S["/; s/!.*/"]=/
9153 p
9154 g
9155 s/^[^!]*!//
9156 :repl
9157 t repl
9158 s/'"$ac_delim"'$//
9159 t delim
9160 :nl
9161 h
9162 s/\(.\{148\}\)..*/\1/
9163 t more1
9164 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9165 p
9166 n
9167 b repl
9168 :more1
9169 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9170 p
9171 g
9172 s/.\{148\}//
9173 t nl
9174 :delim
9175 h
9176 s/\(.\{148\}\)..*/\1/
9177 t more2
9178 s/["\\]/\\&/g; s/^/"/; s/$/"/
9179 p
9180 b
9181 :more2
9182 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9183 p
9184 g
9185 s/.\{148\}//
9186 t delim
9187 ' <conf$$subs.awk | sed '
9188 /^[^""]/{
9189 N
9190 s/\n//
9191 }
9192 ' >>$CONFIG_STATUS || ac_write_fail=1
9193 rm -f conf$$subs.awk
9194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9195 _ACAWK
9196 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
9197 for (key in S) S_is_set[key] = 1
9198 FS = ""
9199
9200 }
9201 {
9202 line = $ 0
9203 nfields = split(line, field, "@")
9204 substed = 0
9205 len = length(field[1])
9206 for (i = 2; i < nfields; i++) {
9207 key = field[i]
9208 keylen = length(key)
9209 if (S_is_set[key]) {
9210 value = S[key]
9211 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9212 len += length(value) + length(field[++i])
9213 substed = 1
9214 } else
9215 len += 1 + keylen
9216 }
9217
9218 print line
9219 }
9220
9221 _ACAWK
9222 _ACEOF
9223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9224 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9225 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9226 else
9227 cat
9228 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
9229 || as_fn_error "could not setup config files machinery" "$LINENO" 5
9230 _ACEOF
9231
9232 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9233 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9234 # trailing colons and then remove the whole line if VPATH becomes empty
9235 # (actually we leave an empty line to preserve line numbers).
9236 if test "x$srcdir" = x.; then
9237 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9238 s/:*\$(srcdir):*/:/
9239 s/:*\${srcdir}:*/:/
9240 s/:*@srcdir@:*/:/
9241 s/^\([^=]*=[ ]*\):*/\1/
9242 s/:*$//
9243 s/^[^=]*=[ ]*$//
9244 }'
9245 fi
9246
9247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9248 fi # test -n "$CONFIG_FILES"
9249
9250
9251 eval set X " :F $CONFIG_FILES "
9252 shift
9253 for ac_tag
9254 do
9255 case $ac_tag in
9256 :[FHLC]) ac_mode=$ac_tag; continue;;
9257 esac
9258 case $ac_mode$ac_tag in
9259 :[FHL]*:*);;
9260 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
9261 :[FH]-) ac_tag=-:-;;
9262 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9263 esac
9264 ac_save_IFS=$IFS
9265 IFS=:
9266 set x $ac_tag
9267 IFS=$ac_save_IFS
9268 shift
9269 ac_file=$1
9270 shift
9271
9272 case $ac_mode in
9273 :L) ac_source=$1;;
9274 :[FH])
9275 ac_file_inputs=
9276 for ac_f
9277 do
9278 case $ac_f in
9279 -) ac_f="$tmp/stdin";;
9280 *) # Look for the file first in the build tree, then in the source tree
9281 # (if the path is not absolute). The absolute path cannot be DOS-style,
9282 # because $ac_f cannot contain `:'.
9283 test -f "$ac_f" ||
9284 case $ac_f in
9285 [\\/$]*) false;;
9286 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9287 esac ||
9288 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9289 esac
9290 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9291 as_fn_append ac_file_inputs " '$ac_f'"
9292 done
9293
9294 # Let's still pretend it is `configure' which instantiates (i.e., don't
9295 # use $as_me), people would be surprised to read:
9296 # /* config.h. Generated by config.status. */
9297 configure_input='Generated from '`
9298 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9299 `' by configure.'
9300 if test x"$ac_file" != x-; then
9301 configure_input="$ac_file. $configure_input"
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9303 $as_echo "$as_me: creating $ac_file" >&6;}
9304 fi
9305 # Neutralize special characters interpreted by sed in replacement strings.
9306 case $configure_input in #(
9307 *\&* | *\|* | *\\* )
9308 ac_sed_conf_input=`$as_echo "$configure_input" |
9309 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9310 *) ac_sed_conf_input=$configure_input;;
9311 esac
9312
9313 case $ac_tag in
9314 *:-:* | *:-) cat >"$tmp/stdin" \
9315 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
9316 esac
9317 ;;
9318 esac
9319
9320 ac_dir=`$as_dirname -- "$ac_file" ||
9321 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9322 X"$ac_file" : 'X\(//\)[^/]' \| \
9323 X"$ac_file" : 'X\(//\)$' \| \
9324 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9325 $as_echo X"$ac_file" |
9326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9327 s//\1/
9328 q
9329 }
9330 /^X\(\/\/\)[^/].*/{
9331 s//\1/
9332 q
9333 }
9334 /^X\(\/\/\)$/{
9335 s//\1/
9336 q
9337 }
9338 /^X\(\/\).*/{
9339 s//\1/
9340 q
9341 }
9342 s/.*/./; q'`
9343 as_dir="$ac_dir"; as_fn_mkdir_p
9344 ac_builddir=.
9345
9346 case "$ac_dir" in
9347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9348 *)
9349 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9350 # A ".." for each directory in $ac_dir_suffix.
9351 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
9352 case $ac_top_builddir_sub in
9353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9355 esac ;;
9356 esac
9357 ac_abs_top_builddir=$ac_pwd
9358 ac_abs_builddir=$ac_pwd$ac_dir_suffix
9359 # for backward compatibility:
9360 ac_top_builddir=$ac_top_build_prefix
9361
9362 case $srcdir in
9363 .) # We are building in place.
9364 ac_srcdir=.
9365 ac_top_srcdir=$ac_top_builddir_sub
9366 ac_abs_top_srcdir=$ac_pwd ;;
9367 [\\/]* | ?:[\\/]* ) # Absolute name.
9368 ac_srcdir=$srcdir$ac_dir_suffix;
9369 ac_top_srcdir=$srcdir
9370 ac_abs_top_srcdir=$srcdir ;;
9371 *) # Relative name.
9372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9373 ac_top_srcdir=$ac_top_build_prefix$srcdir
9374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9375 esac
9376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9377
9378
9379 case $ac_mode in
9380 :F)
9381 #
9382 # CONFIG_FILE
9383 #
9384
9385 case $INSTALL in
9386 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9387 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9388 esac
9389 ac_MKDIR_P=$MKDIR_P
9390 case $MKDIR_P in
9391 [\\/$]* | ?:[\\/]* ) ;;
9392 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
9393 esac
9394 _ACEOF
9395
9396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9397 # If the template does not know about datarootdir, expand it.
9398 # FIXME: This hack should be removed a few years after 2.60.
9399 ac_datarootdir_hack=; ac_datarootdir_seen=
9400 ac_sed_dataroot='
9401 /datarootdir/ {
9402 p
9403 q
9404 }
9405 /@datadir@/p
9406 /@docdir@/p
9407 /@infodir@/p
9408 /@localedir@/p
9409 /@mandir@/p'
9410 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
9411 *datarootdir*) ac_datarootdir_seen=yes;;
9412 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9414 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9415 _ACEOF
9416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9417 ac_datarootdir_hack='
9418 s&@datadir@&$datadir&g
9419 s&@docdir@&$docdir&g
9420 s&@infodir@&$infodir&g
9421 s&@localedir@&$localedir&g
9422 s&@mandir@&$mandir&g
9423 s&\\\${datarootdir}&$datarootdir&g' ;;
9424 esac
9425 _ACEOF
9426
9427 # Neutralize VPATH when `$srcdir' = `.'.
9428 # Shell code in configure.ac might set extrasub.
9429 # FIXME: do we really want to maintain this feature?
9430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9431 ac_sed_extra="$ac_vpsub
9432 $extrasub
9433 _ACEOF
9434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9435 :t
9436 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9437 s|@configure_input@|$ac_sed_conf_input|;t t
9438 s&@top_builddir@&$ac_top_builddir_sub&;t t
9439 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9440 s&@srcdir@&$ac_srcdir&;t t
9441 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9442 s&@top_srcdir@&$ac_top_srcdir&;t t
9443 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9444 s&@builddir@&$ac_builddir&;t t
9445 s&@abs_builddir@&$ac_abs_builddir&;t t
9446 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9447 s&@INSTALL@&$ac_INSTALL&;t t
9448 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9449 $ac_datarootdir_hack
9450 "
9451 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
9452 || as_fn_error "could not create $ac_file" "$LINENO" 5
9453
9454 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9455 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9456 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9458 which seems to be undefined. Please make sure it is defined." >&5
9459 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9460 which seems to be undefined. Please make sure it is defined." >&2;}
9461
9462 rm -f "$tmp/stdin"
9463 case $ac_file in
9464 -) cat "$tmp/out" && rm -f "$tmp/out";;
9465 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9466 esac \
9467 || as_fn_error "could not create $ac_file" "$LINENO" 5
9468 ;;
9469
9470
9471
9472 esac
9473
9474 done # for ac_tag
9475
9476
9477 as_fn_exit 0
9478 _ACEOF
9479 ac_clean_files=$ac_clean_files_save
9480
9481 test $ac_write_fail = 0 ||
9482 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
9483
9484
9485 # configure is writing to config.log, and then calls config.status.
9486 # config.status does its own redirection, appending to config.log.
9487 # Unfortunately, on DOS this fails, as config.log is still kept open
9488 # by configure, so config.status won't be able to write to it; its
9489 # output is simply discarded. So we exec the FD to /dev/null,
9490 # effectively closing config.log, so it can be properly (re)opened and
9491 # appended to by config.status. When coming back to configure, we
9492 # need to make the FD available again.
9493 if test "$no_create" != yes; then
9494 ac_cs_success=:
9495 ac_config_status_args=
9496 test "$silent" = yes &&
9497 ac_config_status_args="$ac_config_status_args --quiet"
9498 exec 5>/dev/null
9499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9500 exec 5>>config.log
9501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9502 # would make configure fail if this is the last instruction.
9503 $ac_cs_success || as_fn_exit $?
9504 fi
9505 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9507 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9508 fi
9509
9510
9511 if ! $QMAKE -r; then
9512 as_fn_error "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5
9513 fi
9514
9515 { $as_echo "$as_me:${as_lineno-$LINENO}:
9516
9517 Configuration complete.
9518 Please check the above messages for any warnings that you
9519 might care about, and then run \"make\".
9520
9521 The file config.pri contains the configuration settings for
9522 qmake. If you want to adjust these by hand, edit config.pri
9523 and run \"qmake -r\" again to regenerate the Makefile.
9524 " >&5
9525 $as_echo "$as_me:
9526
9527 Configuration complete.
9528 Please check the above messages for any warnings that you
9529 might care about, and then run \"make\".
9530
9531 The file config.pri contains the configuration settings for
9532 qmake. If you want to adjust these by hand, edit config.pri
9533 and run \"qmake -r\" again to regenerate the Makefile.
9534 " >&6;}