add configure option '--disable-vty' to prevent building libosmovty
diff --git a/include/osmocom/Makefile.am b/include/osmocom/Makefile.am
index c9023e6..71293d1 100644
--- a/include/osmocom/Makefile.am
+++ b/include/osmocom/Makefile.am
@@ -1 +1,3 @@
+if ENABLE_VTY
 SUBDIRS = vty
+endif