diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2014-07-24 23:45:09 +0400 |
---|---|---|
committer | Tristan Matthews <le.businessman@gmail.com> | 2014-07-25 01:04:44 +0400 |
commit | e1b1eeabce815283c5bbc42016a9d6a11eda2866 (patch) | |
tree | 82b4992217fb5432d682f8fc551019e786f90fd0 /Makefile.am | |
parent | f351061ddf340d7459dfd78e79e5083d6df11a39 (diff) |
build: Use pkgconf macros to check for ogg presence
And make the selection not automagic.
Unbreaks cross-building w/out ogg.
Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 7de02e7..4f95f62 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,7 +14,11 @@ pkgconfig_DATA = speex.pc EXTRA_DIST = Speex.spec Speex.spec.in Speex.kdevelop speex.m4 speex.pc.in README.blackfin README.symbian README.TI-DSP #Fools KDevelop into including all files -SUBDIRS = libspeex include @src@ doc win32 symbian ti +SUBDIRS = libspeex include doc win32 symbian ti + +if HAVE_OGG +SUBDIRS += src +endif DIST_SUBDIRS = libspeex include src doc win32 symbian ti |