Mercurial > hg > vamp-plugin-sdk
view configure.ac @ 252:b03f1aefcd6a
* Add configure script
author | cannam |
---|---|
date | Wed, 12 Nov 2008 09:30:26 +0000 |
parents | |
children | 6d355f1b7eaf |
line wrap: on
line source
AC_INIT(vamp-plugin-sdk, 2.0, cannam@all-day-breakfast.com) AC_CONFIG_SRCDIR(vamp/vamp.h) AC_PROG_CXX AC_HEADER_STDC AC_C_BIGENDIAN if pkg-config --modversion vamp-sdk >/dev/null 2>&1; then echo "WARNING: A version of the Vamp plugin SDK is already installed." echo " Expect worries and sorrows if you install a new version" echo " without removing the old one first. (Continuing)" fi AC_SEARCH_LIBS([dlopen],[dl]) PKG_CHECK_MODULES([SNDFILE],[sndfile]) AC_SUBST(SNDFILE_CFLAGS) AC_SUBST(SNDFILE_LIBS) changequote(,)dnl if test "x$GCC" = "xyes"; then case " $CXXFLAGS " in *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;; esac fi changequote([,])dnl AC_OUTPUT([Makefile])