summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
...
* build-sys: add BUILD_GETOPTKarel Zak2014-05-211-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add BUILD_{BLKID,FINDFS,WIPEFS,FINDMNT}Karel Zak2014-05-211-0/+17
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add BUILD_{UUIDGEN,CAL,LOGGER,LOOP,MCOOKIE,NAMEI,WHEREIS}Karel Zak2014-05-211-0/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add UL_EXCLUDE_ARCH()Karel Zak2014-05-211-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add BUILD_{SFDISK,BLOCKDEV,MKSWAP,IOSIZE,MKFS}Karel Zak2014-05-211-0/+19
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-minixKarel Zak2014-05-211-0/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* lslogins(1): skeleton and argparsing for a new utilityOndrej Oprala2014-05-151-0/+5
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* cytune: remove from util-linuxSami Kerola2014-05-121-9/+0Star
| | | | | | | | | | | Assumption is there are not many who need this tool. Whom ever they might be the recommendation is to use the command from old util-linux release. Second reason to removal is difficulty to test hardware specific command when none of the active project members does not seem to have such. Basically the command has reached dead end what comes to maintainability of it. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* Revert "build-sys: gettexts 0.18 -> 0.18.2 due to MKDIR_P"Karel Zak2014-04-091-1/+1
| | | | | | | | | | | | | | This reverts commit 0576dbd3ea114dc35b797ad7216f1ed5814e7c6b. There is two possible ways: 1/ autotools complains that gettext 0.18 uses deprecated macro 2/ users complain that 0.18.2 is too new and they cannot rebuild We care about users and project contributors, so let's live for the next util-linux release with the old stupid gettext 0.18. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: consolidate systemd supportKarel Zak2014-04-091-26/+26
| | | | | | | | | | | | | | | * systemd (since v209) uses only one library (when compiled without --enable-compat-libs) * all systemd build-sys stuff is merged into HAVE_SYSTEMD (automake) and HAVE_LIBSYSTEMD (C macro) now * all is controlled by --with-systemd, default is to automatically check for systemd libs * no more --enable-socket-activation and --enable-journald Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: make qsort_r() optionalKarel Zak2014-04-041-0/+1
| | | | | | | | The function is no critical for fdisk functionality. The SUN label verification will check for less issues. All the verification code is optional ('v' fdisk command). Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: small fixes to libsmartcolsKarel Zak2014-04-041-2/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Use libsmartcols in libfdisk and cfdiskOndrej Oprala2014-04-031-1/+2
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* libsmartcols: documentationOndrej Oprala2014-04-031-0/+2
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* libsmartcols: add function to convert table to stringKarel Zak2014-04-031-0/+1
| | | | | | | Note that open_memstream() is POSIX-1.2008, so it's possible than not all libc have already implemented this function. Signed-off-by: Karel Zak <kzak@redhat.com>
* libsmartcols: add basic filesOndrej Oprala2014-04-031-0/+25
| | | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: gettexts 0.18 -> 0.18.2 due to MKDIR_PKarel Zak2014-03-211-1/+1
| | | | | | | | | | | | | | | | | | | The autopoint is designed to not use the latest installed bug fix release, if you specify AM_GNU_GETTEXT_VERSION([0.18]) in your configure.ac then it really uses 0.18, rather than also installed 0.18.2 or 0.18.3. It means that bug fix update has no any effect. Oh... The AM_PROG_MKDIR_P is deprecated for years, unfortunately still used in 0.18 gettext m4 stuff. This problem should be fixed in 0.18.2 where is the correct AC_PROG_MKDIR_P macro. If you do not have gettext 0.18.2 (or 0.18.3) then update. Signed-off-by: Karel Zak <kzak@redhat.com>
* cfdisk: fix slang usageKarel Zak2014-03-111-1/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove deprecated-mount/Karel Zak2014-03-051-11/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* logger: allow user to send structured journald messagesSami Kerola2014-03-041-0/+16
| | | | | | | | | | | | | This feature is hopefully mostly used to give MESSAGE_ID labels for messages coming from scripts, making search of messages easy. The logger(1) manual page update should give enough information how to use --journald option. [kzak@redhat.com: - add missing #ifdefs - use xalloc.h] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fstrim depends on libmountKarel Zak2014-01-171-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* uuidd: use pkg-config to find systemd-deamon supportSami Kerola2014-01-071-6/+7
| | | | | | | | [kzak@redhat.com: - remove USE_SOCKET_ACTIVATION and use HAVE_* as we use for another libs] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* po: add '--no-wrap' to msgmerge, to not wrap long message linesBenno Schulenberg2014-01-061-1/+1
| | | | | | | | This avoids unneeded churn during POT-file renewal and PO-file updates, as the PO files at the TP are made with '--no-wrap'. Signed-off-by: Benno Schulenberg <bensberg@justemail.net> Acked-by: Sami Kerola <kerolasa@iki.fi>
* libmount: remove smackfs* option when SMACK not enabledKarel Zak2013-11-121-0/+9
| | | | | | | | | | If there is no /sys/fs/smackfs then libmount removes smackfs*= mount options when compiled --with-smack. Note that we do the same for SELinux. References: http://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg13740.html Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.24)Karel Zak2013-10-211-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix tinfo congitionalKarel Zak2013-10-141-1/+1
| | | | | Reported-by: Andrej Ota <andrej@ota.si> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix {lib,sbin}dir pathsKarel Zak2013-10-141-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.24-rc2)Karel Zak2013-10-111-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use tinfo *or* ncurses for more(1), ul(1) and setterm(1)Karel Zak2013-10-041-4/+9
| | | | | | | | | | | | * it seems that we don't have to link the utils with ncurses, tinfo is enough. This change saves one unnecessary dependence. * libtinfo is also distributed with pkg-config files, so we can use PKG_CHECK_MODULES() as a primary source for LIBS and CFLAGS. * add TINFO_CFLAGS (although it's probably always empty) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: Check for type sighandler_t and use if presentMichael Forney2013-10-041-0/+4
| | | | | | | __sighandler_t is libc implementation specific and should not be relied upon. Instead, we fall back upon void (*)(int), as specified by POSIX. Signed-off-by: Karel Zak <kzak@redhat.com>
* include: Add missing includesMichael Forney2013-10-041-0/+1
| | | | | | | | sys/types.h: For u_char typedef sys/params.h: For MAXNAMLEN sys/ttydefaults.h: For various tty definitions (also add configure check) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: Use _POSIX_VERSION to determine support for %mMichael Forney2013-10-041-1/+7
| | | | | | | %m is included in POSIX 2008, so we can check if the libc implements that before failing. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: simplify python detectionSami Kerola2013-09-301-12/+7Star
| | | | | | | | This allows './configure --enable-most-builds' and 'make distcheck' to work when both python2 and python3 are installed, and user has set python version preference using symlink and PATH order. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* clean up term lib handlingMike Frysinger2013-09-301-13/+40
| | | | | | | | | | | | | | | | | The ncurses package has been providing pkg-config files for a while now. So let's start using them to get the proper linker & compiler flags. It can make a difference when ncurses is configured in a way that requires extra link time flags but util-linux doesn't provide them, or when the headers live in a weird place and util-linux can't find them. Since the NCURSES_LIBS is always defined for the Makefile, there's no need to gate on the HAVE_NCURSES conditional. When it's disabled, the var will simply be empty. With a minor tweak to how tinfo is handled, we can do the same thing -- we just always use TINFO_LIBS in the Makefile's. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* nologin: add new commandKarel Zak2013-09-301-0/+8
| | | | | | | Currently it's maintained as distro specific (or people use impolite /bin/false way). Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.24-rc1)Karel Zak2013-09-271-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: one install dir for all pylibmount stuffKarel Zak2013-09-271-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix static buildsKarel Zak2013-09-271-4/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix ${prefix} usage, be more verbose about py pathsKarel Zak2013-09-261-7/+11
| | | | | | | | | | | - incorrect ${prefix} and ${exec_prefix} usage in AC_CASE (bug introduced by commit 9f57e6e8) - disable python by default (you have to use --with-python) - add python paths to the finale ./configure info message Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: install to the correct python dirsKarel Zak2013-09-261-2/+1Star
| | | | | | | It seems we have to call AM_PATH_PYTHON() monster to get pyexec (shared libs) and python (scripts) directories. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: support --with-python[={2,3}]Karel Zak2013-09-201-16/+25
| | | | | | | | | | | | | | * we use pkg-config to get CGLAGS and LIBS, use package specific config (e.g. python-config) is non-sense. * default is to follow distribution and use pkg-config module name "python". This is probably symlink to python2.pc or python3.pc. * --with-python=2 forces to pkg-module "python2 >= 2" * --with-python=3 forces to pkg-module "python3 >= 3" Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: pylibmount will not work when python3 is presentSami Kerola2013-08-291-0/+6
| | | | | | | | | | | | | | | While compiling with up to date Archlinux I notice the recently added pylibmount does not link correctly. Failures inform fundamental types such as PyFileObject and PyFile_Type being missing. It seems automake AM_PATH_PYTHON will prefer the python in path, which for this distribution right now is python3. As some sort of go-around one can install older python, and symlink it to earlier in PATH lookup. $ ln -s /usr/bin/python2 $HOME/bin/python $ export PATH=$HOME/bin:$PATH Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: add CFLAGS and LDFLAGS for daemons and shared libsKarel Zak2013-08-271-0/+10
| | | | | | | | This is necessary for paranoid security guys who believe that things like "-Wl,-z,relro" or "-Wl,-z,bind_now" is a way how to make the world a safer place... Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add pylibmountKarel Zak2013-08-191-0/+21
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove deprecated elvtune commandKarel Zak2013-08-131-10/+0Star
| | | | | | The command is deprecated for years and useless with 2.6.x kernels. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: enable mesg(1) by defaultKarel Zak2013-08-131-2/+2
| | | | | | | It seems that our mesg(1) implementation is compatible with sysvinit, let's use it by default in mainstream distros. Signed-off-by: Karel Zak <kzak@redhat.com>
* last: clean up the begin of the fileKarel Zak2013-08-121-2/+2
| | | | | | .. and improve last(1) stuff in configure script. Signed-off-by: Karel Zak <kzak@redhat.com>
* last: merge sysvinit last/lastbOndrej Oprala2013-08-121-3/+11
| | | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use backticks rather than $() for commands in configureSami Kerola2013-08-011-3/+3
| | | | | | | | | | The configure had both backticks and $() in use. These command susbstitutions are mutually interchangeable, so one should pick only one form. In this case backticks were favored because they are known with greater range of shells, making the backticks to be more portable. References: https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Shell-Substitutions.html#index-g_t_0024_0028_0040var_007bcommands_007d_0029-1632 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: prefer AS_IF rather than shell 'if'Sami Kerola2013-08-011-85/+85
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>