From: Hugo Villeneuve Date: Mon, 5 Sep 2011 20:40:11 +0000 (-0400) Subject: Fix configure warnings X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=2ba82ddbc1e3708bac942427ad590c8203fc1ecc;p=hvgrip.git 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 ... --- 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