# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.68]) AC_INIT([ico-vic-carsim], [0.9.06], [shibata@mac.tec.toyota.co.jp]) AM_INIT_AUTOMAKE([1.11 foreign]) AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC # Checks for libraries. PKG_CHECK_MODULES([GLIB], [glib-2.0]) AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) # Checks for header files. AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_TYPE_SIZE_T AC_TYPE_UINT16_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_STRTOD AC_CHECK_FUNCS([gettimeofday memset select socket strerror strncasecmp strrchr strtol]) AC_CONFIG_FILES([Makefile src/Makefile ]) AC_PROG_RANLIB AC_OUTPUT