3 AM_INIT_AUTOMAKE([-Wall])
4 AM_CONFIG_HEADER(config.h)
14 #PKG_CHECK_MODULES(DEPS, gtk+-2.0 >= 2.2)
15 #AC_SUBST(DEPS_CFLAGS)
20 AC_CHECK_LIB(X11, XFlush, [X11=-lX11], [
21 echo "Unable to find Xlib libraries. You must have the Xlib development libraries installed in order to install xdock."
27 AC_CHECK_LIB([Imlib], [Imlib_init], [IMLIB=-lImlib], [
28 echo "Unable to find Imlib2 libraries. You can get these libraries from <http://ftp.gnome.org/pub/GNOME/sources/imlib/>."
34 AC_CHECK_LIB([pthread], [pthread_create], [PTHREAD=-lpthread])
37 # Checks for header files.
40 # Checks for typedefs, structures, and compiler characteristics.
42 *msys*) MMS_BITFIELDS='-mms-bitfields' ; WINSOCK='-lws2_32' ;;
43 *) MMS_BITFIELDS='' ; WINSOCK='' ;;
45 AC_SUBST([MMS_BITFIELDS])
48 # Checks for library functions.
49 AC_CONFIG_FILES([Makefile