1From 1bf575c16a957dfc5ee6913b462d24a4e882698e Mon Sep 17 00:00:00 2001 2From: Thomas Petazzoni <thomas.petazzoni@bootlin.com> 3Date: Sat, 18 Aug 2018 10:54:56 +0200 4Subject: [PATCH] Add an option to disable uuid module 5 6Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> 7--- 8 configure.ac | 9 +++++++++ 9 1 file changed, 9 insertions(+) 10 11diff --git a/configure.ac b/configure.ac 12index bd18ebe7582..6205e6782cf 100644 13--- a/configure.ac 14+++ b/configure.ac 15@@ -4318,6 +4318,15 @@ if test "$CURSES" = "no"; then 16 DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" 17 fi 18 19+AC_SUBST(UUID) 20+AC_ARG_ENABLE(uuid, 21+ AS_HELP_STRING([--disable-uuid], [disable uuid]), 22+ [ UUID="${enableval}" ], [ UUID=yes ]) 23+ 24+if test "$UUID" = "no"; then 25+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _uuid" 26+fi 27+ 28 AC_SUBST(PYDOC) 29 30 AC_ARG_ENABLE(pydoc, 31-- 322.44.0 33 34