1dnl Process this file with autoconf to produce a configure script. 2AC_INIT(xloadimage.c) 3AC_CONFIG_HEADER(config.h) 4 5dnl Checks for programs. 6AC_PROG_CC 7 8dnl Checks for header files. 9AC_PATH_XTRA 10AC_HEADER_STDC 11AC_CHECK_HEADERS(malloc.h strings.h sys/time.h unistd.h) 12 13dnl Checks for libraries. 14dnl Replace `main' with a function in -lm: 15AC_CHECK_LIB(m, main) 16dnl Replace `main' with a function in -lz: 17AC_CHECK_LIB(z, main) 18dnl Replace `main' with a function in -lpng: 19AC_CHECK_LIB(png, main) 20dnl Replace `main' with a function in -ljpeg: 21AC_CHECK_LIB(jpeg, main) 22dnl Replace `main' with a function in -ltiff: 23AC_CHECK_LIB(tiff, main) 24 25 26dnl Checks for typedefs, structures, and compiler characteristics. 27 28dnl Checks for library functions. 29AC_TYPE_SIGNAL 30AC_CHECK_FUNCS(select) 31 32AC_OUTPUT(Makefile) 33