summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* build-sys: let configure instantiate the misc-utils/*.pl scriptsStepan Kasal2007-05-161-0/+2
| | | | | | The substitution of @PERL@ is most done with AC_CONFIG_FILES. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: --prefix defaults to /usrStepan Kasal2007-05-161-1/+15
| | | | | | | Use prefix=/usr as the default setting. If prefix is /usr, make bindir and sbindir default to /bin and /sbin, respectively. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: remove swapargs.h, move the tests to main configure.acStepan Kasal2007-05-161-0/+23
| | | | | | | Do not use header swapargs.h, generated by script swap.configure; use the standard AC_DEFINE method in configure.ac. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: replace AC_TRY_* by AC_*_IFELSEStepan Kasal2007-05-161-21/+26
| | | | | | | The AC_TRY_* macros are deprecated. Following the suggestion from autoupdate, I have replaced them by AC_*_IFELSE. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: s/AC_HELP_STRING/AS_HELP_STRING/Stepan Kasal2007-05-161-26/+26
| | | | | | The macro has been renamed. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: do not use internal Autoconf variablesStepan Kasal2007-05-161-60/+61
| | | | | | | This is a cleanup of configure.ac removing the internal ac_cv_* variables. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: merge adjacent AC_CONFIG_HEADERS and AC_CONFIG_FUNCS callsStepan Kasal2007-05-161-23/+20Star
| | | | | | | Merge adjacent calls to AC_CONFIG_HEADERS--the generated configure is then smaller. Likewise for AC_CONFIG_FUNCS. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: do not set with_foo twiceStepan Kasal2007-05-161-26/+26
| | | | | | | | | It's redundant to set with_slang=$withval, and similar. (Inspect the generated configure; it contains withval=$with_slang; with_slang=$withval :-) Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: do not build convenience libraries in lib/Stepan Kasal2007-05-161-1/+0Star
| | | | | | | Build lib/*.c individually for each project which uses it, so that the right set of flags is applied each time. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: remove AC_PROG_RANLIBStepan Kasal2007-05-161-1/+0Star
| | | | | | libtoolize (1.5.16) says it's now obsolete. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: declare SUID_CFLAGS and SUID_LDFLAGS as preciousStepan Kasal2007-05-161-2/+4
| | | | | | | Use AC_ARG_VAR to declare the variables SUID_CFLAGS and SUID_LDFLAGS as precious. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: add SUID_LDFLAGSStepan Kasal2007-05-161-0/+1
| | | | | | | Programs which are usually installed with the setuid bit do need their own CFLAGS and LDFLAGS. SUID_LDFLAGS is analogic to SUID_CFLAGS. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: move the optimization flags to AM_CFLAGSStepan Kasal2007-05-161-2/+0Star
| | | | | | | | | The optimization flags are not preprocessor flags. Moreover, CPPFLAGS and CFLAGS shall be overridable at make time, the configure script shall not touch them. Setting AM_CFLAGS in config/include-Makefile.am seems to be TRW. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: add SUID_CFLAGSKarel Zak2007-04-251-0/+3
| | | | | | | | The patch allows to define special CFLAGS for typical suid programs (like mount, umount, chfn, ...). Some distributions use for example "-fpic" for suid binaries. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add library for LD_PRELOAD to manipulate with time() in testsKarel Zak2007-03-141-0/+1
| | | | | | | | The cal command generates output that depends on time(). For reliable regression tests we need to use still same time. It seems that LD_PRELOAD is pretty simple way. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add support for auditKarel Zak2007-03-121-0/+13
| | | | | | You can compile --with-audit now. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: configure.am selinux support cleanupKarel Zak2007-02-081-4/+4
| | | | | | | | | Changes: - don't include SELinux as default (--with-selinux is required) - the SELinux is not useful for login-utils only - clean up PAM and login-utils tests in the configure.am Signed-off-by: Karel Zak <kzak@redhat.com>
* Clean up pagesize/PAGE_SIZE usage.Karel Zak2007-02-061-1/+0Star
| | | | | | | | | Now all code in util-linux uses sysconf(_SC_PAGESIZE) that is standardized and preferred way of querying page size. The asm/page.h file is not included to the code anymore. (This patch doesn't change mount's FS detection code which will be removed later). Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add simple helper that returns info about systemKarel Zak2007-01-041-0/+1
| | | | | | usage: tests/helpers/mnt_test_sysinfo <infoname> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add basic infrastructure for regression testsKarel Zak2007-01-041-0/+2
| | | | | | | | | The patch adds tests/ directory with simple regression tests infrastructure. Also, it adds the "ts-mount-paths" test that testing if all defined paths (fstab, mtab, locks) are still same. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: rename to -ng, change maintainer nameKarel Zak2007-01-041-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing filesKarel Zak2007-01-041-1/+2
| | | | | | | This patch add all missing headers, man pages and README files to automake stuff and "make dist-gzip" produces useful tarball now. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove generated autotools stuff from gitKarel Zak2007-01-031-2/+23
| | | | | | | The generated autotools stuff shouldn't be maintained by SCM. After check out from git use ./autogen.sh. For more details see README.devel. Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre7 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.13-pre6 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.13-pre5 tarball.Karel Zak2006-12-071-5/+4Star
|