From ba461085a2982df41d0bdbd876560ef5b08b05ef Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 15 Apr 2019 15:35:53 +0200 Subject: build: document defaults consistently [default=meh] instead of (default is meh) or (default: meh). https://github.com/NetworkManager/NetworkManager/pull/344 --- m4/compiler_options.m4 | 4 ++-- m4/vapigen.m4 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'm4') diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index bf847bfc91..9f167a103b 100644 --- a/m4/compiler_options.m4 +++ b/m4/compiler_options.m4 @@ -142,7 +142,7 @@ fi ]) AC_DEFUN([NM_LTO], -[AC_ARG_ENABLE(lto, AS_HELP_STRING([--enable-lto], [Enable Link Time Optimization for smaller size (default: no)])) +[AC_ARG_ENABLE(lto, AS_HELP_STRING([--enable-lto], [Enable Link Time Optimization for smaller size [default=no]])) if (test "${enable_lto}" = "yes"); then CC_CHECK_FLAG_APPEND([lto_flags], [CFLAGS], [-flto -flto-partition=none]) if (test -n "${lto_flags}"); then @@ -156,7 +156,7 @@ fi ]) AC_DEFUN([NM_LD_GC], -[AC_ARG_ENABLE(ld-gc, AS_HELP_STRING([--enable-ld-gc], [Enable garbage collection of unused symbols on linking (default: auto)])) +[AC_ARG_ENABLE(ld-gc, AS_HELP_STRING([--enable-ld-gc], [Enable garbage collection of unused symbols on linking [default=auto]])) if (test "${enable_ld_gc}" != "no"); then CC_CHECK_FLAG_APPEND([ld_gc_flags], [CFLAGS], [-fdata-sections -ffunction-sections -Wl,--gc-sections]) if (test -n "${ld_gc_flags}"); then diff --git a/m4/vapigen.m4 b/m4/vapigen.m4 index 48051078d9..3ade411e3b 100644 --- a/m4/vapigen.m4 +++ b/m4/vapigen.m4 @@ -28,7 +28,7 @@ AC_DEFUN([VAPIGEN_CHECK], AC_ARG_ENABLE([vala], AS_HELP_STRING([--enable-vala[=@<:@no/auto/yes@:>@]], - [build Vala bindings [[default=auto]]]),, + [build Vala bindings [default=auto]]),, [enable_vala=auto]) AS_CASE([$enable_vala], [no], [], -- cgit v1.2.1