mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
configure.ac: When using rebar3, unlock dependencies that are disabled (#4212)
This commit is contained in:
parent
b461657407
commit
f15d5d073e
16
configure.ac
16
configure.ac
@ -333,3 +333,19 @@ AC_SUBST(CPPFLAGS)
|
|||||||
AC_SUBST(LDFLAGS)
|
AC_SUBST(LDFLAGS)
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
AS_CASE([$rebar],
|
||||||
|
[*rebar3], [
|
||||||
|
deps=""
|
||||||
|
AS_IF([test "x$stun" = "xfalse"], [deps="stun,$deps"])
|
||||||
|
AS_IF([test "x$sqlite" = "xfalse"], [deps="sqlite3,$deps"])
|
||||||
|
AS_IF([test "x$pgsql" = "xfalse"], [deps="p1_pgsql,$deps"])
|
||||||
|
AS_IF([test "x$mysql" = "xfalse"], [deps="p1_mysql,$deps"])
|
||||||
|
AS_IF([test "x$zlib" = "xfalse"], [deps="ezlib,$deps"])
|
||||||
|
AS_IF([test "x$sip" = "xfalse"], [deps="esip,$deps"])
|
||||||
|
AS_IF([test "x$redis" = "xfalse"], [deps="eredis,$deps"])
|
||||||
|
AS_IF([test "x$pam" = "xfalse"], [deps="epam,$deps"])
|
||||||
|
AS_IF([test "x$deps" = "x"], [],
|
||||||
|
[echo "unlocking disabled rebar3 dependencies: $deps"
|
||||||
|
$rebar unlock "$deps"])
|
||||||
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user