summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* ldattach: GSM0710 support, add intro modem commandKarel Zak2014-11-181-0/+1
| | | | | | | | | | Patch add: --intro-command string : send command to modem --pause value : define delay between intro command and ldattach Based on patch from Martin Schmid <scm@aps-systems.ch> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: make scanf_cv_alloc_modifier to work [LeakSanitizer]Sami Kerola2014-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | The tests failed with following message in config.log ERROR: LeakSanitizer: detected memory leaks Direct leak of 2 byte(s) in 1 object(s) allocated from: #0 0x49a40e in realloc (/home/src/util-linux/conftest+0x49a40e) #1 0x7fbe48633e69 in __GI__IO_vfscanf (/usr/lib/libc.so.6+0x56e69) #2 0x7fbe48649786 in _IO_vsscanf (/usr/lib/libc.so.6+0x6c786) which knocked out libmount from build, and commands depending on it. The reason this change makes sense is that AddressSanitizer seems like a good addition to set of tools that util-linux package can use, when and if needed. Reference: https://code.google.com/p/address-sanitizer/wiki/AddressSanitizer Reviewed-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: properly check for -lrtKarel Zak2014-10-271-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: provide version as int for better compiletime testSøren Holm2014-10-141-0/+3
| | | | Signed-off-by: Søren Holm <sgh@sgh.dk>
* build-sys: add hint about 'make'Karel Zak2014-10-071-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* sfdisk: implement --listKarel Zak2014-10-071-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix mnt_is_readonly() #ifdefKarel Zak2014-10-071-1/+1
| | | | | | | This issue affects util-linux portability to GNU/HURD Reported-by: Pino Toscano (from Red Hat) Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'misc' of git://github.com/kerolasa/lelux-utiliteetitKarel Zak2014-09-221-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'misc' of git://github.com/kerolasa/lelux-utiliteetit: textual: share crypt() error message in sulogin and newgrp newgrp: avoid use of obsolete getpass() function newgrp: use libc function to read gshadow if it is available setarch: use personality() system call when it is available setarch: reindent code hwclock: remove referal to deprecated keyboard interface eject: make open_device() and select_speed() to use struct eject_control eject: add struct eject_control to remove global variables mountpoint: simplify if statement mkfs.minix: fix couple compiler warnings mountpoint: add struct mountpoint_control last: improve code readability by renaming variable names last: make is_phantom() when kernel config does not include audit support lib: remove xgetpass() include: simplify fputc_careful() in carefulputc.h libuuid: add extern qualifiers to uuid/uuid.h system header
| * newgrp: use libc function to read gshadow if it is availableSami Kerola2014-09-191-0/+1
| | | | | | | | | | | | | | The glib versionf of getsgnam() is using /etc/nsswitch.conf, allowing the group passwords to come from external database. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | build-sys: build libmount everywhereAndreas Henriksson2014-09-221-1/+1
|/ | | | | | | | | | | | This enables libmount to build on non-linux, which also means we can build fsck on non-linux again. (Since the context part of libmount still needs porting, building the mount utility has instead been restricted to only build on Linux.) This has been build-tested on Debian GNU/kFreeBSD. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
* build-sys: use -lutil for BSD onlyKarel Zak2014-09-171-1/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libfdisk: remove dependence on libsmartcolsKarel Zak2014-08-131-1/+1
| | | | | | It's application business to convert libfdisk_table to string. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix double prefix with explict --libdirChristoph Junghans2014-08-011-1/+1
| | | | | | | | | * with configure --prefix=$HOME --libdir=$HOME usrlib_execdir ends up being ${exec_prefix}/${libbir}, which is double-prefixed * fix: use explict given ${libbir} if is matches ${prefix}/* Signed-off-by: Christoph Junghans <ottxor@gentoo.org>
* zrmactl: add new command to control /dev/zramN devicesKarel Zak2014-08-011-0/+8
| | | | | Co-Author: Timofey Titovets <nefelim4ag@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: Reprompt and reprint /etc/issue when askedStef Walter2014-07-281-0/+1
| | | | | | | | | | | | | | | | | | | | | Add an 'agetty --reload' command which asks all running agetty commands to display their prompts again. Several of the /etc/issue escape codes such as \4 and \S depend on variable data which can change after the agetty prompt is displayed. This can cause stale data to be displayed when a user looks at a VT, especially in cases of DHCP racing with system start up. We never want this to occur once the user has started typing a user name. So we detect when the user starts typing, after which no further reprompting occurs after that point. [kzak@redhat.com: - add #ifdefs to make it usable on non-inotify systems, - use futimens() with NULL timespec - add --reaload to usage()] Signed-off-by: Stef Walter <stefw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add -Wimplicit-function-declaration to compiler warningsKarel Zak2014-07-281-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix switch_root/pivot_root cut-n-paste error in configure.acAndreas Henriksson2014-07-241-1/+1
| | | | | | | The "linux only" check for pivot_root seems to suffer from a cut-n-paste problem from the earlier switch_root part. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
* build-sys: release++ (v2.25)Karel Zak2014-07-221-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: harmonize some indentationBenno Schulenberg2014-07-171-9/+9
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* build-sys: release++ (v2.25-rc2)Karel Zak2014-07-021-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fixes for non-Linux systemsSamuel Thibault2014-06-191-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: support ./configure ADJTIME_PATH=Karel Zak2014-06-191-0/+6
| | | | | | | .. to override the default /etc/adjtime path. Reported-by: Bruce Dubbs <bruce.dubbs@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.25-rc1)Karel Zak2014-06-181-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix autopoint gettext version funRuediger Meier2014-06-101-1/+1
| | | | | | | | | | We avoid or fix many portability issues. The first more generic "sort --version-sort" solution was almost useless anyway because autopoint itself can also only deal with a few hardcoded versions. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: use gettext 0.18.3 if possibleRuediger Meier2014-06-101-1/+2
| | | | | | | | | We add a little hack for backward compatibility on systems with older gettext installed See 0576dbd3 and 81ed13ed. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* cfdisk: resize UI on SIGWINCHKarel Zak2014-06-051-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix with_python usage, improve logicKarel Zak2014-06-041-5/+8
| | | | | | | We have to set the default withval= on the default with_python=check otherwise uninitialized value is used. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --enable-pylibmountKarel Zak2014-06-041-6/+10
| | | | | | | | | * globally disable all Python bindings by --without-python * use --with-python=<version> to specify Python version * --enable-pylibmount to override --disable-all-programs Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: don't compile deprecated last(1) on --enable-all-programsKarel Zak2014-06-021-2/+3
| | | | | Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix typo, set HAVE_LIBUUIDKarel Zak2014-05-281-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: enable chfn and chsh by defaultKarel Zak2014-05-281-1/+1
| | | | | | | The util-linux version (is the best:-) uses libuser, so it usable for non-local users (LDAP, etc.). Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing dependencies to libsmartcolsKarel Zak2014-05-271-3/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-all-programsKarel Zak2014-05-271-69/+74
| | | | | | | | | | | | | This is necessary to build only explicitly specified program/library, for example to build only libblkid.so ./configure --disable-all-programs --enable-libblkid or to build only hwclock(8): ./configure --disable-all-programs --enable-hwclock Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix typo, sparc vs spark (62b2c024)Ruediger Meier2014-05-231-1/+1
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: fix typo, look vs loop (1b15cbd1)Ruediger Meier2014-05-231-1/+1
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: add BUILD_{COL,COLCRT,COLRM,COLUMN,HEXDUMP,REV,TAILF}Karel Zak2014-05-211-0/+21
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add BUILD_{SCRIPT,SCRIPTREPLAY}Karel Zak2014-05-211-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add BUILD_ vars for all Linux-only utilsKarel Zak2014-05-211-0/+50
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add BUILD_CHRTKarel Zak2014-05-211-2/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* 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>