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 <cdda_interface.h>
+ #endif
+ ]])
+ AC_CHECK_HEADERS([cdda/cdda_interface.h cdda/cdda_paranoia.h], [], [],
+ [[#ifdef HAVE_CDDA_CDDA_INTERFACE_H
+ # include <cdda/cdda_interface.h>
+ #endif
+ ]])
AC_CHECK_LIB(cdda_interface,main,
if test "$enable_shared_cdpar" = "yes"; then