comparison configure @ 278:bdedb6114fc6

* Fix to prior commit
author cannam
date Thu, 12 Feb 2009 12:12:57 +0000
parents b03f1aefcd6a
children 2351610cd3b0
comparison
equal deleted inserted replaced
277:6d355f1b7eaf 278:bdedb6114fc6
666 GREP 666 GREP
667 EGREP 667 EGREP
668 PKG_CONFIG 668 PKG_CONFIG
669 SNDFILE_CFLAGS 669 SNDFILE_CFLAGS
670 SNDFILE_LIBS 670 SNDFILE_LIBS
671 TARGETS
671 LIBOBJS 672 LIBOBJS
672 LTLIBOBJS' 673 LTLIBOBJS'
673 ac_subst_files='' 674 ac_subst_files=''
674 ac_precious_vars='build_alias 675 ac_precious_vars='build_alias
675 host_alias 676 host_alias
1250 if test -n "$ac_init_help"; then 1251 if test -n "$ac_init_help"; then
1251 case $ac_init_help in 1252 case $ac_init_help in
1252 short | recursive ) echo "Configuration of vamp-plugin-sdk 2.0:";; 1253 short | recursive ) echo "Configuration of vamp-plugin-sdk 2.0:";;
1253 esac 1254 esac
1254 cat <<\_ACEOF 1255 cat <<\_ACEOF
1256
1257 Optional Features:
1258 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1259 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1260 --enable-programs enable building of example host and RDF generator
1261 [default=yes]
1255 1262
1256 Some influential environment variables: 1263 Some influential environment variables:
1257 CXX C++ compiler command 1264 CXX C++ compiler command
1258 CXXFLAGS C++ compiler flags 1265 CXXFLAGS C++ compiler flags
1259 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1266 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
3948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3955 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3949 3956
3950 fi 3957 fi
3951 3958
3952 3959
3960 # Check whether --enable-programs was given.
3961 if test "${enable_programs+set}" = set; then
3962 enableval=$enable_programs; PROGS_ARGUMENT=$enableval
3963 else
3964 PROGS_ARGUMENT="yes"
3965 fi
3966
3967
3968 if test "x$PROGS_ARGUMENT" = "xyes" ; then
3953 3969
3954 3970
3955 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3971 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3956 if test -n "$ac_tool_prefix"; then 3972 if test -n "$ac_tool_prefix"; then
3957 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3973 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4127 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sndfile"` 4143 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sndfile"`
4128 fi 4144 fi
4129 # Put the nasty error message in config.log where it belongs 4145 # Put the nasty error message in config.log where it belongs
4130 echo "$SNDFILE_PKG_ERRORS" >&5 4146 echo "$SNDFILE_PKG_ERRORS" >&5
4131 4147
4132 { { echo "$as_me:$LINENO: error: Package requirements (sndfile) were not met: 4148 { echo "$as_me:$LINENO: result: no" >&5
4133 4149 echo "${ECHO_T}no" >&6; }
4134 $SNDFILE_PKG_ERRORS 4150 have_sndfile="no"
4135
4136 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4137 installed software in a non-standard prefix.
4138
4139 Alternatively, you may set the environment variables SNDFILE_CFLAGS
4140 and SNDFILE_LIBS to avoid the need to call pkg-config.
4141 See the pkg-config man page for more details.
4142 " >&5
4143 echo "$as_me: error: Package requirements (sndfile) were not met:
4144
4145 $SNDFILE_PKG_ERRORS
4146
4147 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4148 installed software in a non-standard prefix.
4149
4150 Alternatively, you may set the environment variables SNDFILE_CFLAGS
4151 and SNDFILE_LIBS to avoid the need to call pkg-config.
4152 See the pkg-config man page for more details.
4153 " >&2;}
4154 { (exit 1); exit 1; }; }
4155 elif test $pkg_failed = untried; then 4151 elif test $pkg_failed = untried; then
4156 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 4152 have_sndfile="no"
4157 is in your PATH or set the PKG_CONFIG environment variable to the full
4158 path to pkg-config.
4159
4160 Alternatively, you may set the environment variables SNDFILE_CFLAGS
4161 and SNDFILE_LIBS to avoid the need to call pkg-config.
4162 See the pkg-config man page for more details.
4163
4164 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4165 See \`config.log' for more details." >&5
4166 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4167 is in your PATH or set the PKG_CONFIG environment variable to the full
4168 path to pkg-config.
4169
4170 Alternatively, you may set the environment variables SNDFILE_CFLAGS
4171 and SNDFILE_LIBS to avoid the need to call pkg-config.
4172 See the pkg-config man page for more details.
4173
4174 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4175 See \`config.log' for more details." >&2;}
4176 { (exit 1); exit 1; }; }
4177 else 4153 else
4178 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS 4154 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
4179 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS 4155 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
4180 { echo "$as_me:$LINENO: result: yes" >&5 4156 { echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6; } 4157 echo "${ECHO_T}yes" >&6; }
4182 : 4158 have_sndfile="yes"
4183 fi 4159 fi
4160 if test "x$have_sndfile" = "xyes" ; then
4161 TARGETS="sdk plugins host rdfgen test"
4162 else
4163 { { echo "$as_me:$LINENO: error: libsndfile not found - cannot build example Vamp host!" >&5
4164 echo "$as_me: error: libsndfile not found - cannot build example Vamp host!" >&2;}
4165 { (exit 1); exit 1; }; }
4166 fi
4167 else
4168 TARGETS="sdk plugins"
4169 fi
4170
4171
4184 4172
4185 4173
4186 4174
4187 if test "x$GCC" = "xyes"; then 4175 if test "x$GCC" = "xyes"; then
4188 case " $CXXFLAGS " in 4176 case " $CXXFLAGS " in
4189 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; 4177 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;;
4190 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;; 4178 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;;
4191 esac 4179 esac
4192 fi 4180 fi
4181
4193 4182
4194 ac_config_files="$ac_config_files Makefile" 4183 ac_config_files="$ac_config_files Makefile"
4195 4184
4196 cat >confcache <<\_ACEOF 4185 cat >confcache <<\_ACEOF
4197 # This file is a shell script that caches the results of configure 4186 # This file is a shell script that caches the results of configure
4872 GREP!$GREP$ac_delim 4861 GREP!$GREP$ac_delim
4873 EGREP!$EGREP$ac_delim 4862 EGREP!$EGREP$ac_delim
4874 PKG_CONFIG!$PKG_CONFIG$ac_delim 4863 PKG_CONFIG!$PKG_CONFIG$ac_delim
4875 SNDFILE_CFLAGS!$SNDFILE_CFLAGS$ac_delim 4864 SNDFILE_CFLAGS!$SNDFILE_CFLAGS$ac_delim
4876 SNDFILE_LIBS!$SNDFILE_LIBS$ac_delim 4865 SNDFILE_LIBS!$SNDFILE_LIBS$ac_delim
4866 TARGETS!$TARGETS$ac_delim
4877 LIBOBJS!$LIBOBJS$ac_delim 4867 LIBOBJS!$LIBOBJS$ac_delim
4878 LTLIBOBJS!$LTLIBOBJS$ac_delim 4868 LTLIBOBJS!$LTLIBOBJS$ac_delim
4879 _ACEOF 4869 _ACEOF
4880 4870
4881 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then 4871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
4882 break 4872 break
4883 elif $ac_last_try; then 4873 elif $ac_last_try; then
4884 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4885 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4886 { (exit 1); exit 1; }; } 4876 { (exit 1); exit 1; }; }