From 915fa39d0f927712f7a468c0a2f4497aef0a3b0f Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Sat, 29 Apr 2017 08:51:51 +0200 Subject: Add --enable-rust configure switch Introduce a way to optionally enable Rust integration for our builds. No actual Rust code is added yet and specifying the flag has no effect other than failing the build if rustc and cargo are unavailable. --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index be1dc7f7ef..b8aa049da1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,6 +25,12 @@ else TESTING_TOR_BINARY=$(top_builddir)/src/or/tor$(EXEEXT) endif +if USE_RUST +rust_ldadd= +else +rust_ldadd= +endif + include src/include.am include doc/include.am include contrib/include.am -- cgit v1.2.3-54-g00ecf