36 lines
684 B
Plaintext
36 lines
684 B
Plaintext
|
|
AC_INIT(RubberBand, 1.8.2, chris.cannam@breakfastquay.com)
|
|
|
|
AC_CONFIG_SRCDIR(src/StretcherImpl.h)
|
|
AC_PROG_CXX
|
|
AC_PROG_CC
|
|
AC_HEADER_STDC
|
|
AC_C_BIGENDIAN
|
|
|
|
PKG_CHECK_MODULES([SRC],[samplerate])
|
|
AC_SUBST(SRC_CFLAGS)
|
|
AC_SUBST(SRC_LIBS)
|
|
|
|
PKG_CHECK_MODULES([SNDFILE],[sndfile])
|
|
AC_SUBST(SNDFILE_CFLAGS)
|
|
AC_SUBST(SNDFILE_LIBS)
|
|
|
|
AC_CHECK_HEADERS(ladspa.h)
|
|
AC_CHECK_HEADERS(pthread.h)
|
|
|
|
changequote(,)dnl
|
|
if test "x$GCC" = "xyes"; then
|
|
case " $CFLAGS " in
|
|
*[\ \ ]-fPIC\ -Wall[\ \ ]*) ;;
|
|
*) CFLAGS="$CFLAGS -fPIC -Wall" ;;
|
|
esac
|
|
case " $CXXFLAGS " in
|
|
*[\ \ ]-fPIC\ -Wall[\ \ ]*) ;;
|
|
*) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;;
|
|
esac
|
|
fi
|
|
changequote([,])dnl
|
|
|
|
AC_OUTPUT([Makefile])
|
|
|