# AC_CHECK_FILES(["$IPC_HEADERS"],,[AC_MSG_ERROR(["$IPC_HEADERS" not found, Set path variable IPC_HEADERS])])
AC_INIT([libdce], [1.0.0], [http://www.ti.com])
dnl define PACKAGE_VERSION_* variables
dnl can autoconf find the source ?
AC_CONFIG_SRCDIR([libdce.c])
dnl set the autotools aux directory
AC_CONFIG_AUX_DIR([config])
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
dnl sets host_*, target_ variables
AM_INIT_AUTOMAKE([foreign])
dnl use pretty build output with automake >= 1.11
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
AC_SUBST(AM_DEFAULT_VERBOSITY)])
dnl *** autotools stuff ***
dnl allow for different autotools
dnl AS_AUTOTOOLS_ALTERNATE
dnl *** checks for platform ***
AC_DEFINE_UNQUOTED(CPU_`echo $target_cpu | tr a-z- A-Z_`,[1])
AC_DEFINE_UNQUOTED(OS_` echo $target_os | tr a-z- A-Z_`,[1])
dnl *** checks for programs ***
dnl Check for pkgconfig first
AC_CHECK_PROG([HAVE_PKGCONFIG], [pkg-config], [yes], [no])
dnl *** checks for libraries ***
PKG_CHECK_MODULES(DRM, libdrm libdrm_omap)
dnl *** checks for libraries ***
#PKG_CHECK_MODULES(MMRPC, libmmrpc)
dnl *** checks for header files ***
dnl check if we have ANSI C header files
dnl *** checks for types/defines ***
dnl *** checks for structures ***