Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 298df45..1f1675f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,11 @@ test -n "$NODE" || AC_MSG_ERROR([missing Node.js])
AC_MSG_CHECKING([node version])
node_version=$($NODE --version | sed 's/^v//')
-AC_SUBST([NODE_VERSION], [$node_version])
AC_MSG_RESULT([$NODE_VERSION])
+AC_ARG_VAR([TS_NODE_VERSION], [Version to use for @types/node dependency])
+TS_NODE_VERSION=${TS_NODE_VERSION:-$node_version}
+
# graphviz
AC_ARG_VAR([TWOPI], [Graphviz twopi layout])
AC_CHECK_PROGS(TWOPI, [twopi])