dnl Process this file with autoconf to produce a configure script.
AC_INIT(xtp.c)
AC_ARG_PROGRAM
PACKAGE=ImageMagick
VERSION=3.8.6
dnl Determine which C compiler is being used.
AC_PROG_CC
AC_PROG_CPP
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_MAKE_SET
dnl Find the X11 include and library directories.
AC_PATH_XTRA
dnl Checks for header files.
AC_STDC_HEADERS
AC_HEADER_DIRENT
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADER(elf.h,AC_DEFINE(SVR4))
dnl Checks for plug-ins.
LIBS="$LIBS -lm"
AC_CHECK_LIB(socket,socket,LIBS="-lsocket $LIBS",,)
AC_CHECK_LIB(Xext,XShmAttach,AC_DEFINE(HasSharedMemory),,\$X_LIBS -lX11)
AC_OUTPUT(Makefile)
|