summaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2008-02-17configure.in: Don't use the dc command unless it is requiredTheodore Ts'o1-1/+1
Some systems don't have the 'dc' command installed, and this causes configure to print a warning message unnecessarily for a standard (non-WIP and non-pre) release of e2fsprogs. It's easy enough to avoid this problem, so let's do it. Addresses-Sourceforge-Bug: #1893024 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-27Merge branch 'maint' into nextTheodore Ts'o1-29/+242
Conflicts: configure lib/ext2fs/ext2_fs.h misc/e2image.c
2008-01-27Don't build e2fsck statically by default anymoreTheodore Ts'o1-23/+2
Also removed the --enable-dynamic-static configure option. Unfortunately the usefulness of building e2fsck statically is gone on all modern distributions, since everything else on the system is built dynamically these days. In fact on some distributions it is almost impossible to build programs statically any more. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-21Explicitly check for ftruncate64() in configure.inTheodore Ts'o1-1/+2
Apparently Mac OS 10.5 defines fstat64(), but not ftruncate64(), causing resize2fs to fail to build. So check explicitly for ftruncate64(), and fall back to ftruncate() if necessary. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-04If --sbindir, et. al are specified to configure set $root_sbindir, et al.Theodore Ts'o1-0/+16
If the user specifies as arguments to configure --bindir, --sbindir, --libdir, or --sysconfdir, then set corresponding $root_FOO variable, so that the request from the user to set a specific --sbindir is honored. Addresses-Sourceforge-Bug: 498381 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-03Use pkg-config to determine where to find the devmapper libraryTheodore Ts'o1-6/+223
Fedora and Red Hat puts the devmapper library in different locations compared to Debian, so we use pkg-config. Unfortunately Debian's devmapper.pc file is buggy (See Debian Bug #390243), so we have to work around it. Historically, e2fsprogs has tried not to depend on pkg-config, since its answers are so often **wrong** (the Debian bug has been ignored for over a year), so I'm hoping I'm not going to regret this. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2008-01-01Merge branch 'maint' into nextTheodore Ts'o1-77/+128
Conflicts: configure debian/rules e2fsck/swapfs.c lib/ext2fs/ext2_fs.h
2007-12-31Test for sys/syscall.h in configure to fix dietlibc build problemTheodore Ts'o1-1/+2
When compiling with dietlibc, sys/syscall.h isn't supported; as of dietlibc 0.30, it exists but it references a non-existent asm/unistd.h header file. So we have to test for its existence and avoid using it in lib/uuid/gen_uuid.c if it is not supported. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31Add --disable-uuidd configure optionTheodore Ts'o1-1/+30
Add a configure option which causes the uuidd helper daemon not to be built or used by the uuid library. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-31Add --disable-tls configure optionTheodore Ts'o1-76/+97
Add option to forcibly disable the use of thread local storage Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-12-17Merge branch 'maint' into nextTheodore Ts'o1-1/+78
Conflicts: lib/ext2fs/closefs.c
2007-12-16Add uuidd daemon to prevent duplicate time-based UUID'sTheodore Ts'o1-1/+78
Also store the clock sequence information in a state file in /var/lib/misc/uuid-clock so that if the time goes backwards the clock sequence counter can get bumped. This allows us to completely correctly generate time-based (version 1) UUID's according to the algorithm specified RFC 4122. Addresses-Sourceforge-Bug: #1529672 Addresses-Red-Hat-Bugzilla: #233471 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-08-11Remove configure --enable-swapfs and associated support #definesTheodore Ts'o1-31/+2
This removes the last vestiges of support for the legacy PowerPC big-endian filesystem format. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-07-04Improve the config/parse_types.sh helper scriptTheodore Ts'o1-2659/+797
Fix a potential security problem if e2fsprogs is built as root (as Gentoo does!). In addition fix the script and how it is called from the configure script so that it does the right thing when cross-compiling. Fixes-Gentoo-bug: #146903 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2007-04-04Add tdb from Samba into libext2fs library.Theodore Ts'o1-2/+7
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-11-12Fixes for building RPM's via "make rpm"Andreas Dilger1-15/+33
Fixed version number generation so that the same common algorithm is used for Debian and RPM version numbering schemes. This allows the RPM spec file to do the right thing for WIP releases. Signed-off-by: Andreas Dilger <adilger@clusterfs.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-10-22Add failsafe against duplicate UUID's generated by threaded programsTheodore Ts'o1-1/+2
Add in randomness based on Linux's thread id (gettid) to avoid race conditions when two threads try to generate uuid's at the same time. This shouldn't be an issue if /dev/urandom has proper locking and is present, so this is just a failsafe. Addresses SourceForge Bug: #1529672 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-10-21Fix amd64 build due to -lpthread ordering problemTheodore Ts'o1-3809/+6341
Addresses Debian Bug: #393680 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-10-01Fix Debian FTBFS problem caused by devmapper library using pthreadsTheodore Ts'o1-2/+2
Addresses Debian bug: #388718 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-08-06If diff -u is supported, use it to report test failures.Theodore Ts'o1-1/+12
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-04-09Fix asm_types.h type conflictsTheodore Ts'o1-2/+8
This caused FTBFS bugs on AMD64 platforms, since it uses a different 64-bit type when compared with IA64, so we need to make our autoconfiguration system more intelligent. Addresses Debian Bugs: #360661, #360317 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-03-08Add device-mapper support to the blkid libraryKarel Zak1-1/+37
On systems where is multi-path storage device is problem with duplicated filesystems. The solution is select "the best" device. This is possible by device-mapper library. Short quotation from RH bugzilla: With my patch, all dm devices remains in libblkid cache. Only the top level dm devices are given high priority and more appropriate node names (i.e. /dev/mapper/*) are used. For example, if we have linear mapped dm device "ov1" over dm device "disk1p3" which is multipath mapped to /dev/sdd3 and /dev/sdh3: # dmsetup.static ls --tree ov1 (253:5) <-- /dev/mapper/ov1 or /dev/dm-5 `-disk1p3 (253:4) <-- /dev/mapper/disk1p3 or /dev/dm-4 `-disk1 (253:0) |- (8:112) <-- /dev/sdh `- (8:48) <-- /dev/sdd Original version of blkid will show: # ./orig/blkid -t LABEL=mpdisk1p3 -l /dev/sdd3: LABEL="mpdisk1p3" ... TYPE="ext3" With my patch, blkid will show: # ./deptree/blkid -t LABEL=mpdisk1p3 -l /dev/mapper/ov1: LABEL="mpdisk1p3" ... TYPE="ext3" In blkid cache, all devices are listed: # ./orig/blkid -t LABEL=mpdisk1p3 /dev/sdd3: LABEL="mpdisk1p3" ... TYPE="ext3" /dev/sdh3: LABEL="mpdisk1p3" ... TYPE="ext3" /dev/dm-4: LABEL="mpdisk1p3" ... TYPE="ext3" /dev/dm-5: LABEL="mpdisk1p3" ... TYPE="ext3" # ./deptree/blkid -t LABEL=mpdisk1p3 /dev/mapper/ov1: LABEL="mpdisk1p3" ... TYPE="ext3" /dev/sdd3: LABEL="mpdisk1p3" ... TYPE="ext3" /dev/sdh3: LABEL="mpdisk1p3" ... TYPE="ext3" /dev/dm-4: LABEL="mpdisk1p3" ... TYPE="ext3" For more details see discussion on: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=156324 Addresses Red Hat Bug: #156324 Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-11-09Fix cross-compilation problems when CFLAGS contain target-specific optionsTheodore Ts'o1-1/+12
Use BUILD_CCFLAGS and BUILD_LDFLAGS instead of CCFLAGS and LDFLAGS in the build system when building files in the util directory which are needed during the build process. This avoids potential problems when cross-compiling some of the options are not recognized as valid by the host compiler. (Addresses Sourceforge Bug #1261547) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-07-09This patch adds a check to use fstat or fstat64 in getsize.c if theAndreas Dilger1-1/+2
target is a regular file, instead of doing binary searching. It also fixes a couple of cases where a file descriptor is leaked in the ext2fs_getsize() routine on error. Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
2005-07-05Set the executible bit on the configure script.Theodore Ts'o1-0/+0
2005-04-06Add paranoia checks into the blkid, ext2fs, and ss libraries to ignoreTheodore Ts'o1-2/+5
environment variables if the libraries are called from setuid or setguid programs, or if kernel believes that the process is not eligible to create a core dump. In addition, if the libc has __secure_getenv(), use it so that the libc can also do any additional limitations regarding when libraries can trust environment variables (i.e., to integrate with systems like SELinux and Posix capabilities).
2005-02-05Makefile util/gen-tarball executable after creating the file.Theodore Ts'o1-0/+2
2005-02-05Remove support for --enable-clear-htree; this wasTheodore Ts'o1-25/+1
only needed during the early development of the htree patch.
2005-02-04Add support for maintainer mode, which enables the makefile rulesTheodore Ts'o1-2/+22
to rebuild the configure script from configure.in, and to reubuild the .gmo files in po directory.
2005-02-03Drop the sparc assembly bitwise operations; it's less efficient Theodore Ts'o1-20/+0
than the GCC 3.4 compile code and triggers compiler warnings on sparc64. Thanks to Matthias Andree for his analysis and suggestions. (Addresses Debian Bug #232326) Remove support for the --enable-old-bitops configure option which was only for very old sparc systems.
2005-01-26Add pkg-config files to e2fsprogs's libraries.Theodore Ts'o1-0/+2
2005-01-19configure.in: Clean up checks for dirent.d_reclen, ssize_t,Theodore Ts'o1-58/+167
llseek, lseek64, sockaddr.sa_len and make the lseek checks immune to compiler warnings, so that they can be compiled with Intel C++ 8.1. Patch from: Matthias Andree <matthias.andree@gmx.de>
2005-01-18Make configure.in script check for prerequisite headers when checking forTheodore Ts'o1-4/+133
the presence of sys/disk.h, sys/mount.h, and net/if.h, to improve the configure script on Solaris and *BSD systems.
2005-01-17Various portability fixes for Solaris systems.Theodore Ts'o1-15/+30
2005-01-09Fix configure.in to use AC_CHECK_TYPES instead of the "broken by design"Theodore Ts'o1-3/+2
autoconf 2.13 version of AC_CHECK_TYPE. Otherwise, on some platforms intptr_t might get erroneously #define'd to be long. (Addresses Debian Bug #289133)
2004-11-30Update to use gettext 0.14.1 and autoconf 2.50+Theodore Ts'o1-3463/+12056
2004-11-19Remove support for EVMS 1.x plugin library.Theodore Ts'o1-273/+220
2004-11-19Remove the a.out DLL support, since it's been obsolete and unmaintainedTheodore Ts'o1-249/+219
for a long time now.
2004-09-18Revamp the initrd scripts to use a new helper program,Theodore Ts'o1-219/+243
e2initrd_helper, which obviates the need for using /bin/awk and mounting/unmounting the root filesystem during the initrd process. (Addresses Debian Bug #247775)
2004-09-17Clean up the header file #include's for lib/blkid/getsize.cTheodore Ts'o1-1/+1
and lib/ext2fs/getsize.c In lib/blkid/getsize.c, include <sys/disk.h> if present since this is where the DIOCGMEDIASIZE ioctl is defined on FreeBSD. (Addresses Debian Bug #264630)
2004-05-04configure.in, configure: Enable the fsck wrapper for the DebianTheodore Ts'o1-1/+1
FreeBSD kernel / GNU userspace port. (Addresses Debian Bug #246738)
2004-04-03Use C99 stdint.h types instead of custom types in the uuid library.Theodore Ts'o1-1/+1
2004-03-19Fix Darwin/Mac OS X support to fetch the ethernet address in the uuid library.Theodore Ts'o1-15/+50
2004-02-23Update configure file using autoconf 2.13.Theodore Ts'o1-42/+46
2004-02-23Add -mieee to CFLAGS if we're using GCC and the CPU is an Alpha.Matthias Andree1-194/+205
Fixes a test case failure in FreeBSD/alpha. Reported and fix suggested by Greg Lewis.
2004-01-30Check in modified configure script from FreeBSD port changeset.Theodore Ts'o1-1/+1
2003-08-01Include inttypes.h if present. New macros INT_TO_VOIDPTR andTheodore Ts'o1-20/+93
VOIDPTR_TO_INT. Use them throughout for int<->void * casts to fix 64-bit warnings.
2003-07-12badblocks.c (do_read, do_write, test_rw): Change the read/writeTheodore Ts'o1-1/+1
test to honor the -c option (number of blocks at a time). do_read and do_write will try to turn on the O_DIRECT flag if it appears that it is possible to use it. (Addresses Debian bug #198006)
2003-07-12Update to use the new freebsd config triple (Addresses DebianTheodore Ts'o1-6163/+3228
bug #195274)
2003-07-05configure.in:Theodore Ts'o1-3224/+6168
Add workaround for Darwin and Libintl