dnl Process this file with autoconf to produce a configure script. AC_INIT(src/actions.c) AM_CONFIG_HEADER(config.h:acconfig.h) AM_INIT_AUTOMAKE(x48, 0.5.0) dnl Checks for programs. AC_PROG_INSTALL AC_PROG_LN_S dnl If we don't want -g output, set CFLAGS here dnl CFLAGS="" AC_PROG_CC dnl AC_PROG_RANLIB dnl Checks for libraries. dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_INLINE AC_TYPE_SIZE_T AC_HEADER_TIME AC_STRUCT_TM dnl Checks for library functions. AC_PROG_GCC_TRADITIONAL AC_FUNC_MEMCMP AC_CHECK_FUNCS(gettimeofday mkdir select strdup) AM_PATH_GTK(1.0.0, [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"], AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)) CFLAGS="$CFLAGS -Wall -DLINUX -DDATADIR=\\\"@datadir@\\\"" AC_OUTPUT(data/Makefile doc/Makefile pixmaps/Makefile src/Makefile Makefile)