Mercurial > hg > sonic-visualiser
comparison configure @ 2206:252c7c8a1a37 rubberband-static
Merge from default branch
author | Chris Cannam |
---|---|
date | Thu, 31 Jan 2019 10:32:45 +0000 |
parents | 57a54d84120c |
children | f1437611e916 |
comparison
equal
deleted
inserted
replaced
2129:02f15fb8ec68 | 2206:252c7c8a1a37 |
---|---|
630 MAKEDEPEND | 630 MAKEDEPEND |
631 XARGS | 631 XARGS |
632 PERL | 632 PERL |
633 X11_LIBS | 633 X11_LIBS |
634 X11_CFLAGS | 634 X11_CFLAGS |
635 opus_LIBS | |
636 opus_CFLAGS | |
635 id3tag_LIBS | 637 id3tag_LIBS |
636 id3tag_CFLAGS | 638 id3tag_CFLAGS |
637 mad_LIBS | 639 mad_LIBS |
638 mad_CFLAGS | 640 mad_CFLAGS |
639 fishsound_LIBS | 641 fishsound_LIBS |
778 fishsound_LIBS | 780 fishsound_LIBS |
779 mad_CFLAGS | 781 mad_CFLAGS |
780 mad_LIBS | 782 mad_LIBS |
781 id3tag_CFLAGS | 783 id3tag_CFLAGS |
782 id3tag_LIBS | 784 id3tag_LIBS |
785 opus_CFLAGS | |
786 opus_LIBS | |
783 X11_CFLAGS | 787 X11_CFLAGS |
784 X11_LIBS' | 788 X11_LIBS' |
785 | 789 |
786 | 790 |
787 # Initialize some variables set by options. | 791 # Initialize some variables set by options. |
1454 mad_CFLAGS C compiler flags for mad, overriding pkg-config | 1458 mad_CFLAGS C compiler flags for mad, overriding pkg-config |
1455 mad_LIBS linker flags for mad, overriding pkg-config | 1459 mad_LIBS linker flags for mad, overriding pkg-config |
1456 id3tag_CFLAGS | 1460 id3tag_CFLAGS |
1457 C compiler flags for id3tag, overriding pkg-config | 1461 C compiler flags for id3tag, overriding pkg-config |
1458 id3tag_LIBS linker flags for id3tag, overriding pkg-config | 1462 id3tag_LIBS linker flags for id3tag, overriding pkg-config |
1463 opus_CFLAGS C compiler flags for opus, overriding pkg-config | |
1464 opus_LIBS linker flags for opus, overriding pkg-config | |
1459 X11_CFLAGS C compiler flags for X11, overriding pkg-config | 1465 X11_CFLAGS C compiler flags for X11, overriding pkg-config |
1460 X11_LIBS linker flags for X11, overriding pkg-config | 1466 X11_LIBS linker flags for X11, overriding pkg-config |
1461 | 1467 |
1462 Use these variables to override the choices made by `configure' or to help | 1468 Use these variables to override the choices made by `configure' or to help |
1463 it to find libraries and programs with nonstandard names/locations. | 1469 it to find libraries and programs with nonstandard names/locations. |
4421 if test "x$GCC" = "xyes"; then | 4427 if test "x$GCC" = "xyes"; then |
4422 CXXFLAGS_ANY="-fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" | 4428 CXXFLAGS_ANY="-fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" |
4423 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror" | 4429 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror" |
4424 OPTFLAGS_DEBUG="-O2" | 4430 OPTFLAGS_DEBUG="-O2" |
4425 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0" | 4431 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0" |
4426 LDFLAGS_RELEASE="-fuse-linker-plugin" | 4432 OPTFLAGS_RELEASE="-O3 -ffast-math" |
4427 OPTFLAGS_RELEASE="-O3 -ffast-math -flto" | |
4428 LIBS_DEBUG="$LIBS" | 4433 LIBS_DEBUG="$LIBS" |
4429 as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__--std=$CXXSTANDARD" | $as_tr_sh` | 4434 as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__--std=$CXXSTANDARD" | $as_tr_sh` |
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts --std=$CXXSTANDARD" >&5 | 4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts --std=$CXXSTANDARD" >&5 |
4431 $as_echo_n "checking whether C++ compiler accepts --std=$CXXSTANDARD... " >&6; } | 4436 $as_echo_n "checking whether C++ compiler accepts --std=$CXXSTANDARD... " >&6; } |
4432 if eval \${$as_CACHEVAR+:} false; then : | 4437 if eval \${$as_CACHEVAR+:} false; then : |
6997 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | 7002 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS |
6998 id3tag_LIBS=$pkg_cv_id3tag_LIBS | 7003 id3tag_LIBS=$pkg_cv_id3tag_LIBS |
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7000 $as_echo "yes" >&6; } | 7005 $as_echo "yes" >&6; } |
7001 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | 7006 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" |
7007 fi | |
7008 fi | |
7009 if test -n "$SV_MODULE_FAILED"; then | |
7010 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
7011 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
7012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
7013 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
7014 else | |
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
7016 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
7017 fi | |
7018 | |
7019 | |
7020 if test -z "$SV_MODULE_FAILED"; then | |
7021 if test -n "$SV_MODULE_LIB"; then | |
7022 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
7024 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
7025 if eval \${$as_ac_Lib+:} false; then : | |
7026 $as_echo_n "(cached) " >&6 | |
7027 else | |
7028 ac_check_lib_save_LIBS=$LIBS | |
7029 LIBS="-l$SV_MODULE_LIB $LIBS" | |
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7031 /* end confdefs.h. */ | |
7032 | |
7033 /* Override any GCC internal prototype to avoid an error. | |
7034 Use char because int might match the return type of a GCC | |
7035 builtin and then its argument prototype would still apply. */ | |
7036 #ifdef __cplusplus | |
7037 extern "C" | |
7038 #endif | |
7039 char $SV_MODULE_FUNC (); | |
7040 int | |
7041 main () | |
7042 { | |
7043 return $SV_MODULE_FUNC (); | |
7044 ; | |
7045 return 0; | |
7046 } | |
7047 _ACEOF | |
7048 if ac_fn_cxx_try_link "$LINENO"; then : | |
7049 eval "$as_ac_Lib=yes" | |
7050 else | |
7051 eval "$as_ac_Lib=no" | |
7052 fi | |
7053 rm -f core conftest.err conftest.$ac_objext \ | |
7054 conftest$ac_exeext conftest.$ac_ext | |
7055 LIBS=$ac_check_lib_save_LIBS | |
7056 fi | |
7057 eval ac_res=\$$as_ac_Lib | |
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7059 $as_echo "$ac_res" >&6; } | |
7060 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
7061 LIBS="$LIBS -l$SV_MODULE_LIB" | |
7062 else | |
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
7064 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
7065 fi | |
7066 | |
7067 fi | |
7068 fi | |
7069 fi | |
7070 | |
7071 | |
7072 SV_MODULE_MODULE=opus | |
7073 SV_MODULE_VERSION_TEST="opusfile" | |
7074 SV_MODULE_HEADER=opus/opusfile.h | |
7075 SV_MODULE_LIB=opusfile | |
7076 SV_MODULE_FUNC=op_read_float | |
7077 SV_MODULE_HAVE=HAVE_$(echo opus | tr 'a-z' 'A-Z') | |
7078 SV_MODULE_FAILED=1 | |
7079 if test -n "$opus_LIBS" ; then | |
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
7081 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
7082 CXXFLAGS="$CXXFLAGS $opus_CFLAGS" | |
7083 LIBS="$LIBS $opus_LIBS" | |
7084 SV_MODULE_FAILED="" | |
7085 fi | |
7086 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
7087 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
7088 fi | |
7089 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
7090 | |
7091 pkg_failed=no | |
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opus" >&5 | |
7093 $as_echo_n "checking for opus... " >&6; } | |
7094 | |
7095 if test -n "$opus_CFLAGS"; then | |
7096 pkg_cv_opus_CFLAGS="$opus_CFLAGS" | |
7097 elif test -n "$PKG_CONFIG"; then | |
7098 if test -n "$PKG_CONFIG" && \ | |
7099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7100 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7101 ac_status=$? | |
7102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7103 test $ac_status = 0; }; then | |
7104 pkg_cv_opus_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7105 test "x$?" != "x0" && pkg_failed=yes | |
7106 else | |
7107 pkg_failed=yes | |
7108 fi | |
7109 else | |
7110 pkg_failed=untried | |
7111 fi | |
7112 if test -n "$opus_LIBS"; then | |
7113 pkg_cv_opus_LIBS="$opus_LIBS" | |
7114 elif test -n "$PKG_CONFIG"; then | |
7115 if test -n "$PKG_CONFIG" && \ | |
7116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7117 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7118 ac_status=$? | |
7119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7120 test $ac_status = 0; }; then | |
7121 pkg_cv_opus_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7122 test "x$?" != "x0" && pkg_failed=yes | |
7123 else | |
7124 pkg_failed=yes | |
7125 fi | |
7126 else | |
7127 pkg_failed=untried | |
7128 fi | |
7129 | |
7130 | |
7131 | |
7132 if test $pkg_failed = yes; then | |
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7134 $as_echo "no" >&6; } | |
7135 | |
7136 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
7137 _pkg_short_errors_supported=yes | |
7138 else | |
7139 _pkg_short_errors_supported=no | |
7140 fi | |
7141 if test $_pkg_short_errors_supported = yes; then | |
7142 opus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7143 else | |
7144 opus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7145 fi | |
7146 # Put the nasty error message in config.log where it belongs | |
7147 echo "$opus_PKG_ERRORS" >&5 | |
7148 | |
7149 { $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 | |
7150 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7151 elif test $pkg_failed = untried; then | |
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7153 $as_echo "no" >&6; } | |
7154 { $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 | |
7155 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7156 else | |
7157 opus_CFLAGS=$pkg_cv_opus_CFLAGS | |
7158 opus_LIBS=$pkg_cv_opus_LIBS | |
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
7160 $as_echo "yes" >&6; } | |
7161 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $opus_CFLAGS";LIBS="$LIBS $opus_LIBS";SV_MODULE_FAILED="" | |
7002 fi | 7162 fi |
7003 fi | 7163 fi |
7004 if test -n "$SV_MODULE_FAILED"; then | 7164 if test -n "$SV_MODULE_FAILED"; then |
7005 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 7165 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
7006 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 7166 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |