From: Andre Noll Date: Mon, 14 Sep 2015 18:08:19 +0000 (+0200) Subject: build: Include flac afh only if libogg is available. X-Git-Tag: v0.5.5~3 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=a98308acf3821e7413dc9f7bd03e06a482b11022;hp=a98308acf3821e7413dc9f7bd03e06a482b11022;p=paraslash.git build: Include flac afh only if libogg is available. In configure.ac we have AC_DEFUN([NEED_FLAC_OBJECTS], [{ test "$HAVE_OGG" = 'yes' -a "$HAVE_FLAC" = 'yes' }]) In particular, we do not include the flac audio format handler on systems where libflac is installed but libogg is not. In afh_common.c, however, we only check for HAVE_FLAC. This results in a build failure on those systems. Fix this by modifying the check in afh_common.c to match the check in configure.ac. ---