From cfc5ef65a2a21c9b66df4ca0e91a075b09815514 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 19 Jul 2018 09:47:21 +0200 Subject: [PATCH] configure: Clean code for --enable-embedded * Remove unneeded arguments for AC_ARG_ENABLE * Use AS_HELP_STRING * Use [] instead of () for default in help text Signed-off-by: Stefan Weil --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 7b4f325f..72f7f3a0 100644 --- a/configure.ac +++ b/configure.ac @@ -175,9 +175,7 @@ AM_CONDITIONAL([DISABLED_LEGACY_ENGINE], test "$enable_legacy" = "no") # check whether to build embedded version AC_MSG_CHECKING([--enable-embedded argument]) AC_ARG_ENABLE([embedded], - [ --enable-embedded enable embedded build (default=no)], - [enable_embedded=$enableval], - [enable_embedded="no"]) + AS_HELP_STRING([--enable-embedded], [enable embedded build [default=no]])) AC_MSG_RESULT([$enable_embedded]) AM_CONDITIONAL([EMBEDDED], [test "$enable_embedded" = "yes"]) if test "$enable_embedded" = "yes"; then