mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
nodejs: add initial module
Change-Id: I12310bd4a5826e5658e5b7fe72a8a5ae6efe82d0
This commit is contained in:
14
configure.ac
14
configure.ac
@ -390,6 +390,20 @@ AC_ARG_ENABLE([ringns], AS_HELP_STRING([--disable-ringns], [Enable Ring Name Ser
|
||||
AM_CONDITIONAL([RINGNS], test "x$enable_ringns" != "xno", [Define if you use the Ring Name Service])
|
||||
AC_DEFINE_UNQUOTED([HAVE_RINGNS], `if test "x$enable_ringns" != "xno"; then echo 1; else echo 0; fi`, [Define if you use the Ring Name Service])
|
||||
|
||||
dnl Ring nodejs module
|
||||
AC_ARG_WITH([nodejs], AS_HELP_STRING([--with-nodejs], [Enable Ring NodeJS module]))
|
||||
AM_CONDITIONAL([RING_NODEJS], test "x$enable_nodejs" != "xno", [Define if you use the Ring NodeJS module])
|
||||
AC_DEFINE_UNQUOTED([HAVE_NODEJS], `if test "x$enable_ringns" != "xno"; then echo 1; else echo 0; fi`, [Define if you use the Ring NodeJS module])
|
||||
AS_IF([test "x$with_nodejs" = "xyes"], [
|
||||
AC_PATH_PROG(SWIG, swig, "")
|
||||
AS_AC_EXPAND(SBINDIR, $sbindir)
|
||||
AC_SUBST(SBINDIR)
|
||||
AC_CONFIG_FILES([bin/nodejs/Makefile])
|
||||
AM_CONDITIONAL(RING_NODEJS, true)
|
||||
],
|
||||
AM_CONDITIONAL(RING_NODEJS, false)
|
||||
);
|
||||
|
||||
# Rest C++ with restbed
|
||||
AC_ARG_WITH([restcpp],
|
||||
AS_HELP_STRING([--with-restcpp], [enable rest support with C++]))
|
||||
|
Reference in New Issue
Block a user