dnl Process this file with autoconf to produce a configure script. dnl Auto* initialization AC_INIT(xwinclip, 2.0.0) AC_CONFIG_SRCDIR(xwinclip.c) AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2]) AC_CONFIG_HEADERS([config.h]) dnl Checks for programs. AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LIBTOOL AC_PROG_LN_S AC_PROG_MAKE_SET dnl Checks for libraries. NEEDED="xfixes x11" PKG_CHECK_MODULES(XWINCLIP, $NEEDED) AC_SUBST(NEEDED) dnl Checks for header files. dnl Checks for library functions. dnl Checks for host case $host_os in cygwin*) AC_DEFINE(HAS_DEVWINDOWS,1,[Cygwin has /dev/windows for signaling new Windows messages]) ;; mingw*) AC_DEFINE(HAS_WINSOCK,1,[Use Windows sockets]) ;; esac AC_CONFIG_FILES([xwinclip.pc xwinclip.man Makefile]) AC_OUTPUT