dnl Process this file with autoconf to produce a configure script. AC_INIT(xloadimage.c) AC_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_CC dnl Checks for header files. AC_PATH_XTRA AC_HEADER_STDC AC_CHECK_HEADERS(malloc.h strings.h sys/time.h unistd.h) dnl Checks for libraries. dnl Replace `main' with a function in -lm: AC_CHECK_LIB(m, main) dnl Replace `main' with a function in -lz: AC_CHECK_LIB(z, main) dnl Replace `main' with a function in -lpng: AC_CHECK_LIB(png, main) dnl Replace `main' with a function in -ljpeg: AC_CHECK_LIB(jpeg, main) dnl Replace `main' with a function in -ltiff: AC_CHECK_LIB(tiff, main) dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. AC_TYPE_SIGNAL AC_CHECK_FUNCS(select) AC_OUTPUT(Makefile)