Changeset 9906b3f


Ignore:
Timestamp:
Jan 7, 2012, 3:50:38 AM (13 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
1081580
Parents:
447d6cd
Message:

configure.ac: add --enable-sndfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r447d6cd r9906b3f  
    154154fi
    155155
    156 PKG_CHECK_MODULES(SNDFILE,     sndfile >= 1.0.4,       HAVE_SNDFILE=1)
    157 if test "${HAVE_SNDFILE}" = "1"; then
    158   AC_DEFINE(HAVE_SNDFILE,1,[Define to enable libsndfile support])
     156AC_ARG_ENABLE(sndfile,
     157  AC_HELP_STRING([--enable-sndfile],[compile with sndfile [[default=auto]]]),
     158  [with_sndfile=$enableval],
     159  with_sndfile="yes")
     160if test "$with_sndfile" = "yes"; then
     161  PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.4, HAVE_SNDFILE=1, HAVE_SNDFILE=0)
     162  if test "${HAVE_SNDFILE}" = "1"; then
     163    AC_DEFINE(HAVE_SNDFILE,1,[Define to enable libsndfile support])
     164  fi
    159165fi
    160166
Note: See TracChangeset for help on using the changeset viewer.