|
From: Martin R. <ru...@us...> - 2007-04-04 14:36:07
|
Update of /cvsroot/foo/foo/libfoo In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv18815/libfoo Modified Files: configure.ac Log Message: added rudimentary flac support Index: configure.ac =================================================================== RCS file: /cvsroot/foo/foo/libfoo/configure.ac,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** configure.ac 26 Aug 2004 09:51:05 -0000 1.15 --- configure.ac 4 Apr 2007 14:36:04 -0000 1.16 *************** *** 164,167 **** --- 164,177 ---- AC_SUBST(INCLUDES) + # flac support via libsndfile? + AC_ARG_ENABLE(flac-support, + AC_HELP_STRING([--enable-flac-support], [use flac (requires libsndfile >= 1.0.12)]), + enable_flac_support=yes, enable_flac_support=no) + + if test ${enable_flac_support} = "yes"; then + # set flac support variable + AC_DEFINE(HAVE_SNDFILE_FLAC_SUPPORT, 1, Enable libsndfile flac support) + fi + # workaround for automake <= 1.6 AC_SUBST(OBJC) *************** *** 196,199 **** --- 206,210 ---- objective-c runtime: ${OBJC_RUNTIME} foundation framework: ${use_foundation} + libsndfile flac support: ${enable_flac_support} EOF |