Displaying 2 results from an estimated 2 matches for "flac_clfags".
Did you mean:
flac_cflags
2011 Mar 25
1
pkg-config output and <FLAC/assert.h>
...e one i made) is
> substantially preferable.
I've now taken to doing the following in my configure.ac file:
PKG_CHECK_MOD_VERSION(FLAC, flac >= 1.2.1, ac_cv_flac=yes, ac_cv_flac=no)
# Make sure the FLAC_CFLAGS value is sane, strip trailing '/FLAC'.
FLAC_CFLAGS=`echo $FLAC_CLFAGS | $SED "s/FLAC$//"`
Solve the problem for me and will still work when the flac.pc
file is fixed.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
2011 Mar 25
3
pkg-config output and <FLAC/assert.h>
Hi,
FLAC helpfully provides a flac.pc file. Unfortunately there is a
nasty interaction between that file and system header files.
If ones installs flac and relies on pkg-config to find the CFLAGS
one woulf get CFLAGS value of "-I${includedir}/FLAC" which suggests
that FLAC header files like <metadata.h> should be included as:
#include <metadata.h>
However, FLAC also