Mercurial > hg > sonic-visualiser
comparison configure @ 574:7941d4f15037
Merge
author | Chris Cannam |
---|---|
date | Thu, 16 May 2013 14:06:13 +0100 |
parents | 358541da1cd8 |
children | 854668a6a33a 8e64cebd38c0 |
comparison
equal
deleted
inserted
replaced
573:0b094b0fdcc4 | 574:7941d4f15037 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.69 for Sonic Visualiser 2.1. | 3 # Generated by GNU Autoconf 2.65 for Sonic Visualiser 2.1. |
4 # | 4 # |
5 # Report bugs to <cannam@all-day-breakfast.com>. | 5 # Report bugs to <cannam@all-day-breakfast.com>. |
6 # | 6 # |
7 # | 7 # |
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | 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. | |
9 # | 11 # |
10 # | 12 # |
11 # This configure script is free software; the Free Software Foundation | 13 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 14 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 15 ## -------------------- ## |
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 # splitting by setting IFS to empty value.) | 90 # splitting by setting IFS to empty value.) |
89 IFS=" "" $as_nl" | 91 IFS=" "" $as_nl" |
90 | 92 |
91 # Find who we are. Look in the path if we contain no directory separator. | 93 # Find who we are. Look in the path if we contain no directory separator. |
92 as_myself= | |
93 case $0 in #(( | 94 case $0 in #(( |
94 *[\\/]* ) as_myself=$0 ;; | 95 *[\\/]* ) as_myself=$0 ;; |
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
96 for as_dir in $PATH | 97 for as_dir in $PATH |
97 do | 98 do |
132 export LANGUAGE | 133 export LANGUAGE |
133 | 134 |
134 # CDPATH. | 135 # CDPATH. |
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | 137 |
137 # Use a proper internal environment variable to ensure we don't fall | |
138 # into an infinite loop, continuously re-executing ourselves. | |
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
140 _as_can_reexec=no; export _as_can_reexec; | |
141 # We cannot yet assume a decent shell, so we have to provide a | |
142 # neutralization value for shells without unset; and this also | |
143 # works around shells that cannot unset nonexistent variables. | |
144 # Preserve -v and -x to the replacement shell. | |
145 BASH_ENV=/dev/null | |
146 ENV=/dev/null | |
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
148 case $- in # (((( | |
149 *v*x* | *x*v* ) as_opts=-vx ;; | |
150 *v* ) as_opts=-v ;; | |
151 *x* ) as_opts=-x ;; | |
152 * ) as_opts= ;; | |
153 esac | |
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
155 # Admittedly, this is quite paranoid, since all the known shells bail | |
156 # out after a failed `exec'. | |
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
158 as_fn_exit 255 | |
159 fi | |
160 # We don't want this to propagate to other subprocesses. | |
161 { _as_can_reexec=; unset _as_can_reexec;} | |
162 if test "x$CONFIG_SHELL" = x; then | 138 if test "x$CONFIG_SHELL" = x; then |
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
164 emulate sh | 140 emulate sh |
165 NULLCMD=: | 141 NULLCMD=: |
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
191 | 167 |
192 else | 168 else |
193 exitcode=1; echo positional parameters were not saved. | 169 exitcode=1; echo positional parameters were not saved. |
194 fi | 170 fi |
195 test x\$exitcode = x0 || exit 1 | 171 test x\$exitcode = x0 || exit 1" |
196 test -x / || exit 1" | |
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
201 test \$(( 1 + 1 )) = 2 || exit 1" | 176 test \$(( 1 + 1 )) = 2 || exit 1" |
236 fi; } | 211 fi; } |
237 IFS=$as_save_IFS | 212 IFS=$as_save_IFS |
238 | 213 |
239 | 214 |
240 if test "x$CONFIG_SHELL" != x; then : | 215 if test "x$CONFIG_SHELL" != x; then : |
241 export CONFIG_SHELL | 216 # We cannot yet assume a decent shell, so we have to provide a |
242 # We cannot yet assume a decent shell, so we have to provide a | 217 # neutralization value for shells without unset; and this also |
243 # neutralization value for shells without unset; and this also | 218 # works around shells that cannot unset nonexistent variables. |
244 # works around shells that cannot unset nonexistent variables. | 219 BASH_ENV=/dev/null |
245 # Preserve -v and -x to the replacement shell. | 220 ENV=/dev/null |
246 BASH_ENV=/dev/null | 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
247 ENV=/dev/null | 222 export CONFIG_SHELL |
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
249 case $- in # (((( | |
250 *v*x* | *x*v* ) as_opts=-vx ;; | |
251 *v* ) as_opts=-v ;; | |
252 *x* ) as_opts=-x ;; | |
253 * ) as_opts= ;; | |
254 esac | |
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
256 # Admittedly, this is quite paranoid, since all the known shells bail | |
257 # out after a failed `exec'. | |
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
259 exit 255 | |
260 fi | 224 fi |
261 | 225 |
262 if test x$as_have_required = xno; then : | 226 if test x$as_have_required = xno; then : |
263 $as_echo "$0: This script requires a shell more modern than all" | 227 $as_echo "$0: This script requires a shell more modern than all" |
264 $as_echo "$0: the shells that I found on your system." | 228 $as_echo "$0: the shells that I found on your system." |
353 } | 317 } |
354 s/.*/./; q'` | 318 s/.*/./; q'` |
355 test -d "$as_dir" && break | 319 test -d "$as_dir" && break |
356 done | 320 done |
357 test -z "$as_dirs" || eval "mkdir $as_dirs" | 321 test -z "$as_dirs" || eval "mkdir $as_dirs" |
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
359 | 323 |
360 | 324 |
361 } # as_fn_mkdir_p | 325 } # as_fn_mkdir_p |
362 | |
363 # as_fn_executable_p FILE | |
364 # ----------------------- | |
365 # Test if FILE is an executable regular file. | |
366 as_fn_executable_p () | |
367 { | |
368 test -f "$1" && test -x "$1" | |
369 } # as_fn_executable_p | |
370 # as_fn_append VAR VALUE | 326 # as_fn_append VAR VALUE |
371 # ---------------------- | 327 # ---------------------- |
372 # Append the text in VALUE to the end of the definition contained in VAR. Take | 328 # Append the text in VALUE to the end of the definition contained in VAR. Take |
373 # advantage of any shell optimizations that allow amortized linear growth over | 329 # advantage of any shell optimizations that allow amortized linear growth over |
374 # repeated appends, instead of the typical quadratic growth present in naive | 330 # repeated appends, instead of the typical quadratic growth present in naive |
401 as_val=`expr "$@" || test $? -eq 1` | 357 as_val=`expr "$@" || test $? -eq 1` |
402 } | 358 } |
403 fi # as_fn_arith | 359 fi # as_fn_arith |
404 | 360 |
405 | 361 |
406 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 362 # as_fn_error ERROR [LINENO LOG_FD] |
407 # ---------------------------------------- | 363 # --------------------------------- |
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
410 # script with STATUS, using 1 if that was 0. | 366 # script with status $?, using 1 if that was 0. |
411 as_fn_error () | 367 as_fn_error () |
412 { | 368 { |
413 as_status=$1; test $as_status -eq 0 && as_status=1 | 369 as_status=$?; test $as_status -eq 0 && as_status=1 |
414 if test "$4"; then | 370 if test "$3"; then |
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
417 fi | 373 fi |
418 $as_echo "$as_me: error: $2" >&2 | 374 $as_echo "$as_me: error: $1" >&2 |
419 as_fn_exit $as_status | 375 as_fn_exit $as_status |
420 } # as_fn_error | 376 } # as_fn_error |
421 | 377 |
422 if expr a : '\(a\)' >/dev/null 2>&1 && | 378 if expr a : '\(a\)' >/dev/null 2>&1 && |
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
486 s/-\n.*// | 442 s/-\n.*// |
487 ' >$as_me.lineno && | 443 ' >$as_me.lineno && |
488 chmod +x "$as_me.lineno" || | 444 chmod +x "$as_me.lineno" || |
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
490 | 446 |
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
492 # already done that, so ensure we don't try to do so again and fall | |
493 # in an infinite loop. This has already happened in practice. | |
494 _as_can_reexec=no; export _as_can_reexec | |
495 # Don't try to exec as it changes $[0], causing all sort of problems | 447 # Don't try to exec as it changes $[0], causing all sort of problems |
496 # (the dirname of $[0] is not the place where we might find the | 448 # (the dirname of $[0] is not the place where we might find the |
497 # original and so on. Autoconf is especially sensitive to this). | 449 # original and so on. Autoconf is especially sensitive to this). |
498 . "./$as_me.lineno" | 450 . "./$as_me.lineno" |
499 # Exit status is that of the last command. | 451 # Exit status is that of the last command. |
524 if ln -s conf$$.file conf$$ 2>/dev/null; then | 476 if ln -s conf$$.file conf$$ 2>/dev/null; then |
525 as_ln_s='ln -s' | 477 as_ln_s='ln -s' |
526 # ... but there are two gotchas: | 478 # ... but there are two gotchas: |
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
529 # In both cases, we have to default to `cp -pR'. | 481 # In both cases, we have to default to `cp -p'. |
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
531 as_ln_s='cp -pR' | 483 as_ln_s='cp -p' |
532 elif ln conf$$.file conf$$ 2>/dev/null; then | 484 elif ln conf$$.file conf$$ 2>/dev/null; then |
533 as_ln_s=ln | 485 as_ln_s=ln |
534 else | 486 else |
535 as_ln_s='cp -pR' | 487 as_ln_s='cp -p' |
536 fi | 488 fi |
537 else | 489 else |
538 as_ln_s='cp -pR' | 490 as_ln_s='cp -p' |
539 fi | 491 fi |
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
541 rmdir conf$$.dir 2>/dev/null | 493 rmdir conf$$.dir 2>/dev/null |
542 | 494 |
543 if mkdir -p . 2>/dev/null; then | 495 if mkdir -p . 2>/dev/null; then |
545 else | 497 else |
546 test -d ./-p && rmdir ./-p | 498 test -d ./-p && rmdir ./-p |
547 as_mkdir_p=false | 499 as_mkdir_p=false |
548 fi | 500 fi |
549 | 501 |
550 as_test_x='test -x' | 502 if test -x / >/dev/null 2>&1; then |
551 as_executable_p=as_fn_executable_p | 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 | |
552 | 524 |
553 # Sed expression to map a string onto a valid CPP name. | 525 # Sed expression to map a string onto a valid CPP name. |
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
555 | 527 |
556 # Sed expression to map a string onto a valid variable name. | 528 # Sed expression to map a string onto a valid variable name. |
559 | 531 |
560 test -n "$DJDIR" || exec 7<&0 </dev/null | 532 test -n "$DJDIR" || exec 7<&0 </dev/null |
561 exec 6>&1 | 533 exec 6>&1 |
562 | 534 |
563 # Name of the host. | 535 # Name of the host. |
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
565 # so uname gets run too. | 537 # so uname gets run too. |
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
567 | 539 |
568 # | 540 # |
569 # Initializations. | 541 # Initializations. |
652 JACK_CFLAGS | 624 JACK_CFLAGS |
653 portaudio_2_0_LIBS | 625 portaudio_2_0_LIBS |
654 portaudio_2_0_CFLAGS | 626 portaudio_2_0_CFLAGS |
655 liblo_LIBS | 627 liblo_LIBS |
656 liblo_CFLAGS | 628 liblo_CFLAGS |
629 serd_LIBS | |
630 serd_CFLAGS | |
631 sord_LIBS | |
632 sord_CFLAGS | |
657 rubberband_LIBS | 633 rubberband_LIBS |
658 rubberband_CFLAGS | 634 rubberband_CFLAGS |
659 vamphostsdk_LIBS | 635 vamphostsdk_LIBS |
660 vamphostsdk_CFLAGS | 636 vamphostsdk_CFLAGS |
661 vamp_LIBS | 637 vamp_LIBS |
669 fftw3_LIBS | 645 fftw3_LIBS |
670 fftw3_CFLAGS | 646 fftw3_CFLAGS |
671 bz2_LIBS | 647 bz2_LIBS |
672 bz2_CFLAGS | 648 bz2_CFLAGS |
673 QMAKE | 649 QMAKE |
674 PKG_CONFIG_LIBDIR | |
675 PKG_CONFIG_PATH | |
676 PKG_CONFIG | 650 PKG_CONFIG |
677 EGREP | 651 EGREP |
678 GREP | 652 GREP |
679 CXXCPP | 653 CXXCPP |
680 MKDIR_P | 654 MKDIR_P |
745 CXX | 719 CXX |
746 CXXFLAGS | 720 CXXFLAGS |
747 CCC | 721 CCC |
748 CXXCPP | 722 CXXCPP |
749 PKG_CONFIG | 723 PKG_CONFIG |
750 PKG_CONFIG_PATH | |
751 PKG_CONFIG_LIBDIR | |
752 bz2_CFLAGS | 724 bz2_CFLAGS |
753 bz2_LIBS | 725 bz2_LIBS |
754 fftw3_CFLAGS | 726 fftw3_CFLAGS |
755 fftw3_LIBS | 727 fftw3_LIBS |
756 fftw3f_CFLAGS | 728 fftw3f_CFLAGS |
763 vamp_LIBS | 735 vamp_LIBS |
764 vamphostsdk_CFLAGS | 736 vamphostsdk_CFLAGS |
765 vamphostsdk_LIBS | 737 vamphostsdk_LIBS |
766 rubberband_CFLAGS | 738 rubberband_CFLAGS |
767 rubberband_LIBS | 739 rubberband_LIBS |
740 sord_CFLAGS | |
741 sord_LIBS | |
742 serd_CFLAGS | |
743 serd_LIBS | |
768 liblo_CFLAGS | 744 liblo_CFLAGS |
769 liblo_LIBS | 745 liblo_LIBS |
770 portaudio_2_0_CFLAGS | 746 portaudio_2_0_CFLAGS |
771 portaudio_2_0_LIBS | 747 portaudio_2_0_LIBS |
772 JACK_CFLAGS | 748 JACK_CFLAGS |
845 ac_prev= | 821 ac_prev= |
846 continue | 822 continue |
847 fi | 823 fi |
848 | 824 |
849 case $ac_option in | 825 case $ac_option in |
850 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 826 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
851 *=) ac_optarg= ;; | 827 *) ac_optarg=yes ;; |
852 *) ac_optarg=yes ;; | |
853 esac | 828 esac |
854 | 829 |
855 # Accept the important Cygnus configure options, so we can diagnose typos. | 830 # Accept the important Cygnus configure options, so we can diagnose typos. |
856 | 831 |
857 case $ac_dashdash$ac_option in | 832 case $ac_dashdash$ac_option in |
892 | 867 |
893 -disable-* | --disable-*) | 868 -disable-* | --disable-*) |
894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
895 # Reject names that are not valid shell variable names. | 870 # Reject names that are not valid shell variable names. |
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
897 as_fn_error $? "invalid feature name: $ac_useropt" | 872 as_fn_error "invalid feature name: $ac_useropt" |
898 ac_useropt_orig=$ac_useropt | 873 ac_useropt_orig=$ac_useropt |
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
900 case $ac_user_opts in | 875 case $ac_user_opts in |
901 *" | 876 *" |
902 "enable_$ac_useropt" | 877 "enable_$ac_useropt" |
918 | 893 |
919 -enable-* | --enable-*) | 894 -enable-* | --enable-*) |
920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
921 # Reject names that are not valid shell variable names. | 896 # Reject names that are not valid shell variable names. |
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
923 as_fn_error $? "invalid feature name: $ac_useropt" | 898 as_fn_error "invalid feature name: $ac_useropt" |
924 ac_useropt_orig=$ac_useropt | 899 ac_useropt_orig=$ac_useropt |
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
926 case $ac_user_opts in | 901 case $ac_user_opts in |
927 *" | 902 *" |
928 "enable_$ac_useropt" | 903 "enable_$ac_useropt" |
1122 | 1097 |
1123 -with-* | --with-*) | 1098 -with-* | --with-*) |
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1125 # Reject names that are not valid shell variable names. | 1100 # Reject names that are not valid shell variable names. |
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1127 as_fn_error $? "invalid package name: $ac_useropt" | 1102 as_fn_error "invalid package name: $ac_useropt" |
1128 ac_useropt_orig=$ac_useropt | 1103 ac_useropt_orig=$ac_useropt |
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1130 case $ac_user_opts in | 1105 case $ac_user_opts in |
1131 *" | 1106 *" |
1132 "with_$ac_useropt" | 1107 "with_$ac_useropt" |
1138 | 1113 |
1139 -without-* | --without-*) | 1114 -without-* | --without-*) |
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1141 # Reject names that are not valid shell variable names. | 1116 # Reject names that are not valid shell variable names. |
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1143 as_fn_error $? "invalid package name: $ac_useropt" | 1118 as_fn_error "invalid package name: $ac_useropt" |
1144 ac_useropt_orig=$ac_useropt | 1119 ac_useropt_orig=$ac_useropt |
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1146 case $ac_user_opts in | 1121 case $ac_user_opts in |
1147 *" | 1122 *" |
1148 "with_$ac_useropt" | 1123 "with_$ac_useropt" |
1168 ac_prev=x_libraries ;; | 1143 ac_prev=x_libraries ;; |
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1171 x_libraries=$ac_optarg ;; | 1146 x_libraries=$ac_optarg ;; |
1172 | 1147 |
1173 -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1148 -*) as_fn_error "unrecognized option: \`$ac_option' |
1174 Try \`$0 --help' for more information" | 1149 Try \`$0 --help' for more information." |
1175 ;; | 1150 ;; |
1176 | 1151 |
1177 *=*) | 1152 *=*) |
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1179 # Reject names that are not valid shell variable names. | 1154 # Reject names that are not valid shell variable names. |
1180 case $ac_envvar in #( | 1155 case $ac_envvar in #( |
1181 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1156 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1157 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1183 esac | 1158 esac |
1184 eval $ac_envvar=\$ac_optarg | 1159 eval $ac_envvar=\$ac_optarg |
1185 export $ac_envvar ;; | 1160 export $ac_envvar ;; |
1186 | 1161 |
1187 *) | 1162 *) |
1188 # FIXME: should be removed in autoconf 3.0. | 1163 # FIXME: should be removed in autoconf 3.0. |
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1193 ;; | 1168 ;; |
1194 | 1169 |
1195 esac | 1170 esac |
1196 done | 1171 done |
1197 | 1172 |
1198 if test -n "$ac_prev"; then | 1173 if test -n "$ac_prev"; then |
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1200 as_fn_error $? "missing argument to $ac_option" | 1175 as_fn_error "missing argument to $ac_option" |
1201 fi | 1176 fi |
1202 | 1177 |
1203 if test -n "$ac_unrecognized_opts"; then | 1178 if test -n "$ac_unrecognized_opts"; then |
1204 case $enable_option_checking in | 1179 case $enable_option_checking in |
1205 no) ;; | 1180 no) ;; |
1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 1181 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1208 esac | 1183 esac |
1209 fi | 1184 fi |
1210 | 1185 |
1211 # Check all directory arguments for consistency. | 1186 # Check all directory arguments for consistency. |
1224 # Be sure to have absolute directory names. | 1199 # Be sure to have absolute directory names. |
1225 case $ac_val in | 1200 case $ac_val in |
1226 [\\/$]* | ?:[\\/]* ) continue;; | 1201 [\\/$]* | ?:[\\/]* ) continue;; |
1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1228 esac | 1203 esac |
1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1204 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1230 done | 1205 done |
1231 | 1206 |
1232 # There might be people who depend on the old broken behavior: `$host' | 1207 # There might be people who depend on the old broken behavior: `$host' |
1233 # used to hold the argument of --host etc. | 1208 # used to hold the argument of --host etc. |
1234 # FIXME: To remove some day. | 1209 # FIXME: To remove some day. |
1238 | 1213 |
1239 # FIXME: To remove some day. | 1214 # FIXME: To remove some day. |
1240 if test "x$host_alias" != x; then | 1215 if test "x$host_alias" != x; then |
1241 if test "x$build_alias" = x; then | 1216 if test "x$build_alias" = x; then |
1242 cross_compiling=maybe | 1217 cross_compiling=maybe |
1218 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
1219 If a cross compiler is detected then cross compile mode will be used." >&2 | |
1243 elif test "x$build_alias" != "x$host_alias"; then | 1220 elif test "x$build_alias" != "x$host_alias"; then |
1244 cross_compiling=yes | 1221 cross_compiling=yes |
1245 fi | 1222 fi |
1246 fi | 1223 fi |
1247 | 1224 |
1252 | 1229 |
1253 | 1230 |
1254 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1231 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1255 ac_ls_di=`ls -di .` && | 1232 ac_ls_di=`ls -di .` && |
1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1257 as_fn_error $? "working directory cannot be determined" | 1234 as_fn_error "working directory cannot be determined" |
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1259 as_fn_error $? "pwd does not report name of working directory" | 1236 as_fn_error "pwd does not report name of working directory" |
1260 | 1237 |
1261 | 1238 |
1262 # Find the source files, if location was not specified. | 1239 # Find the source files, if location was not specified. |
1263 if test -z "$srcdir"; then | 1240 if test -z "$srcdir"; then |
1264 ac_srcdir_defaulted=yes | 1241 ac_srcdir_defaulted=yes |
1293 else | 1270 else |
1294 ac_srcdir_defaulted=no | 1271 ac_srcdir_defaulted=no |
1295 fi | 1272 fi |
1296 if test ! -r "$srcdir/$ac_unique_file"; then | 1273 if test ! -r "$srcdir/$ac_unique_file"; then |
1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1274 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1298 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1275 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1299 fi | 1276 fi |
1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1301 ac_abs_confdir=`( | 1278 ac_abs_confdir=`( |
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1303 pwd)` | 1280 pwd)` |
1304 # When building in place, set srcdir=. | 1281 # When building in place, set srcdir=. |
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1282 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1306 srcdir=. | 1283 srcdir=. |
1307 fi | 1284 fi |
1337 Configuration: | 1314 Configuration: |
1338 -h, --help display this help and exit | 1315 -h, --help display this help and exit |
1339 --help=short display options specific to this package | 1316 --help=short display options specific to this package |
1340 --help=recursive display the short help of all the included packages | 1317 --help=recursive display the short help of all the included packages |
1341 -V, --version display version information and exit | 1318 -V, --version display version information and exit |
1342 -q, --quiet, --silent do not print \`checking ...' messages | 1319 -q, --quiet, --silent do not print \`checking...' messages |
1343 --cache-file=FILE cache test results in FILE [disabled] | 1320 --cache-file=FILE cache test results in FILE [disabled] |
1344 -C, --config-cache alias for \`--cache-file=config.cache' | 1321 -C, --config-cache alias for \`--cache-file=config.cache' |
1345 -n, --no-create do not create output files | 1322 -n, --no-create do not create output files |
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1323 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1347 | 1324 |
1407 you have headers in a nonstandard directory <include dir> | 1384 you have headers in a nonstandard directory <include dir> |
1408 CXX C++ compiler command | 1385 CXX C++ compiler command |
1409 CXXFLAGS C++ compiler flags | 1386 CXXFLAGS C++ compiler flags |
1410 CXXCPP C++ preprocessor | 1387 CXXCPP C++ preprocessor |
1411 PKG_CONFIG path to pkg-config utility | 1388 PKG_CONFIG path to pkg-config utility |
1412 PKG_CONFIG_PATH | |
1413 directories to add to pkg-config's search path | |
1414 PKG_CONFIG_LIBDIR | |
1415 path overriding pkg-config's built-in search path | |
1416 bz2_CFLAGS C compiler flags for bz2, overriding pkg-config | 1389 bz2_CFLAGS C compiler flags for bz2, overriding pkg-config |
1417 bz2_LIBS linker flags for bz2, overriding pkg-config | 1390 bz2_LIBS linker flags for bz2, overriding pkg-config |
1418 fftw3_CFLAGS | 1391 fftw3_CFLAGS |
1419 C compiler flags for fftw3, overriding pkg-config | 1392 C compiler flags for fftw3, overriding pkg-config |
1420 fftw3_LIBS linker flags for fftw3, overriding pkg-config | 1393 fftw3_LIBS linker flags for fftw3, overriding pkg-config |
1437 linker flags for vamphostsdk, overriding pkg-config | 1410 linker flags for vamphostsdk, overriding pkg-config |
1438 rubberband_CFLAGS | 1411 rubberband_CFLAGS |
1439 C compiler flags for rubberband, overriding pkg-config | 1412 C compiler flags for rubberband, overriding pkg-config |
1440 rubberband_LIBS | 1413 rubberband_LIBS |
1441 linker flags for rubberband, overriding pkg-config | 1414 linker flags for rubberband, overriding pkg-config |
1415 sord_CFLAGS C compiler flags for sord, overriding pkg-config | |
1416 sord_LIBS linker flags for sord, overriding pkg-config | |
1417 serd_CFLAGS C compiler flags for serd, overriding pkg-config | |
1418 serd_LIBS linker flags for serd, overriding pkg-config | |
1442 liblo_CFLAGS | 1419 liblo_CFLAGS |
1443 C compiler flags for liblo, overriding pkg-config | 1420 C compiler flags for liblo, overriding pkg-config |
1444 liblo_LIBS linker flags for liblo, overriding pkg-config | 1421 liblo_LIBS linker flags for liblo, overriding pkg-config |
1445 portaudio_2_0_CFLAGS | 1422 portaudio_2_0_CFLAGS |
1446 C compiler flags for portaudio_2_0, overriding pkg-config | 1423 C compiler flags for portaudio_2_0, overriding pkg-config |
1533 | 1510 |
1534 test -n "$ac_init_help" && exit $ac_status | 1511 test -n "$ac_init_help" && exit $ac_status |
1535 if $ac_init_version; then | 1512 if $ac_init_version; then |
1536 cat <<\_ACEOF | 1513 cat <<\_ACEOF |
1537 Sonic Visualiser configure 2.1 | 1514 Sonic Visualiser configure 2.1 |
1538 generated by GNU Autoconf 2.69 | 1515 generated by GNU Autoconf 2.65 |
1539 | 1516 |
1540 Copyright (C) 2012 Free Software Foundation, Inc. | 1517 Copyright (C) 2009 Free Software Foundation, Inc. |
1541 This configure script is free software; the Free Software Foundation | 1518 This configure script is free software; the Free Software Foundation |
1542 gives unlimited permission to copy, distribute and modify it. | 1519 gives unlimited permission to copy, distribute and modify it. |
1543 _ACEOF | 1520 _ACEOF |
1544 exit | 1521 exit |
1545 fi | 1522 fi |
1579 $as_echo "$as_me: failed program was:" >&5 | 1556 $as_echo "$as_me: failed program was:" >&5 |
1580 sed 's/^/| /' conftest.$ac_ext >&5 | 1557 sed 's/^/| /' conftest.$ac_ext >&5 |
1581 | 1558 |
1582 ac_retval=1 | 1559 ac_retval=1 |
1583 fi | 1560 fi |
1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1561 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1585 as_fn_set_status $ac_retval | 1562 as_fn_set_status $ac_retval |
1586 | 1563 |
1587 } # ac_fn_c_try_compile | 1564 } # ac_fn_c_try_compile |
1588 | 1565 |
1589 # ac_fn_cxx_try_compile LINENO | 1566 # ac_fn_cxx_try_compile LINENO |
1617 $as_echo "$as_me: failed program was:" >&5 | 1594 $as_echo "$as_me: failed program was:" >&5 |
1618 sed 's/^/| /' conftest.$ac_ext >&5 | 1595 sed 's/^/| /' conftest.$ac_ext >&5 |
1619 | 1596 |
1620 ac_retval=1 | 1597 ac_retval=1 |
1621 fi | 1598 fi |
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1623 as_fn_set_status $ac_retval | 1600 as_fn_set_status $ac_retval |
1624 | 1601 |
1625 } # ac_fn_cxx_try_compile | 1602 } # ac_fn_cxx_try_compile |
1626 | 1603 |
1627 # ac_fn_cxx_try_cpp LINENO | 1604 # ac_fn_cxx_try_cpp LINENO |
1643 grep -v '^ *+' conftest.err >conftest.er1 | 1620 grep -v '^ *+' conftest.err >conftest.er1 |
1644 cat conftest.er1 >&5 | 1621 cat conftest.er1 >&5 |
1645 mv -f conftest.er1 conftest.err | 1622 mv -f conftest.er1 conftest.err |
1646 fi | 1623 fi |
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1648 test $ac_status = 0; } > conftest.i && { | 1625 test $ac_status = 0; } >/dev/null && { |
1649 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 1626 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
1650 test ! -s conftest.err | 1627 test ! -s conftest.err |
1651 }; then : | 1628 }; then : |
1652 ac_retval=0 | 1629 ac_retval=0 |
1653 else | 1630 else |
1654 $as_echo "$as_me: failed program was:" >&5 | 1631 $as_echo "$as_me: failed program was:" >&5 |
1655 sed 's/^/| /' conftest.$ac_ext >&5 | 1632 sed 's/^/| /' conftest.$ac_ext >&5 |
1656 | 1633 |
1657 ac_retval=1 | 1634 ac_retval=1 |
1658 fi | 1635 fi |
1659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1660 as_fn_set_status $ac_retval | 1637 as_fn_set_status $ac_retval |
1661 | 1638 |
1662 } # ac_fn_cxx_try_cpp | 1639 } # ac_fn_cxx_try_cpp |
1663 | 1640 |
1664 # ac_fn_cxx_try_run LINENO | 1641 # ac_fn_cxx_try_run LINENO |
1696 sed 's/^/| /' conftest.$ac_ext >&5 | 1673 sed 's/^/| /' conftest.$ac_ext >&5 |
1697 | 1674 |
1698 ac_retval=$ac_status | 1675 ac_retval=$ac_status |
1699 fi | 1676 fi |
1700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1677 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1678 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1702 as_fn_set_status $ac_retval | 1679 as_fn_set_status $ac_retval |
1703 | 1680 |
1704 } # ac_fn_cxx_try_run | 1681 } # ac_fn_cxx_try_run |
1705 | 1682 |
1706 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES | 1683 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
1709 # the include files in INCLUDES and setting the cache variable VAR | 1686 # the include files in INCLUDES and setting the cache variable VAR |
1710 # accordingly. | 1687 # accordingly. |
1711 ac_fn_cxx_check_header_mongrel () | 1688 ac_fn_cxx_check_header_mongrel () |
1712 { | 1689 { |
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1714 if eval \${$3+:} false; then : | 1691 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1716 $as_echo_n "checking for $2... " >&6; } | 1693 $as_echo_n "checking for $2... " >&6; } |
1717 if eval \${$3+:} false; then : | 1694 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1718 $as_echo_n "(cached) " >&6 | 1695 $as_echo_n "(cached) " >&6 |
1719 fi | 1696 fi |
1720 eval ac_res=\$$3 | 1697 eval ac_res=\$$3 |
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1722 $as_echo "$ac_res" >&6; } | 1699 $as_echo "$ac_res" >&6; } |
1748 if ac_fn_cxx_try_cpp "$LINENO"; then : | 1725 if ac_fn_cxx_try_cpp "$LINENO"; then : |
1749 ac_header_preproc=yes | 1726 ac_header_preproc=yes |
1750 else | 1727 else |
1751 ac_header_preproc=no | 1728 ac_header_preproc=no |
1752 fi | 1729 fi |
1753 rm -f conftest.err conftest.i conftest.$ac_ext | 1730 rm -f conftest.err conftest.$ac_ext |
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1755 $as_echo "$ac_header_preproc" >&6; } | 1732 $as_echo "$ac_header_preproc" >&6; } |
1756 | 1733 |
1757 # So? What about this header? | 1734 # So? What about this header? |
1758 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( | 1735 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( |
1771 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | 1748 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1773 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | 1750 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1752 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1776 ( $as_echo "## ------------------------------------------- ## | 1753 ( cat <<\_ASBOX |
1754 ## ------------------------------------------- ## | |
1777 ## Report this to cannam@all-day-breakfast.com ## | 1755 ## Report this to cannam@all-day-breakfast.com ## |
1778 ## ------------------------------------------- ##" | 1756 ## ------------------------------------------- ## |
1757 _ASBOX | |
1779 ) | sed "s/^/$as_me: WARNING: /" >&2 | 1758 ) | sed "s/^/$as_me: WARNING: /" >&2 |
1780 ;; | 1759 ;; |
1781 esac | 1760 esac |
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1783 $as_echo_n "checking for $2... " >&6; } | 1762 $as_echo_n "checking for $2... " >&6; } |
1784 if eval \${$3+:} false; then : | 1763 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1785 $as_echo_n "(cached) " >&6 | 1764 $as_echo_n "(cached) " >&6 |
1786 else | 1765 else |
1787 eval "$3=\$ac_header_compiler" | 1766 eval "$3=\$ac_header_compiler" |
1788 fi | 1767 fi |
1789 eval ac_res=\$$3 | 1768 eval ac_res=\$$3 |
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1791 $as_echo "$ac_res" >&6; } | 1770 $as_echo "$ac_res" >&6; } |
1792 fi | 1771 fi |
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1794 | 1773 |
1795 } # ac_fn_cxx_check_header_mongrel | 1774 } # ac_fn_cxx_check_header_mongrel |
1796 | 1775 |
1797 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES | 1776 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
1798 # --------------------------------------------------------- | 1777 # --------------------------------------------------------- |
1801 ac_fn_cxx_check_header_compile () | 1780 ac_fn_cxx_check_header_compile () |
1802 { | 1781 { |
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1805 $as_echo_n "checking for $2... " >&6; } | 1784 $as_echo_n "checking for $2... " >&6; } |
1806 if eval \${$3+:} false; then : | 1785 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1807 $as_echo_n "(cached) " >&6 | 1786 $as_echo_n "(cached) " >&6 |
1808 else | 1787 else |
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1810 /* end confdefs.h. */ | 1789 /* end confdefs.h. */ |
1811 $4 | 1790 $4 |
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1820 fi | 1799 fi |
1821 eval ac_res=\$$3 | 1800 eval ac_res=\$$3 |
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1823 $as_echo "$ac_res" >&6; } | 1802 $as_echo "$ac_res" >&6; } |
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1825 | 1804 |
1826 } # ac_fn_cxx_check_header_compile | 1805 } # ac_fn_cxx_check_header_compile |
1827 | 1806 |
1828 # ac_fn_cxx_try_link LINENO | 1807 # ac_fn_cxx_try_link LINENO |
1829 # ------------------------- | 1808 # ------------------------- |
1850 test $ac_status = 0; } && { | 1829 test $ac_status = 0; } && { |
1851 test -z "$ac_cxx_werror_flag" || | 1830 test -z "$ac_cxx_werror_flag" || |
1852 test ! -s conftest.err | 1831 test ! -s conftest.err |
1853 } && test -s conftest$ac_exeext && { | 1832 } && test -s conftest$ac_exeext && { |
1854 test "$cross_compiling" = yes || | 1833 test "$cross_compiling" = yes || |
1855 test -x conftest$ac_exeext | 1834 $as_test_x conftest$ac_exeext |
1856 }; then : | 1835 }; then : |
1857 ac_retval=0 | 1836 ac_retval=0 |
1858 else | 1837 else |
1859 $as_echo "$as_me: failed program was:" >&5 | 1838 $as_echo "$as_me: failed program was:" >&5 |
1860 sed 's/^/| /' conftest.$ac_ext >&5 | 1839 sed 's/^/| /' conftest.$ac_ext >&5 |
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 1843 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 1844 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1866 # interfere with the next link command; also delete a directory that is | 1845 # interfere with the next link command; also delete a directory that is |
1867 # left behind by Apple's compiler. We do this before executing the actions. | 1846 # left behind by Apple's compiler. We do this before executing the actions. |
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1848 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1870 as_fn_set_status $ac_retval | 1849 as_fn_set_status $ac_retval |
1871 | 1850 |
1872 } # ac_fn_cxx_try_link | 1851 } # ac_fn_cxx_try_link |
1873 cat >config.log <<_ACEOF | 1852 cat >config.log <<_ACEOF |
1874 This file contains any messages produced by compilers while | 1853 This file contains any messages produced by compilers while |
1875 running configure, to aid debugging if configure makes a mistake. | 1854 running configure, to aid debugging if configure makes a mistake. |
1876 | 1855 |
1877 It was created by Sonic Visualiser $as_me 2.1, which was | 1856 It was created by Sonic Visualiser $as_me 2.1, which was |
1878 generated by GNU Autoconf 2.69. Invocation command line was | 1857 generated by GNU Autoconf 2.65. Invocation command line was |
1879 | 1858 |
1880 $ $0 $@ | 1859 $ $0 $@ |
1881 | 1860 |
1882 _ACEOF | 1861 _ACEOF |
1883 exec 5>>config.log | 1862 exec 5>>config.log |
1983 trap 'exit_status=$? | 1962 trap 'exit_status=$? |
1984 # Save into config.log some information that might help in debugging. | 1963 # Save into config.log some information that might help in debugging. |
1985 { | 1964 { |
1986 echo | 1965 echo |
1987 | 1966 |
1988 $as_echo "## ---------------- ## | 1967 cat <<\_ASBOX |
1968 ## ---------------- ## | |
1989 ## Cache variables. ## | 1969 ## Cache variables. ## |
1990 ## ---------------- ##" | 1970 ## ---------------- ## |
1971 _ASBOX | |
1991 echo | 1972 echo |
1992 # The following way of writing the cache mishandles newlines in values, | 1973 # The following way of writing the cache mishandles newlines in values, |
1993 ( | 1974 ( |
1994 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1975 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1995 eval ac_val=\$$ac_var | 1976 eval ac_val=\$$ac_var |
2019 esac | | 2000 esac | |
2020 sort | 2001 sort |
2021 ) | 2002 ) |
2022 echo | 2003 echo |
2023 | 2004 |
2024 $as_echo "## ----------------- ## | 2005 cat <<\_ASBOX |
2006 ## ----------------- ## | |
2025 ## Output variables. ## | 2007 ## Output variables. ## |
2026 ## ----------------- ##" | 2008 ## ----------------- ## |
2009 _ASBOX | |
2027 echo | 2010 echo |
2028 for ac_var in $ac_subst_vars | 2011 for ac_var in $ac_subst_vars |
2029 do | 2012 do |
2030 eval ac_val=\$$ac_var | 2013 eval ac_val=\$$ac_var |
2031 case $ac_val in | 2014 case $ac_val in |
2034 $as_echo "$ac_var='\''$ac_val'\''" | 2017 $as_echo "$ac_var='\''$ac_val'\''" |
2035 done | sort | 2018 done | sort |
2036 echo | 2019 echo |
2037 | 2020 |
2038 if test -n "$ac_subst_files"; then | 2021 if test -n "$ac_subst_files"; then |
2039 $as_echo "## ------------------- ## | 2022 cat <<\_ASBOX |
2023 ## ------------------- ## | |
2040 ## File substitutions. ## | 2024 ## File substitutions. ## |
2041 ## ------------------- ##" | 2025 ## ------------------- ## |
2026 _ASBOX | |
2042 echo | 2027 echo |
2043 for ac_var in $ac_subst_files | 2028 for ac_var in $ac_subst_files |
2044 do | 2029 do |
2045 eval ac_val=\$$ac_var | 2030 eval ac_val=\$$ac_var |
2046 case $ac_val in | 2031 case $ac_val in |
2050 done | sort | 2035 done | sort |
2051 echo | 2036 echo |
2052 fi | 2037 fi |
2053 | 2038 |
2054 if test -s confdefs.h; then | 2039 if test -s confdefs.h; then |
2055 $as_echo "## ----------- ## | 2040 cat <<\_ASBOX |
2041 ## ----------- ## | |
2056 ## confdefs.h. ## | 2042 ## confdefs.h. ## |
2057 ## ----------- ##" | 2043 ## ----------- ## |
2044 _ASBOX | |
2058 echo | 2045 echo |
2059 cat confdefs.h | 2046 cat confdefs.h |
2060 echo | 2047 echo |
2061 fi | 2048 fi |
2062 test "$ac_signal" != 0 && | 2049 test "$ac_signal" != 0 && |
2107 # Let the site file select an alternate cache file if it wants to. | 2094 # Let the site file select an alternate cache file if it wants to. |
2108 # Prefer an explicitly selected file to automatically selected ones. | 2095 # Prefer an explicitly selected file to automatically selected ones. |
2109 ac_site_file1=NONE | 2096 ac_site_file1=NONE |
2110 ac_site_file2=NONE | 2097 ac_site_file2=NONE |
2111 if test -n "$CONFIG_SITE"; then | 2098 if test -n "$CONFIG_SITE"; then |
2112 # We do not want a PATH search for config.site. | 2099 ac_site_file1=$CONFIG_SITE |
2113 case $CONFIG_SITE in #(( | |
2114 -*) ac_site_file1=./$CONFIG_SITE;; | |
2115 */*) ac_site_file1=$CONFIG_SITE;; | |
2116 *) ac_site_file1=./$CONFIG_SITE;; | |
2117 esac | |
2118 elif test "x$prefix" != xNONE; then | 2100 elif test "x$prefix" != xNONE; then |
2119 ac_site_file1=$prefix/share/config.site | 2101 ac_site_file1=$prefix/share/config.site |
2120 ac_site_file2=$prefix/etc/config.site | 2102 ac_site_file2=$prefix/etc/config.site |
2121 else | 2103 else |
2122 ac_site_file1=$ac_default_prefix/share/config.site | 2104 ac_site_file1=$ac_default_prefix/share/config.site |
2127 test "x$ac_site_file" = xNONE && continue | 2109 test "x$ac_site_file" = xNONE && continue |
2128 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2110 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2130 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2112 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2131 sed 's/^/| /' "$ac_site_file" >&5 | 2113 sed 's/^/| /' "$ac_site_file" >&5 |
2132 . "$ac_site_file" \ | 2114 . "$ac_site_file" |
2133 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2135 as_fn_error $? "failed to load site script $ac_site_file | |
2136 See \`config.log' for more details" "$LINENO" 5; } | |
2137 fi | 2115 fi |
2138 done | 2116 done |
2139 | 2117 |
2140 if test -r "$cache_file"; then | 2118 if test -r "$cache_file"; then |
2141 # Some versions of bash will fail to source /dev/null (special files | 2119 # Some versions of bash will fail to source /dev/null (special files |
2207 if $ac_cache_corrupted; then | 2185 if $ac_cache_corrupted; then |
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2211 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2189 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2212 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2190 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2213 fi | 2191 fi |
2214 ## -------------------- ## | 2192 ## -------------------- ## |
2215 ## Main body of script. ## | 2193 ## Main body of script. ## |
2216 ## -------------------- ## | 2194 ## -------------------- ## |
2217 | 2195 |
2255 if test -n "$ac_tool_prefix"; then | 2233 if test -n "$ac_tool_prefix"; then |
2256 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2257 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2235 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2259 $as_echo_n "checking for $ac_word... " >&6; } | 2237 $as_echo_n "checking for $ac_word... " >&6; } |
2260 if ${ac_cv_prog_CC+:} false; then : | 2238 if test "${ac_cv_prog_CC+set}" = set; then : |
2261 $as_echo_n "(cached) " >&6 | 2239 $as_echo_n "(cached) " >&6 |
2262 else | 2240 else |
2263 if test -n "$CC"; then | 2241 if test -n "$CC"; then |
2264 ac_cv_prog_CC="$CC" # Let the user override the test. | 2242 ac_cv_prog_CC="$CC" # Let the user override the test. |
2265 else | 2243 else |
2267 for as_dir in $PATH | 2245 for as_dir in $PATH |
2268 do | 2246 do |
2269 IFS=$as_save_IFS | 2247 IFS=$as_save_IFS |
2270 test -z "$as_dir" && as_dir=. | 2248 test -z "$as_dir" && as_dir=. |
2271 for ac_exec_ext in '' $ac_executable_extensions; do | 2249 for ac_exec_ext in '' $ac_executable_extensions; do |
2272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2273 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2251 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2275 break 2 | 2253 break 2 |
2276 fi | 2254 fi |
2277 done | 2255 done |
2295 ac_ct_CC=$CC | 2273 ac_ct_CC=$CC |
2296 # Extract the first word of "gcc", so it can be a program name with args. | 2274 # Extract the first word of "gcc", so it can be a program name with args. |
2297 set dummy gcc; ac_word=$2 | 2275 set dummy gcc; ac_word=$2 |
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2299 $as_echo_n "checking for $ac_word... " >&6; } | 2277 $as_echo_n "checking for $ac_word... " >&6; } |
2300 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2278 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2301 $as_echo_n "(cached) " >&6 | 2279 $as_echo_n "(cached) " >&6 |
2302 else | 2280 else |
2303 if test -n "$ac_ct_CC"; then | 2281 if test -n "$ac_ct_CC"; then |
2304 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2305 else | 2283 else |
2307 for as_dir in $PATH | 2285 for as_dir in $PATH |
2308 do | 2286 do |
2309 IFS=$as_save_IFS | 2287 IFS=$as_save_IFS |
2310 test -z "$as_dir" && as_dir=. | 2288 test -z "$as_dir" && as_dir=. |
2311 for ac_exec_ext in '' $ac_executable_extensions; do | 2289 for ac_exec_ext in '' $ac_executable_extensions; do |
2312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2313 ac_cv_prog_ac_ct_CC="gcc" | 2291 ac_cv_prog_ac_ct_CC="gcc" |
2314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2315 break 2 | 2293 break 2 |
2316 fi | 2294 fi |
2317 done | 2295 done |
2348 if test -n "$ac_tool_prefix"; then | 2326 if test -n "$ac_tool_prefix"; then |
2349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2327 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2328 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2352 $as_echo_n "checking for $ac_word... " >&6; } | 2330 $as_echo_n "checking for $ac_word... " >&6; } |
2353 if ${ac_cv_prog_CC+:} false; then : | 2331 if test "${ac_cv_prog_CC+set}" = set; then : |
2354 $as_echo_n "(cached) " >&6 | 2332 $as_echo_n "(cached) " >&6 |
2355 else | 2333 else |
2356 if test -n "$CC"; then | 2334 if test -n "$CC"; then |
2357 ac_cv_prog_CC="$CC" # Let the user override the test. | 2335 ac_cv_prog_CC="$CC" # Let the user override the test. |
2358 else | 2336 else |
2360 for as_dir in $PATH | 2338 for as_dir in $PATH |
2361 do | 2339 do |
2362 IFS=$as_save_IFS | 2340 IFS=$as_save_IFS |
2363 test -z "$as_dir" && as_dir=. | 2341 test -z "$as_dir" && as_dir=. |
2364 for ac_exec_ext in '' $ac_executable_extensions; do | 2342 for ac_exec_ext in '' $ac_executable_extensions; do |
2365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2366 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2344 ac_cv_prog_CC="${ac_tool_prefix}cc" |
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2368 break 2 | 2346 break 2 |
2369 fi | 2347 fi |
2370 done | 2348 done |
2388 if test -z "$CC"; then | 2366 if test -z "$CC"; then |
2389 # Extract the first word of "cc", so it can be a program name with args. | 2367 # Extract the first word of "cc", so it can be a program name with args. |
2390 set dummy cc; ac_word=$2 | 2368 set dummy cc; ac_word=$2 |
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2392 $as_echo_n "checking for $ac_word... " >&6; } | 2370 $as_echo_n "checking for $ac_word... " >&6; } |
2393 if ${ac_cv_prog_CC+:} false; then : | 2371 if test "${ac_cv_prog_CC+set}" = set; then : |
2394 $as_echo_n "(cached) " >&6 | 2372 $as_echo_n "(cached) " >&6 |
2395 else | 2373 else |
2396 if test -n "$CC"; then | 2374 if test -n "$CC"; then |
2397 ac_cv_prog_CC="$CC" # Let the user override the test. | 2375 ac_cv_prog_CC="$CC" # Let the user override the test. |
2398 else | 2376 else |
2401 for as_dir in $PATH | 2379 for as_dir in $PATH |
2402 do | 2380 do |
2403 IFS=$as_save_IFS | 2381 IFS=$as_save_IFS |
2404 test -z "$as_dir" && as_dir=. | 2382 test -z "$as_dir" && as_dir=. |
2405 for ac_exec_ext in '' $ac_executable_extensions; do | 2383 for ac_exec_ext in '' $ac_executable_extensions; do |
2406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2407 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2385 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2408 ac_prog_rejected=yes | 2386 ac_prog_rejected=yes |
2409 continue | 2387 continue |
2410 fi | 2388 fi |
2411 ac_cv_prog_CC="cc" | 2389 ac_cv_prog_CC="cc" |
2447 do | 2425 do |
2448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2451 $as_echo_n "checking for $ac_word... " >&6; } | 2429 $as_echo_n "checking for $ac_word... " >&6; } |
2452 if ${ac_cv_prog_CC+:} false; then : | 2430 if test "${ac_cv_prog_CC+set}" = set; then : |
2453 $as_echo_n "(cached) " >&6 | 2431 $as_echo_n "(cached) " >&6 |
2454 else | 2432 else |
2455 if test -n "$CC"; then | 2433 if test -n "$CC"; then |
2456 ac_cv_prog_CC="$CC" # Let the user override the test. | 2434 ac_cv_prog_CC="$CC" # Let the user override the test. |
2457 else | 2435 else |
2459 for as_dir in $PATH | 2437 for as_dir in $PATH |
2460 do | 2438 do |
2461 IFS=$as_save_IFS | 2439 IFS=$as_save_IFS |
2462 test -z "$as_dir" && as_dir=. | 2440 test -z "$as_dir" && as_dir=. |
2463 for ac_exec_ext in '' $ac_executable_extensions; do | 2441 for ac_exec_ext in '' $ac_executable_extensions; do |
2464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2465 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2443 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2467 break 2 | 2445 break 2 |
2468 fi | 2446 fi |
2469 done | 2447 done |
2491 do | 2469 do |
2492 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2470 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2493 set dummy $ac_prog; ac_word=$2 | 2471 set dummy $ac_prog; ac_word=$2 |
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2495 $as_echo_n "checking for $ac_word... " >&6; } | 2473 $as_echo_n "checking for $ac_word... " >&6; } |
2496 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2497 $as_echo_n "(cached) " >&6 | 2475 $as_echo_n "(cached) " >&6 |
2498 else | 2476 else |
2499 if test -n "$ac_ct_CC"; then | 2477 if test -n "$ac_ct_CC"; then |
2500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2501 else | 2479 else |
2503 for as_dir in $PATH | 2481 for as_dir in $PATH |
2504 do | 2482 do |
2505 IFS=$as_save_IFS | 2483 IFS=$as_save_IFS |
2506 test -z "$as_dir" && as_dir=. | 2484 test -z "$as_dir" && as_dir=. |
2507 for ac_exec_ext in '' $ac_executable_extensions; do | 2485 for ac_exec_ext in '' $ac_executable_extensions; do |
2508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2509 ac_cv_prog_ac_ct_CC="$ac_prog" | 2487 ac_cv_prog_ac_ct_CC="$ac_prog" |
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2511 break 2 | 2489 break 2 |
2512 fi | 2490 fi |
2513 done | 2491 done |
2545 fi | 2523 fi |
2546 | 2524 |
2547 | 2525 |
2548 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2526 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2550 as_fn_error $? "no acceptable C compiler found in \$PATH | 2528 as_fn_error "no acceptable C compiler found in \$PATH |
2551 See \`config.log' for more details" "$LINENO" 5; } | 2529 See \`config.log' for more details." "$LINENO" 5; } |
2552 | 2530 |
2553 # Provide some information about the compiler. | 2531 # Provide some information about the compiler. |
2554 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 2532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2555 set X $ac_compile | 2533 set X $ac_compile |
2556 ac_compiler=$2 | 2534 ac_compiler=$2 |
2660 $as_echo "$as_me: failed program was:" >&5 | 2638 $as_echo "$as_me: failed program was:" >&5 |
2661 sed 's/^/| /' conftest.$ac_ext >&5 | 2639 sed 's/^/| /' conftest.$ac_ext >&5 |
2662 | 2640 |
2663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2665 as_fn_error 77 "C compiler cannot create executables | 2643 { as_fn_set_status 77 |
2666 See \`config.log' for more details" "$LINENO" 5; } | 2644 as_fn_error "C compiler cannot create executables |
2645 See \`config.log' for more details." "$LINENO" 5; }; } | |
2667 else | 2646 else |
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2669 $as_echo "yes" >&6; } | 2648 $as_echo "yes" >&6; } |
2670 fi | 2649 fi |
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2703 esac | 2682 esac |
2704 done | 2683 done |
2705 else | 2684 else |
2706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2708 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 2687 as_fn_error "cannot compute suffix of executables: cannot compile and link |
2709 See \`config.log' for more details" "$LINENO" 5; } | 2688 See \`config.log' for more details." "$LINENO" 5; } |
2710 fi | 2689 fi |
2711 rm -f conftest conftest$ac_cv_exeext | 2690 rm -f conftest conftest$ac_cv_exeext |
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2713 $as_echo "$ac_cv_exeext" >&6; } | 2692 $as_echo "$ac_cv_exeext" >&6; } |
2714 | 2693 |
2761 if test "$cross_compiling" = maybe; then | 2740 if test "$cross_compiling" = maybe; then |
2762 cross_compiling=yes | 2741 cross_compiling=yes |
2763 else | 2742 else |
2764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2766 as_fn_error $? "cannot run C compiled programs. | 2745 as_fn_error "cannot run C compiled programs. |
2767 If you meant to cross compile, use \`--host'. | 2746 If you meant to cross compile, use \`--host'. |
2768 See \`config.log' for more details" "$LINENO" 5; } | 2747 See \`config.log' for more details." "$LINENO" 5; } |
2769 fi | 2748 fi |
2770 fi | 2749 fi |
2771 fi | 2750 fi |
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2773 $as_echo "$cross_compiling" >&6; } | 2752 $as_echo "$cross_compiling" >&6; } |
2774 | 2753 |
2775 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 2754 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2776 ac_clean_files=$ac_clean_files_save | 2755 ac_clean_files=$ac_clean_files_save |
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2778 $as_echo_n "checking for suffix of object files... " >&6; } | 2757 $as_echo_n "checking for suffix of object files... " >&6; } |
2779 if ${ac_cv_objext+:} false; then : | 2758 if test "${ac_cv_objext+set}" = set; then : |
2780 $as_echo_n "(cached) " >&6 | 2759 $as_echo_n "(cached) " >&6 |
2781 else | 2760 else |
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2783 /* end confdefs.h. */ | 2762 /* end confdefs.h. */ |
2784 | 2763 |
2814 $as_echo "$as_me: failed program was:" >&5 | 2793 $as_echo "$as_me: failed program was:" >&5 |
2815 sed 's/^/| /' conftest.$ac_ext >&5 | 2794 sed 's/^/| /' conftest.$ac_ext >&5 |
2816 | 2795 |
2817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2819 as_fn_error $? "cannot compute suffix of object files: cannot compile | 2798 as_fn_error "cannot compute suffix of object files: cannot compile |
2820 See \`config.log' for more details" "$LINENO" 5; } | 2799 See \`config.log' for more details." "$LINENO" 5; } |
2821 fi | 2800 fi |
2822 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2801 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2823 fi | 2802 fi |
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2825 $as_echo "$ac_cv_objext" >&6; } | 2804 $as_echo "$ac_cv_objext" >&6; } |
2826 OBJEXT=$ac_cv_objext | 2805 OBJEXT=$ac_cv_objext |
2827 ac_objext=$OBJEXT | 2806 ac_objext=$OBJEXT |
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2829 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 2808 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2830 if ${ac_cv_c_compiler_gnu+:} false; then : | 2809 if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2831 $as_echo_n "(cached) " >&6 | 2810 $as_echo_n "(cached) " >&6 |
2832 else | 2811 else |
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2834 /* end confdefs.h. */ | 2813 /* end confdefs.h. */ |
2835 | 2814 |
2862 fi | 2841 fi |
2863 ac_test_CFLAGS=${CFLAGS+set} | 2842 ac_test_CFLAGS=${CFLAGS+set} |
2864 ac_save_CFLAGS=$CFLAGS | 2843 ac_save_CFLAGS=$CFLAGS |
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 2844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2866 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 2845 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2867 if ${ac_cv_prog_cc_g+:} false; then : | 2846 if test "${ac_cv_prog_cc_g+set}" = set; then : |
2868 $as_echo_n "(cached) " >&6 | 2847 $as_echo_n "(cached) " >&6 |
2869 else | 2848 else |
2870 ac_save_c_werror_flag=$ac_c_werror_flag | 2849 ac_save_c_werror_flag=$ac_c_werror_flag |
2871 ac_c_werror_flag=yes | 2850 ac_c_werror_flag=yes |
2872 ac_cv_prog_cc_g=no | 2851 ac_cv_prog_cc_g=no |
2940 CFLAGS= | 2919 CFLAGS= |
2941 fi | 2920 fi |
2942 fi | 2921 fi |
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2944 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 2923 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2945 if ${ac_cv_prog_cc_c89+:} false; then : | 2924 if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2946 $as_echo_n "(cached) " >&6 | 2925 $as_echo_n "(cached) " >&6 |
2947 else | 2926 else |
2948 ac_cv_prog_cc_c89=no | 2927 ac_cv_prog_cc_c89=no |
2949 ac_save_CC=$CC | 2928 ac_save_CC=$CC |
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2951 /* end confdefs.h. */ | 2930 /* end confdefs.h. */ |
2952 #include <stdarg.h> | 2931 #include <stdarg.h> |
2953 #include <stdio.h> | 2932 #include <stdio.h> |
2954 struct stat; | 2933 #include <sys/types.h> |
2934 #include <sys/stat.h> | |
2955 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 2935 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2956 struct buf { int x; }; | 2936 struct buf { int x; }; |
2957 FILE * (*rcsopen) (struct buf *, struct stat *, int); | 2937 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2958 static char *e (p, i) | 2938 static char *e (p, i) |
2959 char **p; | 2939 char **p; |
3050 do | 3030 do |
3051 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3052 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3054 $as_echo_n "checking for $ac_word... " >&6; } | 3034 $as_echo_n "checking for $ac_word... " >&6; } |
3055 if ${ac_cv_prog_CXX+:} false; then : | 3035 if test "${ac_cv_prog_CXX+set}" = set; then : |
3056 $as_echo_n "(cached) " >&6 | 3036 $as_echo_n "(cached) " >&6 |
3057 else | 3037 else |
3058 if test -n "$CXX"; then | 3038 if test -n "$CXX"; then |
3059 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 3039 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3060 else | 3040 else |
3062 for as_dir in $PATH | 3042 for as_dir in $PATH |
3063 do | 3043 do |
3064 IFS=$as_save_IFS | 3044 IFS=$as_save_IFS |
3065 test -z "$as_dir" && as_dir=. | 3045 test -z "$as_dir" && as_dir=. |
3066 for ac_exec_ext in '' $ac_executable_extensions; do | 3046 for ac_exec_ext in '' $ac_executable_extensions; do |
3067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3068 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 3048 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3070 break 2 | 3050 break 2 |
3071 fi | 3051 fi |
3072 done | 3052 done |
3094 do | 3074 do |
3095 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3075 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3096 set dummy $ac_prog; ac_word=$2 | 3076 set dummy $ac_prog; ac_word=$2 |
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3098 $as_echo_n "checking for $ac_word... " >&6; } | 3078 $as_echo_n "checking for $ac_word... " >&6; } |
3099 if ${ac_cv_prog_ac_ct_CXX+:} false; then : | 3079 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
3100 $as_echo_n "(cached) " >&6 | 3080 $as_echo_n "(cached) " >&6 |
3101 else | 3081 else |
3102 if test -n "$ac_ct_CXX"; then | 3082 if test -n "$ac_ct_CXX"; then |
3103 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 3083 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3104 else | 3084 else |
3106 for as_dir in $PATH | 3086 for as_dir in $PATH |
3107 do | 3087 do |
3108 IFS=$as_save_IFS | 3088 IFS=$as_save_IFS |
3109 test -z "$as_dir" && as_dir=. | 3089 test -z "$as_dir" && as_dir=. |
3110 for ac_exec_ext in '' $ac_executable_extensions; do | 3090 for ac_exec_ext in '' $ac_executable_extensions; do |
3111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3112 ac_cv_prog_ac_ct_CXX="$ac_prog" | 3092 ac_cv_prog_ac_ct_CXX="$ac_prog" |
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3114 break 2 | 3094 break 2 |
3115 fi | 3095 fi |
3116 done | 3096 done |
3172 test $ac_status = 0; } | 3152 test $ac_status = 0; } |
3173 done | 3153 done |
3174 | 3154 |
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
3176 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 3156 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
3177 if ${ac_cv_cxx_compiler_gnu+:} false; then : | 3157 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
3178 $as_echo_n "(cached) " >&6 | 3158 $as_echo_n "(cached) " >&6 |
3179 else | 3159 else |
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3181 /* end confdefs.h. */ | 3161 /* end confdefs.h. */ |
3182 | 3162 |
3209 fi | 3189 fi |
3210 ac_test_CXXFLAGS=${CXXFLAGS+set} | 3190 ac_test_CXXFLAGS=${CXXFLAGS+set} |
3211 ac_save_CXXFLAGS=$CXXFLAGS | 3191 ac_save_CXXFLAGS=$CXXFLAGS |
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
3213 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 3193 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
3214 if ${ac_cv_prog_cxx_g+:} false; then : | 3194 if test "${ac_cv_prog_cxx_g+set}" = set; then : |
3215 $as_echo_n "(cached) " >&6 | 3195 $as_echo_n "(cached) " >&6 |
3216 else | 3196 else |
3217 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 3197 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3218 ac_cxx_werror_flag=yes | 3198 ac_cxx_werror_flag=yes |
3219 ac_cv_prog_cxx_g=no | 3199 ac_cv_prog_cxx_g=no |
3293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 3274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3295 | 3275 |
3296 ac_aux_dir= | 3276 ac_aux_dir= |
3297 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3277 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3298 if test -f "$ac_dir/install-sh"; then | 3278 for ac_t in install-sh install.sh shtool; do |
3299 ac_aux_dir=$ac_dir | 3279 if test -f "$ac_dir/$ac_t"; then |
3300 ac_install_sh="$ac_aux_dir/install-sh -c" | 3280 ac_aux_dir=$ac_dir |
3301 break | 3281 ac_install_sh="$ac_aux_dir/$ac_t -c" |
3302 elif test -f "$ac_dir/install.sh"; then | 3282 break 2 |
3303 ac_aux_dir=$ac_dir | 3283 fi |
3304 ac_install_sh="$ac_aux_dir/install.sh -c" | 3284 done |
3305 break | |
3306 elif test -f "$ac_dir/shtool"; then | |
3307 ac_aux_dir=$ac_dir | |
3308 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3309 break | |
3310 fi | |
3311 done | 3285 done |
3312 if test -z "$ac_aux_dir"; then | 3286 if test -z "$ac_aux_dir"; then |
3313 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3287 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3314 fi | 3288 fi |
3315 | 3289 |
3316 # These three variables are undocumented and unsupported, | 3290 # These three variables are undocumented and unsupported, |
3317 # and are intended to be withdrawn in a future Autoconf release. | 3291 # and are intended to be withdrawn in a future Autoconf release. |
3318 # They can cause serious problems if a builder's source tree is in a directory | 3292 # They can cause serious problems if a builder's source tree is in a directory |
3337 # ./install, which can be erroneously created by make from ./install.sh. | 3311 # ./install, which can be erroneously created by make from ./install.sh. |
3338 # Reject install programs that cannot install multiple files. | 3312 # Reject install programs that cannot install multiple files. |
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3340 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 3314 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3341 if test -z "$INSTALL"; then | 3315 if test -z "$INSTALL"; then |
3342 if ${ac_cv_path_install+:} false; then : | 3316 if test "${ac_cv_path_install+set}" = set; then : |
3343 $as_echo_n "(cached) " >&6 | 3317 $as_echo_n "(cached) " >&6 |
3344 else | 3318 else |
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3346 for as_dir in $PATH | 3320 for as_dir in $PATH |
3347 do | 3321 do |
3357 # OSF1 and SCO ODT 3.0 have their own names for install. | 3331 # OSF1 and SCO ODT 3.0 have their own names for install. |
3358 # Don't use installbsd from OSF since it installs stuff as root | 3332 # Don't use installbsd from OSF since it installs stuff as root |
3359 # by default. | 3333 # by default. |
3360 for ac_prog in ginstall scoinst install; do | 3334 for ac_prog in ginstall scoinst install; do |
3361 for ac_exec_ext in '' $ac_executable_extensions; do | 3335 for ac_exec_ext in '' $ac_executable_extensions; do |
3362 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 3336 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3363 if test $ac_prog = install && | 3337 if test $ac_prog = install && |
3364 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3338 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3365 # AIX install. It has an incompatible calling convention. | 3339 # AIX install. It has an incompatible calling convention. |
3366 : | 3340 : |
3367 elif test $ac_prog = install && | 3341 elif test $ac_prog = install && |
3416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 3390 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3417 | 3391 |
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | 3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
3419 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | 3393 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
3420 if test -z "$MKDIR_P"; then | 3394 if test -z "$MKDIR_P"; then |
3421 if ${ac_cv_path_mkdir+:} false; then : | 3395 if test "${ac_cv_path_mkdir+set}" = set; then : |
3422 $as_echo_n "(cached) " >&6 | 3396 $as_echo_n "(cached) " >&6 |
3423 else | 3397 else |
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3425 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | 3399 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
3426 do | 3400 do |
3427 IFS=$as_save_IFS | 3401 IFS=$as_save_IFS |
3428 test -z "$as_dir" && as_dir=. | 3402 test -z "$as_dir" && as_dir=. |
3429 for ac_prog in mkdir gmkdir; do | 3403 for ac_prog in mkdir gmkdir; do |
3430 for ac_exec_ext in '' $ac_executable_extensions; do | 3404 for ac_exec_ext in '' $ac_executable_extensions; do |
3431 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | 3405 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
3432 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | 3406 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
3433 'mkdir (GNU coreutils) '* | \ | 3407 'mkdir (GNU coreutils) '* | \ |
3434 'mkdir (coreutils) '* | \ | 3408 'mkdir (coreutils) '* | \ |
3435 'mkdir (fileutils) '4.1*) | 3409 'mkdir (fileutils) '4.1*) |
3436 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | 3410 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
3465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 3440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 | 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
3468 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } | 3442 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
3469 if test -z "$CXXCPP"; then | 3443 if test -z "$CXXCPP"; then |
3470 if ${ac_cv_prog_CXXCPP+:} false; then : | 3444 if test "${ac_cv_prog_CXXCPP+set}" = set; then : |
3471 $as_echo_n "(cached) " >&6 | 3445 $as_echo_n "(cached) " >&6 |
3472 else | 3446 else |
3473 # Double quotes because CXXCPP needs to be expanded | 3447 # Double quotes because CXXCPP needs to be expanded |
3474 for CXXCPP in "$CXX -E" "/lib/cpp" | 3448 for CXXCPP in "$CXX -E" "/lib/cpp" |
3475 do | 3449 do |
3495 | 3469 |
3496 else | 3470 else |
3497 # Broken: fails on valid input. | 3471 # Broken: fails on valid input. |
3498 continue | 3472 continue |
3499 fi | 3473 fi |
3500 rm -f conftest.err conftest.i conftest.$ac_ext | 3474 rm -f conftest.err conftest.$ac_ext |
3501 | 3475 |
3502 # OK, works on sane cases. Now check whether nonexistent headers | 3476 # OK, works on sane cases. Now check whether nonexistent headers |
3503 # can be detected and how. | 3477 # can be detected and how. |
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3505 /* end confdefs.h. */ | 3479 /* end confdefs.h. */ |
3511 else | 3485 else |
3512 # Passes both tests. | 3486 # Passes both tests. |
3513 ac_preproc_ok=: | 3487 ac_preproc_ok=: |
3514 break | 3488 break |
3515 fi | 3489 fi |
3516 rm -f conftest.err conftest.i conftest.$ac_ext | 3490 rm -f conftest.err conftest.$ac_ext |
3517 | 3491 |
3518 done | 3492 done |
3519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3520 rm -f conftest.i conftest.err conftest.$ac_ext | 3494 rm -f conftest.err conftest.$ac_ext |
3521 if $ac_preproc_ok; then : | 3495 if $ac_preproc_ok; then : |
3522 break | 3496 break |
3523 fi | 3497 fi |
3524 | 3498 |
3525 done | 3499 done |
3554 | 3528 |
3555 else | 3529 else |
3556 # Broken: fails on valid input. | 3530 # Broken: fails on valid input. |
3557 continue | 3531 continue |
3558 fi | 3532 fi |
3559 rm -f conftest.err conftest.i conftest.$ac_ext | 3533 rm -f conftest.err conftest.$ac_ext |
3560 | 3534 |
3561 # OK, works on sane cases. Now check whether nonexistent headers | 3535 # OK, works on sane cases. Now check whether nonexistent headers |
3562 # can be detected and how. | 3536 # can be detected and how. |
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3564 /* end confdefs.h. */ | 3538 /* end confdefs.h. */ |
3570 else | 3544 else |
3571 # Passes both tests. | 3545 # Passes both tests. |
3572 ac_preproc_ok=: | 3546 ac_preproc_ok=: |
3573 break | 3547 break |
3574 fi | 3548 fi |
3575 rm -f conftest.err conftest.i conftest.$ac_ext | 3549 rm -f conftest.err conftest.$ac_ext |
3576 | 3550 |
3577 done | 3551 done |
3578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3579 rm -f conftest.i conftest.err conftest.$ac_ext | 3553 rm -f conftest.err conftest.$ac_ext |
3580 if $ac_preproc_ok; then : | 3554 if $ac_preproc_ok; then : |
3581 | 3555 |
3582 else | 3556 else |
3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3585 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check | 3559 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check |
3586 See \`config.log' for more details" "$LINENO" 5; } | 3560 See \`config.log' for more details." "$LINENO" 5; } |
3587 fi | 3561 fi |
3588 | 3562 |
3589 ac_ext=cpp | 3563 ac_ext=cpp |
3590 ac_cpp='$CXXCPP $CPPFLAGS' | 3564 ac_cpp='$CXXCPP $CPPFLAGS' |
3591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 3567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3594 | 3568 |
3595 | 3569 |
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3597 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 3571 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3598 if ${ac_cv_path_GREP+:} false; then : | 3572 if test "${ac_cv_path_GREP+set}" = set; then : |
3599 $as_echo_n "(cached) " >&6 | 3573 $as_echo_n "(cached) " >&6 |
3600 else | 3574 else |
3601 if test -z "$GREP"; then | 3575 if test -z "$GREP"; then |
3602 ac_path_GREP_found=false | 3576 ac_path_GREP_found=false |
3603 # Loop through the user's path and test for each of PROGNAME-LIST | 3577 # Loop through the user's path and test for each of PROGNAME-LIST |
3607 IFS=$as_save_IFS | 3581 IFS=$as_save_IFS |
3608 test -z "$as_dir" && as_dir=. | 3582 test -z "$as_dir" && as_dir=. |
3609 for ac_prog in grep ggrep; do | 3583 for ac_prog in grep ggrep; do |
3610 for ac_exec_ext in '' $ac_executable_extensions; do | 3584 for ac_exec_ext in '' $ac_executable_extensions; do |
3611 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3585 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3612 as_fn_executable_p "$ac_path_GREP" || continue | 3586 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3613 # Check for GNU ac_path_GREP and select it if it is found. | 3587 # Check for GNU ac_path_GREP and select it if it is found. |
3614 # Check for GNU $ac_path_GREP | 3588 # Check for GNU $ac_path_GREP |
3615 case `"$ac_path_GREP" --version 2>&1` in | 3589 case `"$ac_path_GREP" --version 2>&1` in |
3616 *GNU*) | 3590 *GNU*) |
3617 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 3591 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3642 done | 3616 done |
3643 done | 3617 done |
3644 done | 3618 done |
3645 IFS=$as_save_IFS | 3619 IFS=$as_save_IFS |
3646 if test -z "$ac_cv_path_GREP"; then | 3620 if test -z "$ac_cv_path_GREP"; then |
3647 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3621 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3648 fi | 3622 fi |
3649 else | 3623 else |
3650 ac_cv_path_GREP=$GREP | 3624 ac_cv_path_GREP=$GREP |
3651 fi | 3625 fi |
3652 | 3626 |
3656 GREP="$ac_cv_path_GREP" | 3630 GREP="$ac_cv_path_GREP" |
3657 | 3631 |
3658 | 3632 |
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3660 $as_echo_n "checking for egrep... " >&6; } | 3634 $as_echo_n "checking for egrep... " >&6; } |
3661 if ${ac_cv_path_EGREP+:} false; then : | 3635 if test "${ac_cv_path_EGREP+set}" = set; then : |
3662 $as_echo_n "(cached) " >&6 | 3636 $as_echo_n "(cached) " >&6 |
3663 else | 3637 else |
3664 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3638 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3665 then ac_cv_path_EGREP="$GREP -E" | 3639 then ac_cv_path_EGREP="$GREP -E" |
3666 else | 3640 else |
3673 IFS=$as_save_IFS | 3647 IFS=$as_save_IFS |
3674 test -z "$as_dir" && as_dir=. | 3648 test -z "$as_dir" && as_dir=. |
3675 for ac_prog in egrep; do | 3649 for ac_prog in egrep; do |
3676 for ac_exec_ext in '' $ac_executable_extensions; do | 3650 for ac_exec_ext in '' $ac_executable_extensions; do |
3677 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 3651 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3678 as_fn_executable_p "$ac_path_EGREP" || continue | 3652 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3679 # Check for GNU ac_path_EGREP and select it if it is found. | 3653 # Check for GNU ac_path_EGREP and select it if it is found. |
3680 # Check for GNU $ac_path_EGREP | 3654 # Check for GNU $ac_path_EGREP |
3681 case `"$ac_path_EGREP" --version 2>&1` in | 3655 case `"$ac_path_EGREP" --version 2>&1` in |
3682 *GNU*) | 3656 *GNU*) |
3683 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 3657 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3708 done | 3682 done |
3709 done | 3683 done |
3710 done | 3684 done |
3711 IFS=$as_save_IFS | 3685 IFS=$as_save_IFS |
3712 if test -z "$ac_cv_path_EGREP"; then | 3686 if test -z "$ac_cv_path_EGREP"; then |
3713 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3687 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3714 fi | 3688 fi |
3715 else | 3689 else |
3716 ac_cv_path_EGREP=$EGREP | 3690 ac_cv_path_EGREP=$EGREP |
3717 fi | 3691 fi |
3718 | 3692 |
3723 EGREP="$ac_cv_path_EGREP" | 3697 EGREP="$ac_cv_path_EGREP" |
3724 | 3698 |
3725 | 3699 |
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3727 $as_echo_n "checking for ANSI C header files... " >&6; } | 3701 $as_echo_n "checking for ANSI C header files... " >&6; } |
3728 if ${ac_cv_header_stdc+:} false; then : | 3702 if test "${ac_cv_header_stdc+set}" = set; then : |
3729 $as_echo_n "(cached) " >&6 | 3703 $as_echo_n "(cached) " >&6 |
3730 else | 3704 else |
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3732 /* end confdefs.h. */ | 3706 /* end confdefs.h. */ |
3733 #include <stdlib.h> | 3707 #include <stdlib.h> |
3841 # preferred flags) | 3815 # preferred flags) |
3842 AUTOCONF_CXXFLAGS="$CXXFLAGS" | 3816 AUTOCONF_CXXFLAGS="$CXXFLAGS" |
3843 | 3817 |
3844 | 3818 |
3845 | 3819 |
3846 | |
3847 | |
3848 | |
3849 | |
3850 | |
3851 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | 3820 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
3852 if test -n "$ac_tool_prefix"; then | 3821 if test -n "$ac_tool_prefix"; then |
3853 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | 3822 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
3854 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 3823 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3856 $as_echo_n "checking for $ac_word... " >&6; } | 3825 $as_echo_n "checking for $ac_word... " >&6; } |
3857 if ${ac_cv_path_PKG_CONFIG+:} false; then : | 3826 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
3858 $as_echo_n "(cached) " >&6 | 3827 $as_echo_n "(cached) " >&6 |
3859 else | 3828 else |
3860 case $PKG_CONFIG in | 3829 case $PKG_CONFIG in |
3861 [\\/]* | ?:[\\/]*) | 3830 [\\/]* | ?:[\\/]*) |
3862 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 3831 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
3866 for as_dir in $PATH | 3835 for as_dir in $PATH |
3867 do | 3836 do |
3868 IFS=$as_save_IFS | 3837 IFS=$as_save_IFS |
3869 test -z "$as_dir" && as_dir=. | 3838 test -z "$as_dir" && as_dir=. |
3870 for ac_exec_ext in '' $ac_executable_extensions; do | 3839 for ac_exec_ext in '' $ac_executable_extensions; do |
3871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3872 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 3841 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3874 break 2 | 3843 break 2 |
3875 fi | 3844 fi |
3876 done | 3845 done |
3895 ac_pt_PKG_CONFIG=$PKG_CONFIG | 3864 ac_pt_PKG_CONFIG=$PKG_CONFIG |
3896 # Extract the first word of "pkg-config", so it can be a program name with args. | 3865 # Extract the first word of "pkg-config", so it can be a program name with args. |
3897 set dummy pkg-config; ac_word=$2 | 3866 set dummy pkg-config; ac_word=$2 |
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3899 $as_echo_n "checking for $ac_word... " >&6; } | 3868 $as_echo_n "checking for $ac_word... " >&6; } |
3900 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : | 3869 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : |
3901 $as_echo_n "(cached) " >&6 | 3870 $as_echo_n "(cached) " >&6 |
3902 else | 3871 else |
3903 case $ac_pt_PKG_CONFIG in | 3872 case $ac_pt_PKG_CONFIG in |
3904 [\\/]* | ?:[\\/]*) | 3873 [\\/]* | ?:[\\/]*) |
3905 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | 3874 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
3909 for as_dir in $PATH | 3878 for as_dir in $PATH |
3910 do | 3879 do |
3911 IFS=$as_save_IFS | 3880 IFS=$as_save_IFS |
3912 test -z "$as_dir" && as_dir=. | 3881 test -z "$as_dir" && as_dir=. |
3913 for ac_exec_ext in '' $ac_executable_extensions; do | 3882 for ac_exec_ext in '' $ac_executable_extensions; do |
3914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3915 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 3884 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3917 break 2 | 3886 break 2 |
3918 fi | 3887 fi |
3919 done | 3888 done |
3958 else | 3927 else |
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3960 $as_echo "no" >&6; } | 3929 $as_echo "no" >&6; } |
3961 PKG_CONFIG="" | 3930 PKG_CONFIG="" |
3962 fi | 3931 fi |
3932 | |
3963 fi | 3933 fi |
3964 | 3934 |
3965 | 3935 |
3966 | 3936 |
3967 | 3937 |
3968 if test x$QMAKE = x ; then | 3938 if test x$QMAKE = x ; then |
3969 # Extract the first word of "qmake-qt5", so it can be a program name with args. | 3939 # Extract the first word of "qmake-qt5", so it can be a program name with args. |
3970 set dummy qmake-qt5; ac_word=$2 | 3940 set dummy qmake-qt5; ac_word=$2 |
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3972 $as_echo_n "checking for $ac_word... " >&6; } | 3942 $as_echo_n "checking for $ac_word... " >&6; } |
3973 if ${ac_cv_prog_QMAKE+:} false; then : | 3943 if test "${ac_cv_prog_QMAKE+set}" = set; then : |
3974 $as_echo_n "(cached) " >&6 | 3944 $as_echo_n "(cached) " >&6 |
3975 else | 3945 else |
3976 if test -n "$QMAKE"; then | 3946 if test -n "$QMAKE"; then |
3977 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 3947 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
3978 else | 3948 else |
3980 for as_dir in $QTDIR/bin/ | 3950 for as_dir in $QTDIR/bin/ |
3981 do | 3951 do |
3982 IFS=$as_save_IFS | 3952 IFS=$as_save_IFS |
3983 test -z "$as_dir" && as_dir=. | 3953 test -z "$as_dir" && as_dir=. |
3984 for ac_exec_ext in '' $ac_executable_extensions; do | 3954 for ac_exec_ext in '' $ac_executable_extensions; do |
3985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3986 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt5" | 3956 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt5" |
3987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3988 break 2 | 3958 break 2 |
3989 fi | 3959 fi |
3990 done | 3960 done |
4007 if test x$QMAKE = x ; then | 3977 if test x$QMAKE = x ; then |
4008 # Extract the first word of "qmake", so it can be a program name with args. | 3978 # Extract the first word of "qmake", so it can be a program name with args. |
4009 set dummy qmake; ac_word=$2 | 3979 set dummy qmake; ac_word=$2 |
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4011 $as_echo_n "checking for $ac_word... " >&6; } | 3981 $as_echo_n "checking for $ac_word... " >&6; } |
4012 if ${ac_cv_prog_QMAKE+:} false; then : | 3982 if test "${ac_cv_prog_QMAKE+set}" = set; then : |
4013 $as_echo_n "(cached) " >&6 | 3983 $as_echo_n "(cached) " >&6 |
4014 else | 3984 else |
4015 if test -n "$QMAKE"; then | 3985 if test -n "$QMAKE"; then |
4016 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 3986 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4017 else | 3987 else |
4019 for as_dir in $QTDIR/bin/ | 3989 for as_dir in $QTDIR/bin/ |
4020 do | 3990 do |
4021 IFS=$as_save_IFS | 3991 IFS=$as_save_IFS |
4022 test -z "$as_dir" && as_dir=. | 3992 test -z "$as_dir" && as_dir=. |
4023 for ac_exec_ext in '' $ac_executable_extensions; do | 3993 for ac_exec_ext in '' $ac_executable_extensions; do |
4024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4025 ac_cv_prog_QMAKE="$QTDIR/bin/qmake" | 3995 ac_cv_prog_QMAKE="$QTDIR/bin/qmake" |
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4027 break 2 | 3997 break 2 |
4028 fi | 3998 fi |
4029 done | 3999 done |
4046 if test x$QMAKE = x ; then | 4016 if test x$QMAKE = x ; then |
4047 # Extract the first word of "qmake.exe", so it can be a program name with args. | 4017 # Extract the first word of "qmake.exe", so it can be a program name with args. |
4048 set dummy qmake.exe; ac_word=$2 | 4018 set dummy qmake.exe; ac_word=$2 |
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4050 $as_echo_n "checking for $ac_word... " >&6; } | 4020 $as_echo_n "checking for $ac_word... " >&6; } |
4051 if ${ac_cv_prog_QMAKE+:} false; then : | 4021 if test "${ac_cv_prog_QMAKE+set}" = set; then : |
4052 $as_echo_n "(cached) " >&6 | 4022 $as_echo_n "(cached) " >&6 |
4053 else | 4023 else |
4054 if test -n "$QMAKE"; then | 4024 if test -n "$QMAKE"; then |
4055 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4025 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4056 else | 4026 else |
4058 for as_dir in $QTDIR/bin/ | 4028 for as_dir in $QTDIR/bin/ |
4059 do | 4029 do |
4060 IFS=$as_save_IFS | 4030 IFS=$as_save_IFS |
4061 test -z "$as_dir" && as_dir=. | 4031 test -z "$as_dir" && as_dir=. |
4062 for ac_exec_ext in '' $ac_executable_extensions; do | 4032 for ac_exec_ext in '' $ac_executable_extensions; do |
4063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4064 ac_cv_prog_QMAKE="$QTDIR/bin/qmake.exe" | 4034 ac_cv_prog_QMAKE="$QTDIR/bin/qmake.exe" |
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4066 break 2 | 4036 break 2 |
4067 fi | 4037 fi |
4068 done | 4038 done |
4085 if test x$QMAKE = x ; then | 4055 if test x$QMAKE = x ; then |
4086 # Extract the first word of "qmake-qt5", so it can be a program name with args. | 4056 # Extract the first word of "qmake-qt5", so it can be a program name with args. |
4087 set dummy qmake-qt5; ac_word=$2 | 4057 set dummy qmake-qt5; ac_word=$2 |
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4089 $as_echo_n "checking for $ac_word... " >&6; } | 4059 $as_echo_n "checking for $ac_word... " >&6; } |
4090 if ${ac_cv_prog_QMAKE+:} false; then : | 4060 if test "${ac_cv_prog_QMAKE+set}" = set; then : |
4091 $as_echo_n "(cached) " >&6 | 4061 $as_echo_n "(cached) " >&6 |
4092 else | 4062 else |
4093 if test -n "$QMAKE"; then | 4063 if test -n "$QMAKE"; then |
4094 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4064 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4095 else | 4065 else |
4097 for as_dir in $PATH | 4067 for as_dir in $PATH |
4098 do | 4068 do |
4099 IFS=$as_save_IFS | 4069 IFS=$as_save_IFS |
4100 test -z "$as_dir" && as_dir=. | 4070 test -z "$as_dir" && as_dir=. |
4101 for ac_exec_ext in '' $ac_executable_extensions; do | 4071 for ac_exec_ext in '' $ac_executable_extensions; do |
4102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4103 ac_cv_prog_QMAKE="qmake-qt5" | 4073 ac_cv_prog_QMAKE="qmake-qt5" |
4104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4105 break 2 | 4075 break 2 |
4106 fi | 4076 fi |
4107 done | 4077 done |
4124 if test x$QMAKE = x ; then | 4094 if test x$QMAKE = x ; then |
4125 # Extract the first word of "qmake", so it can be a program name with args. | 4095 # Extract the first word of "qmake", so it can be a program name with args. |
4126 set dummy qmake; ac_word=$2 | 4096 set dummy qmake; ac_word=$2 |
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4128 $as_echo_n "checking for $ac_word... " >&6; } | 4098 $as_echo_n "checking for $ac_word... " >&6; } |
4129 if ${ac_cv_prog_QMAKE+:} false; then : | 4099 if test "${ac_cv_prog_QMAKE+set}" = set; then : |
4130 $as_echo_n "(cached) " >&6 | 4100 $as_echo_n "(cached) " >&6 |
4131 else | 4101 else |
4132 if test -n "$QMAKE"; then | 4102 if test -n "$QMAKE"; then |
4133 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | 4103 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. |
4134 else | 4104 else |
4136 for as_dir in $PATH | 4106 for as_dir in $PATH |
4137 do | 4107 do |
4138 IFS=$as_save_IFS | 4108 IFS=$as_save_IFS |
4139 test -z "$as_dir" && as_dir=. | 4109 test -z "$as_dir" && as_dir=. |
4140 for ac_exec_ext in '' $ac_executable_extensions; do | 4110 for ac_exec_ext in '' $ac_executable_extensions; do |
4141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4142 ac_cv_prog_QMAKE="qmake" | 4112 ac_cv_prog_QMAKE="qmake" |
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4144 break 2 | 4114 break 2 |
4145 fi | 4115 fi |
4146 done | 4116 done |
4159 fi | 4129 fi |
4160 | 4130 |
4161 | 4131 |
4162 fi | 4132 fi |
4163 if test x$QMAKE = x ; then | 4133 if test x$QMAKE = x ; then |
4164 as_fn_error $? " | 4134 as_fn_error " |
4165 Failed to find the required qmake-qt5 or qmake program. Please | 4135 Failed to find the required qmake-qt5 or qmake program. Please |
4166 ensure you have the necessary Qt5 development files installed, and | 4136 ensure you have the necessary Qt5 development files installed, and |
4167 if necessary set QTDIR to the location of your Qt5 installation. | 4137 if necessary set QTDIR to the location of your Qt5 installation. |
4168 " "$LINENO" 5 | 4138 " "$LINENO" 5 |
4169 fi | 4139 fi |
4247 inttypes.h stdint.h unistd.h | 4217 inttypes.h stdint.h unistd.h |
4248 do : | 4218 do : |
4249 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4219 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4250 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4220 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4251 " | 4221 " |
4252 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4222 eval as_val=\$$as_ac_Header |
4223 if test "x$as_val" = x""yes; then : | |
4253 cat >>confdefs.h <<_ACEOF | 4224 cat >>confdefs.h <<_ACEOF |
4254 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4255 _ACEOF | 4226 _ACEOF |
4256 | 4227 |
4257 fi | 4228 fi |
4281 | 4252 |
4282 pkg_failed=no | 4253 pkg_failed=no |
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bz2" >&5 | 4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bz2" >&5 |
4284 $as_echo_n "checking for bz2... " >&6; } | 4255 $as_echo_n "checking for bz2... " >&6; } |
4285 | 4256 |
4286 if test -n "$bz2_CFLAGS"; then | 4257 if test -n "$PKG_CONFIG"; then |
4287 pkg_cv_bz2_CFLAGS="$bz2_CFLAGS" | 4258 if test -n "$bz2_CFLAGS"; then |
4288 elif test -n "$PKG_CONFIG"; then | 4259 pkg_cv_bz2_CFLAGS="$bz2_CFLAGS" |
4289 if test -n "$PKG_CONFIG" && \ | 4260 else |
4261 if test -n "$PKG_CONFIG" && \ | |
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4291 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4263 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4292 ac_status=$? | 4264 ac_status=$? |
4293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4294 test $ac_status = 0; }; then | 4266 test $ac_status = 0; }; then |
4295 pkg_cv_bz2_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4267 pkg_cv_bz2_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4296 test "x$?" != "x0" && pkg_failed=yes | |
4297 else | 4268 else |
4298 pkg_failed=yes | 4269 pkg_failed=yes |
4299 fi | 4270 fi |
4300 else | 4271 fi |
4301 pkg_failed=untried | 4272 else |
4302 fi | 4273 pkg_failed=untried |
4303 if test -n "$bz2_LIBS"; then | 4274 fi |
4304 pkg_cv_bz2_LIBS="$bz2_LIBS" | 4275 if test -n "$PKG_CONFIG"; then |
4305 elif test -n "$PKG_CONFIG"; then | 4276 if test -n "$bz2_LIBS"; then |
4306 if test -n "$PKG_CONFIG" && \ | 4277 pkg_cv_bz2_LIBS="$bz2_LIBS" |
4278 else | |
4279 if test -n "$PKG_CONFIG" && \ | |
4307 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4308 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4281 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4309 ac_status=$? | 4282 ac_status=$? |
4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4311 test $ac_status = 0; }; then | 4284 test $ac_status = 0; }; then |
4312 pkg_cv_bz2_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4285 pkg_cv_bz2_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4313 test "x$?" != "x0" && pkg_failed=yes | |
4314 else | 4286 else |
4315 pkg_failed=yes | 4287 pkg_failed=yes |
4316 fi | 4288 fi |
4317 else | 4289 fi |
4318 pkg_failed=untried | 4290 else |
4291 pkg_failed=untried | |
4319 fi | 4292 fi |
4320 | 4293 |
4321 | 4294 |
4322 | 4295 |
4323 if test $pkg_failed = yes; then | 4296 if test $pkg_failed = yes; then |
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4325 $as_echo "no" >&6; } | |
4326 | 4297 |
4327 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 4298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4328 _pkg_short_errors_supported=yes | 4299 _pkg_short_errors_supported=yes |
4329 else | 4300 else |
4330 _pkg_short_errors_supported=no | 4301 _pkg_short_errors_supported=no |
4331 fi | 4302 fi |
4332 if test $_pkg_short_errors_supported = yes; then | 4303 if test $_pkg_short_errors_supported = yes; then |
4333 bz2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4304 bz2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4334 else | 4305 else |
4335 bz2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4306 bz2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4336 fi | 4307 fi |
4337 # Put the nasty error message in config.log where it belongs | 4308 # Put the nasty error message in config.log where it belongs |
4338 echo "$bz2_PKG_ERRORS" >&5 | 4309 echo "$bz2_PKG_ERRORS" >&5 |
4339 | 4310 |
4340 { $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 | 4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4312 $as_echo "no" >&6; } | |
4313 { $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 | |
4341 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4314 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4342 elif test $pkg_failed = untried; then | 4315 elif test $pkg_failed = untried; then |
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4344 $as_echo "no" >&6; } | |
4345 { $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 | 4316 { $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 |
4346 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4317 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4347 else | 4318 else |
4348 bz2_CFLAGS=$pkg_cv_bz2_CFLAGS | 4319 bz2_CFLAGS=$pkg_cv_bz2_CFLAGS |
4349 bz2_LIBS=$pkg_cv_bz2_LIBS | 4320 bz2_LIBS=$pkg_cv_bz2_LIBS |
4353 fi | 4324 fi |
4354 fi | 4325 fi |
4355 if test -n "$SV_MODULE_FAILED"; then | 4326 if test -n "$SV_MODULE_FAILED"; then |
4356 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 4327 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4357 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 4328 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
4358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4329 eval as_val=\$$as_ac_Header |
4330 if test "x$as_val" = x""yes; then : | |
4359 HAVES="$HAVES $SV_MODULE_HAVE" | 4331 HAVES="$HAVES $SV_MODULE_HAVE" |
4360 else | 4332 else |
4361 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4333 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4362 fi | 4334 fi |
4363 | 4335 |
4364 | 4336 |
4365 if test -n "$SV_MODULE_LIB"; then | 4337 if test -n "$SV_MODULE_LIB"; then |
4366 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 4338 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4368 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 4340 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
4369 if eval \${$as_ac_Lib+:} false; then : | 4341 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
4370 $as_echo_n "(cached) " >&6 | 4342 $as_echo_n "(cached) " >&6 |
4371 else | 4343 else |
4372 ac_check_lib_save_LIBS=$LIBS | 4344 ac_check_lib_save_LIBS=$LIBS |
4373 LIBS="-l$SV_MODULE_LIB $LIBS" | 4345 LIBS="-l$SV_MODULE_LIB $LIBS" |
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4399 LIBS=$ac_check_lib_save_LIBS | 4371 LIBS=$ac_check_lib_save_LIBS |
4400 fi | 4372 fi |
4401 eval ac_res=\$$as_ac_Lib | 4373 eval ac_res=\$$as_ac_Lib |
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4403 $as_echo "$ac_res" >&6; } | 4375 $as_echo "$ac_res" >&6; } |
4404 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 4376 eval as_val=\$$as_ac_Lib |
4377 if test "x$as_val" = x""yes; then : | |
4405 LIBS="$LIBS -l$SV_MODULE_LIB" | 4378 LIBS="$LIBS -l$SV_MODULE_LIB" |
4406 else | 4379 else |
4407 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4380 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4408 fi | 4381 fi |
4409 | 4382 |
4410 fi | 4383 fi |
4411 fi | 4384 fi |
4412 | 4385 |
4432 | 4405 |
4433 pkg_failed=no | 4406 pkg_failed=no |
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3" >&5 | 4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3" >&5 |
4435 $as_echo_n "checking for fftw3... " >&6; } | 4408 $as_echo_n "checking for fftw3... " >&6; } |
4436 | 4409 |
4437 if test -n "$fftw3_CFLAGS"; then | 4410 if test -n "$PKG_CONFIG"; then |
4438 pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS" | 4411 if test -n "$fftw3_CFLAGS"; then |
4439 elif test -n "$PKG_CONFIG"; then | 4412 pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS" |
4440 if test -n "$PKG_CONFIG" && \ | 4413 else |
4414 if test -n "$PKG_CONFIG" && \ | |
4441 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4415 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4442 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4416 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4443 ac_status=$? | 4417 ac_status=$? |
4444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4445 test $ac_status = 0; }; then | 4419 test $ac_status = 0; }; then |
4446 pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4420 pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4447 test "x$?" != "x0" && pkg_failed=yes | |
4448 else | 4421 else |
4449 pkg_failed=yes | 4422 pkg_failed=yes |
4450 fi | 4423 fi |
4451 else | 4424 fi |
4452 pkg_failed=untried | 4425 else |
4453 fi | 4426 pkg_failed=untried |
4454 if test -n "$fftw3_LIBS"; then | 4427 fi |
4455 pkg_cv_fftw3_LIBS="$fftw3_LIBS" | 4428 if test -n "$PKG_CONFIG"; then |
4456 elif test -n "$PKG_CONFIG"; then | 4429 if test -n "$fftw3_LIBS"; then |
4457 if test -n "$PKG_CONFIG" && \ | 4430 pkg_cv_fftw3_LIBS="$fftw3_LIBS" |
4431 else | |
4432 if test -n "$PKG_CONFIG" && \ | |
4458 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4459 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4434 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4460 ac_status=$? | 4435 ac_status=$? |
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4462 test $ac_status = 0; }; then | 4437 test $ac_status = 0; }; then |
4463 pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4438 pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4464 test "x$?" != "x0" && pkg_failed=yes | |
4465 else | 4439 else |
4466 pkg_failed=yes | 4440 pkg_failed=yes |
4467 fi | 4441 fi |
4468 else | 4442 fi |
4469 pkg_failed=untried | 4443 else |
4444 pkg_failed=untried | |
4470 fi | 4445 fi |
4471 | 4446 |
4472 | 4447 |
4473 | 4448 |
4474 if test $pkg_failed = yes; then | 4449 if test $pkg_failed = yes; then |
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4476 $as_echo "no" >&6; } | |
4477 | 4450 |
4478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 4451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4479 _pkg_short_errors_supported=yes | 4452 _pkg_short_errors_supported=yes |
4480 else | 4453 else |
4481 _pkg_short_errors_supported=no | 4454 _pkg_short_errors_supported=no |
4482 fi | 4455 fi |
4483 if test $_pkg_short_errors_supported = yes; then | 4456 if test $_pkg_short_errors_supported = yes; then |
4484 fftw3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4457 fftw3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4485 else | 4458 else |
4486 fftw3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4459 fftw3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4487 fi | 4460 fi |
4488 # Put the nasty error message in config.log where it belongs | 4461 # Put the nasty error message in config.log where it belongs |
4489 echo "$fftw3_PKG_ERRORS" >&5 | 4462 echo "$fftw3_PKG_ERRORS" >&5 |
4490 | 4463 |
4491 { $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 | 4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4465 $as_echo "no" >&6; } | |
4466 { $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 | |
4492 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4467 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4493 elif test $pkg_failed = untried; then | 4468 elif test $pkg_failed = untried; then |
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4495 $as_echo "no" >&6; } | |
4496 { $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 | 4469 { $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 |
4497 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4470 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4498 else | 4471 else |
4499 fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS | 4472 fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS |
4500 fftw3_LIBS=$pkg_cv_fftw3_LIBS | 4473 fftw3_LIBS=$pkg_cv_fftw3_LIBS |
4504 fi | 4477 fi |
4505 fi | 4478 fi |
4506 if test -n "$SV_MODULE_FAILED"; then | 4479 if test -n "$SV_MODULE_FAILED"; then |
4507 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 4480 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4508 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 4481 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
4509 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4482 eval as_val=\$$as_ac_Header |
4483 if test "x$as_val" = x""yes; then : | |
4510 HAVES="$HAVES $SV_MODULE_HAVE" | 4484 HAVES="$HAVES $SV_MODULE_HAVE" |
4511 else | 4485 else |
4512 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4486 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4513 fi | 4487 fi |
4514 | 4488 |
4515 | 4489 |
4516 if test -n "$SV_MODULE_LIB"; then | 4490 if test -n "$SV_MODULE_LIB"; then |
4517 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 4491 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4519 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 4493 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
4520 if eval \${$as_ac_Lib+:} false; then : | 4494 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
4521 $as_echo_n "(cached) " >&6 | 4495 $as_echo_n "(cached) " >&6 |
4522 else | 4496 else |
4523 ac_check_lib_save_LIBS=$LIBS | 4497 ac_check_lib_save_LIBS=$LIBS |
4524 LIBS="-l$SV_MODULE_LIB $LIBS" | 4498 LIBS="-l$SV_MODULE_LIB $LIBS" |
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4550 LIBS=$ac_check_lib_save_LIBS | 4524 LIBS=$ac_check_lib_save_LIBS |
4551 fi | 4525 fi |
4552 eval ac_res=\$$as_ac_Lib | 4526 eval ac_res=\$$as_ac_Lib |
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4554 $as_echo "$ac_res" >&6; } | 4528 $as_echo "$ac_res" >&6; } |
4555 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 4529 eval as_val=\$$as_ac_Lib |
4530 if test "x$as_val" = x""yes; then : | |
4556 LIBS="$LIBS -l$SV_MODULE_LIB" | 4531 LIBS="$LIBS -l$SV_MODULE_LIB" |
4557 else | 4532 else |
4558 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4533 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4559 fi | 4534 fi |
4560 | 4535 |
4561 fi | 4536 fi |
4562 fi | 4537 fi |
4563 | 4538 |
4583 | 4558 |
4584 pkg_failed=no | 4559 pkg_failed=no |
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3f" >&5 | 4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3f" >&5 |
4586 $as_echo_n "checking for fftw3f... " >&6; } | 4561 $as_echo_n "checking for fftw3f... " >&6; } |
4587 | 4562 |
4588 if test -n "$fftw3f_CFLAGS"; then | 4563 if test -n "$PKG_CONFIG"; then |
4589 pkg_cv_fftw3f_CFLAGS="$fftw3f_CFLAGS" | 4564 if test -n "$fftw3f_CFLAGS"; then |
4590 elif test -n "$PKG_CONFIG"; then | 4565 pkg_cv_fftw3f_CFLAGS="$fftw3f_CFLAGS" |
4591 if test -n "$PKG_CONFIG" && \ | 4566 else |
4567 if test -n "$PKG_CONFIG" && \ | |
4592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4593 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4569 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4594 ac_status=$? | 4570 ac_status=$? |
4595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4596 test $ac_status = 0; }; then | 4572 test $ac_status = 0; }; then |
4597 pkg_cv_fftw3f_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4573 pkg_cv_fftw3f_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4598 test "x$?" != "x0" && pkg_failed=yes | |
4599 else | 4574 else |
4600 pkg_failed=yes | 4575 pkg_failed=yes |
4601 fi | 4576 fi |
4602 else | 4577 fi |
4603 pkg_failed=untried | 4578 else |
4604 fi | 4579 pkg_failed=untried |
4605 if test -n "$fftw3f_LIBS"; then | 4580 fi |
4606 pkg_cv_fftw3f_LIBS="$fftw3f_LIBS" | 4581 if test -n "$PKG_CONFIG"; then |
4607 elif test -n "$PKG_CONFIG"; then | 4582 if test -n "$fftw3f_LIBS"; then |
4608 if test -n "$PKG_CONFIG" && \ | 4583 pkg_cv_fftw3f_LIBS="$fftw3f_LIBS" |
4584 else | |
4585 if test -n "$PKG_CONFIG" && \ | |
4609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4610 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4587 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4611 ac_status=$? | 4588 ac_status=$? |
4612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4613 test $ac_status = 0; }; then | 4590 test $ac_status = 0; }; then |
4614 pkg_cv_fftw3f_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4591 pkg_cv_fftw3f_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4615 test "x$?" != "x0" && pkg_failed=yes | |
4616 else | 4592 else |
4617 pkg_failed=yes | 4593 pkg_failed=yes |
4618 fi | 4594 fi |
4619 else | 4595 fi |
4620 pkg_failed=untried | 4596 else |
4597 pkg_failed=untried | |
4621 fi | 4598 fi |
4622 | 4599 |
4623 | 4600 |
4624 | 4601 |
4625 if test $pkg_failed = yes; then | 4602 if test $pkg_failed = yes; then |
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4627 $as_echo "no" >&6; } | |
4628 | 4603 |
4629 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 4604 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4630 _pkg_short_errors_supported=yes | 4605 _pkg_short_errors_supported=yes |
4631 else | 4606 else |
4632 _pkg_short_errors_supported=no | 4607 _pkg_short_errors_supported=no |
4633 fi | 4608 fi |
4634 if test $_pkg_short_errors_supported = yes; then | 4609 if test $_pkg_short_errors_supported = yes; then |
4635 fftw3f_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4610 fftw3f_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4636 else | 4611 else |
4637 fftw3f_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4612 fftw3f_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4638 fi | 4613 fi |
4639 # Put the nasty error message in config.log where it belongs | 4614 # Put the nasty error message in config.log where it belongs |
4640 echo "$fftw3f_PKG_ERRORS" >&5 | 4615 echo "$fftw3f_PKG_ERRORS" >&5 |
4641 | 4616 |
4642 { $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 | 4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4618 $as_echo "no" >&6; } | |
4619 { $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 | |
4643 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4620 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4644 elif test $pkg_failed = untried; then | 4621 elif test $pkg_failed = untried; then |
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4646 $as_echo "no" >&6; } | |
4647 { $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 | 4622 { $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 |
4648 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4623 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4649 else | 4624 else |
4650 fftw3f_CFLAGS=$pkg_cv_fftw3f_CFLAGS | 4625 fftw3f_CFLAGS=$pkg_cv_fftw3f_CFLAGS |
4651 fftw3f_LIBS=$pkg_cv_fftw3f_LIBS | 4626 fftw3f_LIBS=$pkg_cv_fftw3f_LIBS |
4655 fi | 4630 fi |
4656 fi | 4631 fi |
4657 if test -n "$SV_MODULE_FAILED"; then | 4632 if test -n "$SV_MODULE_FAILED"; then |
4658 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 4633 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4659 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 4634 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
4660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4635 eval as_val=\$$as_ac_Header |
4636 if test "x$as_val" = x""yes; then : | |
4661 HAVES="$HAVES $SV_MODULE_HAVE" | 4637 HAVES="$HAVES $SV_MODULE_HAVE" |
4662 else | 4638 else |
4663 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4639 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4664 fi | 4640 fi |
4665 | 4641 |
4666 | 4642 |
4667 if test -n "$SV_MODULE_LIB"; then | 4643 if test -n "$SV_MODULE_LIB"; then |
4668 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 4644 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4670 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 4646 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
4671 if eval \${$as_ac_Lib+:} false; then : | 4647 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
4672 $as_echo_n "(cached) " >&6 | 4648 $as_echo_n "(cached) " >&6 |
4673 else | 4649 else |
4674 ac_check_lib_save_LIBS=$LIBS | 4650 ac_check_lib_save_LIBS=$LIBS |
4675 LIBS="-l$SV_MODULE_LIB $LIBS" | 4651 LIBS="-l$SV_MODULE_LIB $LIBS" |
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4701 LIBS=$ac_check_lib_save_LIBS | 4677 LIBS=$ac_check_lib_save_LIBS |
4702 fi | 4678 fi |
4703 eval ac_res=\$$as_ac_Lib | 4679 eval ac_res=\$$as_ac_Lib |
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4705 $as_echo "$ac_res" >&6; } | 4681 $as_echo "$ac_res" >&6; } |
4706 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 4682 eval as_val=\$$as_ac_Lib |
4683 if test "x$as_val" = x""yes; then : | |
4707 LIBS="$LIBS -l$SV_MODULE_LIB" | 4684 LIBS="$LIBS -l$SV_MODULE_LIB" |
4708 else | 4685 else |
4709 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4686 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4710 fi | 4687 fi |
4711 | 4688 |
4712 fi | 4689 fi |
4713 fi | 4690 fi |
4714 | 4691 |
4734 | 4711 |
4735 pkg_failed=no | 4712 pkg_failed=no |
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sndfile" >&5 | 4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sndfile" >&5 |
4737 $as_echo_n "checking for sndfile... " >&6; } | 4714 $as_echo_n "checking for sndfile... " >&6; } |
4738 | 4715 |
4739 if test -n "$sndfile_CFLAGS"; then | 4716 if test -n "$PKG_CONFIG"; then |
4740 pkg_cv_sndfile_CFLAGS="$sndfile_CFLAGS" | 4717 if test -n "$sndfile_CFLAGS"; then |
4741 elif test -n "$PKG_CONFIG"; then | 4718 pkg_cv_sndfile_CFLAGS="$sndfile_CFLAGS" |
4742 if test -n "$PKG_CONFIG" && \ | 4719 else |
4720 if test -n "$PKG_CONFIG" && \ | |
4743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4744 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4722 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4745 ac_status=$? | 4723 ac_status=$? |
4746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4747 test $ac_status = 0; }; then | 4725 test $ac_status = 0; }; then |
4748 pkg_cv_sndfile_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4726 pkg_cv_sndfile_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4749 test "x$?" != "x0" && pkg_failed=yes | |
4750 else | 4727 else |
4751 pkg_failed=yes | 4728 pkg_failed=yes |
4752 fi | 4729 fi |
4753 else | 4730 fi |
4754 pkg_failed=untried | 4731 else |
4755 fi | 4732 pkg_failed=untried |
4756 if test -n "$sndfile_LIBS"; then | 4733 fi |
4757 pkg_cv_sndfile_LIBS="$sndfile_LIBS" | 4734 if test -n "$PKG_CONFIG"; then |
4758 elif test -n "$PKG_CONFIG"; then | 4735 if test -n "$sndfile_LIBS"; then |
4759 if test -n "$PKG_CONFIG" && \ | 4736 pkg_cv_sndfile_LIBS="$sndfile_LIBS" |
4737 else | |
4738 if test -n "$PKG_CONFIG" && \ | |
4760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4761 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4740 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4762 ac_status=$? | 4741 ac_status=$? |
4763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4764 test $ac_status = 0; }; then | 4743 test $ac_status = 0; }; then |
4765 pkg_cv_sndfile_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4744 pkg_cv_sndfile_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4766 test "x$?" != "x0" && pkg_failed=yes | |
4767 else | 4745 else |
4768 pkg_failed=yes | 4746 pkg_failed=yes |
4769 fi | 4747 fi |
4770 else | 4748 fi |
4771 pkg_failed=untried | 4749 else |
4750 pkg_failed=untried | |
4772 fi | 4751 fi |
4773 | 4752 |
4774 | 4753 |
4775 | 4754 |
4776 if test $pkg_failed = yes; then | 4755 if test $pkg_failed = yes; then |
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4778 $as_echo "no" >&6; } | |
4779 | 4756 |
4780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 4757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4781 _pkg_short_errors_supported=yes | 4758 _pkg_short_errors_supported=yes |
4782 else | 4759 else |
4783 _pkg_short_errors_supported=no | 4760 _pkg_short_errors_supported=no |
4784 fi | 4761 fi |
4785 if test $_pkg_short_errors_supported = yes; then | 4762 if test $_pkg_short_errors_supported = yes; then |
4786 sndfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4763 sndfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4787 else | 4764 else |
4788 sndfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4765 sndfile_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4789 fi | 4766 fi |
4790 # Put the nasty error message in config.log where it belongs | 4767 # Put the nasty error message in config.log where it belongs |
4791 echo "$sndfile_PKG_ERRORS" >&5 | 4768 echo "$sndfile_PKG_ERRORS" >&5 |
4792 | 4769 |
4793 { $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 | 4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4771 $as_echo "no" >&6; } | |
4772 { $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 | |
4794 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4773 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4795 elif test $pkg_failed = untried; then | 4774 elif test $pkg_failed = untried; then |
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4797 $as_echo "no" >&6; } | |
4798 { $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 | 4775 { $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 |
4799 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4776 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4800 else | 4777 else |
4801 sndfile_CFLAGS=$pkg_cv_sndfile_CFLAGS | 4778 sndfile_CFLAGS=$pkg_cv_sndfile_CFLAGS |
4802 sndfile_LIBS=$pkg_cv_sndfile_LIBS | 4779 sndfile_LIBS=$pkg_cv_sndfile_LIBS |
4806 fi | 4783 fi |
4807 fi | 4784 fi |
4808 if test -n "$SV_MODULE_FAILED"; then | 4785 if test -n "$SV_MODULE_FAILED"; then |
4809 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 4786 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4810 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 4787 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
4811 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4788 eval as_val=\$$as_ac_Header |
4789 if test "x$as_val" = x""yes; then : | |
4812 HAVES="$HAVES $SV_MODULE_HAVE" | 4790 HAVES="$HAVES $SV_MODULE_HAVE" |
4813 else | 4791 else |
4814 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4792 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4815 fi | 4793 fi |
4816 | 4794 |
4817 | 4795 |
4818 if test -n "$SV_MODULE_LIB"; then | 4796 if test -n "$SV_MODULE_LIB"; then |
4819 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 4797 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4821 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 4799 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
4822 if eval \${$as_ac_Lib+:} false; then : | 4800 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
4823 $as_echo_n "(cached) " >&6 | 4801 $as_echo_n "(cached) " >&6 |
4824 else | 4802 else |
4825 ac_check_lib_save_LIBS=$LIBS | 4803 ac_check_lib_save_LIBS=$LIBS |
4826 LIBS="-l$SV_MODULE_LIB $LIBS" | 4804 LIBS="-l$SV_MODULE_LIB $LIBS" |
4827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4852 LIBS=$ac_check_lib_save_LIBS | 4830 LIBS=$ac_check_lib_save_LIBS |
4853 fi | 4831 fi |
4854 eval ac_res=\$$as_ac_Lib | 4832 eval ac_res=\$$as_ac_Lib |
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4856 $as_echo "$ac_res" >&6; } | 4834 $as_echo "$ac_res" >&6; } |
4857 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 4835 eval as_val=\$$as_ac_Lib |
4836 if test "x$as_val" = x""yes; then : | |
4858 LIBS="$LIBS -l$SV_MODULE_LIB" | 4837 LIBS="$LIBS -l$SV_MODULE_LIB" |
4859 else | 4838 else |
4860 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4839 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4861 fi | 4840 fi |
4862 | 4841 |
4863 fi | 4842 fi |
4864 fi | 4843 fi |
4865 | 4844 |
4885 | 4864 |
4886 pkg_failed=no | 4865 pkg_failed=no |
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate" >&5 | 4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate" >&5 |
4888 $as_echo_n "checking for samplerate... " >&6; } | 4867 $as_echo_n "checking for samplerate... " >&6; } |
4889 | 4868 |
4890 if test -n "$samplerate_CFLAGS"; then | 4869 if test -n "$PKG_CONFIG"; then |
4891 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS" | 4870 if test -n "$samplerate_CFLAGS"; then |
4892 elif test -n "$PKG_CONFIG"; then | 4871 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS" |
4893 if test -n "$PKG_CONFIG" && \ | 4872 else |
4873 if test -n "$PKG_CONFIG" && \ | |
4894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4895 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4875 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4896 ac_status=$? | 4876 ac_status=$? |
4897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4898 test $ac_status = 0; }; then | 4878 test $ac_status = 0; }; then |
4899 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4879 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4900 test "x$?" != "x0" && pkg_failed=yes | |
4901 else | 4880 else |
4902 pkg_failed=yes | 4881 pkg_failed=yes |
4903 fi | 4882 fi |
4904 else | 4883 fi |
4905 pkg_failed=untried | 4884 else |
4906 fi | 4885 pkg_failed=untried |
4907 if test -n "$samplerate_LIBS"; then | 4886 fi |
4908 pkg_cv_samplerate_LIBS="$samplerate_LIBS" | 4887 if test -n "$PKG_CONFIG"; then |
4909 elif test -n "$PKG_CONFIG"; then | 4888 if test -n "$samplerate_LIBS"; then |
4910 if test -n "$PKG_CONFIG" && \ | 4889 pkg_cv_samplerate_LIBS="$samplerate_LIBS" |
4890 else | |
4891 if test -n "$PKG_CONFIG" && \ | |
4911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 4892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
4912 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 4893 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
4913 ac_status=$? | 4894 ac_status=$? |
4914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4915 test $ac_status = 0; }; then | 4896 test $ac_status = 0; }; then |
4916 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 4897 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
4917 test "x$?" != "x0" && pkg_failed=yes | |
4918 else | 4898 else |
4919 pkg_failed=yes | 4899 pkg_failed=yes |
4920 fi | 4900 fi |
4921 else | 4901 fi |
4922 pkg_failed=untried | 4902 else |
4903 pkg_failed=untried | |
4923 fi | 4904 fi |
4924 | 4905 |
4925 | 4906 |
4926 | 4907 |
4927 if test $pkg_failed = yes; then | 4908 if test $pkg_failed = yes; then |
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4929 $as_echo "no" >&6; } | |
4930 | 4909 |
4931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 4910 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
4932 _pkg_short_errors_supported=yes | 4911 _pkg_short_errors_supported=yes |
4933 else | 4912 else |
4934 _pkg_short_errors_supported=no | 4913 _pkg_short_errors_supported=no |
4935 fi | 4914 fi |
4936 if test $_pkg_short_errors_supported = yes; then | 4915 if test $_pkg_short_errors_supported = yes; then |
4937 samplerate_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4916 samplerate_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4938 else | 4917 else |
4939 samplerate_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 4918 samplerate_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
4940 fi | 4919 fi |
4941 # Put the nasty error message in config.log where it belongs | 4920 # Put the nasty error message in config.log where it belongs |
4942 echo "$samplerate_PKG_ERRORS" >&5 | 4921 echo "$samplerate_PKG_ERRORS" >&5 |
4943 | 4922 |
4944 { $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 | 4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4924 $as_echo "no" >&6; } | |
4925 { $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 | |
4945 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4926 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4946 elif test $pkg_failed = untried; then | 4927 elif test $pkg_failed = untried; then |
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4948 $as_echo "no" >&6; } | |
4949 { $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 | 4928 { $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 |
4950 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 4929 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
4951 else | 4930 else |
4952 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS | 4931 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS |
4953 samplerate_LIBS=$pkg_cv_samplerate_LIBS | 4932 samplerate_LIBS=$pkg_cv_samplerate_LIBS |
4957 fi | 4936 fi |
4958 fi | 4937 fi |
4959 if test -n "$SV_MODULE_FAILED"; then | 4938 if test -n "$SV_MODULE_FAILED"; then |
4960 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 4939 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
4961 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 4940 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
4962 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4941 eval as_val=\$$as_ac_Header |
4942 if test "x$as_val" = x""yes; then : | |
4963 HAVES="$HAVES $SV_MODULE_HAVE" | 4943 HAVES="$HAVES $SV_MODULE_HAVE" |
4964 else | 4944 else |
4965 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4945 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
4966 fi | 4946 fi |
4967 | 4947 |
4968 | 4948 |
4969 if test -n "$SV_MODULE_LIB"; then | 4949 if test -n "$SV_MODULE_LIB"; then |
4970 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 4950 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
4972 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 4952 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
4973 if eval \${$as_ac_Lib+:} false; then : | 4953 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
4974 $as_echo_n "(cached) " >&6 | 4954 $as_echo_n "(cached) " >&6 |
4975 else | 4955 else |
4976 ac_check_lib_save_LIBS=$LIBS | 4956 ac_check_lib_save_LIBS=$LIBS |
4977 LIBS="-l$SV_MODULE_LIB $LIBS" | 4957 LIBS="-l$SV_MODULE_LIB $LIBS" |
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5003 LIBS=$ac_check_lib_save_LIBS | 4983 LIBS=$ac_check_lib_save_LIBS |
5004 fi | 4984 fi |
5005 eval ac_res=\$$as_ac_Lib | 4985 eval ac_res=\$$as_ac_Lib |
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5007 $as_echo "$ac_res" >&6; } | 4987 $as_echo "$ac_res" >&6; } |
5008 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 4988 eval as_val=\$$as_ac_Lib |
4989 if test "x$as_val" = x""yes; then : | |
5009 LIBS="$LIBS -l$SV_MODULE_LIB" | 4990 LIBS="$LIBS -l$SV_MODULE_LIB" |
5010 else | 4991 else |
5011 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 4992 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5012 fi | 4993 fi |
5013 | 4994 |
5014 fi | 4995 fi |
5015 fi | 4996 fi |
5016 | 4997 |
5036 | 5017 |
5037 pkg_failed=no | 5018 pkg_failed=no |
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5 | 5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5 |
5039 $as_echo_n "checking for vamp... " >&6; } | 5020 $as_echo_n "checking for vamp... " >&6; } |
5040 | 5021 |
5041 if test -n "$vamp_CFLAGS"; then | 5022 if test -n "$PKG_CONFIG"; then |
5042 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS" | 5023 if test -n "$vamp_CFLAGS"; then |
5043 elif test -n "$PKG_CONFIG"; then | 5024 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS" |
5044 if test -n "$PKG_CONFIG" && \ | 5025 else |
5026 if test -n "$PKG_CONFIG" && \ | |
5045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5046 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5028 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5047 ac_status=$? | 5029 ac_status=$? |
5048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5049 test $ac_status = 0; }; then | 5031 test $ac_status = 0; }; then |
5050 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5032 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5051 test "x$?" != "x0" && pkg_failed=yes | |
5052 else | 5033 else |
5053 pkg_failed=yes | 5034 pkg_failed=yes |
5054 fi | 5035 fi |
5055 else | 5036 fi |
5056 pkg_failed=untried | 5037 else |
5057 fi | 5038 pkg_failed=untried |
5058 if test -n "$vamp_LIBS"; then | 5039 fi |
5059 pkg_cv_vamp_LIBS="$vamp_LIBS" | 5040 if test -n "$PKG_CONFIG"; then |
5060 elif test -n "$PKG_CONFIG"; then | 5041 if test -n "$vamp_LIBS"; then |
5061 if test -n "$PKG_CONFIG" && \ | 5042 pkg_cv_vamp_LIBS="$vamp_LIBS" |
5043 else | |
5044 if test -n "$PKG_CONFIG" && \ | |
5062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5045 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5063 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5046 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5064 ac_status=$? | 5047 ac_status=$? |
5065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5066 test $ac_status = 0; }; then | 5049 test $ac_status = 0; }; then |
5067 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5050 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5068 test "x$?" != "x0" && pkg_failed=yes | |
5069 else | 5051 else |
5070 pkg_failed=yes | 5052 pkg_failed=yes |
5071 fi | 5053 fi |
5072 else | 5054 fi |
5073 pkg_failed=untried | 5055 else |
5056 pkg_failed=untried | |
5074 fi | 5057 fi |
5075 | 5058 |
5076 | 5059 |
5077 | 5060 |
5078 if test $pkg_failed = yes; then | 5061 if test $pkg_failed = yes; then |
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5080 $as_echo "no" >&6; } | |
5081 | 5062 |
5082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5083 _pkg_short_errors_supported=yes | 5064 _pkg_short_errors_supported=yes |
5084 else | 5065 else |
5085 _pkg_short_errors_supported=no | 5066 _pkg_short_errors_supported=no |
5086 fi | 5067 fi |
5087 if test $_pkg_short_errors_supported = yes; then | 5068 if test $_pkg_short_errors_supported = yes; then |
5088 vamp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5069 vamp_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5089 else | 5070 else |
5090 vamp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5071 vamp_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5091 fi | 5072 fi |
5092 # Put the nasty error message in config.log where it belongs | 5073 # Put the nasty error message in config.log where it belongs |
5093 echo "$vamp_PKG_ERRORS" >&5 | 5074 echo "$vamp_PKG_ERRORS" >&5 |
5094 | 5075 |
5095 { $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 | 5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5077 $as_echo "no" >&6; } | |
5078 { $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 | |
5096 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5079 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5097 elif test $pkg_failed = untried; then | 5080 elif test $pkg_failed = untried; then |
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5099 $as_echo "no" >&6; } | |
5100 { $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 | 5081 { $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 |
5101 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5082 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5102 else | 5083 else |
5103 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS | 5084 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS |
5104 vamp_LIBS=$pkg_cv_vamp_LIBS | 5085 vamp_LIBS=$pkg_cv_vamp_LIBS |
5108 fi | 5089 fi |
5109 fi | 5090 fi |
5110 if test -n "$SV_MODULE_FAILED"; then | 5091 if test -n "$SV_MODULE_FAILED"; then |
5111 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5092 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5112 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5093 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5113 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5094 eval as_val=\$$as_ac_Header |
5095 if test "x$as_val" = x""yes; then : | |
5114 HAVES="$HAVES $SV_MODULE_HAVE" | 5096 HAVES="$HAVES $SV_MODULE_HAVE" |
5115 else | 5097 else |
5116 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5098 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5117 fi | 5099 fi |
5118 | 5100 |
5119 | 5101 |
5120 if test -n "$SV_MODULE_LIB"; then | 5102 if test -n "$SV_MODULE_LIB"; then |
5121 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5103 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5123 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5105 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5124 if eval \${$as_ac_Lib+:} false; then : | 5106 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
5125 $as_echo_n "(cached) " >&6 | 5107 $as_echo_n "(cached) " >&6 |
5126 else | 5108 else |
5127 ac_check_lib_save_LIBS=$LIBS | 5109 ac_check_lib_save_LIBS=$LIBS |
5128 LIBS="-l$SV_MODULE_LIB $LIBS" | 5110 LIBS="-l$SV_MODULE_LIB $LIBS" |
5129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5154 LIBS=$ac_check_lib_save_LIBS | 5136 LIBS=$ac_check_lib_save_LIBS |
5155 fi | 5137 fi |
5156 eval ac_res=\$$as_ac_Lib | 5138 eval ac_res=\$$as_ac_Lib |
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5158 $as_echo "$ac_res" >&6; } | 5140 $as_echo "$ac_res" >&6; } |
5159 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5141 eval as_val=\$$as_ac_Lib |
5142 if test "x$as_val" = x""yes; then : | |
5160 LIBS="$LIBS -l$SV_MODULE_LIB" | 5143 LIBS="$LIBS -l$SV_MODULE_LIB" |
5161 else | 5144 else |
5162 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5145 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5163 fi | 5146 fi |
5164 | 5147 |
5165 fi | 5148 fi |
5166 fi | 5149 fi |
5167 | 5150 |
5187 | 5170 |
5188 pkg_failed=no | 5171 pkg_failed=no |
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5 | 5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5 |
5190 $as_echo_n "checking for vamphostsdk... " >&6; } | 5173 $as_echo_n "checking for vamphostsdk... " >&6; } |
5191 | 5174 |
5192 if test -n "$vamphostsdk_CFLAGS"; then | 5175 if test -n "$PKG_CONFIG"; then |
5193 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS" | 5176 if test -n "$vamphostsdk_CFLAGS"; then |
5194 elif test -n "$PKG_CONFIG"; then | 5177 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS" |
5195 if test -n "$PKG_CONFIG" && \ | 5178 else |
5179 if test -n "$PKG_CONFIG" && \ | |
5196 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5197 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5181 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5198 ac_status=$? | 5182 ac_status=$? |
5199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5200 test $ac_status = 0; }; then | 5184 test $ac_status = 0; }; then |
5201 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5185 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5202 test "x$?" != "x0" && pkg_failed=yes | |
5203 else | 5186 else |
5204 pkg_failed=yes | 5187 pkg_failed=yes |
5205 fi | 5188 fi |
5206 else | 5189 fi |
5207 pkg_failed=untried | 5190 else |
5208 fi | 5191 pkg_failed=untried |
5209 if test -n "$vamphostsdk_LIBS"; then | 5192 fi |
5210 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS" | 5193 if test -n "$PKG_CONFIG"; then |
5211 elif test -n "$PKG_CONFIG"; then | 5194 if test -n "$vamphostsdk_LIBS"; then |
5212 if test -n "$PKG_CONFIG" && \ | 5195 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS" |
5196 else | |
5197 if test -n "$PKG_CONFIG" && \ | |
5213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5214 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5199 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5215 ac_status=$? | 5200 ac_status=$? |
5216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5217 test $ac_status = 0; }; then | 5202 test $ac_status = 0; }; then |
5218 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5203 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5219 test "x$?" != "x0" && pkg_failed=yes | |
5220 else | 5204 else |
5221 pkg_failed=yes | 5205 pkg_failed=yes |
5222 fi | 5206 fi |
5223 else | 5207 fi |
5224 pkg_failed=untried | 5208 else |
5209 pkg_failed=untried | |
5225 fi | 5210 fi |
5226 | 5211 |
5227 | 5212 |
5228 | 5213 |
5229 if test $pkg_failed = yes; then | 5214 if test $pkg_failed = yes; then |
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5231 $as_echo "no" >&6; } | |
5232 | 5215 |
5233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5234 _pkg_short_errors_supported=yes | 5217 _pkg_short_errors_supported=yes |
5235 else | 5218 else |
5236 _pkg_short_errors_supported=no | 5219 _pkg_short_errors_supported=no |
5237 fi | 5220 fi |
5238 if test $_pkg_short_errors_supported = yes; then | 5221 if test $_pkg_short_errors_supported = yes; then |
5239 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5222 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5240 else | 5223 else |
5241 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5224 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5242 fi | 5225 fi |
5243 # Put the nasty error message in config.log where it belongs | 5226 # Put the nasty error message in config.log where it belongs |
5244 echo "$vamphostsdk_PKG_ERRORS" >&5 | 5227 echo "$vamphostsdk_PKG_ERRORS" >&5 |
5245 | 5228 |
5246 { $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 | 5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5230 $as_echo "no" >&6; } | |
5231 { $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 | |
5247 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5232 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5248 elif test $pkg_failed = untried; then | 5233 elif test $pkg_failed = untried; then |
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5250 $as_echo "no" >&6; } | |
5251 { $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 | 5234 { $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 |
5252 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5235 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5253 else | 5236 else |
5254 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS | 5237 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS |
5255 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS | 5238 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS |
5259 fi | 5242 fi |
5260 fi | 5243 fi |
5261 if test -n "$SV_MODULE_FAILED"; then | 5244 if test -n "$SV_MODULE_FAILED"; then |
5262 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5245 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5263 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5246 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5247 eval as_val=\$$as_ac_Header |
5248 if test "x$as_val" = x""yes; then : | |
5265 HAVES="$HAVES $SV_MODULE_HAVE" | 5249 HAVES="$HAVES $SV_MODULE_HAVE" |
5266 else | 5250 else |
5267 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5251 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5268 fi | 5252 fi |
5269 | 5253 |
5270 | 5254 |
5271 if test -n "$SV_MODULE_LIB"; then | 5255 if test -n "$SV_MODULE_LIB"; then |
5272 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5256 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5274 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5258 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5275 if eval \${$as_ac_Lib+:} false; then : | 5259 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
5276 $as_echo_n "(cached) " >&6 | 5260 $as_echo_n "(cached) " >&6 |
5277 else | 5261 else |
5278 ac_check_lib_save_LIBS=$LIBS | 5262 ac_check_lib_save_LIBS=$LIBS |
5279 LIBS="-l$SV_MODULE_LIB $LIBS" | 5263 LIBS="-l$SV_MODULE_LIB $LIBS" |
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5305 LIBS=$ac_check_lib_save_LIBS | 5289 LIBS=$ac_check_lib_save_LIBS |
5306 fi | 5290 fi |
5307 eval ac_res=\$$as_ac_Lib | 5291 eval ac_res=\$$as_ac_Lib |
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5309 $as_echo "$ac_res" >&6; } | 5293 $as_echo "$ac_res" >&6; } |
5310 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5294 eval as_val=\$$as_ac_Lib |
5295 if test "x$as_val" = x""yes; then : | |
5311 LIBS="$LIBS -l$SV_MODULE_LIB" | 5296 LIBS="$LIBS -l$SV_MODULE_LIB" |
5312 else | 5297 else |
5313 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5298 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5314 fi | 5299 fi |
5315 | 5300 |
5316 fi | 5301 fi |
5317 fi | 5302 fi |
5318 | 5303 |
5338 | 5323 |
5339 pkg_failed=no | 5324 pkg_failed=no |
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5 | 5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5 |
5341 $as_echo_n "checking for rubberband... " >&6; } | 5326 $as_echo_n "checking for rubberband... " >&6; } |
5342 | 5327 |
5343 if test -n "$rubberband_CFLAGS"; then | 5328 if test -n "$PKG_CONFIG"; then |
5344 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS" | 5329 if test -n "$rubberband_CFLAGS"; then |
5345 elif test -n "$PKG_CONFIG"; then | 5330 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS" |
5346 if test -n "$PKG_CONFIG" && \ | 5331 else |
5332 if test -n "$PKG_CONFIG" && \ | |
5347 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5333 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5348 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5334 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5349 ac_status=$? | 5335 ac_status=$? |
5350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5351 test $ac_status = 0; }; then | 5337 test $ac_status = 0; }; then |
5352 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5338 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5353 test "x$?" != "x0" && pkg_failed=yes | |
5354 else | 5339 else |
5355 pkg_failed=yes | 5340 pkg_failed=yes |
5356 fi | 5341 fi |
5357 else | 5342 fi |
5358 pkg_failed=untried | 5343 else |
5359 fi | 5344 pkg_failed=untried |
5360 if test -n "$rubberband_LIBS"; then | 5345 fi |
5361 pkg_cv_rubberband_LIBS="$rubberband_LIBS" | 5346 if test -n "$PKG_CONFIG"; then |
5362 elif test -n "$PKG_CONFIG"; then | 5347 if test -n "$rubberband_LIBS"; then |
5363 if test -n "$PKG_CONFIG" && \ | 5348 pkg_cv_rubberband_LIBS="$rubberband_LIBS" |
5349 else | |
5350 if test -n "$PKG_CONFIG" && \ | |
5364 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5351 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5365 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5352 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5366 ac_status=$? | 5353 ac_status=$? |
5367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5368 test $ac_status = 0; }; then | 5355 test $ac_status = 0; }; then |
5369 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5356 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5370 test "x$?" != "x0" && pkg_failed=yes | |
5371 else | 5357 else |
5372 pkg_failed=yes | 5358 pkg_failed=yes |
5373 fi | 5359 fi |
5374 else | 5360 fi |
5375 pkg_failed=untried | 5361 else |
5362 pkg_failed=untried | |
5376 fi | 5363 fi |
5377 | 5364 |
5378 | 5365 |
5379 | 5366 |
5380 if test $pkg_failed = yes; then | 5367 if test $pkg_failed = yes; then |
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5382 $as_echo "no" >&6; } | |
5383 | 5368 |
5384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5369 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5385 _pkg_short_errors_supported=yes | 5370 _pkg_short_errors_supported=yes |
5386 else | 5371 else |
5387 _pkg_short_errors_supported=no | 5372 _pkg_short_errors_supported=no |
5388 fi | 5373 fi |
5389 if test $_pkg_short_errors_supported = yes; then | 5374 if test $_pkg_short_errors_supported = yes; then |
5390 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5375 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5391 else | 5376 else |
5392 rubberband_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5377 rubberband_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5393 fi | 5378 fi |
5394 # Put the nasty error message in config.log where it belongs | 5379 # Put the nasty error message in config.log where it belongs |
5395 echo "$rubberband_PKG_ERRORS" >&5 | 5380 echo "$rubberband_PKG_ERRORS" >&5 |
5396 | 5381 |
5397 { $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 | 5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5383 $as_echo "no" >&6; } | |
5384 { $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 | |
5398 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5385 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5399 elif test $pkg_failed = untried; then | 5386 elif test $pkg_failed = untried; then |
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5401 $as_echo "no" >&6; } | |
5402 { $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 | 5387 { $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 |
5403 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5388 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5404 else | 5389 else |
5405 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS | 5390 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS |
5406 rubberband_LIBS=$pkg_cv_rubberband_LIBS | 5391 rubberband_LIBS=$pkg_cv_rubberband_LIBS |
5410 fi | 5395 fi |
5411 fi | 5396 fi |
5412 if test -n "$SV_MODULE_FAILED"; then | 5397 if test -n "$SV_MODULE_FAILED"; then |
5413 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5398 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5414 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5399 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5400 eval as_val=\$$as_ac_Header |
5401 if test "x$as_val" = x""yes; then : | |
5416 HAVES="$HAVES $SV_MODULE_HAVE" | 5402 HAVES="$HAVES $SV_MODULE_HAVE" |
5417 else | 5403 else |
5418 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5404 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5419 fi | 5405 fi |
5420 | 5406 |
5421 | 5407 |
5422 if test -n "$SV_MODULE_LIB"; then | 5408 if test -n "$SV_MODULE_LIB"; then |
5423 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5409 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5425 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5411 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5426 if eval \${$as_ac_Lib+:} false; then : | 5412 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
5427 $as_echo_n "(cached) " >&6 | 5413 $as_echo_n "(cached) " >&6 |
5428 else | 5414 else |
5429 ac_check_lib_save_LIBS=$LIBS | 5415 ac_check_lib_save_LIBS=$LIBS |
5430 LIBS="-l$SV_MODULE_LIB $LIBS" | 5416 LIBS="-l$SV_MODULE_LIB $LIBS" |
5431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5456 LIBS=$ac_check_lib_save_LIBS | 5442 LIBS=$ac_check_lib_save_LIBS |
5457 fi | 5443 fi |
5458 eval ac_res=\$$as_ac_Lib | 5444 eval ac_res=\$$as_ac_Lib |
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5460 $as_echo "$ac_res" >&6; } | 5446 $as_echo "$ac_res" >&6; } |
5461 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5447 eval as_val=\$$as_ac_Lib |
5448 if test "x$as_val" = x""yes; then : | |
5462 LIBS="$LIBS -l$SV_MODULE_LIB" | 5449 LIBS="$LIBS -l$SV_MODULE_LIB" |
5463 else | 5450 else |
5464 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5451 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5465 fi | 5452 fi |
5466 | 5453 |
5467 fi | 5454 fi |
5468 fi | 5455 fi |
5469 | 5456 |
5470 | 5457 |
5471 | 5458 SV_MODULE_MODULE=sord |
5472 SV_MODULE_MODULE=liblo | 5459 SV_MODULE_VERSION_TEST="sord-0 >= 0.5" |
5473 SV_MODULE_VERSION_TEST="" | 5460 SV_MODULE_HEADER=sord/sord.h |
5474 SV_MODULE_HEADER=lo/lo.h | 5461 SV_MODULE_LIB=sord-0 |
5475 SV_MODULE_LIB=lo | 5462 SV_MODULE_FUNC=sord_world_new |
5476 SV_MODULE_FUNC=lo_address_new | 5463 SV_MODULE_HAVE=HAVE_$(echo sord | tr 'a-z' 'A-Z') |
5477 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5478 SV_MODULE_FAILED=1 | 5464 SV_MODULE_FAILED=1 |
5479 if test -n "$liblo_LIBS" ; then | 5465 if test -n "$sord_LIBS" ; then |
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5466 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5481 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5467 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5482 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" | 5468 CXXFLAGS="$CXXFLAGS $sord_CFLAGS" |
5483 LIBS="$LIBS $liblo_LIBS" | 5469 LIBS="$LIBS $sord_LIBS" |
5484 SV_MODULE_FAILED="" | 5470 SV_MODULE_FAILED="" |
5485 fi | 5471 fi |
5486 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5472 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5487 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5473 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5488 fi | 5474 fi |
5489 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5475 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5490 | 5476 |
5491 pkg_failed=no | 5477 pkg_failed=no |
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 | 5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sord" >&5 |
5493 $as_echo_n "checking for liblo... " >&6; } | 5479 $as_echo_n "checking for sord... " >&6; } |
5494 | 5480 |
5495 if test -n "$liblo_CFLAGS"; then | 5481 if test -n "$PKG_CONFIG"; then |
5496 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" | 5482 if test -n "$sord_CFLAGS"; then |
5497 elif test -n "$PKG_CONFIG"; then | 5483 pkg_cv_sord_CFLAGS="$sord_CFLAGS" |
5498 if test -n "$PKG_CONFIG" && \ | 5484 else |
5485 if test -n "$PKG_CONFIG" && \ | |
5499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5500 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5487 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5501 ac_status=$? | 5488 ac_status=$? |
5502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5503 test $ac_status = 0; }; then | 5490 test $ac_status = 0; }; then |
5504 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5491 pkg_cv_sord_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5505 test "x$?" != "x0" && pkg_failed=yes | |
5506 else | 5492 else |
5507 pkg_failed=yes | 5493 pkg_failed=yes |
5508 fi | 5494 fi |
5509 else | 5495 fi |
5510 pkg_failed=untried | 5496 else |
5511 fi | 5497 pkg_failed=untried |
5512 if test -n "$liblo_LIBS"; then | 5498 fi |
5513 pkg_cv_liblo_LIBS="$liblo_LIBS" | 5499 if test -n "$PKG_CONFIG"; then |
5514 elif test -n "$PKG_CONFIG"; then | 5500 if test -n "$sord_LIBS"; then |
5515 if test -n "$PKG_CONFIG" && \ | 5501 pkg_cv_sord_LIBS="$sord_LIBS" |
5502 else | |
5503 if test -n "$PKG_CONFIG" && \ | |
5516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5517 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5505 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5518 ac_status=$? | 5506 ac_status=$? |
5519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5520 test $ac_status = 0; }; then | 5508 test $ac_status = 0; }; then |
5521 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5509 pkg_cv_sord_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5522 test "x$?" != "x0" && pkg_failed=yes | |
5523 else | 5510 else |
5524 pkg_failed=yes | 5511 pkg_failed=yes |
5525 fi | 5512 fi |
5526 else | 5513 fi |
5527 pkg_failed=untried | 5514 else |
5515 pkg_failed=untried | |
5528 fi | 5516 fi |
5529 | 5517 |
5530 | 5518 |
5531 | 5519 |
5532 if test $pkg_failed = yes; then | 5520 if test $pkg_failed = yes; then |
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5534 $as_echo "no" >&6; } | |
5535 | 5521 |
5536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5537 _pkg_short_errors_supported=yes | 5523 _pkg_short_errors_supported=yes |
5538 else | 5524 else |
5539 _pkg_short_errors_supported=no | 5525 _pkg_short_errors_supported=no |
5540 fi | 5526 fi |
5541 if test $_pkg_short_errors_supported = yes; then | 5527 if test $_pkg_short_errors_supported = yes; then |
5542 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5528 sord_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5543 else | 5529 else |
5544 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5530 sord_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5545 fi | 5531 fi |
5546 # Put the nasty error message in config.log where it belongs | 5532 # Put the nasty error message in config.log where it belongs |
5547 echo "$liblo_PKG_ERRORS" >&5 | 5533 echo "$sord_PKG_ERRORS" >&5 |
5548 | 5534 |
5549 { $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 | 5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5550 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5536 $as_echo "no" >&6; } |
5537 { $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 | |
5538 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5551 elif test $pkg_failed = untried; then | 5539 elif test $pkg_failed = untried; then |
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5540 { $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 |
5553 $as_echo "no" >&6; } | 5541 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5554 { $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 | 5542 else |
5555 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5543 sord_CFLAGS=$pkg_cv_sord_CFLAGS |
5556 else | 5544 sord_LIBS=$pkg_cv_sord_LIBS |
5557 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS | |
5558 liblo_LIBS=$pkg_cv_liblo_LIBS | |
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5560 $as_echo "yes" >&6; } | 5546 $as_echo "yes" >&6; } |
5561 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" | 5547 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $sord_CFLAGS";LIBS="$LIBS $sord_LIBS";SV_MODULE_FAILED="" |
5562 fi | 5548 fi |
5563 fi | 5549 fi |
5564 if test -n "$SV_MODULE_FAILED"; then | 5550 if test -n "$SV_MODULE_FAILED"; then |
5565 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5551 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5566 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5552 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5553 eval as_val=\$$as_ac_Header |
5568 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 5554 if test "x$as_val" = x""yes; then : |
5569 else | 5555 HAVES="$HAVES $SV_MODULE_HAVE" |
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 5556 else |
5571 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 5557 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5572 fi | 5558 fi |
5573 | 5559 |
5574 | 5560 |
5575 if test -z "$SV_MODULE_FAILED"; then | 5561 if test -n "$SV_MODULE_LIB"; then |
5576 if test -n "$SV_MODULE_LIB"; then | 5562 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5577 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5579 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5564 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5580 if eval \${$as_ac_Lib+:} false; then : | 5565 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
5581 $as_echo_n "(cached) " >&6 | 5566 $as_echo_n "(cached) " >&6 |
5582 else | 5567 else |
5583 ac_check_lib_save_LIBS=$LIBS | 5568 ac_check_lib_save_LIBS=$LIBS |
5584 LIBS="-l$SV_MODULE_LIB $LIBS" | 5569 LIBS="-l$SV_MODULE_LIB $LIBS" |
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5610 LIBS=$ac_check_lib_save_LIBS | 5595 LIBS=$ac_check_lib_save_LIBS |
5611 fi | 5596 fi |
5612 eval ac_res=\$$as_ac_Lib | 5597 eval ac_res=\$$as_ac_Lib |
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5614 $as_echo "$ac_res" >&6; } | 5599 $as_echo "$ac_res" >&6; } |
5615 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5600 eval as_val=\$$as_ac_Lib |
5601 if test "x$as_val" = x""yes; then : | |
5616 LIBS="$LIBS -l$SV_MODULE_LIB" | 5602 LIBS="$LIBS -l$SV_MODULE_LIB" |
5617 else | 5603 else |
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 5604 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5619 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 5605 fi |
5620 fi | 5606 |
5621 | |
5622 fi | |
5623 fi | 5607 fi |
5624 fi | 5608 fi |
5625 | 5609 |
5626 | 5610 |
5627 SV_MODULE_MODULE=portaudio_2_0 | 5611 SV_MODULE_MODULE=serd |
5628 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" | 5612 SV_MODULE_VERSION_TEST="serd-0 >= 0.5" |
5629 SV_MODULE_HEADER=portaudio.h | 5613 SV_MODULE_HEADER=serd/serd.h |
5630 SV_MODULE_LIB=portaudio | 5614 SV_MODULE_LIB=serd-0 |
5631 SV_MODULE_FUNC=Pa_IsFormatSupported | 5615 SV_MODULE_FUNC=serd_reader_read_file |
5632 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') | 5616 SV_MODULE_HAVE=HAVE_$(echo serd | tr 'a-z' 'A-Z') |
5633 SV_MODULE_FAILED=1 | 5617 SV_MODULE_FAILED=1 |
5634 if test -n "$portaudio_2_0_LIBS" ; then | 5618 if test -n "$serd_LIBS" ; then |
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5619 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5636 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5620 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5637 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" | 5621 CXXFLAGS="$CXXFLAGS $serd_CFLAGS" |
5638 LIBS="$LIBS $portaudio_2_0_LIBS" | 5622 LIBS="$LIBS $serd_LIBS" |
5639 SV_MODULE_FAILED="" | 5623 SV_MODULE_FAILED="" |
5640 fi | 5624 fi |
5641 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5625 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5642 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5626 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5643 fi | 5627 fi |
5644 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5628 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5645 | 5629 |
5646 pkg_failed=no | 5630 pkg_failed=no |
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 | 5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for serd" >&5 |
5648 $as_echo_n "checking for portaudio_2_0... " >&6; } | 5632 $as_echo_n "checking for serd... " >&6; } |
5649 | 5633 |
5650 if test -n "$portaudio_2_0_CFLAGS"; then | 5634 if test -n "$PKG_CONFIG"; then |
5651 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" | 5635 if test -n "$serd_CFLAGS"; then |
5652 elif test -n "$PKG_CONFIG"; then | 5636 pkg_cv_serd_CFLAGS="$serd_CFLAGS" |
5653 if test -n "$PKG_CONFIG" && \ | 5637 else |
5638 if test -n "$PKG_CONFIG" && \ | |
5654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5655 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5640 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5656 ac_status=$? | 5641 ac_status=$? |
5657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5658 test $ac_status = 0; }; then | 5643 test $ac_status = 0; }; then |
5659 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5644 pkg_cv_serd_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5660 test "x$?" != "x0" && pkg_failed=yes | |
5661 else | 5645 else |
5662 pkg_failed=yes | 5646 pkg_failed=yes |
5663 fi | 5647 fi |
5664 else | 5648 fi |
5665 pkg_failed=untried | 5649 else |
5666 fi | 5650 pkg_failed=untried |
5667 if test -n "$portaudio_2_0_LIBS"; then | 5651 fi |
5668 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" | 5652 if test -n "$PKG_CONFIG"; then |
5669 elif test -n "$PKG_CONFIG"; then | 5653 if test -n "$serd_LIBS"; then |
5670 if test -n "$PKG_CONFIG" && \ | 5654 pkg_cv_serd_LIBS="$serd_LIBS" |
5655 else | |
5656 if test -n "$PKG_CONFIG" && \ | |
5671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5672 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5658 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5673 ac_status=$? | 5659 ac_status=$? |
5674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5675 test $ac_status = 0; }; then | 5661 test $ac_status = 0; }; then |
5676 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5662 pkg_cv_serd_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5677 test "x$?" != "x0" && pkg_failed=yes | |
5678 else | 5663 else |
5679 pkg_failed=yes | 5664 pkg_failed=yes |
5680 fi | 5665 fi |
5681 else | 5666 fi |
5682 pkg_failed=untried | 5667 else |
5668 pkg_failed=untried | |
5683 fi | 5669 fi |
5684 | 5670 |
5685 | 5671 |
5686 | 5672 |
5687 if test $pkg_failed = yes; then | 5673 if test $pkg_failed = yes; then |
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5689 $as_echo "no" >&6; } | |
5690 | 5674 |
5691 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5692 _pkg_short_errors_supported=yes | 5676 _pkg_short_errors_supported=yes |
5693 else | 5677 else |
5694 _pkg_short_errors_supported=no | 5678 _pkg_short_errors_supported=no |
5695 fi | 5679 fi |
5696 if test $_pkg_short_errors_supported = yes; then | 5680 if test $_pkg_short_errors_supported = yes; then |
5697 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5681 serd_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5698 else | 5682 else |
5699 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5683 serd_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5700 fi | 5684 fi |
5701 # Put the nasty error message in config.log where it belongs | 5685 # Put the nasty error message in config.log where it belongs |
5702 echo "$portaudio_2_0_PKG_ERRORS" >&5 | 5686 echo "$serd_PKG_ERRORS" >&5 |
5703 | 5687 |
5704 { $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 | 5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5705 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5689 $as_echo "no" >&6; } |
5690 { $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 | |
5691 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5706 elif test $pkg_failed = untried; then | 5692 elif test $pkg_failed = untried; then |
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5693 { $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 |
5708 $as_echo "no" >&6; } | 5694 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5709 { $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 | 5695 else |
5710 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5696 serd_CFLAGS=$pkg_cv_serd_CFLAGS |
5711 else | 5697 serd_LIBS=$pkg_cv_serd_LIBS |
5712 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS | |
5713 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS | |
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5715 $as_echo "yes" >&6; } | 5699 $as_echo "yes" >&6; } |
5716 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" | 5700 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $serd_CFLAGS";LIBS="$LIBS $serd_LIBS";SV_MODULE_FAILED="" |
5717 fi | 5701 fi |
5718 fi | 5702 fi |
5719 if test -n "$SV_MODULE_FAILED"; then | 5703 if test -n "$SV_MODULE_FAILED"; then |
5720 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5704 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5721 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5705 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5706 eval as_val=\$$as_ac_Header |
5723 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 5707 if test "x$as_val" = x""yes; then : |
5724 else | 5708 HAVES="$HAVES $SV_MODULE_HAVE" |
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 5709 else |
5726 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 5710 as_fn_error "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5727 fi | 5711 fi |
5728 | 5712 |
5729 | 5713 |
5730 if test -z "$SV_MODULE_FAILED"; then | 5714 if test -n "$SV_MODULE_LIB"; then |
5731 if test -n "$SV_MODULE_LIB"; then | 5715 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5732 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5734 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5717 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5735 if eval \${$as_ac_Lib+:} false; then : | 5718 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
5736 $as_echo_n "(cached) " >&6 | 5719 $as_echo_n "(cached) " >&6 |
5737 else | 5720 else |
5738 ac_check_lib_save_LIBS=$LIBS | 5721 ac_check_lib_save_LIBS=$LIBS |
5739 LIBS="-l$SV_MODULE_LIB $LIBS" | 5722 LIBS="-l$SV_MODULE_LIB $LIBS" |
5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5765 LIBS=$ac_check_lib_save_LIBS | 5748 LIBS=$ac_check_lib_save_LIBS |
5766 fi | 5749 fi |
5767 eval ac_res=\$$as_ac_Lib | 5750 eval ac_res=\$$as_ac_Lib |
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5769 $as_echo "$ac_res" >&6; } | 5752 $as_echo "$ac_res" >&6; } |
5770 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5753 eval as_val=\$$as_ac_Lib |
5754 if test "x$as_val" = x""yes; then : | |
5771 LIBS="$LIBS -l$SV_MODULE_LIB" | 5755 LIBS="$LIBS -l$SV_MODULE_LIB" |
5772 else | 5756 else |
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 5757 as_fn_error "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5774 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 5758 fi |
5775 fi | 5759 |
5776 | |
5777 fi | |
5778 fi | 5760 fi |
5779 fi | 5761 fi |
5780 | 5762 |
5781 | 5763 |
5782 SV_MODULE_MODULE=JACK | 5764 |
5783 SV_MODULE_VERSION_TEST="jack >= 0.100" | 5765 SV_MODULE_MODULE=liblo |
5784 SV_MODULE_HEADER=jack/jack.h | 5766 SV_MODULE_VERSION_TEST="" |
5785 SV_MODULE_LIB=jack | 5767 SV_MODULE_HEADER=lo/lo.h |
5786 SV_MODULE_FUNC=jack_client_open | 5768 SV_MODULE_LIB=lo |
5787 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') | 5769 SV_MODULE_FUNC=lo_address_new |
5770 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5788 SV_MODULE_FAILED=1 | 5771 SV_MODULE_FAILED=1 |
5789 if test -n "$JACK_LIBS" ; then | 5772 if test -n "$liblo_LIBS" ; then |
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5773 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5791 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5774 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5792 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" | 5775 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" |
5793 LIBS="$LIBS $JACK_LIBS" | 5776 LIBS="$LIBS $liblo_LIBS" |
5794 SV_MODULE_FAILED="" | 5777 SV_MODULE_FAILED="" |
5795 fi | 5778 fi |
5796 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5779 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5797 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5780 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5798 fi | 5781 fi |
5799 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5782 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5800 | 5783 |
5801 pkg_failed=no | 5784 pkg_failed=no |
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | 5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 |
5803 $as_echo_n "checking for JACK... " >&6; } | 5786 $as_echo_n "checking for liblo... " >&6; } |
5804 | 5787 |
5805 if test -n "$JACK_CFLAGS"; then | 5788 if test -n "$PKG_CONFIG"; then |
5806 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | 5789 if test -n "$liblo_CFLAGS"; then |
5807 elif test -n "$PKG_CONFIG"; then | 5790 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" |
5808 if test -n "$PKG_CONFIG" && \ | 5791 else |
5792 if test -n "$PKG_CONFIG" && \ | |
5809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5810 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5794 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5811 ac_status=$? | 5795 ac_status=$? |
5812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5813 test $ac_status = 0; }; then | 5797 test $ac_status = 0; }; then |
5814 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5798 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5815 test "x$?" != "x0" && pkg_failed=yes | |
5816 else | 5799 else |
5817 pkg_failed=yes | 5800 pkg_failed=yes |
5818 fi | 5801 fi |
5819 else | 5802 fi |
5820 pkg_failed=untried | 5803 else |
5821 fi | 5804 pkg_failed=untried |
5822 if test -n "$JACK_LIBS"; then | 5805 fi |
5823 pkg_cv_JACK_LIBS="$JACK_LIBS" | 5806 if test -n "$PKG_CONFIG"; then |
5824 elif test -n "$PKG_CONFIG"; then | 5807 if test -n "$liblo_LIBS"; then |
5825 if test -n "$PKG_CONFIG" && \ | 5808 pkg_cv_liblo_LIBS="$liblo_LIBS" |
5809 else | |
5810 if test -n "$PKG_CONFIG" && \ | |
5826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5827 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5812 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5828 ac_status=$? | 5813 ac_status=$? |
5829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5830 test $ac_status = 0; }; then | 5815 test $ac_status = 0; }; then |
5831 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5816 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5832 test "x$?" != "x0" && pkg_failed=yes | |
5833 else | 5817 else |
5834 pkg_failed=yes | 5818 pkg_failed=yes |
5835 fi | 5819 fi |
5836 else | 5820 fi |
5837 pkg_failed=untried | 5821 else |
5822 pkg_failed=untried | |
5838 fi | 5823 fi |
5839 | 5824 |
5840 | 5825 |
5841 | 5826 |
5842 if test $pkg_failed = yes; then | 5827 if test $pkg_failed = yes; then |
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5844 $as_echo "no" >&6; } | |
5845 | 5828 |
5846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
5847 _pkg_short_errors_supported=yes | 5830 _pkg_short_errors_supported=yes |
5848 else | 5831 else |
5849 _pkg_short_errors_supported=no | 5832 _pkg_short_errors_supported=no |
5850 fi | 5833 fi |
5851 if test $_pkg_short_errors_supported = yes; then | 5834 if test $_pkg_short_errors_supported = yes; then |
5852 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5835 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5853 else | 5836 else |
5854 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5837 liblo_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
5855 fi | 5838 fi |
5856 # Put the nasty error message in config.log where it belongs | 5839 # Put the nasty error message in config.log where it belongs |
5857 echo "$JACK_PKG_ERRORS" >&5 | 5840 echo "$liblo_PKG_ERRORS" >&5 |
5858 | 5841 |
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5843 $as_echo "no" >&6; } | |
5844 { $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 | |
5845 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5846 elif test $pkg_failed = untried; then | |
5859 { $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 | 5847 { $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 |
5860 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5848 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5861 elif test $pkg_failed = untried; then | 5849 else |
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5850 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS |
5863 $as_echo "no" >&6; } | 5851 liblo_LIBS=$pkg_cv_liblo_LIBS |
5864 { $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 | |
5865 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5866 else | |
5867 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | |
5868 JACK_LIBS=$pkg_cv_JACK_LIBS | |
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5870 $as_echo "yes" >&6; } | 5853 $as_echo "yes" >&6; } |
5871 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" | 5854 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" |
5872 fi | 5855 fi |
5873 fi | 5856 fi |
5874 if test -n "$SV_MODULE_FAILED"; then | 5857 if test -n "$SV_MODULE_FAILED"; then |
5875 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5858 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5876 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5859 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5860 eval as_val=\$$as_ac_Header |
5861 if test "x$as_val" = x""yes; then : | |
5878 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 5862 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
5879 else | 5863 else |
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 5864 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
5881 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 5865 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
5882 fi | 5866 fi |
5885 if test -z "$SV_MODULE_FAILED"; then | 5869 if test -z "$SV_MODULE_FAILED"; then |
5886 if test -n "$SV_MODULE_LIB"; then | 5870 if test -n "$SV_MODULE_LIB"; then |
5887 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5871 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5889 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5873 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5890 if eval \${$as_ac_Lib+:} false; then : | 5874 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
5891 $as_echo_n "(cached) " >&6 | 5875 $as_echo_n "(cached) " >&6 |
5892 else | 5876 else |
5893 ac_check_lib_save_LIBS=$LIBS | 5877 ac_check_lib_save_LIBS=$LIBS |
5894 LIBS="-l$SV_MODULE_LIB $LIBS" | 5878 LIBS="-l$SV_MODULE_LIB $LIBS" |
5895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5920 LIBS=$ac_check_lib_save_LIBS | 5904 LIBS=$ac_check_lib_save_LIBS |
5921 fi | 5905 fi |
5922 eval ac_res=\$$as_ac_Lib | 5906 eval ac_res=\$$as_ac_Lib |
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5924 $as_echo "$ac_res" >&6; } | 5908 $as_echo "$ac_res" >&6; } |
5925 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5909 eval as_val=\$$as_ac_Lib |
5910 if test "x$as_val" = x""yes; then : | |
5926 LIBS="$LIBS -l$SV_MODULE_LIB" | 5911 LIBS="$LIBS -l$SV_MODULE_LIB" |
5927 else | 5912 else |
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 5913 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
5929 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 5914 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
5930 fi | 5915 fi |
5932 fi | 5917 fi |
5933 fi | 5918 fi |
5934 fi | 5919 fi |
5935 | 5920 |
5936 | 5921 |
5937 SV_MODULE_MODULE=libpulse | 5922 SV_MODULE_MODULE=portaudio_2_0 |
5938 SV_MODULE_VERSION_TEST="libpulse >= 0.9" | 5923 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" |
5939 SV_MODULE_HEADER=pulse/pulseaudio.h | 5924 SV_MODULE_HEADER=portaudio.h |
5940 SV_MODULE_LIB=pulse | 5925 SV_MODULE_LIB=portaudio |
5941 SV_MODULE_FUNC=pa_stream_new | 5926 SV_MODULE_FUNC=Pa_IsFormatSupported |
5942 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') | 5927 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') |
5943 SV_MODULE_FAILED=1 | 5928 SV_MODULE_FAILED=1 |
5944 if test -n "$libpulse_LIBS" ; then | 5929 if test -n "$portaudio_2_0_LIBS" ; then |
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5930 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5946 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5931 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5947 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" | 5932 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" |
5948 LIBS="$LIBS $libpulse_LIBS" | 5933 LIBS="$LIBS $portaudio_2_0_LIBS" |
5949 SV_MODULE_FAILED="" | 5934 SV_MODULE_FAILED="" |
5950 fi | 5935 fi |
5951 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5936 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5952 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5937 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5953 fi | 5938 fi |
5954 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5939 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5955 | 5940 |
5956 pkg_failed=no | 5941 pkg_failed=no |
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 | 5942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 |
5958 $as_echo_n "checking for libpulse... " >&6; } | 5943 $as_echo_n "checking for portaudio_2_0... " >&6; } |
5959 | 5944 |
5960 if test -n "$libpulse_CFLAGS"; then | 5945 if test -n "$PKG_CONFIG"; then |
5961 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" | 5946 if test -n "$portaudio_2_0_CFLAGS"; then |
5962 elif test -n "$PKG_CONFIG"; then | 5947 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" |
5963 if test -n "$PKG_CONFIG" && \ | 5948 else |
5949 if test -n "$PKG_CONFIG" && \ | |
5964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5950 { { $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 | 5951 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5966 ac_status=$? | 5952 ac_status=$? |
5967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5968 test $ac_status = 0; }; then | 5954 test $ac_status = 0; }; then |
5969 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5955 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5970 test "x$?" != "x0" && pkg_failed=yes | |
5971 else | 5956 else |
5972 pkg_failed=yes | 5957 pkg_failed=yes |
5973 fi | 5958 fi |
5974 else | 5959 fi |
5975 pkg_failed=untried | 5960 else |
5976 fi | 5961 pkg_failed=untried |
5977 if test -n "$libpulse_LIBS"; then | 5962 fi |
5978 pkg_cv_libpulse_LIBS="$libpulse_LIBS" | 5963 if test -n "$PKG_CONFIG"; then |
5979 elif test -n "$PKG_CONFIG"; then | 5964 if test -n "$portaudio_2_0_LIBS"; then |
5980 if test -n "$PKG_CONFIG" && \ | 5965 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" |
5966 else | |
5967 if test -n "$PKG_CONFIG" && \ | |
5981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5982 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5969 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5983 ac_status=$? | 5970 ac_status=$? |
5984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5985 test $ac_status = 0; }; then | 5972 test $ac_status = 0; }; then |
5986 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5973 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5987 test "x$?" != "x0" && pkg_failed=yes | |
5988 else | 5974 else |
5989 pkg_failed=yes | 5975 pkg_failed=yes |
5990 fi | 5976 fi |
5991 else | 5977 fi |
5992 pkg_failed=untried | 5978 else |
5979 pkg_failed=untried | |
5993 fi | 5980 fi |
5994 | 5981 |
5995 | 5982 |
5996 | 5983 |
5997 if test $pkg_failed = yes; then | 5984 if test $pkg_failed = yes; then |
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5999 $as_echo "no" >&6; } | |
6000 | 5985 |
6001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 5986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6002 _pkg_short_errors_supported=yes | 5987 _pkg_short_errors_supported=yes |
6003 else | 5988 else |
6004 _pkg_short_errors_supported=no | 5989 _pkg_short_errors_supported=no |
6005 fi | 5990 fi |
6006 if test $_pkg_short_errors_supported = yes; then | 5991 if test $_pkg_short_errors_supported = yes; then |
6007 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5992 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6008 else | 5993 else |
6009 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5994 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6010 fi | 5995 fi |
6011 # Put the nasty error message in config.log where it belongs | 5996 # Put the nasty error message in config.log where it belongs |
6012 echo "$libpulse_PKG_ERRORS" >&5 | 5997 echo "$portaudio_2_0_PKG_ERRORS" >&5 |
6013 | 5998 |
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6000 $as_echo "no" >&6; } | |
6001 { $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 | |
6002 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6003 elif test $pkg_failed = untried; then | |
6014 { $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 | 6004 { $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 |
6015 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6005 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6016 elif test $pkg_failed = untried; then | 6006 else |
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6007 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS |
6018 $as_echo "no" >&6; } | 6008 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS |
6019 { $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 | |
6020 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6021 else | |
6022 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS | |
6023 libpulse_LIBS=$pkg_cv_libpulse_LIBS | |
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6025 $as_echo "yes" >&6; } | 6010 $as_echo "yes" >&6; } |
6026 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" | 6011 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" |
6027 fi | 6012 fi |
6028 fi | 6013 fi |
6029 if test -n "$SV_MODULE_FAILED"; then | 6014 if test -n "$SV_MODULE_FAILED"; then |
6030 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6015 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6031 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6016 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6032 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6017 eval as_val=\$$as_ac_Header |
6018 if test "x$as_val" = x""yes; then : | |
6033 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 6019 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6034 else | 6020 else |
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 6021 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6036 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 6022 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6037 fi | 6023 fi |
6040 if test -z "$SV_MODULE_FAILED"; then | 6026 if test -z "$SV_MODULE_FAILED"; then |
6041 if test -n "$SV_MODULE_LIB"; then | 6027 if test -n "$SV_MODULE_LIB"; then |
6042 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6028 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6044 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6030 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
6045 if eval \${$as_ac_Lib+:} false; then : | 6031 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
6046 $as_echo_n "(cached) " >&6 | 6032 $as_echo_n "(cached) " >&6 |
6047 else | 6033 else |
6048 ac_check_lib_save_LIBS=$LIBS | 6034 ac_check_lib_save_LIBS=$LIBS |
6049 LIBS="-l$SV_MODULE_LIB $LIBS" | 6035 LIBS="-l$SV_MODULE_LIB $LIBS" |
6050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6075 LIBS=$ac_check_lib_save_LIBS | 6061 LIBS=$ac_check_lib_save_LIBS |
6076 fi | 6062 fi |
6077 eval ac_res=\$$as_ac_Lib | 6063 eval ac_res=\$$as_ac_Lib |
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6079 $as_echo "$ac_res" >&6; } | 6065 $as_echo "$ac_res" >&6; } |
6080 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6066 eval as_val=\$$as_ac_Lib |
6067 if test "x$as_val" = x""yes; then : | |
6081 LIBS="$LIBS -l$SV_MODULE_LIB" | 6068 LIBS="$LIBS -l$SV_MODULE_LIB" |
6082 else | 6069 else |
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 6070 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6084 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 6071 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6085 fi | 6072 fi |
6087 fi | 6074 fi |
6088 fi | 6075 fi |
6089 fi | 6076 fi |
6090 | 6077 |
6091 | 6078 |
6092 SV_MODULE_MODULE=lrdf | 6079 SV_MODULE_MODULE=JACK |
6093 SV_MODULE_VERSION_TEST="lrdf >= 0.2" | 6080 SV_MODULE_VERSION_TEST="jack >= 0.100" |
6094 SV_MODULE_HEADER=lrdf.h | 6081 SV_MODULE_HEADER=jack/jack.h |
6095 SV_MODULE_LIB=lrdf | 6082 SV_MODULE_LIB=jack |
6096 SV_MODULE_FUNC=lrdf_init | 6083 SV_MODULE_FUNC=jack_client_open |
6097 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') | 6084 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') |
6098 SV_MODULE_FAILED=1 | 6085 SV_MODULE_FAILED=1 |
6099 if test -n "$lrdf_LIBS" ; then | 6086 if test -n "$JACK_LIBS" ; then |
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6087 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6101 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6088 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6102 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" | 6089 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" |
6103 LIBS="$LIBS $lrdf_LIBS" | 6090 LIBS="$LIBS $JACK_LIBS" |
6104 SV_MODULE_FAILED="" | 6091 SV_MODULE_FAILED="" |
6105 fi | 6092 fi |
6106 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6093 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6107 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6094 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6108 fi | 6095 fi |
6109 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6096 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6110 | 6097 |
6111 pkg_failed=no | 6098 pkg_failed=no |
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 | 6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 |
6113 $as_echo_n "checking for lrdf... " >&6; } | 6100 $as_echo_n "checking for JACK... " >&6; } |
6114 | 6101 |
6115 if test -n "$lrdf_CFLAGS"; then | 6102 if test -n "$PKG_CONFIG"; then |
6116 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" | 6103 if test -n "$JACK_CFLAGS"; then |
6117 elif test -n "$PKG_CONFIG"; then | 6104 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" |
6118 if test -n "$PKG_CONFIG" && \ | 6105 else |
6106 if test -n "$PKG_CONFIG" && \ | |
6119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6120 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6108 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6121 ac_status=$? | 6109 ac_status=$? |
6122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6123 test $ac_status = 0; }; then | 6111 test $ac_status = 0; }; then |
6124 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6112 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6125 test "x$?" != "x0" && pkg_failed=yes | |
6126 else | 6113 else |
6127 pkg_failed=yes | 6114 pkg_failed=yes |
6128 fi | 6115 fi |
6129 else | 6116 fi |
6130 pkg_failed=untried | 6117 else |
6131 fi | 6118 pkg_failed=untried |
6132 if test -n "$lrdf_LIBS"; then | 6119 fi |
6133 pkg_cv_lrdf_LIBS="$lrdf_LIBS" | 6120 if test -n "$PKG_CONFIG"; then |
6134 elif test -n "$PKG_CONFIG"; then | 6121 if test -n "$JACK_LIBS"; then |
6135 if test -n "$PKG_CONFIG" && \ | 6122 pkg_cv_JACK_LIBS="$JACK_LIBS" |
6123 else | |
6124 if test -n "$PKG_CONFIG" && \ | |
6136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6137 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6126 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6138 ac_status=$? | 6127 ac_status=$? |
6139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6140 test $ac_status = 0; }; then | 6129 test $ac_status = 0; }; then |
6141 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6130 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6142 test "x$?" != "x0" && pkg_failed=yes | |
6143 else | 6131 else |
6144 pkg_failed=yes | 6132 pkg_failed=yes |
6145 fi | 6133 fi |
6146 else | 6134 fi |
6147 pkg_failed=untried | 6135 else |
6136 pkg_failed=untried | |
6148 fi | 6137 fi |
6149 | 6138 |
6150 | 6139 |
6151 | 6140 |
6152 if test $pkg_failed = yes; then | 6141 if test $pkg_failed = yes; then |
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6154 $as_echo "no" >&6; } | |
6155 | 6142 |
6156 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6157 _pkg_short_errors_supported=yes | 6144 _pkg_short_errors_supported=yes |
6158 else | 6145 else |
6159 _pkg_short_errors_supported=no | 6146 _pkg_short_errors_supported=no |
6160 fi | 6147 fi |
6161 if test $_pkg_short_errors_supported = yes; then | 6148 if test $_pkg_short_errors_supported = yes; then |
6162 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6149 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6163 else | 6150 else |
6164 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6151 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6165 fi | 6152 fi |
6166 # Put the nasty error message in config.log where it belongs | 6153 # Put the nasty error message in config.log where it belongs |
6167 echo "$lrdf_PKG_ERRORS" >&5 | 6154 echo "$JACK_PKG_ERRORS" >&5 |
6168 | 6155 |
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6157 $as_echo "no" >&6; } | |
6158 { $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 | |
6159 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6160 elif test $pkg_failed = untried; then | |
6169 { $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 | 6161 { $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 |
6170 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6162 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6171 elif test $pkg_failed = untried; then | 6163 else |
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6164 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS |
6173 $as_echo "no" >&6; } | 6165 JACK_LIBS=$pkg_cv_JACK_LIBS |
6174 { $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 | |
6175 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6176 else | |
6177 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS | |
6178 lrdf_LIBS=$pkg_cv_lrdf_LIBS | |
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6180 $as_echo "yes" >&6; } | 6167 $as_echo "yes" >&6; } |
6181 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" | 6168 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" |
6182 fi | 6169 fi |
6183 fi | 6170 fi |
6184 if test -n "$SV_MODULE_FAILED"; then | 6171 if test -n "$SV_MODULE_FAILED"; then |
6185 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6172 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6186 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6173 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6187 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6174 eval as_val=\$$as_ac_Header |
6175 if test "x$as_val" = x""yes; then : | |
6188 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 6176 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6189 else | 6177 else |
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 6178 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6191 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 6179 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6192 fi | 6180 fi |
6195 if test -z "$SV_MODULE_FAILED"; then | 6183 if test -z "$SV_MODULE_FAILED"; then |
6196 if test -n "$SV_MODULE_LIB"; then | 6184 if test -n "$SV_MODULE_LIB"; then |
6197 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6185 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6199 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6187 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
6200 if eval \${$as_ac_Lib+:} false; then : | 6188 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
6201 $as_echo_n "(cached) " >&6 | 6189 $as_echo_n "(cached) " >&6 |
6202 else | 6190 else |
6203 ac_check_lib_save_LIBS=$LIBS | 6191 ac_check_lib_save_LIBS=$LIBS |
6204 LIBS="-l$SV_MODULE_LIB $LIBS" | 6192 LIBS="-l$SV_MODULE_LIB $LIBS" |
6205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6230 LIBS=$ac_check_lib_save_LIBS | 6218 LIBS=$ac_check_lib_save_LIBS |
6231 fi | 6219 fi |
6232 eval ac_res=\$$as_ac_Lib | 6220 eval ac_res=\$$as_ac_Lib |
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6234 $as_echo "$ac_res" >&6; } | 6222 $as_echo "$ac_res" >&6; } |
6235 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6223 eval as_val=\$$as_ac_Lib |
6224 if test "x$as_val" = x""yes; then : | |
6236 LIBS="$LIBS -l$SV_MODULE_LIB" | 6225 LIBS="$LIBS -l$SV_MODULE_LIB" |
6237 else | 6226 else |
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 6227 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6239 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 6228 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6240 fi | 6229 fi |
6242 fi | 6231 fi |
6243 fi | 6232 fi |
6244 fi | 6233 fi |
6245 | 6234 |
6246 | 6235 |
6247 SV_MODULE_MODULE=oggz | 6236 SV_MODULE_MODULE=libpulse |
6248 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" | 6237 SV_MODULE_VERSION_TEST="libpulse >= 0.9" |
6249 SV_MODULE_HEADER=oggz/oggz.h | 6238 SV_MODULE_HEADER=pulse/pulseaudio.h |
6250 SV_MODULE_LIB=oggz | 6239 SV_MODULE_LIB=pulse |
6251 SV_MODULE_FUNC=oggz_run | 6240 SV_MODULE_FUNC=pa_stream_new |
6252 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') | 6241 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') |
6253 SV_MODULE_FAILED=1 | 6242 SV_MODULE_FAILED=1 |
6254 if test -n "$oggz_LIBS" ; then | 6243 if test -n "$libpulse_LIBS" ; then |
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6244 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6256 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6245 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6257 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" | 6246 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" |
6258 LIBS="$LIBS $oggz_LIBS" | 6247 LIBS="$LIBS $libpulse_LIBS" |
6259 SV_MODULE_FAILED="" | 6248 SV_MODULE_FAILED="" |
6260 fi | 6249 fi |
6261 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6250 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6262 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6251 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6263 fi | 6252 fi |
6264 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6253 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6265 | 6254 |
6266 pkg_failed=no | 6255 pkg_failed=no |
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 | 6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 |
6268 $as_echo_n "checking for oggz... " >&6; } | 6257 $as_echo_n "checking for libpulse... " >&6; } |
6269 | 6258 |
6270 if test -n "$oggz_CFLAGS"; then | 6259 if test -n "$PKG_CONFIG"; then |
6271 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" | 6260 if test -n "$libpulse_CFLAGS"; then |
6272 elif test -n "$PKG_CONFIG"; then | 6261 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" |
6273 if test -n "$PKG_CONFIG" && \ | 6262 else |
6263 if test -n "$PKG_CONFIG" && \ | |
6274 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6264 { { $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 | 6265 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6276 ac_status=$? | 6266 ac_status=$? |
6277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6278 test $ac_status = 0; }; then | 6268 test $ac_status = 0; }; then |
6279 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6269 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6280 test "x$?" != "x0" && pkg_failed=yes | |
6281 else | 6270 else |
6282 pkg_failed=yes | 6271 pkg_failed=yes |
6283 fi | 6272 fi |
6284 else | 6273 fi |
6285 pkg_failed=untried | 6274 else |
6286 fi | 6275 pkg_failed=untried |
6287 if test -n "$oggz_LIBS"; then | 6276 fi |
6288 pkg_cv_oggz_LIBS="$oggz_LIBS" | 6277 if test -n "$PKG_CONFIG"; then |
6289 elif test -n "$PKG_CONFIG"; then | 6278 if test -n "$libpulse_LIBS"; then |
6290 if test -n "$PKG_CONFIG" && \ | 6279 pkg_cv_libpulse_LIBS="$libpulse_LIBS" |
6280 else | |
6281 if test -n "$PKG_CONFIG" && \ | |
6291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6282 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6292 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6283 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6293 ac_status=$? | 6284 ac_status=$? |
6294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6295 test $ac_status = 0; }; then | 6286 test $ac_status = 0; }; then |
6296 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6287 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6297 test "x$?" != "x0" && pkg_failed=yes | |
6298 else | 6288 else |
6299 pkg_failed=yes | 6289 pkg_failed=yes |
6300 fi | 6290 fi |
6301 else | 6291 fi |
6302 pkg_failed=untried | 6292 else |
6293 pkg_failed=untried | |
6303 fi | 6294 fi |
6304 | 6295 |
6305 | 6296 |
6306 | 6297 |
6307 if test $pkg_failed = yes; then | 6298 if test $pkg_failed = yes; then |
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6309 $as_echo "no" >&6; } | |
6310 | 6299 |
6311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6300 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6312 _pkg_short_errors_supported=yes | 6301 _pkg_short_errors_supported=yes |
6313 else | 6302 else |
6314 _pkg_short_errors_supported=no | 6303 _pkg_short_errors_supported=no |
6315 fi | 6304 fi |
6316 if test $_pkg_short_errors_supported = yes; then | 6305 if test $_pkg_short_errors_supported = yes; then |
6317 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6306 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6318 else | 6307 else |
6319 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6308 libpulse_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6320 fi | 6309 fi |
6321 # Put the nasty error message in config.log where it belongs | 6310 # Put the nasty error message in config.log where it belongs |
6322 echo "$oggz_PKG_ERRORS" >&5 | 6311 echo "$libpulse_PKG_ERRORS" >&5 |
6323 | 6312 |
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6314 $as_echo "no" >&6; } | |
6315 { $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 | |
6316 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6317 elif test $pkg_failed = untried; then | |
6324 { $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 | 6318 { $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 |
6325 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6319 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6326 elif test $pkg_failed = untried; then | 6320 else |
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6321 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS |
6328 $as_echo "no" >&6; } | 6322 libpulse_LIBS=$pkg_cv_libpulse_LIBS |
6329 { $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 | |
6330 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6331 else | |
6332 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS | |
6333 oggz_LIBS=$pkg_cv_oggz_LIBS | |
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6335 $as_echo "yes" >&6; } | 6324 $as_echo "yes" >&6; } |
6336 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" | 6325 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" |
6337 fi | 6326 fi |
6338 fi | 6327 fi |
6339 if test -n "$SV_MODULE_FAILED"; then | 6328 if test -n "$SV_MODULE_FAILED"; then |
6340 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6329 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6341 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6330 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6331 eval as_val=\$$as_ac_Header |
6332 if test "x$as_val" = x""yes; then : | |
6343 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 6333 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6344 else | 6334 else |
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 6335 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6346 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 6336 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6347 fi | 6337 fi |
6350 if test -z "$SV_MODULE_FAILED"; then | 6340 if test -z "$SV_MODULE_FAILED"; then |
6351 if test -n "$SV_MODULE_LIB"; then | 6341 if test -n "$SV_MODULE_LIB"; then |
6352 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6342 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6354 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6344 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
6355 if eval \${$as_ac_Lib+:} false; then : | 6345 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
6356 $as_echo_n "(cached) " >&6 | 6346 $as_echo_n "(cached) " >&6 |
6357 else | 6347 else |
6358 ac_check_lib_save_LIBS=$LIBS | 6348 ac_check_lib_save_LIBS=$LIBS |
6359 LIBS="-l$SV_MODULE_LIB $LIBS" | 6349 LIBS="-l$SV_MODULE_LIB $LIBS" |
6360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6385 LIBS=$ac_check_lib_save_LIBS | 6375 LIBS=$ac_check_lib_save_LIBS |
6386 fi | 6376 fi |
6387 eval ac_res=\$$as_ac_Lib | 6377 eval ac_res=\$$as_ac_Lib |
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6389 $as_echo "$ac_res" >&6; } | 6379 $as_echo "$ac_res" >&6; } |
6390 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6380 eval as_val=\$$as_ac_Lib |
6381 if test "x$as_val" = x""yes; then : | |
6391 LIBS="$LIBS -l$SV_MODULE_LIB" | 6382 LIBS="$LIBS -l$SV_MODULE_LIB" |
6392 else | 6383 else |
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 6384 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6394 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 6385 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6395 fi | 6386 fi |
6397 fi | 6388 fi |
6398 fi | 6389 fi |
6399 fi | 6390 fi |
6400 | 6391 |
6401 | 6392 |
6402 SV_MODULE_MODULE=fishsound | 6393 SV_MODULE_MODULE=lrdf |
6403 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" | 6394 SV_MODULE_VERSION_TEST="lrdf >= 0.2" |
6404 SV_MODULE_HEADER=fishsound/fishsound.h | 6395 SV_MODULE_HEADER=lrdf.h |
6405 SV_MODULE_LIB=fishsound | 6396 SV_MODULE_LIB=lrdf |
6406 SV_MODULE_FUNC=fish_sound_new | 6397 SV_MODULE_FUNC=lrdf_init |
6407 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') | 6398 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') |
6408 SV_MODULE_FAILED=1 | 6399 SV_MODULE_FAILED=1 |
6409 if test -n "$fishsound_LIBS" ; then | 6400 if test -n "$lrdf_LIBS" ; then |
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6401 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6411 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6402 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6412 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" | 6403 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" |
6413 LIBS="$LIBS $fishsound_LIBS" | 6404 LIBS="$LIBS $lrdf_LIBS" |
6414 SV_MODULE_FAILED="" | 6405 SV_MODULE_FAILED="" |
6415 fi | 6406 fi |
6416 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6407 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6417 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6408 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6418 fi | 6409 fi |
6419 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6410 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6420 | 6411 |
6421 pkg_failed=no | 6412 pkg_failed=no |
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 | 6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 |
6423 $as_echo_n "checking for fishsound... " >&6; } | 6414 $as_echo_n "checking for lrdf... " >&6; } |
6424 | 6415 |
6425 if test -n "$fishsound_CFLAGS"; then | 6416 if test -n "$PKG_CONFIG"; then |
6426 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" | 6417 if test -n "$lrdf_CFLAGS"; then |
6427 elif test -n "$PKG_CONFIG"; then | 6418 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" |
6428 if test -n "$PKG_CONFIG" && \ | 6419 else |
6420 if test -n "$PKG_CONFIG" && \ | |
6429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6421 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6430 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6422 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6431 ac_status=$? | 6423 ac_status=$? |
6432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6433 test $ac_status = 0; }; then | 6425 test $ac_status = 0; }; then |
6434 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6426 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6435 test "x$?" != "x0" && pkg_failed=yes | |
6436 else | 6427 else |
6437 pkg_failed=yes | 6428 pkg_failed=yes |
6438 fi | 6429 fi |
6439 else | 6430 fi |
6440 pkg_failed=untried | 6431 else |
6441 fi | 6432 pkg_failed=untried |
6442 if test -n "$fishsound_LIBS"; then | 6433 fi |
6443 pkg_cv_fishsound_LIBS="$fishsound_LIBS" | 6434 if test -n "$PKG_CONFIG"; then |
6444 elif test -n "$PKG_CONFIG"; then | 6435 if test -n "$lrdf_LIBS"; then |
6445 if test -n "$PKG_CONFIG" && \ | 6436 pkg_cv_lrdf_LIBS="$lrdf_LIBS" |
6437 else | |
6438 if test -n "$PKG_CONFIG" && \ | |
6446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6447 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6440 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6448 ac_status=$? | 6441 ac_status=$? |
6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6450 test $ac_status = 0; }; then | 6443 test $ac_status = 0; }; then |
6451 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6444 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6452 test "x$?" != "x0" && pkg_failed=yes | |
6453 else | 6445 else |
6454 pkg_failed=yes | 6446 pkg_failed=yes |
6455 fi | 6447 fi |
6456 else | 6448 fi |
6457 pkg_failed=untried | 6449 else |
6450 pkg_failed=untried | |
6458 fi | 6451 fi |
6459 | 6452 |
6460 | 6453 |
6461 | 6454 |
6462 if test $pkg_failed = yes; then | 6455 if test $pkg_failed = yes; then |
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6464 $as_echo "no" >&6; } | |
6465 | 6456 |
6466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6467 _pkg_short_errors_supported=yes | 6458 _pkg_short_errors_supported=yes |
6468 else | 6459 else |
6469 _pkg_short_errors_supported=no | 6460 _pkg_short_errors_supported=no |
6470 fi | 6461 fi |
6471 if test $_pkg_short_errors_supported = yes; then | 6462 if test $_pkg_short_errors_supported = yes; then |
6472 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6463 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6473 else | 6464 else |
6474 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6465 lrdf_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6475 fi | 6466 fi |
6476 # Put the nasty error message in config.log where it belongs | 6467 # Put the nasty error message in config.log where it belongs |
6477 echo "$fishsound_PKG_ERRORS" >&5 | 6468 echo "$lrdf_PKG_ERRORS" >&5 |
6478 | 6469 |
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6471 $as_echo "no" >&6; } | |
6472 { $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 | |
6473 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6474 elif test $pkg_failed = untried; then | |
6479 { $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 | 6475 { $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 |
6480 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6476 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6481 elif test $pkg_failed = untried; then | 6477 else |
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6478 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS |
6483 $as_echo "no" >&6; } | 6479 lrdf_LIBS=$pkg_cv_lrdf_LIBS |
6484 { $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 | |
6485 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6486 else | |
6487 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS | |
6488 fishsound_LIBS=$pkg_cv_fishsound_LIBS | |
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6490 $as_echo "yes" >&6; } | 6481 $as_echo "yes" >&6; } |
6491 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" | 6482 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" |
6492 fi | 6483 fi |
6493 fi | 6484 fi |
6494 if test -n "$SV_MODULE_FAILED"; then | 6485 if test -n "$SV_MODULE_FAILED"; then |
6495 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6486 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6496 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6487 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6497 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6488 eval as_val=\$$as_ac_Header |
6489 if test "x$as_val" = x""yes; then : | |
6498 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 6490 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6499 else | 6491 else |
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 6492 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6501 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 6493 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6502 fi | 6494 fi |
6505 if test -z "$SV_MODULE_FAILED"; then | 6497 if test -z "$SV_MODULE_FAILED"; then |
6506 if test -n "$SV_MODULE_LIB"; then | 6498 if test -n "$SV_MODULE_LIB"; then |
6507 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6499 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6509 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6501 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
6510 if eval \${$as_ac_Lib+:} false; then : | 6502 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
6511 $as_echo_n "(cached) " >&6 | 6503 $as_echo_n "(cached) " >&6 |
6512 else | 6504 else |
6513 ac_check_lib_save_LIBS=$LIBS | 6505 ac_check_lib_save_LIBS=$LIBS |
6514 LIBS="-l$SV_MODULE_LIB $LIBS" | 6506 LIBS="-l$SV_MODULE_LIB $LIBS" |
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6540 LIBS=$ac_check_lib_save_LIBS | 6532 LIBS=$ac_check_lib_save_LIBS |
6541 fi | 6533 fi |
6542 eval ac_res=\$$as_ac_Lib | 6534 eval ac_res=\$$as_ac_Lib |
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6544 $as_echo "$ac_res" >&6; } | 6536 $as_echo "$ac_res" >&6; } |
6545 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6537 eval as_val=\$$as_ac_Lib |
6538 if test "x$as_val" = x""yes; then : | |
6546 LIBS="$LIBS -l$SV_MODULE_LIB" | 6539 LIBS="$LIBS -l$SV_MODULE_LIB" |
6547 else | 6540 else |
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 6541 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6549 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 6542 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6550 fi | 6543 fi |
6552 fi | 6545 fi |
6553 fi | 6546 fi |
6554 fi | 6547 fi |
6555 | 6548 |
6556 | 6549 |
6557 SV_MODULE_MODULE=mad | 6550 SV_MODULE_MODULE=oggz |
6558 SV_MODULE_VERSION_TEST="mad >= 0.15.0" | 6551 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" |
6559 SV_MODULE_HEADER=mad.h | 6552 SV_MODULE_HEADER=oggz/oggz.h |
6560 SV_MODULE_LIB=mad | 6553 SV_MODULE_LIB=oggz |
6561 SV_MODULE_FUNC=mad_decoder_init | 6554 SV_MODULE_FUNC=oggz_run |
6562 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') | 6555 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') |
6563 SV_MODULE_FAILED=1 | 6556 SV_MODULE_FAILED=1 |
6564 if test -n "$mad_LIBS" ; then | 6557 if test -n "$oggz_LIBS" ; then |
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6558 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6566 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6559 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6567 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" | 6560 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" |
6568 LIBS="$LIBS $mad_LIBS" | 6561 LIBS="$LIBS $oggz_LIBS" |
6569 SV_MODULE_FAILED="" | 6562 SV_MODULE_FAILED="" |
6570 fi | 6563 fi |
6571 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6564 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6572 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6565 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6573 fi | 6566 fi |
6574 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6567 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6575 | 6568 |
6576 pkg_failed=no | 6569 pkg_failed=no |
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 | 6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 |
6578 $as_echo_n "checking for mad... " >&6; } | 6571 $as_echo_n "checking for oggz... " >&6; } |
6579 | 6572 |
6580 if test -n "$mad_CFLAGS"; then | 6573 if test -n "$PKG_CONFIG"; then |
6581 pkg_cv_mad_CFLAGS="$mad_CFLAGS" | 6574 if test -n "$oggz_CFLAGS"; then |
6582 elif test -n "$PKG_CONFIG"; then | 6575 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" |
6583 if test -n "$PKG_CONFIG" && \ | 6576 else |
6577 if test -n "$PKG_CONFIG" && \ | |
6584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6585 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6579 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6586 ac_status=$? | 6580 ac_status=$? |
6587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6588 test $ac_status = 0; }; then | 6582 test $ac_status = 0; }; then |
6589 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6583 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6590 test "x$?" != "x0" && pkg_failed=yes | |
6591 else | 6584 else |
6592 pkg_failed=yes | 6585 pkg_failed=yes |
6593 fi | 6586 fi |
6594 else | 6587 fi |
6595 pkg_failed=untried | 6588 else |
6596 fi | 6589 pkg_failed=untried |
6597 if test -n "$mad_LIBS"; then | 6590 fi |
6598 pkg_cv_mad_LIBS="$mad_LIBS" | 6591 if test -n "$PKG_CONFIG"; then |
6599 elif test -n "$PKG_CONFIG"; then | 6592 if test -n "$oggz_LIBS"; then |
6600 if test -n "$PKG_CONFIG" && \ | 6593 pkg_cv_oggz_LIBS="$oggz_LIBS" |
6594 else | |
6595 if test -n "$PKG_CONFIG" && \ | |
6601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6602 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6597 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6603 ac_status=$? | 6598 ac_status=$? |
6604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6605 test $ac_status = 0; }; then | 6600 test $ac_status = 0; }; then |
6606 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6601 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6607 test "x$?" != "x0" && pkg_failed=yes | |
6608 else | 6602 else |
6609 pkg_failed=yes | 6603 pkg_failed=yes |
6610 fi | 6604 fi |
6611 else | 6605 fi |
6612 pkg_failed=untried | 6606 else |
6607 pkg_failed=untried | |
6613 fi | 6608 fi |
6614 | 6609 |
6615 | 6610 |
6616 | 6611 |
6617 if test $pkg_failed = yes; then | 6612 if test $pkg_failed = yes; then |
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6619 $as_echo "no" >&6; } | |
6620 | 6613 |
6621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6622 _pkg_short_errors_supported=yes | 6615 _pkg_short_errors_supported=yes |
6623 else | 6616 else |
6624 _pkg_short_errors_supported=no | 6617 _pkg_short_errors_supported=no |
6625 fi | 6618 fi |
6626 if test $_pkg_short_errors_supported = yes; then | 6619 if test $_pkg_short_errors_supported = yes; then |
6627 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6620 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6628 else | 6621 else |
6629 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6622 oggz_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6630 fi | 6623 fi |
6631 # Put the nasty error message in config.log where it belongs | 6624 # Put the nasty error message in config.log where it belongs |
6632 echo "$mad_PKG_ERRORS" >&5 | 6625 echo "$oggz_PKG_ERRORS" >&5 |
6633 | 6626 |
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6628 $as_echo "no" >&6; } | |
6629 { $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 | |
6630 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6631 elif test $pkg_failed = untried; then | |
6634 { $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 | 6632 { $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 |
6635 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6633 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6636 elif test $pkg_failed = untried; then | 6634 else |
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6635 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS |
6638 $as_echo "no" >&6; } | 6636 oggz_LIBS=$pkg_cv_oggz_LIBS |
6639 { $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 | |
6640 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6641 else | |
6642 mad_CFLAGS=$pkg_cv_mad_CFLAGS | |
6643 mad_LIBS=$pkg_cv_mad_LIBS | |
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6645 $as_echo "yes" >&6; } | 6638 $as_echo "yes" >&6; } |
6646 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" | 6639 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" |
6647 fi | 6640 fi |
6648 fi | 6641 fi |
6649 if test -n "$SV_MODULE_FAILED"; then | 6642 if test -n "$SV_MODULE_FAILED"; then |
6650 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6643 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6651 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6644 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6645 eval as_val=\$$as_ac_Header |
6646 if test "x$as_val" = x""yes; then : | |
6653 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 6647 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6654 else | 6648 else |
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 6649 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6656 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 6650 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6657 fi | 6651 fi |
6660 if test -z "$SV_MODULE_FAILED"; then | 6654 if test -z "$SV_MODULE_FAILED"; then |
6661 if test -n "$SV_MODULE_LIB"; then | 6655 if test -n "$SV_MODULE_LIB"; then |
6662 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6656 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6664 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6658 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
6665 if eval \${$as_ac_Lib+:} false; then : | 6659 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
6666 $as_echo_n "(cached) " >&6 | 6660 $as_echo_n "(cached) " >&6 |
6667 else | 6661 else |
6668 ac_check_lib_save_LIBS=$LIBS | 6662 ac_check_lib_save_LIBS=$LIBS |
6669 LIBS="-l$SV_MODULE_LIB $LIBS" | 6663 LIBS="-l$SV_MODULE_LIB $LIBS" |
6670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6695 LIBS=$ac_check_lib_save_LIBS | 6689 LIBS=$ac_check_lib_save_LIBS |
6696 fi | 6690 fi |
6697 eval ac_res=\$$as_ac_Lib | 6691 eval ac_res=\$$as_ac_Lib |
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6699 $as_echo "$ac_res" >&6; } | 6693 $as_echo "$ac_res" >&6; } |
6700 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6694 eval as_val=\$$as_ac_Lib |
6695 if test "x$as_val" = x""yes; then : | |
6701 LIBS="$LIBS -l$SV_MODULE_LIB" | 6696 LIBS="$LIBS -l$SV_MODULE_LIB" |
6702 else | 6697 else |
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 6698 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6704 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 6699 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6705 fi | 6700 fi |
6707 fi | 6702 fi |
6708 fi | 6703 fi |
6709 fi | 6704 fi |
6710 | 6705 |
6711 | 6706 |
6712 SV_MODULE_MODULE=id3tag | 6707 SV_MODULE_MODULE=fishsound |
6713 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" | 6708 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" |
6714 SV_MODULE_HEADER=id3tag.h | 6709 SV_MODULE_HEADER=fishsound/fishsound.h |
6715 SV_MODULE_LIB=id3tag | 6710 SV_MODULE_LIB=fishsound |
6716 SV_MODULE_FUNC=id3_tag_new | 6711 SV_MODULE_FUNC=fish_sound_new |
6717 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') | 6712 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') |
6718 SV_MODULE_FAILED=1 | 6713 SV_MODULE_FAILED=1 |
6719 if test -n "$id3tag_LIBS" ; then | 6714 if test -n "$fishsound_LIBS" ; then |
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6715 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6721 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6716 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6722 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" | 6717 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" |
6723 LIBS="$LIBS $id3tag_LIBS" | 6718 LIBS="$LIBS $fishsound_LIBS" |
6724 SV_MODULE_FAILED="" | 6719 SV_MODULE_FAILED="" |
6725 fi | 6720 fi |
6726 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6721 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6727 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6722 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6728 fi | 6723 fi |
6729 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6724 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6730 | 6725 |
6731 pkg_failed=no | 6726 pkg_failed=no |
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 | 6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 |
6733 $as_echo_n "checking for id3tag... " >&6; } | 6728 $as_echo_n "checking for fishsound... " >&6; } |
6734 | 6729 |
6735 if test -n "$id3tag_CFLAGS"; then | 6730 if test -n "$PKG_CONFIG"; then |
6736 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" | 6731 if test -n "$fishsound_CFLAGS"; then |
6737 elif test -n "$PKG_CONFIG"; then | 6732 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" |
6738 if test -n "$PKG_CONFIG" && \ | 6733 else |
6734 if test -n "$PKG_CONFIG" && \ | |
6739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6740 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6736 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6741 ac_status=$? | 6737 ac_status=$? |
6742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6743 test $ac_status = 0; }; then | 6739 test $ac_status = 0; }; then |
6744 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6740 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6745 test "x$?" != "x0" && pkg_failed=yes | |
6746 else | 6741 else |
6747 pkg_failed=yes | 6742 pkg_failed=yes |
6748 fi | 6743 fi |
6749 else | 6744 fi |
6750 pkg_failed=untried | 6745 else |
6751 fi | 6746 pkg_failed=untried |
6752 if test -n "$id3tag_LIBS"; then | 6747 fi |
6753 pkg_cv_id3tag_LIBS="$id3tag_LIBS" | 6748 if test -n "$PKG_CONFIG"; then |
6754 elif test -n "$PKG_CONFIG"; then | 6749 if test -n "$fishsound_LIBS"; then |
6755 if test -n "$PKG_CONFIG" && \ | 6750 pkg_cv_fishsound_LIBS="$fishsound_LIBS" |
6751 else | |
6752 if test -n "$PKG_CONFIG" && \ | |
6756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6757 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6754 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6758 ac_status=$? | 6755 ac_status=$? |
6759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6760 test $ac_status = 0; }; then | 6757 test $ac_status = 0; }; then |
6761 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6758 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6762 test "x$?" != "x0" && pkg_failed=yes | |
6763 else | 6759 else |
6764 pkg_failed=yes | 6760 pkg_failed=yes |
6765 fi | 6761 fi |
6766 else | 6762 fi |
6767 pkg_failed=untried | 6763 else |
6764 pkg_failed=untried | |
6768 fi | 6765 fi |
6769 | 6766 |
6770 | 6767 |
6771 | 6768 |
6772 if test $pkg_failed = yes; then | 6769 if test $pkg_failed = yes; then |
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6774 $as_echo "no" >&6; } | |
6775 | 6770 |
6776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6777 _pkg_short_errors_supported=yes | 6772 _pkg_short_errors_supported=yes |
6778 else | 6773 else |
6779 _pkg_short_errors_supported=no | 6774 _pkg_short_errors_supported=no |
6780 fi | 6775 fi |
6781 if test $_pkg_short_errors_supported = yes; then | 6776 if test $_pkg_short_errors_supported = yes; then |
6782 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6777 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6783 else | 6778 else |
6784 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6779 fishsound_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6785 fi | 6780 fi |
6786 # Put the nasty error message in config.log where it belongs | 6781 # Put the nasty error message in config.log where it belongs |
6787 echo "$id3tag_PKG_ERRORS" >&5 | 6782 echo "$fishsound_PKG_ERRORS" >&5 |
6788 | 6783 |
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6785 $as_echo "no" >&6; } | |
6786 { $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 | |
6787 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6788 elif test $pkg_failed = untried; then | |
6789 { $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 | 6789 { $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 |
6790 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6790 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6791 elif test $pkg_failed = untried; then | 6791 else |
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6792 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS |
6793 $as_echo "no" >&6; } | 6793 fishsound_LIBS=$pkg_cv_fishsound_LIBS |
6794 { $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 | |
6795 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6796 else | |
6797 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | |
6798 id3tag_LIBS=$pkg_cv_id3tag_LIBS | |
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6800 $as_echo "yes" >&6; } | 6795 $as_echo "yes" >&6; } |
6801 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | 6796 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" |
6802 fi | 6797 fi |
6803 fi | 6798 fi |
6804 if test -n "$SV_MODULE_FAILED"; then | 6799 if test -n "$SV_MODULE_FAILED"; then |
6805 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6800 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6806 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6801 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6807 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6802 eval as_val=\$$as_ac_Header |
6803 if test "x$as_val" = x""yes; then : | |
6808 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 6804 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6809 else | 6805 else |
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6811 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 6807 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6812 fi | 6808 fi |
6815 if test -z "$SV_MODULE_FAILED"; then | 6811 if test -z "$SV_MODULE_FAILED"; then |
6816 if test -n "$SV_MODULE_LIB"; then | 6812 if test -n "$SV_MODULE_LIB"; then |
6817 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6813 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6819 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6815 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
6820 if eval \${$as_ac_Lib+:} false; then : | 6816 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
6821 $as_echo_n "(cached) " >&6 | 6817 $as_echo_n "(cached) " >&6 |
6822 else | 6818 else |
6823 ac_check_lib_save_LIBS=$LIBS | 6819 ac_check_lib_save_LIBS=$LIBS |
6824 LIBS="-l$SV_MODULE_LIB $LIBS" | 6820 LIBS="-l$SV_MODULE_LIB $LIBS" |
6825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6850 LIBS=$ac_check_lib_save_LIBS | 6846 LIBS=$ac_check_lib_save_LIBS |
6851 fi | 6847 fi |
6852 eval ac_res=\$$as_ac_Lib | 6848 eval ac_res=\$$as_ac_Lib |
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
6854 $as_echo "$ac_res" >&6; } | 6850 $as_echo "$ac_res" >&6; } |
6855 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 6851 eval as_val=\$$as_ac_Lib |
6852 if test "x$as_val" = x""yes; then : | |
6856 LIBS="$LIBS -l$SV_MODULE_LIB" | 6853 LIBS="$LIBS -l$SV_MODULE_LIB" |
6857 else | 6854 else |
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 6855 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
6859 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 6856 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
6860 fi | 6857 fi |
6862 fi | 6859 fi |
6863 fi | 6860 fi |
6864 fi | 6861 fi |
6865 | 6862 |
6866 | 6863 |
6867 # Link in -lX11 if it exists -- this is for the X error handler | 6864 SV_MODULE_MODULE=mad |
6868 | 6865 SV_MODULE_VERSION_TEST="mad >= 0.15.0" |
6869 SV_MODULE_MODULE=X11 | 6866 SV_MODULE_HEADER=mad.h |
6870 SV_MODULE_VERSION_TEST="x11 >= 1.0.0" | 6867 SV_MODULE_LIB=mad |
6871 SV_MODULE_HEADER=X11/X.h | 6868 SV_MODULE_FUNC=mad_decoder_init |
6872 SV_MODULE_LIB=x11 | 6869 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') |
6873 SV_MODULE_FUNC=XGetErrorText | |
6874 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z') | |
6875 SV_MODULE_FAILED=1 | 6870 SV_MODULE_FAILED=1 |
6876 if test -n "$X11_LIBS" ; then | 6871 if test -n "$mad_LIBS" ; then |
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6872 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6878 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6873 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6879 CXXFLAGS="$CXXFLAGS $X11_CFLAGS" | 6874 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" |
6880 LIBS="$LIBS $X11_LIBS" | 6875 LIBS="$LIBS $mad_LIBS" |
6881 SV_MODULE_FAILED="" | 6876 SV_MODULE_FAILED="" |
6882 fi | 6877 fi |
6883 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6878 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6884 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6879 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6885 fi | 6880 fi |
6886 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6881 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6887 | 6882 |
6888 pkg_failed=no | 6883 pkg_failed=no |
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 | 6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 |
6890 $as_echo_n "checking for X11... " >&6; } | 6885 $as_echo_n "checking for mad... " >&6; } |
6891 | 6886 |
6892 if test -n "$X11_CFLAGS"; then | 6887 if test -n "$PKG_CONFIG"; then |
6893 pkg_cv_X11_CFLAGS="$X11_CFLAGS" | 6888 if test -n "$mad_CFLAGS"; then |
6894 elif test -n "$PKG_CONFIG"; then | 6889 pkg_cv_mad_CFLAGS="$mad_CFLAGS" |
6895 if test -n "$PKG_CONFIG" && \ | 6890 else |
6891 if test -n "$PKG_CONFIG" && \ | |
6896 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6892 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6897 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6893 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6898 ac_status=$? | 6894 ac_status=$? |
6899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6900 test $ac_status = 0; }; then | 6896 test $ac_status = 0; }; then |
6901 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6897 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6902 test "x$?" != "x0" && pkg_failed=yes | |
6903 else | 6898 else |
6904 pkg_failed=yes | 6899 pkg_failed=yes |
6905 fi | 6900 fi |
6906 else | 6901 fi |
6907 pkg_failed=untried | 6902 else |
6908 fi | 6903 pkg_failed=untried |
6909 if test -n "$X11_LIBS"; then | 6904 fi |
6910 pkg_cv_X11_LIBS="$X11_LIBS" | 6905 if test -n "$PKG_CONFIG"; then |
6911 elif test -n "$PKG_CONFIG"; then | 6906 if test -n "$mad_LIBS"; then |
6912 if test -n "$PKG_CONFIG" && \ | 6907 pkg_cv_mad_LIBS="$mad_LIBS" |
6908 else | |
6909 if test -n "$PKG_CONFIG" && \ | |
6913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6910 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6914 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6911 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6915 ac_status=$? | 6912 ac_status=$? |
6916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6917 test $ac_status = 0; }; then | 6914 test $ac_status = 0; }; then |
6918 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6915 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6919 test "x$?" != "x0" && pkg_failed=yes | |
6920 else | 6916 else |
6921 pkg_failed=yes | 6917 pkg_failed=yes |
6922 fi | 6918 fi |
6923 else | 6919 fi |
6924 pkg_failed=untried | 6920 else |
6921 pkg_failed=untried | |
6925 fi | 6922 fi |
6926 | 6923 |
6927 | 6924 |
6928 | 6925 |
6929 if test $pkg_failed = yes; then | 6926 if test $pkg_failed = yes; then |
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6931 $as_echo "no" >&6; } | |
6932 | 6927 |
6933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 6928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
6934 _pkg_short_errors_supported=yes | 6929 _pkg_short_errors_supported=yes |
6935 else | 6930 else |
6936 _pkg_short_errors_supported=no | 6931 _pkg_short_errors_supported=no |
6937 fi | 6932 fi |
6938 if test $_pkg_short_errors_supported = yes; then | 6933 if test $_pkg_short_errors_supported = yes; then |
6939 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6934 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6940 else | 6935 else |
6941 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6936 mad_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` |
6942 fi | 6937 fi |
6943 # Put the nasty error message in config.log where it belongs | 6938 # Put the nasty error message in config.log where it belongs |
6944 echo "$X11_PKG_ERRORS" >&5 | 6939 echo "$mad_PKG_ERRORS" >&5 |
6945 | 6940 |
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6942 $as_echo "no" >&6; } | |
6943 { $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 | |
6944 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6945 elif test $pkg_failed = untried; then | |
6946 { $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 | 6946 { $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 |
6947 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6947 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6948 elif test $pkg_failed = untried; then | 6948 else |
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6949 mad_CFLAGS=$pkg_cv_mad_CFLAGS |
6950 $as_echo "no" >&6; } | 6950 mad_LIBS=$pkg_cv_mad_LIBS |
6951 { $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 | |
6952 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6953 else | |
6954 X11_CFLAGS=$pkg_cv_X11_CFLAGS | |
6955 X11_LIBS=$pkg_cv_X11_LIBS | |
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6957 $as_echo "yes" >&6; } | 6952 $as_echo "yes" >&6; } |
6958 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED="" | 6953 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" |
6959 fi | 6954 fi |
6960 fi | 6955 fi |
6961 if test -n "$SV_MODULE_FAILED"; then | 6956 if test -n "$SV_MODULE_FAILED"; then |
6962 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6957 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6963 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6958 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6964 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6959 eval as_val=\$$as_ac_Header |
6960 if test "x$as_val" = x""yes; then : | |
6965 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 6961 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
6966 else | 6962 else |
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 6963 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
6968 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 6964 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
6969 fi | 6965 fi |
6972 if test -z "$SV_MODULE_FAILED"; then | 6968 if test -z "$SV_MODULE_FAILED"; then |
6973 if test -n "$SV_MODULE_LIB"; then | 6969 if test -n "$SV_MODULE_LIB"; then |
6974 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 6970 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
6976 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 6972 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
6977 if eval \${$as_ac_Lib+:} false; then : | 6973 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : |
6978 $as_echo_n "(cached) " >&6 | 6974 $as_echo_n "(cached) " >&6 |
6979 else | 6975 else |
6980 ac_check_lib_save_LIBS=$LIBS | 6976 ac_check_lib_save_LIBS=$LIBS |
6981 LIBS="-l$SV_MODULE_LIB $LIBS" | 6977 LIBS="-l$SV_MODULE_LIB $LIBS" |
6982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7007 LIBS=$ac_check_lib_save_LIBS | 7003 LIBS=$ac_check_lib_save_LIBS |
7008 fi | 7004 fi |
7009 eval ac_res=\$$as_ac_Lib | 7005 eval ac_res=\$$as_ac_Lib |
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
7011 $as_echo "$ac_res" >&6; } | 7007 $as_echo "$ac_res" >&6; } |
7012 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 7008 eval as_val=\$$as_ac_Lib |
7009 if test "x$as_val" = x""yes; then : | |
7010 LIBS="$LIBS -l$SV_MODULE_LIB" | |
7011 else | |
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
7013 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
7014 fi | |
7015 | |
7016 fi | |
7017 fi | |
7018 fi | |
7019 | |
7020 | |
7021 SV_MODULE_MODULE=id3tag | |
7022 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" | |
7023 SV_MODULE_HEADER=id3tag.h | |
7024 SV_MODULE_LIB=id3tag | |
7025 SV_MODULE_FUNC=id3_tag_new | |
7026 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') | |
7027 SV_MODULE_FAILED=1 | |
7028 if test -n "$id3tag_LIBS" ; then | |
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
7030 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
7031 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" | |
7032 LIBS="$LIBS $id3tag_LIBS" | |
7033 SV_MODULE_FAILED="" | |
7034 fi | |
7035 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
7036 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
7037 fi | |
7038 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
7039 | |
7040 pkg_failed=no | |
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 | |
7042 $as_echo_n "checking for id3tag... " >&6; } | |
7043 | |
7044 if test -n "$PKG_CONFIG"; then | |
7045 if test -n "$id3tag_CFLAGS"; then | |
7046 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" | |
7047 else | |
7048 if test -n "$PKG_CONFIG" && \ | |
7049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7050 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7051 ac_status=$? | |
7052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7053 test $ac_status = 0; }; then | |
7054 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7055 else | |
7056 pkg_failed=yes | |
7057 fi | |
7058 fi | |
7059 else | |
7060 pkg_failed=untried | |
7061 fi | |
7062 if test -n "$PKG_CONFIG"; then | |
7063 if test -n "$id3tag_LIBS"; then | |
7064 pkg_cv_id3tag_LIBS="$id3tag_LIBS" | |
7065 else | |
7066 if test -n "$PKG_CONFIG" && \ | |
7067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7068 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7069 ac_status=$? | |
7070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7071 test $ac_status = 0; }; then | |
7072 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7073 else | |
7074 pkg_failed=yes | |
7075 fi | |
7076 fi | |
7077 else | |
7078 pkg_failed=untried | |
7079 fi | |
7080 | |
7081 | |
7082 | |
7083 if test $pkg_failed = yes; then | |
7084 | |
7085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
7086 _pkg_short_errors_supported=yes | |
7087 else | |
7088 _pkg_short_errors_supported=no | |
7089 fi | |
7090 if test $_pkg_short_errors_supported = yes; then | |
7091 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` | |
7092 else | |
7093 id3tag_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` | |
7094 fi | |
7095 # Put the nasty error message in config.log where it belongs | |
7096 echo "$id3tag_PKG_ERRORS" >&5 | |
7097 | |
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7099 $as_echo "no" >&6; } | |
7100 { $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 | |
7101 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7102 elif test $pkg_failed = untried; then | |
7103 { $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 | |
7104 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7105 else | |
7106 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | |
7107 id3tag_LIBS=$pkg_cv_id3tag_LIBS | |
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
7109 $as_echo "yes" >&6; } | |
7110 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | |
7111 fi | |
7112 fi | |
7113 if test -n "$SV_MODULE_FAILED"; then | |
7114 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
7115 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
7116 eval as_val=\$$as_ac_Header | |
7117 if test "x$as_val" = x""yes; then : | |
7118 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
7119 else | |
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
7121 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
7122 fi | |
7123 | |
7124 | |
7125 if test -z "$SV_MODULE_FAILED"; then | |
7126 if test -n "$SV_MODULE_LIB"; then | |
7127 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
7129 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
7130 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : | |
7131 $as_echo_n "(cached) " >&6 | |
7132 else | |
7133 ac_check_lib_save_LIBS=$LIBS | |
7134 LIBS="-l$SV_MODULE_LIB $LIBS" | |
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7136 /* end confdefs.h. */ | |
7137 | |
7138 /* Override any GCC internal prototype to avoid an error. | |
7139 Use char because int might match the return type of a GCC | |
7140 builtin and then its argument prototype would still apply. */ | |
7141 #ifdef __cplusplus | |
7142 extern "C" | |
7143 #endif | |
7144 char $SV_MODULE_FUNC (); | |
7145 int | |
7146 main () | |
7147 { | |
7148 return $SV_MODULE_FUNC (); | |
7149 ; | |
7150 return 0; | |
7151 } | |
7152 _ACEOF | |
7153 if ac_fn_cxx_try_link "$LINENO"; then : | |
7154 eval "$as_ac_Lib=yes" | |
7155 else | |
7156 eval "$as_ac_Lib=no" | |
7157 fi | |
7158 rm -f core conftest.err conftest.$ac_objext \ | |
7159 conftest$ac_exeext conftest.$ac_ext | |
7160 LIBS=$ac_check_lib_save_LIBS | |
7161 fi | |
7162 eval ac_res=\$$as_ac_Lib | |
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7164 $as_echo "$ac_res" >&6; } | |
7165 eval as_val=\$$as_ac_Lib | |
7166 if test "x$as_val" = x""yes; then : | |
7167 LIBS="$LIBS -l$SV_MODULE_LIB" | |
7168 else | |
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
7170 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
7171 fi | |
7172 | |
7173 fi | |
7174 fi | |
7175 fi | |
7176 | |
7177 | |
7178 # Link in -lX11 if it exists -- this is for the X error handler | |
7179 | |
7180 SV_MODULE_MODULE=X11 | |
7181 SV_MODULE_VERSION_TEST="x11 >= 1.0.0" | |
7182 SV_MODULE_HEADER=X11/X.h | |
7183 SV_MODULE_LIB=x11 | |
7184 SV_MODULE_FUNC=XGetErrorText | |
7185 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z') | |
7186 SV_MODULE_FAILED=1 | |
7187 if test -n "$X11_LIBS" ; then | |
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
7189 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
7190 CXXFLAGS="$CXXFLAGS $X11_CFLAGS" | |
7191 LIBS="$LIBS $X11_LIBS" | |
7192 SV_MODULE_FAILED="" | |
7193 fi | |
7194 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
7195 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
7196 fi | |
7197 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
7198 | |
7199 pkg_failed=no | |
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 | |
7201 $as_echo_n "checking for X11... " >&6; } | |
7202 | |
7203 if test -n "$PKG_CONFIG"; then | |
7204 if test -n "$X11_CFLAGS"; then | |
7205 pkg_cv_X11_CFLAGS="$X11_CFLAGS" | |
7206 else | |
7207 if test -n "$PKG_CONFIG" && \ | |
7208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7209 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7210 ac_status=$? | |
7211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7212 test $ac_status = 0; }; then | |
7213 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7214 else | |
7215 pkg_failed=yes | |
7216 fi | |
7217 fi | |
7218 else | |
7219 pkg_failed=untried | |
7220 fi | |
7221 if test -n "$PKG_CONFIG"; then | |
7222 if test -n "$X11_LIBS"; then | |
7223 pkg_cv_X11_LIBS="$X11_LIBS" | |
7224 else | |
7225 if test -n "$PKG_CONFIG" && \ | |
7226 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7227 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7228 ac_status=$? | |
7229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7230 test $ac_status = 0; }; then | |
7231 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7232 else | |
7233 pkg_failed=yes | |
7234 fi | |
7235 fi | |
7236 else | |
7237 pkg_failed=untried | |
7238 fi | |
7239 | |
7240 | |
7241 | |
7242 if test $pkg_failed = yes; then | |
7243 | |
7244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
7245 _pkg_short_errors_supported=yes | |
7246 else | |
7247 _pkg_short_errors_supported=no | |
7248 fi | |
7249 if test $_pkg_short_errors_supported = yes; then | |
7250 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` | |
7251 else | |
7252 X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` | |
7253 fi | |
7254 # Put the nasty error message in config.log where it belongs | |
7255 echo "$X11_PKG_ERRORS" >&5 | |
7256 | |
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7258 $as_echo "no" >&6; } | |
7259 { $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 | |
7260 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7261 elif test $pkg_failed = untried; then | |
7262 { $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 | |
7263 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7264 else | |
7265 X11_CFLAGS=$pkg_cv_X11_CFLAGS | |
7266 X11_LIBS=$pkg_cv_X11_LIBS | |
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
7268 $as_echo "yes" >&6; } | |
7269 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED="" | |
7270 fi | |
7271 fi | |
7272 if test -n "$SV_MODULE_FAILED"; then | |
7273 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
7274 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
7275 eval as_val=\$$as_ac_Header | |
7276 if test "x$as_val" = x""yes; then : | |
7277 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
7278 else | |
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
7280 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
7281 fi | |
7282 | |
7283 | |
7284 if test -z "$SV_MODULE_FAILED"; then | |
7285 if test -n "$SV_MODULE_LIB"; then | |
7286 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
7288 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
7289 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : | |
7290 $as_echo_n "(cached) " >&6 | |
7291 else | |
7292 ac_check_lib_save_LIBS=$LIBS | |
7293 LIBS="-l$SV_MODULE_LIB $LIBS" | |
7294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7295 /* end confdefs.h. */ | |
7296 | |
7297 /* Override any GCC internal prototype to avoid an error. | |
7298 Use char because int might match the return type of a GCC | |
7299 builtin and then its argument prototype would still apply. */ | |
7300 #ifdef __cplusplus | |
7301 extern "C" | |
7302 #endif | |
7303 char $SV_MODULE_FUNC (); | |
7304 int | |
7305 main () | |
7306 { | |
7307 return $SV_MODULE_FUNC (); | |
7308 ; | |
7309 return 0; | |
7310 } | |
7311 _ACEOF | |
7312 if ac_fn_cxx_try_link "$LINENO"; then : | |
7313 eval "$as_ac_Lib=yes" | |
7314 else | |
7315 eval "$as_ac_Lib=no" | |
7316 fi | |
7317 rm -f core conftest.err conftest.$ac_objext \ | |
7318 conftest$ac_exeext conftest.$ac_ext | |
7319 LIBS=$ac_check_lib_save_LIBS | |
7320 fi | |
7321 eval ac_res=\$$as_ac_Lib | |
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7323 $as_echo "$ac_res" >&6; } | |
7324 eval as_val=\$$as_ac_Lib | |
7325 if test "x$as_val" = x""yes; then : | |
7013 LIBS="$LIBS -l$SV_MODULE_LIB" | 7326 LIBS="$LIBS -l$SV_MODULE_LIB" |
7014 else | 7327 else |
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 7328 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
7016 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 7329 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
7017 fi | 7330 fi |
7108 t end | 7421 t end |
7109 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 7422 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7110 :end' >>confcache | 7423 :end' >>confcache |
7111 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 7424 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7112 if test -w "$cache_file"; then | 7425 if test -w "$cache_file"; then |
7113 if test "x$cache_file" != "x/dev/null"; then | 7426 test "x$cache_file" != "x/dev/null" && |
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 7427 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7115 $as_echo "$as_me: updating cache $cache_file" >&6;} | 7428 $as_echo "$as_me: updating cache $cache_file" >&6;} |
7116 if test ! -f "$cache_file" || test -h "$cache_file"; then | 7429 cat confcache >$cache_file |
7117 cat confcache >"$cache_file" | |
7118 else | |
7119 case $cache_file in #( | |
7120 */* | ?:*) | |
7121 mv -f confcache "$cache_file"$$ && | |
7122 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
7123 *) | |
7124 mv -f confcache "$cache_file" ;; | |
7125 esac | |
7126 fi | |
7127 fi | |
7128 else | 7430 else |
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 7431 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7130 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 7432 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7131 fi | 7433 fi |
7132 fi | 7434 fi |
7174 DEFS=`sed -n "$ac_script" confdefs.h` | 7476 DEFS=`sed -n "$ac_script" confdefs.h` |
7175 | 7477 |
7176 | 7478 |
7177 ac_libobjs= | 7479 ac_libobjs= |
7178 ac_ltlibobjs= | 7480 ac_ltlibobjs= |
7179 U= | |
7180 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 7481 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
7181 # 1. Remove the extension, and $U if already installed. | 7482 # 1. Remove the extension, and $U if already installed. |
7182 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 7483 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
7183 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 7484 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
7184 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 7485 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
7190 | 7491 |
7191 LTLIBOBJS=$ac_ltlibobjs | 7492 LTLIBOBJS=$ac_ltlibobjs |
7192 | 7493 |
7193 | 7494 |
7194 | 7495 |
7195 : "${CONFIG_STATUS=./config.status}" | 7496 : ${CONFIG_STATUS=./config.status} |
7196 ac_write_fail=0 | 7497 ac_write_fail=0 |
7197 ac_clean_files_save=$ac_clean_files | 7498 ac_clean_files_save=$ac_clean_files |
7198 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 7499 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 7500 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
7200 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 7501 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
7291 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 7592 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
7292 # splitting by setting IFS to empty value.) | 7593 # splitting by setting IFS to empty value.) |
7293 IFS=" "" $as_nl" | 7594 IFS=" "" $as_nl" |
7294 | 7595 |
7295 # Find who we are. Look in the path if we contain no directory separator. | 7596 # Find who we are. Look in the path if we contain no directory separator. |
7296 as_myself= | |
7297 case $0 in #(( | 7597 case $0 in #(( |
7298 *[\\/]* ) as_myself=$0 ;; | 7598 *[\\/]* ) as_myself=$0 ;; |
7299 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7599 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7300 for as_dir in $PATH | 7600 for as_dir in $PATH |
7301 do | 7601 do |
7337 | 7637 |
7338 # CDPATH. | 7638 # CDPATH. |
7339 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 7639 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
7340 | 7640 |
7341 | 7641 |
7342 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 7642 # as_fn_error ERROR [LINENO LOG_FD] |
7343 # ---------------------------------------- | 7643 # --------------------------------- |
7344 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 7644 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
7345 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 7645 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
7346 # script with STATUS, using 1 if that was 0. | 7646 # script with status $?, using 1 if that was 0. |
7347 as_fn_error () | 7647 as_fn_error () |
7348 { | 7648 { |
7349 as_status=$1; test $as_status -eq 0 && as_status=1 | 7649 as_status=$?; test $as_status -eq 0 && as_status=1 |
7350 if test "$4"; then | 7650 if test "$3"; then |
7351 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 7651 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
7352 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 7652 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
7353 fi | 7653 fi |
7354 $as_echo "$as_me: error: $2" >&2 | 7654 $as_echo "$as_me: error: $1" >&2 |
7355 as_fn_exit $as_status | 7655 as_fn_exit $as_status |
7356 } # as_fn_error | 7656 } # as_fn_error |
7357 | 7657 |
7358 | 7658 |
7359 # as_fn_set_status STATUS | 7659 # as_fn_set_status STATUS |
7487 if ln -s conf$$.file conf$$ 2>/dev/null; then | 7787 if ln -s conf$$.file conf$$ 2>/dev/null; then |
7488 as_ln_s='ln -s' | 7788 as_ln_s='ln -s' |
7489 # ... but there are two gotchas: | 7789 # ... but there are two gotchas: |
7490 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 7790 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
7491 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 7791 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
7492 # In both cases, we have to default to `cp -pR'. | 7792 # In both cases, we have to default to `cp -p'. |
7493 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 7793 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
7494 as_ln_s='cp -pR' | 7794 as_ln_s='cp -p' |
7495 elif ln conf$$.file conf$$ 2>/dev/null; then | 7795 elif ln conf$$.file conf$$ 2>/dev/null; then |
7496 as_ln_s=ln | 7796 as_ln_s=ln |
7497 else | 7797 else |
7498 as_ln_s='cp -pR' | 7798 as_ln_s='cp -p' |
7499 fi | 7799 fi |
7500 else | 7800 else |
7501 as_ln_s='cp -pR' | 7801 as_ln_s='cp -p' |
7502 fi | 7802 fi |
7503 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 7803 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
7504 rmdir conf$$.dir 2>/dev/null | 7804 rmdir conf$$.dir 2>/dev/null |
7505 | 7805 |
7506 | 7806 |
7545 } | 7845 } |
7546 s/.*/./; q'` | 7846 s/.*/./; q'` |
7547 test -d "$as_dir" && break | 7847 test -d "$as_dir" && break |
7548 done | 7848 done |
7549 test -z "$as_dirs" || eval "mkdir $as_dirs" | 7849 test -z "$as_dirs" || eval "mkdir $as_dirs" |
7550 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 7850 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
7551 | 7851 |
7552 | 7852 |
7553 } # as_fn_mkdir_p | 7853 } # as_fn_mkdir_p |
7554 if mkdir -p . 2>/dev/null; then | 7854 if mkdir -p . 2>/dev/null; then |
7555 as_mkdir_p='mkdir -p "$as_dir"' | 7855 as_mkdir_p='mkdir -p "$as_dir"' |
7556 else | 7856 else |
7557 test -d ./-p && rmdir ./-p | 7857 test -d ./-p && rmdir ./-p |
7558 as_mkdir_p=false | 7858 as_mkdir_p=false |
7559 fi | 7859 fi |
7560 | 7860 |
7561 | 7861 if test -x / >/dev/null 2>&1; then |
7562 # as_fn_executable_p FILE | 7862 as_test_x='test -x' |
7563 # ----------------------- | 7863 else |
7564 # Test if FILE is an executable regular file. | 7864 if ls -dL / >/dev/null 2>&1; then |
7565 as_fn_executable_p () | 7865 as_ls_L_option=L |
7566 { | 7866 else |
7567 test -f "$1" && test -x "$1" | 7867 as_ls_L_option= |
7568 } # as_fn_executable_p | 7868 fi |
7569 as_test_x='test -x' | 7869 as_test_x=' |
7570 as_executable_p=as_fn_executable_p | 7870 eval sh -c '\'' |
7871 if test -d "$1"; then | |
7872 test -d "$1/."; | |
7873 else | |
7874 case $1 in #( | |
7875 -*)set "./$1";; | |
7876 esac; | |
7877 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
7878 ???[sx]*):;;*)false;;esac;fi | |
7879 '\'' sh | |
7880 ' | |
7881 fi | |
7882 as_executable_p=$as_test_x | |
7571 | 7883 |
7572 # Sed expression to map a string onto a valid CPP name. | 7884 # Sed expression to map a string onto a valid CPP name. |
7573 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 7885 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
7574 | 7886 |
7575 # Sed expression to map a string onto a valid variable name. | 7887 # Sed expression to map a string onto a valid variable name. |
7587 # Save the log message, to keep $0 and so on meaningful, and to | 7899 # Save the log message, to keep $0 and so on meaningful, and to |
7588 # report actual input values of CONFIG_FILES etc. instead of their | 7900 # report actual input values of CONFIG_FILES etc. instead of their |
7589 # values after options handling. | 7901 # values after options handling. |
7590 ac_log=" | 7902 ac_log=" |
7591 This file was extended by Sonic Visualiser $as_me 2.1, which was | 7903 This file was extended by Sonic Visualiser $as_me 2.1, which was |
7592 generated by GNU Autoconf 2.69. Invocation command line was | 7904 generated by GNU Autoconf 2.65. Invocation command line was |
7593 | 7905 |
7594 CONFIG_FILES = $CONFIG_FILES | 7906 CONFIG_FILES = $CONFIG_FILES |
7595 CONFIG_HEADERS = $CONFIG_HEADERS | 7907 CONFIG_HEADERS = $CONFIG_HEADERS |
7596 CONFIG_LINKS = $CONFIG_LINKS | 7908 CONFIG_LINKS = $CONFIG_LINKS |
7597 CONFIG_COMMANDS = $CONFIG_COMMANDS | 7909 CONFIG_COMMANDS = $CONFIG_COMMANDS |
7640 _ACEOF | 7952 _ACEOF |
7641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 7953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7642 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 7954 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7643 ac_cs_version="\\ | 7955 ac_cs_version="\\ |
7644 Sonic Visualiser config.status 2.1 | 7956 Sonic Visualiser config.status 2.1 |
7645 configured by $0, generated by GNU Autoconf 2.69, | 7957 configured by $0, generated by GNU Autoconf 2.65, |
7646 with options \\"\$ac_cs_config\\" | 7958 with options \\"\$ac_cs_config\\" |
7647 | 7959 |
7648 Copyright (C) 2012 Free Software Foundation, Inc. | 7960 Copyright (C) 2009 Free Software Foundation, Inc. |
7649 This config.status script is free software; the Free Software Foundation | 7961 This config.status script is free software; the Free Software Foundation |
7650 gives unlimited permission to copy, distribute and modify it." | 7962 gives unlimited permission to copy, distribute and modify it." |
7651 | 7963 |
7652 ac_pwd='$ac_pwd' | 7964 ac_pwd='$ac_pwd' |
7653 srcdir='$srcdir' | 7965 srcdir='$srcdir' |
7660 # The default lists apply if the user does not specify any file. | 7972 # The default lists apply if the user does not specify any file. |
7661 ac_need_defaults=: | 7973 ac_need_defaults=: |
7662 while test $# != 0 | 7974 while test $# != 0 |
7663 do | 7975 do |
7664 case $1 in | 7976 case $1 in |
7665 --*=?*) | 7977 --*=*) |
7666 ac_option=`expr "X$1" : 'X\([^=]*\)='` | 7978 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
7667 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 7979 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
7668 ac_shift=: | |
7669 ;; | |
7670 --*=) | |
7671 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
7672 ac_optarg= | |
7673 ac_shift=: | 7980 ac_shift=: |
7674 ;; | 7981 ;; |
7675 *) | 7982 *) |
7676 ac_option=$1 | 7983 ac_option=$1 |
7677 ac_optarg=$2 | 7984 ac_optarg=$2 |
7691 debug=: ;; | 7998 debug=: ;; |
7692 --file | --fil | --fi | --f ) | 7999 --file | --fil | --fi | --f ) |
7693 $ac_shift | 8000 $ac_shift |
7694 case $ac_optarg in | 8001 case $ac_optarg in |
7695 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 8002 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
7696 '') as_fn_error $? "missing file argument" ;; | |
7697 esac | 8003 esac |
7698 as_fn_append CONFIG_FILES " '$ac_optarg'" | 8004 as_fn_append CONFIG_FILES " '$ac_optarg'" |
7699 ac_need_defaults=false;; | 8005 ac_need_defaults=false;; |
7700 --he | --h | --help | --hel | -h ) | 8006 --he | --h | --help | --hel | -h ) |
7701 $as_echo "$ac_cs_usage"; exit ;; | 8007 $as_echo "$ac_cs_usage"; exit ;; |
7702 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 8008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
7703 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 8009 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
7704 ac_cs_silent=: ;; | 8010 ac_cs_silent=: ;; |
7705 | 8011 |
7706 # This is an error. | 8012 # This is an error. |
7707 -*) as_fn_error $? "unrecognized option: \`$1' | 8013 -*) as_fn_error "unrecognized option: \`$1' |
7708 Try \`$0 --help' for more information." ;; | 8014 Try \`$0 --help' for more information." ;; |
7709 | 8015 |
7710 *) as_fn_append ac_config_targets " $1" | 8016 *) as_fn_append ac_config_targets " $1" |
7711 ac_need_defaults=false ;; | 8017 ac_need_defaults=false ;; |
7712 | 8018 |
7722 fi | 8028 fi |
7723 | 8029 |
7724 _ACEOF | 8030 _ACEOF |
7725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 8031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7726 if \$ac_cs_recheck; then | 8032 if \$ac_cs_recheck; then |
7727 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 8033 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
7728 shift | 8034 shift |
7729 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | 8035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
7730 CONFIG_SHELL='$SHELL' | 8036 CONFIG_SHELL='$SHELL' |
7731 export CONFIG_SHELL | 8037 export CONFIG_SHELL |
7732 exec "\$@" | 8038 exec "\$@" |
7754 do | 8060 do |
7755 case $ac_config_target in | 8061 case $ac_config_target in |
7756 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; | 8062 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; |
7757 "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;; | 8063 "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;; |
7758 | 8064 |
7759 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 8065 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
7760 esac | 8066 esac |
7761 done | 8067 done |
7762 | 8068 |
7763 | 8069 |
7764 # If the user did not use the arguments to specify the items to instantiate, | 8070 # If the user did not use the arguments to specify the items to instantiate, |
7775 # Hook for its removal unless debugging. | 8081 # Hook for its removal unless debugging. |
7776 # Note that there is a small window in which the directory will not be cleaned: | 8082 # Note that there is a small window in which the directory will not be cleaned: |
7777 # after its creation but before its name has been assigned to `$tmp'. | 8083 # after its creation but before its name has been assigned to `$tmp'. |
7778 $debug || | 8084 $debug || |
7779 { | 8085 { |
7780 tmp= ac_tmp= | 8086 tmp= |
7781 trap 'exit_status=$? | 8087 trap 'exit_status=$? |
7782 : "${ac_tmp:=$tmp}" | 8088 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
7783 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
7784 ' 0 | 8089 ' 0 |
7785 trap 'as_fn_exit 1' 1 2 13 15 | 8090 trap 'as_fn_exit 1' 1 2 13 15 |
7786 } | 8091 } |
7787 # Create a (secure) tmp directory for tmp files. | 8092 # Create a (secure) tmp directory for tmp files. |
7788 | 8093 |
7789 { | 8094 { |
7790 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 8095 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
7791 test -d "$tmp" | 8096 test -n "$tmp" && test -d "$tmp" |
7792 } || | 8097 } || |
7793 { | 8098 { |
7794 tmp=./conf$$-$RANDOM | 8099 tmp=./conf$$-$RANDOM |
7795 (umask 077 && mkdir "$tmp") | 8100 (umask 077 && mkdir "$tmp") |
7796 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 8101 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
7797 ac_tmp=$tmp | |
7798 | 8102 |
7799 # Set up the scripts for CONFIG_FILES section. | 8103 # Set up the scripts for CONFIG_FILES section. |
7800 # No need to generate them if there are no CONFIG_FILES. | 8104 # No need to generate them if there are no CONFIG_FILES. |
7801 # This happens for instance with `./config.status config.h'. | 8105 # This happens for instance with `./config.status config.h'. |
7802 if test -n "$CONFIG_FILES"; then | 8106 if test -n "$CONFIG_FILES"; then |
7809 if test "x$ac_cr" = x; then | 8113 if test "x$ac_cr" = x; then |
7810 eval ac_cr=\$\'\\r\' | 8114 eval ac_cr=\$\'\\r\' |
7811 fi | 8115 fi |
7812 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 8116 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
7813 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 8117 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
7814 ac_cs_awk_cr='\\r' | 8118 ac_cs_awk_cr='\r' |
7815 else | 8119 else |
7816 ac_cs_awk_cr=$ac_cr | 8120 ac_cs_awk_cr=$ac_cr |
7817 fi | 8121 fi |
7818 | 8122 |
7819 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | 8123 echo 'BEGIN {' >"$tmp/subs1.awk" && |
7820 _ACEOF | 8124 _ACEOF |
7821 | 8125 |
7822 | 8126 |
7823 { | 8127 { |
7824 echo "cat >conf$$subs.awk <<_ACEOF" && | 8128 echo "cat >conf$$subs.awk <<_ACEOF" && |
7825 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 8129 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
7826 echo "_ACEOF" | 8130 echo "_ACEOF" |
7827 } >conf$$subs.sh || | 8131 } >conf$$subs.sh || |
7828 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 8132 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
7829 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 8133 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
7830 ac_delim='%!_!# ' | 8134 ac_delim='%!_!# ' |
7831 for ac_last_try in false false false false false :; do | 8135 for ac_last_try in false false false false false :; do |
7832 . ./conf$$subs.sh || | 8136 . ./conf$$subs.sh || |
7833 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 8137 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
7834 | 8138 |
7835 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 8139 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
7836 if test $ac_delim_n = $ac_delim_num; then | 8140 if test $ac_delim_n = $ac_delim_num; then |
7837 break | 8141 break |
7838 elif $ac_last_try; then | 8142 elif $ac_last_try; then |
7839 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 8143 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
7840 else | 8144 else |
7841 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 8145 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
7842 fi | 8146 fi |
7843 done | 8147 done |
7844 rm -f conf$$subs.sh | 8148 rm -f conf$$subs.sh |
7845 | 8149 |
7846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 8150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7847 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | 8151 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
7848 _ACEOF | 8152 _ACEOF |
7849 sed -n ' | 8153 sed -n ' |
7850 h | 8154 h |
7851 s/^/S["/; s/!.*/"]=/ | 8155 s/^/S["/; s/!.*/"]=/ |
7852 p | 8156 p |
7890 } | 8194 } |
7891 ' >>$CONFIG_STATUS || ac_write_fail=1 | 8195 ' >>$CONFIG_STATUS || ac_write_fail=1 |
7892 rm -f conf$$subs.awk | 8196 rm -f conf$$subs.awk |
7893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 8197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7894 _ACAWK | 8198 _ACAWK |
7895 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | 8199 cat >>"\$tmp/subs1.awk" <<_ACAWK && |
7896 for (key in S) S_is_set[key] = 1 | 8200 for (key in S) S_is_set[key] = 1 |
7897 FS = "" | 8201 FS = "" |
7898 | 8202 |
7899 } | 8203 } |
7900 { | 8204 { |
7922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 8226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7923 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 8227 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
7924 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 8228 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
7925 else | 8229 else |
7926 cat | 8230 cat |
7927 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | 8231 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
7928 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 8232 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
7929 _ACEOF | 8233 _ACEOF |
7930 | 8234 |
7931 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 8235 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
7932 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 8236 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
7933 # trailing colons and then remove the whole line if VPATH becomes empty | 8237 # trailing colons and then remove the whole line if VPATH becomes empty |
7934 # (actually we leave an empty line to preserve line numbers). | 8238 # (actually we leave an empty line to preserve line numbers). |
7935 if test "x$srcdir" = x.; then | 8239 if test "x$srcdir" = x.; then |
7936 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | 8240 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
7937 h | 8241 s/:*\$(srcdir):*/:/ |
7938 s/// | 8242 s/:*\${srcdir}:*/:/ |
7939 s/^/:/ | 8243 s/:*@srcdir@:*/:/ |
7940 s/[ ]*$/:/ | 8244 s/^\([^=]*=[ ]*\):*/\1/ |
7941 s/:\$(srcdir):/:/g | |
7942 s/:\${srcdir}:/:/g | |
7943 s/:@srcdir@:/:/g | |
7944 s/^:*// | |
7945 s/:*$// | 8245 s/:*$// |
7946 x | |
7947 s/\(=[ ]*\).*/\1/ | |
7948 G | |
7949 s/\n// | |
7950 s/^[^=]*=[ ]*$// | 8246 s/^[^=]*=[ ]*$// |
7951 }' | 8247 }' |
7952 fi | 8248 fi |
7953 | 8249 |
7954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 8250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7962 case $ac_tag in | 8258 case $ac_tag in |
7963 :[FHLC]) ac_mode=$ac_tag; continue;; | 8259 :[FHLC]) ac_mode=$ac_tag; continue;; |
7964 esac | 8260 esac |
7965 case $ac_mode$ac_tag in | 8261 case $ac_mode$ac_tag in |
7966 :[FHL]*:*);; | 8262 :[FHL]*:*);; |
7967 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 8263 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
7968 :[FH]-) ac_tag=-:-;; | 8264 :[FH]-) ac_tag=-:-;; |
7969 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 8265 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
7970 esac | 8266 esac |
7971 ac_save_IFS=$IFS | 8267 ac_save_IFS=$IFS |
7972 IFS=: | 8268 IFS=: |
7981 :[FH]) | 8277 :[FH]) |
7982 ac_file_inputs= | 8278 ac_file_inputs= |
7983 for ac_f | 8279 for ac_f |
7984 do | 8280 do |
7985 case $ac_f in | 8281 case $ac_f in |
7986 -) ac_f="$ac_tmp/stdin";; | 8282 -) ac_f="$tmp/stdin";; |
7987 *) # Look for the file first in the build tree, then in the source tree | 8283 *) # Look for the file first in the build tree, then in the source tree |
7988 # (if the path is not absolute). The absolute path cannot be DOS-style, | 8284 # (if the path is not absolute). The absolute path cannot be DOS-style, |
7989 # because $ac_f cannot contain `:'. | 8285 # because $ac_f cannot contain `:'. |
7990 test -f "$ac_f" || | 8286 test -f "$ac_f" || |
7991 case $ac_f in | 8287 case $ac_f in |
7992 [\\/$]*) false;; | 8288 [\\/$]*) false;; |
7993 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 8289 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
7994 esac || | 8290 esac || |
7995 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 8291 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
7996 esac | 8292 esac |
7997 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 8293 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
7998 as_fn_append ac_file_inputs " '$ac_f'" | 8294 as_fn_append ac_file_inputs " '$ac_f'" |
7999 done | 8295 done |
8000 | 8296 |
8016 sed 's/[\\\\&|]/\\\\&/g'`;; #( | 8312 sed 's/[\\\\&|]/\\\\&/g'`;; #( |
8017 *) ac_sed_conf_input=$configure_input;; | 8313 *) ac_sed_conf_input=$configure_input;; |
8018 esac | 8314 esac |
8019 | 8315 |
8020 case $ac_tag in | 8316 case $ac_tag in |
8021 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 8317 *:-:* | *:-) cat >"$tmp/stdin" \ |
8022 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 8318 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
8023 esac | 8319 esac |
8024 ;; | 8320 ;; |
8025 esac | 8321 esac |
8026 | 8322 |
8027 ac_dir=`$as_dirname -- "$ac_file" || | 8323 ac_dir=`$as_dirname -- "$ac_file" || |
8153 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 8449 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
8154 s&@INSTALL@&$ac_INSTALL&;t t | 8450 s&@INSTALL@&$ac_INSTALL&;t t |
8155 s&@MKDIR_P@&$ac_MKDIR_P&;t t | 8451 s&@MKDIR_P@&$ac_MKDIR_P&;t t |
8156 $ac_datarootdir_hack | 8452 $ac_datarootdir_hack |
8157 " | 8453 " |
8158 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 8454 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
8159 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 8455 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
8160 | 8456 |
8161 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 8457 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
8162 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 8458 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
8163 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | 8459 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
8164 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 8460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
8166 which seems to be undefined. Please make sure it is defined" >&5 | 8461 which seems to be undefined. Please make sure it is defined." >&5 |
8167 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 8462 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
8168 which seems to be undefined. Please make sure it is defined" >&2;} | 8463 which seems to be undefined. Please make sure it is defined." >&2;} |
8169 | 8464 |
8170 rm -f "$ac_tmp/stdin" | 8465 rm -f "$tmp/stdin" |
8171 case $ac_file in | 8466 case $ac_file in |
8172 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 8467 -) cat "$tmp/out" && rm -f "$tmp/out";; |
8173 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 8468 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
8174 esac \ | 8469 esac \ |
8175 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 8470 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
8176 ;; | 8471 ;; |
8177 | 8472 |
8178 | 8473 |
8179 | 8474 |
8180 esac | 8475 esac |
8185 as_fn_exit 0 | 8480 as_fn_exit 0 |
8186 _ACEOF | 8481 _ACEOF |
8187 ac_clean_files=$ac_clean_files_save | 8482 ac_clean_files=$ac_clean_files_save |
8188 | 8483 |
8189 test $ac_write_fail = 0 || | 8484 test $ac_write_fail = 0 || |
8190 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 8485 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
8191 | 8486 |
8192 | 8487 |
8193 # configure is writing to config.log, and then calls config.status. | 8488 # configure is writing to config.log, and then calls config.status. |
8194 # config.status does its own redirection, appending to config.log. | 8489 # config.status does its own redirection, appending to config.log. |
8195 # Unfortunately, on DOS this fails, as config.log is still kept open | 8490 # Unfortunately, on DOS this fails, as config.log is still kept open |
8206 exec 5>/dev/null | 8501 exec 5>/dev/null |
8207 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 8502 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
8208 exec 5>>config.log | 8503 exec 5>>config.log |
8209 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 8504 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
8210 # would make configure fail if this is the last instruction. | 8505 # would make configure fail if this is the last instruction. |
8211 $ac_cs_success || as_fn_exit 1 | 8506 $ac_cs_success || as_fn_exit $? |
8212 fi | 8507 fi |
8213 | 8508 |
8214 # | 8509 # |
8215 # CONFIG_SUBDIRS section. | 8510 # CONFIG_SUBDIRS section. |
8216 # | 8511 # |
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | 8642 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
8348 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | 8643 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
8349 # The eval makes quoting arguments work. | 8644 # The eval makes quoting arguments work. |
8350 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ | 8645 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
8351 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || | 8646 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
8352 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 | 8647 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
8353 fi | 8648 fi |
8354 | 8649 |
8355 cd "$ac_popdir" | 8650 cd "$ac_popdir" |
8356 done | 8651 done |
8357 fi | 8652 fi |
8360 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 8655 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
8361 fi | 8656 fi |
8362 | 8657 |
8363 | 8658 |
8364 if ! $QMAKE -r sonic-visualiser.pro; then | 8659 if ! $QMAKE -r sonic-visualiser.pro; then |
8365 as_fn_error $? "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5 | 8660 as_fn_error "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5 |
8366 fi | 8661 fi |
8367 | 8662 |
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: | 8663 { $as_echo "$as_me:${as_lineno-$LINENO}: |
8369 | 8664 |
8370 Configuration complete. | 8665 Configuration complete. |