# $Id: configure.ac,v 1.1.1.1 2005-05-31 21:09:11 valerio Exp $ AC_INIT(CBIRaw, 1.0) dnl Checks the host. For now just Gnu-Linux and OSX-Darwin AC_CANONICAL_HOST system=$host case $system in *-linux*) OS_TYPE="LINUX" OS_DBGF="-ggdb" ;; *darwin*) OS_TYPE="OSX" LIBS="-lz" OS_DBGF="-g" ;; esac AC_SUBST(OS_TYPE) AC_SUBST(OS_DBGF) dnl this is to define where matlab lives AC_SUBST(TMW_ROOT) dnl Checks for programs. AC_PROG_CXX AC_PROG_CC AC_PROG_MAKE_SET AC_PROG_INSTALL dnl Checks for header files. AC_HEADER_STDC dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST dnl Checks for library functions. AC_OUTPUT(Makefile src/Makefile)