From cc1318fd0bf8da2306961128ce2050d6af40238d Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 11 Jan 2013 14:00:25 +0400 Subject: [PATCH] configure.ac: change tests for apollo headers Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/18380c2e9451a659a5ca024f75e0fa215c69bbe3 Author: [CST] Focus Date: 2013-01-11 (Fri, 11 Jan 2013) --- configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0fddb3c50..d71a7885d 100644 --- a/configure.ac +++ b/configure.ac @@ -122,8 +122,15 @@ AC_ARG_ENABLE(cleanup, [ --enable-cleanup enable cleanup on exit], [AC_DEFINE(EXIT_CLEANUP,1,[enable cleanup on exit])]) -AC_CHECK_HEADERS(coolstream/cs_ir_generic.h) -AC_CHECK_HEADERS(coolstream/cs_frontpanel.h) +if test -e ${srcdir}/lib/libcoolstream/nevis_ir.h; then + AC_DEFINE(HAVE_COOLSTREAM_NEVIS_IR_H,1,[Define to 1 if you have the header file.]) +fi +if test -e ${srcdir}/lib/libcoolstream2/cs_ir_generic.h; then + AC_DEFINE(HAVE_COOLSTREAM_CS_IR_GENERIC_H,1,[Define to 1 if you have the header file.]) +fi +if test -e ${srcdir}/lib/libcoolstream2/cs_frontpanel.h; then + AC_DEFINE(HAVE_COOLSTREAM_CS_FRONTPANEL_H,1,[Define to 1 if you have the header file.]) +fi # # Check for libtdservicedb - the new one - for testing only