From a3f114993ca15feff364e9dad76fa1aada644031 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Wed, 2 Feb 2022 07:50:31 +0500 Subject: [PATCH] Main: document default features in README.md --- README.md | 9 +++++---- configure.ac | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e6baef3..80e3327 100644 --- a/README.md +++ b/README.md @@ -101,10 +101,11 @@ stable options. #### Features -* `--enable-bloat`, disable with `--disable-bloat` -* `--enable-float`, disable with `--disable-float` -* `--enable-pic`, disable with `--disable-pic` -* `--enable-werror`, disable with `--disable-werror` +* `--enable-float` (disable with `--disable-float`) - floating-point arithmetic +* `--enable-pic` (disable with `--disable-pic`) - generate position-independent + code +* `--enable-werror` (disable with `--disable-werror`) - fail on warning + (`CFLAGS+='-Werror'`) #### Packages diff --git a/configure.ac b/configure.ac index b289c2c..0d06a1f 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ AC_CANONICAL_HOST dnl Features (enabled by default) AC_ARG_ENABLE([bloat], AS_HELP_STRING([--disable-bloat], [disable unnecessary heavy binary data])) -AC_ARG_ENABLE([float], AS_HELP_STRING([--disable-float], [disable floating-point arithmeric])) +AC_ARG_ENABLE([float], AS_HELP_STRING([--disable-float], [disable floating-point arithmetic])) AC_ARG_ENABLE([pic], AS_HELP_STRING([--disable-pic], [do not generate position-independent code])) AC_ARG_ENABLE([werror], AS_HELP_STRING([--disable-werror], [disable -Werror])) @@ -127,7 +127,7 @@ AS_IF([test "$host_cpu" = x86_64], [AC_DEFINE([ASM_X86_64], [1] dnl Features (enabled by default) AS_IF([test "$enable_bloat" != no], [AC_DEFINE([ENABLE_BLOAT], [1], [enabled unnecessary heavy binary data])]) -AS_IF([test "$enable_float" != no], [AC_DEFINE([ENABLE_FLOAT], [1], [enabled floating-point arithmeric])]) +AS_IF([test "$enable_float" != no], [AC_DEFINE([ENABLE_FLOAT], [1], [enabled floating-point arithmetic])]) AS_IF([test "$enable_pic" != no], [AC_DEFINE([ENABLE_PIC], [1], [generate position-independent code])]) AS_IF([test "$enable_werror" != no], [AC_DEFINE([ENABLE_WERROR], [1], [enabled -Werror])])