AC_INIT([src/venus_gps.c]) AM_INIT_AUTOMAKE([venus-gps], [0.1.0]) AM_CONFIG_HEADER([config.h]) AC_PROG_CC AC_PROG_INSTALL AC_PROG_MAKE_SET AC_HEADER_STDC AC_CHECK_HEADERS([unistd.h getopt.h errno.h time.h termios.h sys/types.h \ sys/stat.h fcntl.h stdarg.h asm/byteorder.h netdb.h stdint.h signal.h], [],AC_MSG_ERROR([ required header missing])) AC_CHECK_LIB([pthread], [pthread_create], [], [], []) AC_DEFINE([DEBUG], 0, [set to 1 to enable debug]) AC_DEFINE([CONFIG_USE_SYSLOG], 0, [set to 1 to use syslog for logging]) AC_OUTPUT([Makefile src/Makefile])