crpc/configure.ac

28 lines
605 B
Plaintext

AC_INIT([ipsp-rpc], [0.1], [bug-report@address])
AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])
AC_PROG_C
AM_PROG_AR
LT_INIT
AC_CONFIG_MACRO_DIRS([m4])
AC_SEARCH_LIBS([uv_loop_init], [uv], [],
[AC_MSG_ERROR(Missing the libuv library.)])
AC_ARG_WITH([mpack],
[AS_HELP_STRING([--without-mpack],
[disable support for mpack])],
[],
[with_mpack=yes])
AS_IF([test "x$with_mpack" = xyes],
[dnl AC_CONFIG_SUBDIRS([mpack])
AC_SUBST([HAVE_MPACK], [1])],
[AC_SUBST([HAVE_MPACK], [0])])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT