summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: add --disable-mountAlon Bar-Lev2008-11-191-11/+23
| | | | | | | | | | | I use busybox for most of the utilities, still lacks a few that I wish to use from util-linux... So mount comes from busybox. And during the cross compile I don't want to compile the mount dependencies only to make the configure script happy... Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add -luuid to BLKID_LIBSKarel Zak2008-09-171-1/+1
| | | | | | | | The libblkid is always linked with libuuild, so this indirect dependence in BLKID_LIBS is not a problem. This change helps to people who compile util-linux-ng with non-standard prefix, ..etc. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: tgets is not in ncurses but in tinfoArkadiusz Miskiewicz2008-08-081-2/+2
| | | | | | | | ncurses library can be build with terminal related functions landing in separate libtinfo library. Check for ncurses function when testing ncurses library existence. Signed-off-by: Arkadiusz Miƛkiewicz <arekm@maven.pl>
* build-sys: release++ (v2.14)Karel Zak2008-06-091-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++Karel Zak2008-05-191-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add support ionice for Super-H architectureKarel Zak2008-05-191-0/+2
| | | | | Addresses-Red-Hat-Bugzilla: #446560 Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: add fallback for linux/personalityKarel Zak2008-05-131-0/+10
| | | | | | | | | | | | | | setarch.c:248: error: 'ADDR_NO_RANDOMIZE' undeclared (first use in this function) setarch.c:248: error: (Each undeclared identifier is reported only once setarch.c:248: error: for each function it appears in.) setarch.c:251: error: 'FDPIC_FUNCPTRS' undeclared (first use in this function) setarch.c:257: error: 'ADDR_COMPAT_LAYOUT' undeclared (first use in this function) setarch.c:260: error: 'READ_IMPLIES_EXEC' undeclared (first use in this function) Linux gzp1 2.4.36.1-gzp1 #1 SMP Tue Feb 19 10:23:48 CET 2008 i686 GNU/Linux Reported-By: Gabor Z. Papp <gzp@papp.hu> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++Karel Zak2008-04-281-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* scriptreplay: rewrite in CKarel Zak2008-04-141-1/+0Star
| | | | | | | | The dependence on Perl sucks... Co-Author: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: James Youngman <jay@gnu.org>
* build-sys: release++Karel Zak2008-03-251-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup "x$foo" usageKarel Zak2008-03-201-52/+52
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use ncursesw (wide version) when possibeKarel Zak2008-03-201-12/+29
| | | | | | | | | | Detect ncursesw and use it in place of ncurses when possible (default). Allow people to use classic (non-wide) version by --with-ncurses or disable all ncurses/ncursesw support by --without-ncurses. Co-Author: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add VARSUFFIX to UTIL_CHECK_LIBKarel Zak2008-03-201-6/+11
| | | | | | | | | | | | | | | | | | | The UTIL_CHECK_LIB macro follows the default autoconf behaviour and generates have_<libname> and HAVE_LIB<LIBNAME> variables. Some libraries are substitutional (e.g. ncurses and ncursesw). It would be nice to generate for that libraries the same HAVE_ variables independently on a library name. This patch adds optional VARSUFFIX option to UTIL_CHECK_LIB, so the final variables are have_<varsuffix> and HAVE_LIB<VARSUFFIX>. For example: UTIL_CHECK_LIB(yyy, func) generates have_yyy and HAVE_LIBYYY UTIL_CHECK_LIB(yyy, func, xxx) generates have_xxx and HAVE_LIBXXX Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use pkg-config to find the libs for static buildStepan Kasal2008-02-181-5/+17
| | | | Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: do not add -luuid to BLKID_LIBSStepan Kasal2008-02-181-1/+1
| | | | | | | * configure.ac: Do not include -luuid in BLKID_LIBS, the library dependencies handle this. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: add --enable-static-programsStepan Kasal2008-02-181-0/+63
| | | | | | | | Add support for static versions of mount, umount, losetup, fdisk, and sfdisk. Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Stepan Kasal <skasal@redhat.com>
* setterm: add -blan [force|poke] options for TIOCL_{BLANKED,BLANK}SCREENSamuel Thibault2008-02-081-0/+1
| | | | | | | | | | Linux has some interface to force an immediate blank (TIOCL_BLANK/UNBLANKSCREEN) or get the blank status (TIOCL_BLANKEDSCREEN), which is useful e.g. for blind people. Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add AC_CANONICAL_HOSTMiklos Szeredi2008-01-081-0/+1
| | | | | | This seems to be needed in certain environments. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
* build-sys: disable syscall fallbacks for non-linux systemsKarel Zak2008-01-031-11/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tailf: inotify based reimplementationKarel Zak2007-12-171-0/+1
| | | | | | | | | This patch: - clean up tailf(1) code - remove stupid "for() { malloc() }" array allocation in the tailf() function - add inotify(7) support Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move test_bkdev to lib/Karel Zak2007-11-281-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup usage of linux/major.hSamuel Thibault2007-11-281-1/+1
| | | | | | | | The utils like fdisk or login are usable on non-linux systems. This patch allows to compile on systems without linux/major.h. Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* namei: non-linux support (get_current_dir_name() and PATH_MAX)Karel Zak2007-11-261-0/+1
| | | | | Co-Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: non-linux supportSamuel Thibault2007-11-081-0/+8
| | | | | | | Here is a patch that disables linux-specific tools on non-linux targets. Signed-Off-By: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-Off-By: Karel Zak <kzak@redhat.com>
* lib: add linux_version.{c,h}Stefan Krah2007-11-061-1/+2
| | | | | Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add err.h checkKarel Zak2007-10-161-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: unify method for checking system calls and fallback handlingMike Frysinger2007-09-201-14/+69
| | | | | | Co-Author: Stepan Kasal <skasal@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: nls/locale handling in util-linux-ng generalMike Frysinger2007-09-191-0/+1
| | | | | | | | | | | | | | | On Monday 03 September 2007, Karel Zak wrote: > http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/590/focus=592 > > I agree that we need a better support for compilation without > locales, but from my point of view NLS != all locales stuff. The NLS > support is subset only. thinking about the input from everyone, i'd propose the attached ... Only pull in locale.h as needed and move it to the common nls.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* build-sys: set AC_PREREQ to 2.60, increment version to 2.14Karel Zak2007-09-021-2/+2
| | | | | | | The autoconf >= 2.60 supports @localedir@ and others new directory variables. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++Karel Zak2007-08-281-1/+1
| | | | | | Increment release number to v2.13 Signed-off-by: Karel Zak <kzak@redhat.com>
* setarch: finish adding parisc supportKarel Zak2007-08-271-0/+1
| | | | | Signed-off-by: LaMont Jones <lamont@mmjgroup.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* taskset: check for existence of sched_getaffinityMike Frysinger2007-08-271-0/+10
| | | | | | | Some architectures do no reliably provide sched_getaffinity, so make sure the define exists before we try using it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* build-sys: add --disable-makeinstall-chownKarel Zak2007-08-141-0/+6
| | | | | | | | A chown-like operations are unexpected when you execute "make install" as non-root user. For example RPM defines owner+permissions in .spec file -- you needn't to use root account to create useful RPM package. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++Karel Zak2007-08-081-1/+1
| | | | | | Increment release number to v2.13-rc3. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove asm/page.h testKarel Zak2007-07-181-8/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add warning when libuuid is not foundKarel Zak2007-07-181-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++Karel Zak2007-07-171-1/+1
| | | | | | Increment release number to v2.13-rc2. Signed-off-by: Karel Zak <kzak@redhat.com>
* sys-utils: add arch(1) back to the official treeKarel Zak2007-07-111-1/+5
| | | | | | | | | | | | | | This patch add arch(1) back to util-linux source code tree, but the command is not installed by defautl. For more details see "./configure --help". The arch command is deprecated in favor of "uname -m" (coreutils). The latest (6.9+) version of coreutils also supports arch(1) as an alias to "uname -a". Please, if you need arch(1) use the coreutils implementation. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove libtoolKarel Zak2007-07-111-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: cleanup before releaseKarel Zak2007-07-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix linking when ncurses is built with --with-termlib=tinfoArkadiusz Miskiewicz2007-07-021-0/+4
| | | | | | | | | | When system ncurses is built with --with-termlib=tinfo option then there are two libraries - libtinfo (which contains terminal related functions) and libncurses (rest). Correctly link against libtinfo in such case. Signed-off-by: Arkadiusz Miskiewicz <arekm@maven.pl>
* build-sys: cleanup architecture conditionalsKarel Zak2007-07-021-8/+17
| | | | | | | This patch also add some new architectures for AM_CONDITIONAL(ARCH_ ...) Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: use encoded labels for volume_idKay Sievers2007-06-261-1/+1
| | | | | | The current version of libvolume_id exports the encoding function for the symlinks names, so slashes in labels and other chars, that don't really fit into symlink names, will work as expected with LABEL=.
* build-sys: fix HAVE_NCURSESKarel Zak2007-06-141-3/+7
| | | | | | The HAVE_NCURSES in config.h is required by the misc-utils/cal.c. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: minor fixes in configure.inKarel Zak2007-05-231-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add functions for label, uuid and fstype detectionKarel Zak2007-05-181-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: fsprobe: add libvolume_id support to configure.acKarel Zak2007-05-171-1/+19
| | | | | | | | | The patch add new option --with-fsprobe=<name> (where the <name> is blkid or volume_id). The blkid is default. The mount cannot be compiled without a filesystem detection library. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add AC_GNU_SOURCEKarel Zak2007-05-161-0/+1
| | | | | | | | The widechar code doesn't compile correctly without _GNU_SOURCE (at least according to reports from testers. I don't see the problem on FC6.) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add Automake option dist-bzip2Stepan Kasal2007-05-161-1/+1
| | | | | | We distribute .tar.bz2 along with .tar.gz . Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: in configure.ac, change "po" -> "$srcdir/po"Stepan Kasal2007-05-161-2/+2
| | | | Signed-off-by: Stepan Kasal <skasal@redhat.com>