From 2ba82ddbc1e3708bac942427ad590c8203fc1ecc Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 5 Sep 2011 16:40:11 -0400 Subject: [PATCH] Fix configure warnings Fix the following warnings when configuring: ... checking cdda_paranoia.h usability... no checking cdda_paranoia.h presence... yes configure: WARNING: cdda_paranoia.h: present but cannot be compiled ... --- configure.in | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 82165a0..50f0943 100644 --- a/configure.in +++ b/configure.in @@ -58,8 +58,16 @@ dnl do cdparanoia check if test "$enable_cdpar" = "yes"; then LIBS="$LIBS -lm" - AC_CHECK_HEADERS(cdda_interface.h cdda_paranoia.h) - AC_CHECK_HEADERS(cdda/cdda_interface.h cdda/cdda_paranoia.h) + AC_CHECK_HEADERS([cdda_interface.h cdda_paranoia.h], [], [], + [[#ifdef HAVE_CDDA_INTERFACE_H + # include + #endif + ]]) + AC_CHECK_HEADERS([cdda/cdda_interface.h cdda/cdda_paranoia.h], [], [], + [[#ifdef HAVE_CDDA_CDDA_INTERFACE_H + # include + #endif + ]]) AC_CHECK_LIB(cdda_interface,main, if test "$enable_shared_cdpar" = "yes"; then -- 2.20.1