Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
1c37197b
Commit
1c37197b
authored
3 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
autotools: cleanup nodejs
Change-Id: Ie5c67deace0664c2d8d9664ecb0f722fce13a57e
parent
8b09cd89
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+10
-18
10 additions, 18 deletions
configure.ac
with
10 additions
and
18 deletions
configure.ac
+
10
−
18
View file @
1c37197b
...
@@ -400,33 +400,25 @@ AS_IF([test "x$with_dbus" = "xyes"],
...
@@ -400,33 +400,25 @@ AS_IF([test "x$with_dbus" = "xyes"],
dnl name service is default-enabled
dnl name service is default-enabled
AC_ARG_ENABLE([ringns], AS_HELP_STRING([--disable-ringns],
AC_ARG_ENABLE([ringns], AS_HELP_STRING([--disable-ringns],
[Enable Name Service]))
[Enable Name Service]))
AM_CONDITIONAL([RINGNS], test "x$enable_ringns" != "xno",
AM_CONDITIONAL([RINGNS], test "x$enable_ringns" != "xno")
[Define if you use the Name Service])
AC_DEFINE_UNQUOTED([HAVE_RINGNS],
AC_DEFINE_UNQUOTED([HAVE_RINGNS],
`if test "x$enable_ringns" != "xno"; then echo 1; else echo 0; fi`,
`if test "x$enable_ringns" != "xno"; then echo 1; else echo 0; fi`,
[Define if you use the Name Service])
[Define if you use the Name Service])
AM_COND_IF([RINGNS],
[PKG_CHECK_MODULES(LIBCRYPTO, libcrypto,,
AC_MSG_ERROR([Missing libcrypto development files]))
PKG_CHECK_MODULES(LIBSSL, libssl,,
AC_MSG_ERROR([Missing libssl development files]))],
[]);
dnl nodejs module
dnl nodejs module
AC_ARG_WITH([nodejs], AS_HELP_STRING([--with-nodejs], [Enable NodeJS module]))
AC_ARG_WITH([nodejs], AS_HELP_STRING([--with-nodejs], [Enable NodeJS module]))
AM_CONDITIONAL([ENABLE_NODEJS], test "x$enable_nodejs" != "xno",
AM_CONDITIONAL(ENABLE_NODEJS, [test "x$with_nodejs" = "xyes"])
[Define if you use the NodeJS module])
AM_COND_IF([ENABLE_NODEJS],
AC_DEFINE_UNQUOTED([HAVE_NODEJS],
`if test "x$enable_ringns" != "xno"; then echo 1; else echo 0; fi`,
[Define if you use the NodeJS module])
AS_IF([test "x$with_nodejs" = "xyes"],
[AC_PATH_PROG(SWIG, swig, "")
[AC_PATH_PROG(SWIG, swig, "")
AS_AC_EXPAND(SBINDIR, $sbindir)
AS_AC_EXPAND(SBINDIR, $sbindir)
AC_SUBST(SBINDIR)
AC_SUBST(SBINDIR)
AC_CONFIG_FILES([bin/nodejs/Makefile])
AC_CONFIG_FILES([bin/nodejs/Makefile])])
AM_CONDITIONAL(ENABLE_NODEJS, true)],
[AM_CONDITIONAL(ENABLE_NODEJS, false)]);
AS_IF([test "x$enable_ringns" != "xno"],
[PKG_CHECK_MODULES(LIBCRYPTO, libcrypto,,
AC_MSG_ERROR([Missing libcrypto development files]))
PKG_CHECK_MODULES(LIBSSL, libssl,,
AC_MSG_ERROR([Missing libssl development files]))],
[]);
dnl Check for libav
dnl Check for libav
PKG_CHECK_MODULES(LIBAVUTIL, libavutil >= 54.31.100,,
PKG_CHECK_MODULES(LIBAVUTIL, libavutil >= 54.31.100,,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment