summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: add HAVE_LIBBLKID_INTERNALKarel Zak2009-10-271-2/+1Star
| | | | | | | It's better to use one macro for all situations where we depends on in-tree (internal) libblkid. Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add BLKID_{VERSION,DATE} to blkid.hKarel Zak2009-10-271-0/+2
| | | | | | | | The original e2fsprogs has BLKID_{VERSION,DATE} macros in blkid.h. Although the macros are not updated for many years in e2fsprogs. So I guess nobody uses it. Signed-off-by: Karel Zak <kzak@redhat.com>
* lib: import whole ismounted.c code from e2fsprogsKarel Zak2009-10-141-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: clean up gtk-doc usageKarel Zak2009-10-121-1/+1
| | | | | | | | | | | Currently gtk-doc is optional. Unfortunately, the ./configure script still depends on GTK_DOC_CHECK macro and shlibs/blkid/docs/Makefile.am depends on gtk-doc.make. It seems that the best solution is to add gtk-doc.[make,m4] files to the repository. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: check for union semun instead of using _SEM_SEMUN_UNDEFINEDGuillem Jover2009-10-091-0/+5
| | | | | | | | | | | | | | Older versions of glibc used to declare ‘union semun’ in <sys/sem.h>, but POSIX.1-2001 requires the caller to declare it instead. Later versions of glibc started defining _SEM_SEMUN_UNDEFINED to note that the union was not being declared, but conforming systems are not required to define that macro (e.g. FreeBSD). As a side effect we get rid of some obsolete __GNU_LIBRARY__ macro usage. [kzak@redhat.com: - use #ifndef] Signed-off-by: Guillem Jover <guillem@hadrons.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: enable silent rules if automake >= 1.11Guillem Jover2009-10-091-0/+3
| | | | | | | Make the build silent if the system has a new enough automake, otherwise keep the current behaviour. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* build-sys: detect if volatile is availableGuillem Jover2009-10-091-0/+1
| | | | | | | Do not defined volatile away on non-Linux systems, detect its presence using AC_C_VOLATILE instead. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* build-sys: detect if const is availableGuillem Jover2009-10-091-0/+1
| | | | | | | | Some systems define __STDC__ and do not have a working const, some do not define the macro but do have a working const. Use AC_C_CONST to check for its presence. Signed-off-by: Guillem Jover <guillem@hadrons.org>
* build-sys: fix BUILD_PIVOT_ROOT conditionKarel Zak2009-10-061-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup --disable-{fallocate,pivot_root,unshare}Karel Zak2009-10-061-16/+73
| | | | | | | | * add --disable-fallocate * add --disable-pivot_root * cleanup --disable-unshare Signed-off-by: Karel Zak <kzak@redhat.com>
* unshare: new commandMikhail Gusarov2009-10-061-0/+18
| | | | | | | | | | | | New utility allows to run process with separate mount, UTC, IPC or network namespaces. [kzak@redhat.com: - some cosmetic changes in usage() and err() usage - move "if BUILD_UNSHARE" to separate place in Makefile.am - add unshare to .gitignore] Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-makeinstall-setuidKarel Zak2009-09-301-0/+6
| | | | | | .. to disable "chmod 4755" for mount and umount. Signed-off-by: Karel Zak <kzak@redhat.com>
* mkswap: use libblkid to detect PTKarel Zak2009-09-291-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fallocate: new commandKarel Zak2009-09-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | The fallocate(1) utility is used to preallocate blocks to a file. This can be useful for virtual images, database files, testing, etc. Normally we'd hope that various tools will start using preallocation internally, but until then such a utility may be useful, and could be scripted as well. The original Eric's version is available at: http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2490 This version: - checks for fallocate glibc function and kernel syscall - does not provide a fallback and does not call posix_fallocate() - adds long options - uses err.h for errro messages - adds NLS support - cleanups man page Co-Author: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: gtkdocize (API docs generated by gtk-docs)Karel Zak2009-09-161-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add partitions parsing supportKarel Zak2009-09-161-0/+1
| | | | | | This patch is large, but not invasive. There is a new code only. Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add samples/topology.cKarel Zak2009-09-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add topology supportKarel Zak2009-09-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: move FS/raid stuff to superblocks directoryKarel Zak2009-09-151-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* replace usleep() for systems that don't have themDaniel Mierswa2009-08-211-0/+1
| | | | | | | | | This function is marked obsolete in POSIX.1-2001 and removed in POSIX.1-2008. Conditionally replaced with nanosleep(). Signed-off-by: Daniel Mierswa <impulze@impulze.org>
* Revert "mount: clean up mount.8"Karel Zak2009-08-181-3/+0Star
| | | | | | | | | This reverts commit 98c7944b52c54c86fb5b9d73fbead9442bfa0e30. Unfortunately, the patch has been committed by "git commit -a" and includes unwanted changes in configure.ac and sys-utils/Makefile.am... Sorry.
* mount: clean up mount.8Karel Zak2009-08-171-0/+3
| | | | | | | | | * use "filesystem" everywhere (currently, the mount.8 man page is inconsistent and uses "file system" and "filesystem") * fix "The extN" to "The extN filesystem" (reported by Theodore Tso) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.16)Karel Zak2009-07-161-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix libuuid and libblkid version-infoKarel Zak2009-07-131-2/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: improve $libdirname definitionKarel Zak2009-07-131-5/+1Star
| | | | | Reported-by: Robert Förster <Dessa@gmake.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix typo from 30688dde55f637c9b984809c685b61378b82805fRobert Förster2009-07-131-3/+3
| | | | | | the fixes the usage of exec_prefix so configure will prepend the prefix again. Signed-off-by: Robert Förster <Dessa@gmake.de>
* build-sys: rename to _execdirKarel Zak2009-07-041-6/+6
| | | | | | | | | | | | The variable name "usrlibexecdir" is very confusing (because we have /usr/libexec). The "exec" prefix is required for user-defined directories, see http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install This patch renames all usr*execdir variables to usr*_execdir. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.16-rc2)Karel Zak2009-07-021-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: move to misc-utils/ directoryKarel Zak2009-07-021-1/+0Star
| | | | | | | The others utilities are in one of the top-level directories. That's confusing to have blkid(8) and findfs(8) in shlibs/ tree. Signed-off-by: Karel Zak <kzak@redhat.com>
* buildsys: move $usr{bin,sbin,lib}execdir definition to ./configureKarel Zak2009-06-301-0/+12
| | | | | | | We need to use $usr{bin,sbin,lib}execdir variables in *.pc.in files and these files are generated by ./configure script. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.16-rc1)Karel Zak2009-06-291-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: check for openat() and linux for switch_rootKarel Zak2009-06-221-2/+22
| | | | | Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-switch_rootKarel Zak2009-06-221-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-uuiddKarel Zak2009-05-221-0/+17
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* uuidd: new command (UUID daemon from e2fsprogs)Karel Zak2009-05-221-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-tlsKarel Zak2009-05-221-0/+10
| | | | | | | | | | | * add AX_TLS autoconf macro * add --disabletls option * cleanup gen_uuid.c code to remove gcc warnings when compiled without TLS macro. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: enable fsck by defaultKarel Zak2009-05-221-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-libblkid, remove volume_id supportKarel Zak2009-05-221-87/+72Star
| | | | | | | | | | | | | | | Supported scenarios: * internal libblkid (--enable-libblkid, default) * external libblkid (--disable-libblkid) - systems without pkg-config - systems with pkg-config * systems without libblkid at all (requires --disable-mount and --disable-fsck) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: cleanup libuuid stuffKarel Zak2009-05-221-13/+36
| | | | | | | | | | | | | | Supported scenarios: * internal libuuid (--enable-libuuid, default) * external libuuid (--disable-libuuid) - systems without pkg-config - systems with pkg-config * systems without libuuid at all (the library is optional for u-l-ng) Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add UTIL_{SET,RESTORE}_FLAGSKarel Zak2009-05-221-9/+20
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libuuid: add --disable-libuuid and LIBUUID_VERSIONKarel Zak2009-05-221-1/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libuuid: import UUID library from e2fsprogsKarel Zak2009-05-221-1/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: fix undefined reference to `security_get_initial_context'Karel Zak2009-05-211-0/+5
| | | | | | | | | | > Gentoo-hardened stable have: sys-libs/libselinux-1.34.14 > I have: > mount.c:(.text+0x12ce): undefined reference to `security_get_initial_context' Reported-by: Максим Бритов <maxim.britov@gmail.com> Addresses-Gentoo-Bug: #270168 Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: uClibc has langinfo.h but not _NL_TIME_WEEK_1STDAY.Tom Prince2009-05-191-0/+2
| | | | Signed-off-by: Tom Prince <cougar@hermes>
* build-sys: complete /libs to /shlibs renameKarel Zak2009-05-141-11/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix blkid.h include for old e2fsprogsKarel Zak2009-05-111-1/+13
| | | | | | | | | | | When building util-linux-ng-2.15, I get this: ../lib/fsprobe.c:10:19: error: blkid.h: No such file or directory Unfortunately, the blkid.pc uses -I${includedir}/blkidi since e2fsprogs v1.41.2. The old versions use -I${includedir} only. Reported-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.15)Karel Zak2009-05-051-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: rename blkid_evaluate_spec to blkid_evaluate_tagKarel Zak2009-04-291-2/+2
| | | | | | | "SPEC" is usually used in mount(8) as a generic term for device name or tag (LABEL, UUID). The function blkid_evaluate_* works with TAGs only. Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: split SONAME and LIBBLKID_VERSIONKarel Zak2009-04-281-16/+11Star
| | | | | | | | | | | | | | | It seems better to split SONAME and the public library version. The library version will be the same as util-linux-ng PACKAGE_VERSION. PACKAGE_VERSION: <maj>.<min>[-<suffix>] e.g. 2.15-rc2 Symbols versioning: BLKID_<maj>.<min> e.g. BLKID_2.15 blkid_get_library_version(): <maj>.<min>.0 e.g. 2.15.0 SONAME: libblkid.so.1 See also the original patch a0487b1cb5beffb8f6783476664b01e8833e0ea8 where was introduced library versioning. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: release++ (v2.15-rc2)Karel Zak2009-04-171-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>