Fix search for cdda includes

This resolves Bug 1054
pull/1/head
Slávek Banko 11 years ago
parent 00fe437318
commit 5077373c0c

@ -37,6 +37,13 @@ dnl cdparanoia check
dnl -------------------------------------
AC_CHECK_HEADERS(cdda_interface.h, have_paranoia="yes", have_paranoia="no" )
if test x$have_paranoia != xyes; then
AC_CHECK_HEADERS(cdda/cdda_interface.h, have_paranoia="yes", have_paranoia="no" )
if test x$have_paranoia = xyes; then
cdda_includes="-I/usr/include/cdda"
fi
fi
AC_SUBST(cdda_includes)
dnl ----------------------------------
dnl Can soundkonverter be compiled?

@ -1,6 +1,6 @@
# set the include path for X, qt and KDE
INCLUDES = $(all_includes) -I$(top_srcdir)/src/metadata/ \
-I$(top_srcdir)/src/pluginloader/
-I$(top_srcdir)/src/pluginloader/ $(cdda_includes)
# these are the headers for your project
noinst_HEADERS = cdmanager.h cdopener.h combobutton.h config.h \

Loading…
Cancel
Save