2011-01-25 14:51:07 +00:00
|
|
|
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
|
2011-01-26 16:54:57 +00:00
|
|
|
src/Makefile
|
|
|
|
modules/Makefile])
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2011-01-25 14:51:07 +00:00
|
|
|
AC_PROG_CC
|
2011-01-26 16:54:57 +00:00
|
|
|
AM_PROG_LIBTOOL
|
2011-01-25 14:51:07 +00:00
|
|
|
PKG_CHECK_MODULES([LIBXML2], [libxml-2.0])
|
|
|
|
PKG_CHECK_MODULES([GLIB], [glib-2.0])
|
2011-01-26 16:54:57 +00:00
|
|
|
PKG_CHECK_MODULES([GMODULE], [gmodule-2.0])
|
|
|
|
LIBS="$LIBXML2_LIBS $GLIB_LIBS $GMODULE_LIBS $LIBS"
|
|
|
|
CFLAGS="$LIBXML2_CFLAGS $GLIB_CFLAGS $GMODULE_CFLAGS $CFLAGS"
|
2011-01-25 14:51:07 +00:00
|
|
|
AC_OUTPUT
|
2011-01-26 16:54:57 +00:00
|
|
|
|