dnl Process this file with autoconf to produce a configure script. AC_INIT AM_INIT_AUTOMAKE(libmozembed, 1.9.0) dnl create a config.h file (Automake will add -DHAVE_CONFIG_H) AC_CONFIG_HEADERS([config.h]) AC_SUBST(VERSION) ISODATE=`date +%Y-%m-%d` AC_SUBST(ISODATE) AC_CANONICAL_HOST AC_PROG_LIBTOOL AC_PROG_INSTALL AC_PROG_CC AC_PROG_CXX AC_HEADER_STDC AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h ) AC_HEADER_MAJOR AC_FUNC_ALLOCA AC_STRUCT_TM AC_STRUCT_ST_BLOCKS AC_FUNC_CLOSEDIR_VOID AC_CHECK_FUNCS(mkfifo) AC_CHECK_FUNC(mknod) CFLAGS='-g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings' AC_CONFIG_FILES([ Makefile mozembed.lsm mozembed.spec src/Makefile webcontrol/Makefile ]) AC_OUTPUT