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