Mercurial > hg > svcore
comparison configure @ 1206:659372323b45 tony-2.0-integration
Merge latest SV 3.0 branch code
author | Chris Cannam |
---|---|
date | Fri, 19 Aug 2016 15:58:57 +0100 |
parents | 0ad516dc5d8d |
children |
comparison
equal
deleted
inserted
replaced
1136:e94719f941ba | 1206:659372323b45 |
---|---|
648 JACK_CFLAGS | 648 JACK_CFLAGS |
649 portaudio_2_0_LIBS | 649 portaudio_2_0_LIBS |
650 portaudio_2_0_CFLAGS | 650 portaudio_2_0_CFLAGS |
651 liblo_LIBS | 651 liblo_LIBS |
652 liblo_CFLAGS | 652 liblo_CFLAGS |
653 vamphostsdk_LIBS | |
654 vamphostsdk_CFLAGS | |
655 vamp_LIBS | |
656 vamp_CFLAGS | |
657 samplerate_LIBS | 653 samplerate_LIBS |
658 samplerate_CFLAGS | 654 samplerate_CFLAGS |
659 sndfile_LIBS | 655 sndfile_LIBS |
660 sndfile_CFLAGS | 656 sndfile_CFLAGS |
661 fftw3f_LIBS | 657 fftw3f_LIBS |
752 fftw3f_LIBS | 748 fftw3f_LIBS |
753 sndfile_CFLAGS | 749 sndfile_CFLAGS |
754 sndfile_LIBS | 750 sndfile_LIBS |
755 samplerate_CFLAGS | 751 samplerate_CFLAGS |
756 samplerate_LIBS | 752 samplerate_LIBS |
757 vamp_CFLAGS | |
758 vamp_LIBS | |
759 vamphostsdk_CFLAGS | |
760 vamphostsdk_LIBS | |
761 liblo_CFLAGS | 753 liblo_CFLAGS |
762 liblo_LIBS | 754 liblo_LIBS |
763 portaudio_2_0_CFLAGS | 755 portaudio_2_0_CFLAGS |
764 portaudio_2_0_LIBS | 756 portaudio_2_0_LIBS |
765 JACK_CFLAGS | 757 JACK_CFLAGS |
1417 linker flags for sndfile, overriding pkg-config | 1409 linker flags for sndfile, overriding pkg-config |
1418 samplerate_CFLAGS | 1410 samplerate_CFLAGS |
1419 C compiler flags for samplerate, overriding pkg-config | 1411 C compiler flags for samplerate, overriding pkg-config |
1420 samplerate_LIBS | 1412 samplerate_LIBS |
1421 linker flags for samplerate, overriding pkg-config | 1413 linker flags for samplerate, overriding pkg-config |
1422 vamp_CFLAGS C compiler flags for vamp, overriding pkg-config | |
1423 vamp_LIBS linker flags for vamp, overriding pkg-config | |
1424 vamphostsdk_CFLAGS | |
1425 C compiler flags for vamphostsdk, overriding pkg-config | |
1426 vamphostsdk_LIBS | |
1427 linker flags for vamphostsdk, overriding pkg-config | |
1428 liblo_CFLAGS | 1414 liblo_CFLAGS |
1429 C compiler flags for liblo, overriding pkg-config | 1415 C compiler flags for liblo, overriding pkg-config |
1430 liblo_LIBS linker flags for liblo, overriding pkg-config | 1416 liblo_LIBS linker flags for liblo, overriding pkg-config |
1431 portaudio_2_0_CFLAGS | 1417 portaudio_2_0_CFLAGS |
1432 C compiler flags for portaudio_2_0, overriding pkg-config | 1418 C compiler flags for portaudio_2_0, overriding pkg-config |
4127 fi | 4113 fi |
4128 | 4114 |
4129 | 4115 |
4130 fi | 4116 fi |
4131 if test x$QMAKE = x ; then | 4117 if test x$QMAKE = x ; then |
4118 # Extract the first word of "qt5-qmake", so it can be a program name with args. | |
4119 set dummy qt5-qmake; ac_word=$2 | |
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4121 $as_echo_n "checking for $ac_word... " >&6; } | |
4122 if ${ac_cv_prog_QMAKE+:} false; then : | |
4123 $as_echo_n "(cached) " >&6 | |
4124 else | |
4125 if test -n "$QMAKE"; then | |
4126 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | |
4127 else | |
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4129 for as_dir in $QTDIR/bin/ | |
4130 do | |
4131 IFS=$as_save_IFS | |
4132 test -z "$as_dir" && as_dir=. | |
4133 for ac_exec_ext in '' $ac_executable_extensions; do | |
4134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4135 ac_cv_prog_QMAKE="$QTDIR/bin/qt5-qmake" | |
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4137 break 2 | |
4138 fi | |
4139 done | |
4140 done | |
4141 IFS=$as_save_IFS | |
4142 | |
4143 fi | |
4144 fi | |
4145 QMAKE=$ac_cv_prog_QMAKE | |
4146 if test -n "$QMAKE"; then | |
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | |
4148 $as_echo "$QMAKE" >&6; } | |
4149 else | |
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4151 $as_echo "no" >&6; } | |
4152 fi | |
4153 | |
4154 | |
4155 fi | |
4156 if test x$QMAKE = x ; then | |
4132 # Extract the first word of "qmake", so it can be a program name with args. | 4157 # Extract the first word of "qmake", so it can be a program name with args. |
4133 set dummy qmake; ac_word=$2 | 4158 set dummy qmake; ac_word=$2 |
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4135 $as_echo_n "checking for $ac_word... " >&6; } | 4160 $as_echo_n "checking for $ac_word... " >&6; } |
4136 if ${ac_cv_prog_QMAKE+:} false; then : | 4161 if ${ac_cv_prog_QMAKE+:} false; then : |
4223 IFS=$as_save_IFS | 4248 IFS=$as_save_IFS |
4224 test -z "$as_dir" && as_dir=. | 4249 test -z "$as_dir" && as_dir=. |
4225 for ac_exec_ext in '' $ac_executable_extensions; do | 4250 for ac_exec_ext in '' $ac_executable_extensions; do |
4226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4227 ac_cv_prog_QMAKE="qmake-qt5" | 4252 ac_cv_prog_QMAKE="qmake-qt5" |
4253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
4254 break 2 | |
4255 fi | |
4256 done | |
4257 done | |
4258 IFS=$as_save_IFS | |
4259 | |
4260 fi | |
4261 fi | |
4262 QMAKE=$ac_cv_prog_QMAKE | |
4263 if test -n "$QMAKE"; then | |
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QMAKE" >&5 | |
4265 $as_echo "$QMAKE" >&6; } | |
4266 else | |
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4268 $as_echo "no" >&6; } | |
4269 fi | |
4270 | |
4271 | |
4272 fi | |
4273 if test x$QMAKE = x ; then | |
4274 # Extract the first word of "qt5-qmake", so it can be a program name with args. | |
4275 set dummy qt5-qmake; ac_word=$2 | |
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4277 $as_echo_n "checking for $ac_word... " >&6; } | |
4278 if ${ac_cv_prog_QMAKE+:} false; then : | |
4279 $as_echo_n "(cached) " >&6 | |
4280 else | |
4281 if test -n "$QMAKE"; then | |
4282 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. | |
4283 else | |
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4285 for as_dir in $PATH | |
4286 do | |
4287 IFS=$as_save_IFS | |
4288 test -z "$as_dir" && as_dir=. | |
4289 for ac_exec_ext in '' $ac_executable_extensions; do | |
4290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
4291 ac_cv_prog_QMAKE="qt5-qmake" | |
4228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4229 break 2 | 4293 break 2 |
4230 fi | 4294 fi |
4231 done | 4295 done |
4232 done | 4296 done |
5077 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS | 5141 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS |
5078 samplerate_LIBS=$pkg_cv_samplerate_LIBS | 5142 samplerate_LIBS=$pkg_cv_samplerate_LIBS |
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5080 $as_echo "yes" >&6; } | 5144 $as_echo "yes" >&6; } |
5081 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $samplerate_CFLAGS";LIBS="$LIBS $samplerate_LIBS";SV_MODULE_FAILED="" | 5145 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $samplerate_CFLAGS";LIBS="$LIBS $samplerate_LIBS";SV_MODULE_FAILED="" |
5082 fi | |
5083 fi | |
5084 if test -n "$SV_MODULE_FAILED"; then | |
5085 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
5086 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
5087 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5088 HAVES="$HAVES $SV_MODULE_HAVE" | |
5089 else | |
5090 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5091 fi | |
5092 | |
5093 | |
5094 if test -n "$SV_MODULE_LIB"; then | |
5095 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
5097 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
5098 if eval \${$as_ac_Lib+:} false; then : | |
5099 $as_echo_n "(cached) " >&6 | |
5100 else | |
5101 ac_check_lib_save_LIBS=$LIBS | |
5102 LIBS="-l$SV_MODULE_LIB $LIBS" | |
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5104 /* end confdefs.h. */ | |
5105 | |
5106 /* Override any GCC internal prototype to avoid an error. | |
5107 Use char because int might match the return type of a GCC | |
5108 builtin and then its argument prototype would still apply. */ | |
5109 #ifdef __cplusplus | |
5110 extern "C" | |
5111 #endif | |
5112 char $SV_MODULE_FUNC (); | |
5113 int | |
5114 main () | |
5115 { | |
5116 return $SV_MODULE_FUNC (); | |
5117 ; | |
5118 return 0; | |
5119 } | |
5120 _ACEOF | |
5121 if ac_fn_cxx_try_link "$LINENO"; then : | |
5122 eval "$as_ac_Lib=yes" | |
5123 else | |
5124 eval "$as_ac_Lib=no" | |
5125 fi | |
5126 rm -f core conftest.err conftest.$ac_objext \ | |
5127 conftest$ac_exeext conftest.$ac_ext | |
5128 LIBS=$ac_check_lib_save_LIBS | |
5129 fi | |
5130 eval ac_res=\$$as_ac_Lib | |
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5132 $as_echo "$ac_res" >&6; } | |
5133 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
5134 LIBS="$LIBS -l$SV_MODULE_LIB" | |
5135 else | |
5136 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5137 fi | |
5138 | |
5139 fi | |
5140 fi | |
5141 | |
5142 | |
5143 SV_MODULE_MODULE=vamp | |
5144 SV_MODULE_VERSION_TEST="vamp >= 2.1" | |
5145 SV_MODULE_HEADER=vamp/vamp.h | |
5146 SV_MODULE_LIB= | |
5147 SV_MODULE_FUNC= | |
5148 SV_MODULE_HAVE=HAVE_$(echo vamp | tr 'a-z' 'A-Z') | |
5149 SV_MODULE_FAILED=1 | |
5150 if test -n "$vamp_LIBS" ; then | |
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
5152 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
5153 CXXFLAGS="$CXXFLAGS $vamp_CFLAGS" | |
5154 LIBS="$LIBS $vamp_LIBS" | |
5155 SV_MODULE_FAILED="" | |
5156 fi | |
5157 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
5158 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
5159 fi | |
5160 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
5161 | |
5162 pkg_failed=no | |
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5 | |
5164 $as_echo_n "checking for vamp... " >&6; } | |
5165 | |
5166 if test -n "$vamp_CFLAGS"; then | |
5167 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS" | |
5168 elif test -n "$PKG_CONFIG"; then | |
5169 if test -n "$PKG_CONFIG" && \ | |
5170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5171 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5172 ac_status=$? | |
5173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5174 test $ac_status = 0; }; then | |
5175 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5176 test "x$?" != "x0" && pkg_failed=yes | |
5177 else | |
5178 pkg_failed=yes | |
5179 fi | |
5180 else | |
5181 pkg_failed=untried | |
5182 fi | |
5183 if test -n "$vamp_LIBS"; then | |
5184 pkg_cv_vamp_LIBS="$vamp_LIBS" | |
5185 elif test -n "$PKG_CONFIG"; then | |
5186 if test -n "$PKG_CONFIG" && \ | |
5187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5188 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5189 ac_status=$? | |
5190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5191 test $ac_status = 0; }; then | |
5192 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5193 test "x$?" != "x0" && pkg_failed=yes | |
5194 else | |
5195 pkg_failed=yes | |
5196 fi | |
5197 else | |
5198 pkg_failed=untried | |
5199 fi | |
5200 | |
5201 | |
5202 | |
5203 if test $pkg_failed = yes; then | |
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5205 $as_echo "no" >&6; } | |
5206 | |
5207 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
5208 _pkg_short_errors_supported=yes | |
5209 else | |
5210 _pkg_short_errors_supported=no | |
5211 fi | |
5212 if test $_pkg_short_errors_supported = yes; then | |
5213 vamp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5214 else | |
5215 vamp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5216 fi | |
5217 # Put the nasty error message in config.log where it belongs | |
5218 echo "$vamp_PKG_ERRORS" >&5 | |
5219 | |
5220 { $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 | |
5221 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5222 elif test $pkg_failed = untried; then | |
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5224 $as_echo "no" >&6; } | |
5225 { $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 | |
5226 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5227 else | |
5228 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS | |
5229 vamp_LIBS=$pkg_cv_vamp_LIBS | |
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5231 $as_echo "yes" >&6; } | |
5232 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamp_CFLAGS";LIBS="$LIBS $vamp_LIBS";SV_MODULE_FAILED="" | |
5233 fi | |
5234 fi | |
5235 if test -n "$SV_MODULE_FAILED"; then | |
5236 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
5237 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
5238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5239 HAVES="$HAVES $SV_MODULE_HAVE" | |
5240 else | |
5241 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5242 fi | |
5243 | |
5244 | |
5245 if test -n "$SV_MODULE_LIB"; then | |
5246 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
5248 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
5249 if eval \${$as_ac_Lib+:} false; then : | |
5250 $as_echo_n "(cached) " >&6 | |
5251 else | |
5252 ac_check_lib_save_LIBS=$LIBS | |
5253 LIBS="-l$SV_MODULE_LIB $LIBS" | |
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5255 /* end confdefs.h. */ | |
5256 | |
5257 /* Override any GCC internal prototype to avoid an error. | |
5258 Use char because int might match the return type of a GCC | |
5259 builtin and then its argument prototype would still apply. */ | |
5260 #ifdef __cplusplus | |
5261 extern "C" | |
5262 #endif | |
5263 char $SV_MODULE_FUNC (); | |
5264 int | |
5265 main () | |
5266 { | |
5267 return $SV_MODULE_FUNC (); | |
5268 ; | |
5269 return 0; | |
5270 } | |
5271 _ACEOF | |
5272 if ac_fn_cxx_try_link "$LINENO"; then : | |
5273 eval "$as_ac_Lib=yes" | |
5274 else | |
5275 eval "$as_ac_Lib=no" | |
5276 fi | |
5277 rm -f core conftest.err conftest.$ac_objext \ | |
5278 conftest$ac_exeext conftest.$ac_ext | |
5279 LIBS=$ac_check_lib_save_LIBS | |
5280 fi | |
5281 eval ac_res=\$$as_ac_Lib | |
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5283 $as_echo "$ac_res" >&6; } | |
5284 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
5285 LIBS="$LIBS -l$SV_MODULE_LIB" | |
5286 else | |
5287 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5288 fi | |
5289 | |
5290 fi | |
5291 fi | |
5292 | |
5293 | |
5294 SV_MODULE_MODULE=vamphostsdk | |
5295 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.5" | |
5296 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h | |
5297 SV_MODULE_LIB=vamp-hostsdk | |
5298 SV_MODULE_FUNC=libvamphostsdk_v_2_5_present | |
5299 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') | |
5300 SV_MODULE_FAILED=1 | |
5301 if test -n "$vamphostsdk_LIBS" ; then | |
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
5303 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
5304 CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS" | |
5305 LIBS="$LIBS $vamphostsdk_LIBS" | |
5306 SV_MODULE_FAILED="" | |
5307 fi | |
5308 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
5309 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
5310 fi | |
5311 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
5312 | |
5313 pkg_failed=no | |
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5 | |
5315 $as_echo_n "checking for vamphostsdk... " >&6; } | |
5316 | |
5317 if test -n "$vamphostsdk_CFLAGS"; then | |
5318 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS" | |
5319 elif test -n "$PKG_CONFIG"; then | |
5320 if test -n "$PKG_CONFIG" && \ | |
5321 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5322 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5323 ac_status=$? | |
5324 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5325 test $ac_status = 0; }; then | |
5326 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5327 test "x$?" != "x0" && pkg_failed=yes | |
5328 else | |
5329 pkg_failed=yes | |
5330 fi | |
5331 else | |
5332 pkg_failed=untried | |
5333 fi | |
5334 if test -n "$vamphostsdk_LIBS"; then | |
5335 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS" | |
5336 elif test -n "$PKG_CONFIG"; then | |
5337 if test -n "$PKG_CONFIG" && \ | |
5338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5339 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5340 ac_status=$? | |
5341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5342 test $ac_status = 0; }; then | |
5343 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5344 test "x$?" != "x0" && pkg_failed=yes | |
5345 else | |
5346 pkg_failed=yes | |
5347 fi | |
5348 else | |
5349 pkg_failed=untried | |
5350 fi | |
5351 | |
5352 | |
5353 | |
5354 if test $pkg_failed = yes; then | |
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5356 $as_echo "no" >&6; } | |
5357 | |
5358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
5359 _pkg_short_errors_supported=yes | |
5360 else | |
5361 _pkg_short_errors_supported=no | |
5362 fi | |
5363 if test $_pkg_short_errors_supported = yes; then | |
5364 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5365 else | |
5366 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5367 fi | |
5368 # Put the nasty error message in config.log where it belongs | |
5369 echo "$vamphostsdk_PKG_ERRORS" >&5 | |
5370 | |
5371 { $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 | |
5372 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5373 elif test $pkg_failed = untried; then | |
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5375 $as_echo "no" >&6; } | |
5376 { $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 | |
5377 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5378 else | |
5379 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS | |
5380 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS | |
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5382 $as_echo "yes" >&6; } | |
5383 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS";LIBS="$LIBS $vamphostsdk_LIBS";SV_MODULE_FAILED="" | |
5384 fi | 5146 fi |
5385 fi | 5147 fi |
5386 if test -n "$SV_MODULE_FAILED"; then | 5148 if test -n "$SV_MODULE_FAILED"; then |
5387 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5149 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5388 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5150 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |