# Process this file with autoconf to produce a configure script. AC_INIT(tracy/src/t2elem.cc) AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE(Tracy, 3.5) AM_CONFIG_HEADER(config.h) # Checks for programs. AC_PROG_AWK # Check for compiler in this order # icc is on the Cluster # gcc otherwise MAC, Linux AC_PROG_CC([icc gcc]) AM_PROG_CC_STDC AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_CPP AC_PROG_RANLIB AC_PROG_CXX(gcc) AM_PROG_CC_C_O AC_PROG_F77(gfortran) # Checks for libraries. # Checks for header files. AC_CHECK_HEADERS([stdlib.h string.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T # Checks for library functions. AC_OUTPUT(Makefile TPSA/Makefile tracy/Makefile tracy/src/Makefile tools/Makefile)