8216a42444
Added basic module loading capabilities. Created very basic modules Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
18 lines
494 B
Plaintext
18 lines
494 B
Plaintext
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
|
|
|