dnl Process this file with autoconf to produce a configure script. AC_INIT(gaddr.c) dnl AM_INIT_AUTOMAKE(gaddr, 1.1.2) dnl Checks for programs. AC_PROG_CC AM_PATH_GTK(1.2.0, [LIBS="$LIBS $GTK_LIBS" CFLAGS="$CFLAGS $GTK_CFLAGS"], AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)) AC_ARG_ENABLE(gnome, [ --enable-gnome compile as a GNOME app],enable_gnome=yes,) if test "$enable_gnome" = yes ; then GNOME_INIT GNOME_X_CHECKS CFLAGS="$CFLAGS -DUSE_GNOME" fi dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(malloc.h) dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. AC_CHECK_FUNCS(strstr) AC_OUTPUT(Makefile)