Mercurial > hg > vamp-plugin-sdk
annotate configure.ac @ 263:4454843ff384
* OK, we're going to have to place the host stuff in its own namespace
too. Otherwise our new SV build on OSX fails to load old plugins
because they pull in the host namespace PluginBase and thus report
the wrong Vamp version... *sigh*
author | cannam |
---|---|
date | Thu, 20 Nov 2008 15:01:30 +0000 |
parents | b03f1aefcd6a |
children | 6d355f1b7eaf |
rev | line source |
---|---|
cannam@252 | 1 |
cannam@252 | 2 AC_INIT(vamp-plugin-sdk, 2.0, cannam@all-day-breakfast.com) |
cannam@252 | 3 |
cannam@252 | 4 AC_CONFIG_SRCDIR(vamp/vamp.h) |
cannam@252 | 5 AC_PROG_CXX |
cannam@252 | 6 AC_HEADER_STDC |
cannam@252 | 7 AC_C_BIGENDIAN |
cannam@252 | 8 |
cannam@252 | 9 if pkg-config --modversion vamp-sdk >/dev/null 2>&1; then |
cannam@252 | 10 echo "WARNING: A version of the Vamp plugin SDK is already installed." |
cannam@252 | 11 echo " Expect worries and sorrows if you install a new version" |
cannam@252 | 12 echo " without removing the old one first. (Continuing)" |
cannam@252 | 13 fi |
cannam@252 | 14 |
cannam@252 | 15 AC_SEARCH_LIBS([dlopen],[dl]) |
cannam@252 | 16 |
cannam@252 | 17 PKG_CHECK_MODULES([SNDFILE],[sndfile]) |
cannam@252 | 18 AC_SUBST(SNDFILE_CFLAGS) |
cannam@252 | 19 AC_SUBST(SNDFILE_LIBS) |
cannam@252 | 20 |
cannam@252 | 21 changequote(,)dnl |
cannam@252 | 22 if test "x$GCC" = "xyes"; then |
cannam@252 | 23 case " $CXXFLAGS " in |
cannam@252 | 24 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; |
cannam@252 | 25 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;; |
cannam@252 | 26 esac |
cannam@252 | 27 fi |
cannam@252 | 28 changequote([,])dnl |
cannam@252 | 29 |
cannam@252 | 30 AC_OUTPUT([Makefile]) |
cannam@252 | 31 |