comparison configure @ 564:7fb9b939722f

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