diff options
author | Karel Zak | 2015-02-25 10:06:40 +0100 |
---|---|---|
committer | Karel Zak | 2015-02-25 10:06:40 +0100 |
commit | 81f55ab9043cfa26851a9dbeb356e5dc7f791a45 (patch) | |
tree | 8285ac67d464ad46ad4c8e8e44fe49ad11ce9f14 /configure.ac | |
parent | logger: move /dev/log to pathnames.h (diff) | |
download | kernel-qcow2-util-linux-81f55ab9043cfa26851a9dbeb356e5dc7f791a45.tar.gz kernel-qcow2-util-linux-81f55ab9043cfa26851a9dbeb356e5dc7f791a45.tar.xz kernel-qcow2-util-linux-81f55ab9043cfa26851a9dbeb356e5dc7f791a45.zip |
build-sys: add --disable-colors-default
The current util-linux is to have enabled colorized outputs by
default, this default behavior is possible to change by new configure
option --disable-colors-default.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4ae450663..122b5d532 100644 --- a/configure.ac +++ b/configure.ac @@ -1849,6 +1849,7 @@ AC_ARG_ENABLE([makeinstall-chown], ) AM_CONDITIONAL([MAKEINSTALL_DO_CHOWN], [test "x$enable_makeinstall_chown" = xyes]) + AC_ARG_ENABLE([makeinstall-setuid], AS_HELP_STRING([--disable-makeinstall-setuid], [do not do setuid chmod operations during "make install"]), [], [enable_makeinstall_setuid=yes] @@ -1856,6 +1857,15 @@ AC_ARG_ENABLE([makeinstall-setuid], AM_CONDITIONAL([MAKEINSTALL_DO_SETUID], [test "x$enable_makeinstall_setuid" = xyes]) +AC_ARG_ENABLE([colors-default], + AS_HELP_STRING([--disable-colors-default], [do not colorize output from utils by default]), + [], [enable_colors_default=yes] +) +AS_IF([test "x$enable_colors_default" = xyes], [ + AC_DEFINE([USE_COLORS_BY_DEFAULT], [1], [Enables colorized output from utils by default]) +]) + + AC_ARG_VAR([SUID_CFLAGS], [CFLAGS used for binaries which are usually with the suid bit]) AC_ARG_VAR([SUID_LDFLAGS], |