AC_INIT([wXMPPd], 1.0, [wxmppd-bugs@w00d5t0ck.info]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/wxmppd.c]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile src/Makefile modules/Makefile]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_CC AM_PROG_LIBTOOL PKG_CHECK_MODULES([LIBXML2], [libxml-2.0]) PKG_CHECK_MODULES([GLIB], [glib-2.0]) PKG_CHECK_MODULES([GMODULE], [gmodule-2.0]) LIBS="$LIBXML2_LIBS $GLIB_LIBS $GMODULE_LIBS $LIBS" CFLAGS="$LIBXML2_CFLAGS $GLIB_CFLAGS $GMODULE_CFLAGS $CFLAGS" AC_OUTPUT