summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2023-03-241-1/+1
| | | | By running make update-copyright
* configure.ac: Add AC_CONFIG_MACRO_DIRBrian C. Lane2022-03-251-0/+1
|
* configure.ac: Add -Wno-portabilityBrian C. Lane2022-03-251-1/+1
| | | | | This is to quiet automake warnings about Makefile.am files using GNU make extensions like pattern rules.
* configure.ac: Update macros for autoconf 2.71Brian C. Lane2022-03-251-9/+9
|
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+2
| | | | By running make update-copyright
* configure.ac (AC_PREREQ): Require 2.64Brian C. Lane2020-12-111-1/+1
|
* Do not link to libsepol or libselinuxPetr Lautrbach2020-11-051-12/+0
| | | | | | | Given that there's no code which would use it there's no reason to link to libsepol or libselinux even when they are available. Signed-off-by: Brian C. Lane <bcl@redhat.com>
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* configure.ac: Check ABI against ABI version 2Shin'ichiro Kawasaki2019-08-091-0/+1
| | | | | | | | | | | | | | | | | | GCC 8 fails to compile libparted/labels/aix.c with an error: CC aix.lo cc1: error: -Wabi won't warn about anything [-Werror=abi] cc1: note: -Wabi warns about differences from the most up-to-date ABI, which is also used by default cc1: note: use e.g. -Wabi=11 to warn about changes from GCC 7 cc1: all warnings being treated as errors make[4]: *** [Makefile:1250: aix.lo] Error 1 To avoid the build failure, specify ABI version 2 to check ABI change from GCC 4.9. Signed-off-by: Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp> Signed-off-by: Brian C. Lane <bcl@redhat.com>
* Adjust the gcc warnings to recognize FALLTHROUGHBrian C. Lane2019-08-091-0/+3
|
* configure.ac: Remove default -Werror flagBrian C. Lane2019-08-091-3/+0
| | | | | | | | Warnings as errors does not make sense with the current state of the codebase and it is making it difficult to do new releases. We should *show* the warnings, and handle them as time permits, but they should not block building a new release.
* build: Remove unused traces of dynamic loadingColin Watson2018-06-051-49/+0
| | | | | | | | | Now that file system operations have been removed from libparted, libreiserfs is no longer used. Remove references to it, along with the dynamic loading build infrastructure which was only used for libreiserfs. Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
* Fix make checkPhillip Susi2018-05-071-1/+1
| | | | | | | | | | Make check failed due to some warnings treated as errors. One was caused by a warning that a function could have the noreturn attribute. It seems that this had previously been disabled but gcc has changed the flag from -Wmissing-noreturn to -Wsuggest-attribute=noreturn. The recently added volser.c test also caused a few warnings when not compiled on s390x because most of the functions were no used, so #if those out as well.
* libparted/labels: link with libiconv if neededArnout Vandecappelle (Essensium/Mind)2017-12-191-0/+2
| | | | | | | | | | | | | gpt.c uses iconv so it should link with it. Otherwise, on platforms where libiconv is a separate library, we get a link failure of parted: CCLD parted ../libparted/.libs/libparted.so: undefined reference to `libiconv' ../libparted/.libs/libparted.so: undefined reference to `libiconv_open' ../libparted/.libs/libparted.so: undefined reference to `libiconv_close' Since iconv functionality is needed unconditionally (not only when gettext is enabled), AM_ICONV needs to be added to configure.ac.
* bug#17883: [PATCH] configure.ac: uclinux is also linuxGustavo Zacarias2016-04-141-2/+2
| | | | | | | uclinux is used in the tuple for some noMMU linux builds like Blackfin FLAT output, so accept it as linux too. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
* Add libparted-fs-resize.pcBrian C. Lane2016-04-121-0/+1
| | | | Add a pkgconfig file for the filesystem resize library.
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* maint: avoid new warning/error with gcc-4.8.0 20130105Jim Meyering2013-01-061-0/+1
| | | | | * configure.ac (WERROR_CFLAGS): Disable -Wsuggest-attribute=format. It was suggesting to apply the gnu_printf attribute to vsnprintf.
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* build: default to --enable-gcc-warnings in a git treeEric Blake2012-10-231-1/+5
| | | | | | | | Anyone building from cloned sources can be assumed to have a new enough environment, such that enabling gcc warnings by default will be useful. Tarballs still default to no warnings, and the default can still be overridden with --disable-gcc-warnings. * configure.ac (gl_gcc_warnings): Set default based on environment.
* build: require Automake >= 1.11.6Stefano Lattarini2012-08-301-1/+1
| | | | | | | | | | | | | | | Now that we use AM_TESTS_ENVIRONMENT, we should require at least Automake >= 1.11.2; but since all the Automake version until 1.11.5 are vulnerable to CVE-2012-3386: <https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html> it's even better to require 1.11.6. * configure.ac (AM_INIT_AUTOMAKE): Bump version requirement to 1.11.6. * bootstrap.conf ($buildreq): Likewise. Copyright-paperwork-exempt: yes
* build: enable subdir-objects Automake option globallyStefano Lattarini2012-08-301-1/+2
| | | | | | | | | | | | | | | | That option is enabled unconditionally in Automake-NG, and enabling it also for mainline Automake will help to ensure no unexpected incompatibilities is introduced in a potential port to Automake-NG. Moreover, if we have a source file 'sub/foo.c', having it compiled in 'sub/foo.o' rather than in 'foo.o' is undeniably cleaner and more natural. * configure.ac (AM_INIT_AUTOMAKE): Add 'subdir-objects'. * libparted/fs/Makefile.am (AUTOMAKE_OPTIONS): No need to declare 'subdir-objects' explicitly now. Copyright-paperwork-exempt: yes
* build: use LT_INIT, to make bootstrap run libtoolizeJim Meyering2012-01-131-0/+1
| | | | | * configure.ac: Use LT_INIT, so that bootstrap runs libtoolize, which creates build-aux/ltmain.sh.
* maint: remove useless BUILD_LINUX conditionalJim Meyering2012-01-121-1/+0
| | | | | * configure.ac (BUILD_LINUX): Don't set it. * libparted/Makefile.am (BUILD_LINUX): Remove useless use.
* maint: hoist libparted/fs/*/Makefile.am into parent Makefile.amJim Meyering2012-01-101-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | There was no need to have a separate Makefile.am for each file system type, and a good reason *not* to do that (reduce duplication). * configure.ac (AC_OUTPUT): Remove Makefiles. * libparted/fs/Makefile.am (SUBDIRS): Remove. (EXTRA_DIST): List the two non-src files: hfs/DOC hfs/HISTORY. (libfs_la_SOURCES): Hoist file names to here from... * libparted/fs/amiga/Makefile.am: ...here. * libparted/fs/ext2/Makefile.am: Likewise. * libparted/fs/fat/Makefile.am: Likewise. * libparted/fs/hfs/Makefile.am: Likewise. * libparted/fs/jfs/Makefile.am: Likewise. * libparted/fs/linux_swap/Makefile.am: Likewise. * libparted/fs/nilfs2/Makefile.am: Likewise. * libparted/fs/ntfs/Makefile.am: Likewise. * libparted/fs/reiserfs/Makefile.am: Likewise. * libparted/fs/ufs/Makefile.am: Likewise. * libparted/fs/xfs/Makefile.am: Likewise. * libparted/fs/*/Makefile.am: Remove files. * libparted/fs/amiga/a-interface.c: Now that the .o files are all in the same place, rename from interface.c, to avoid collision with name of .o file from ext2/interface.c.
* build: correct my typo in preceding commitJim Meyering2012-01-101-1/+1
| | | | | | * configure.ac (AC_CONFIG_SRCDIR): Correct preceding commit. Keshav's patch was correct, but when I attempted to do the same thing manually I wrote .h.in rather than .in.h.
* build: update AC_CONFIG_SRCDIR for non-srcdir-from-clone buildsKeshav P R2012-01-101-1/+1
| | | | | | | * configure.ac (AC_CONFIG_SRCDIR): List parted.h.in, rather than the now-generated parted.h, for those who run configure not from a distribution tarball, but from a non-srcdir build using a pristine clone.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* build: configure.ac: use -Wno-format-nonliteralJim Meyering2011-12-031-1/+1
|
* build: stop distributing gzip'd releases; xz is enoughJim Meyering2011-11-061-1/+1
| | | | | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist-gzip. * NEWS (Build-related): Mention that we're dropping .tar.gz.
* maint: prefer AC_PROG_LIBTOOL over slightly deprecated AM_PROG_LIBTOOLJim Meyering2011-06-101-1/+1
| | | | | * configure.ac: Use AC_PROG_LIBTOOL rather than slightly deprecated AM_PROG_LIBTOOL.
* build: remove configure-time options: --disable-fs, --enable-WerrorJim Meyering2011-05-271-20/+0
| | | | | | | | | * configure.ac: Remove support for --enable-fs and --disable-fs. Remove support for --enable-Werror and --disable-Werror. * README: Remove paragraph about --disable-fs and --enable-discovery-only. * libparted/libparted.c: Now that --disable-fs is gone (i.e., ENABLE_FS would be always 1), remove its #ifdefs.
* ext2: remove all-but-probe FS-related codeJim Meyering2011-05-271-0/+1
|
* remove all top-level FS-op code and the clearfat programJim Meyering2011-05-271-1/+0
|
* libparted: add nilfs2 moduleJiro SEKIBA2011-02-261-0/+1
| | | | | | | | | | | | | | | | | | * libparted/fs/nilfs2/Makefile.am: New file. * libparted/fs/nilfs2/nilfs2.c: New file. (is_valid_nilfs_sb, nilfs2_probe, nilfs2_clobber): New functions. (ped_file_system_nilfs2_init, ped_file_system_nilfs2_done): Likewise. (nilfs2_ops, nilfs2_type): Define. * libparted/fs/Makefile.am (SUBDIRS): Add nilfs2. * configure.ac (AC_OUTPUT): Add the new Makefile. * libparted/libparted.c: Declare and use the _init and _done functions. Add a new fs module to provide following: - probe nilfs2 filesystem partition - clobber nilfs2 filesystem partition The is_valid_nilfs_sb function came from the grub nilfs2 module, which is written by me and assigned to FSF.
* maint: update copyright year ranges to include 2011Jim Meyering2011-02-221-1/+1
| | | | Run "make update-copyright".
* libparted: ignore zero-length devicesColin Watson2010-11-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | * bootstrap.conf (gnulib_modules): Add xstrtoll. * configure.ac: Create DYNAMIC_LOADING output variable. * libparted/arch/linux.c (_device_get_length): Return the value of PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by the test suite. (init_generic): If geometry probing fails because the device was zero-length, return quietly rather than throwing an exception. This has been observed in the wild with cciss devices, and it's difficult for partitioners to tell the difference between that and more serious errors. * libparted/tests/Makefile.am (TESTS): Add t2100-zerolen.sh. (check_PROGRAMS): Add zerolen. (zerolen_SOURCES): Add. (TESTS_ENVIRONMENT): Add DYNAMIC_LOADING and ENABLE_DEVICE_MAPPER. * libparted/tests/t2100-zerolen.sh: New file. * libparted/tests/zerolen.c: New file. * tests/test-lib.sh (wait_for_dev_to_appear_): New function, copied from tests/t-local.sh. * NEWS (Bug fixes): Mention it.
* build: suggest libuuid from util-linux-ng packagePetr Uzel2010-08-231-8/+5
| | | | | | | * configure.ac: libuuid was moved from e2fsprogs to util-linux-ng-2.16. Because distributions now often build e2fsprogs without libuuid support, suggest installing libuuid from util-linux-ng if it is missing, not from e2fsprogs.
* build: require gettext-0.18 after all, becauseJim Meyering2010-05-281-1/+1
| | | | | | | | | since gnulib is pulling in m4/gettext.m4 from 0.18, and there's a cross-check between that file and po/Makefile.in.in, it's easiest simply to require 0.18 of those who run build tools. Otherwise, requiring 0.17, build-from-git would fail due to the mismatch: 0.17 in Makefile.in.in and 0.18 in m4/gettext.m4. * configure.ac (AM_GNU_GETTEXT_VERSION): Require gettext 0.18.
* build: really use gettext-0.17Jim Meyering2010-05-281-1/+1
| | | | | | * configure.ac: Correct previous change to use 0.17, not 0.18, since gettext-0.18 is new enough that it makes building from git a little too inconvenient. Spotted by Petr Uzel.
* build: use gettext-0.17Jim Meyering2010-05-261-1/+1
| | | | | | * configure.ac: Use gettext-0.17. * bootstrap.conf (gnulib_modules): Use gettext-h, not gettext. since the latter drags in a depedency on gettext 0.18.
* maint: avoid using test's -o and -a operators: they are not portableJim Meyering2010-03-301-3/+4
| | | | | * tests/lvm-utils.sh: Don't use test ... -o. * configure.ac: Don't use test ... -a.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-081-1/+1
| | | | Run this command: make update-copyright
* linux: use libblkid to determine ->phys_sector_sizeJim Meyering2009-10-191-0/+12
| | | | | | | | | | | | | Before this change, creating a memory-mapped disk on a fedora-based system running 2.6.31.1-56.fc12.x86_64 using this command: modprobe scsi_debug dev_size_mb=1025 sector_size=4096 and then running "parted -s /dev/sdd mklabel gpt print" would mistakenly print "Sector size (logical/physical): 4096B/512B" The "512B" is what's wrong. It should be "4096B". * configure.ac: Test for a new-enough blkid library. * libparted/Makefile.am (libparted_la_LIBADD): Add $(LIB_BLKID). * libparted/arch/linux.c (get_minimum_io_size): New function. (_device_set_sector_size): Use it.
* build: ignore new -Wjump-misses-init warningsJim Meyering2009-08-181-0/+3
| | | | * configure.ac: Ignore warnings from gcc's new -Wjump-misses-init.
* build: enable many warningsJim Meyering2009-07-241-0/+81
| | | | | | | | | | | | * configure.ac: New configure-time option: --enable-gcc-warnings. * bootstrap.conf: Use gnulib modules: warnings manywarnings. * debug/Makefile.am: Define AM_CFLAGS. * libparted/Makefile.am: Likewise. * libparted/tests/Makefile.am: Likewise. * parted/Makefile.am: Likewise. * partprobe/Makefile.am: Likewise. * debug/clearfat/Makefile.am: Likewise. * libparted/labels/Makefile.am: Likewise.
* Avoid compilation failure on s390Otavio Salvador2009-07-191-0/+1
| | | | | | | | | | | | | | | To export LinuxSpecific stuff for labels, in this case fdasd, we now provide arch/linux.h. This aids in avoiding code duplication. * configure.ac: add BUILD_LINUX conditional. * libparted/Makefile.am: conditionally use linux.h. * libparted/arch/linux.c: move LinuxSpecific stuff to linux.h. * libparted/arch/linux.h: New file. * libparted/labels/Makefile.am: include from libparted as well. * libparted/labels/dasd.c: use arch/linux.h and use dev->path for error message. * libparted/labels/fdasd.c: include linux.h and drop an unused variable.
* build: avoid configure-time syntax errorJim Meyering2009-07-161-35/+29
| | | | | | | | | Running ./configure on a system without devmapper devel libraries would provoke this: ./configure: line 264: return: but: numeric argument required ./configure: line 24783: --enable-device-mapper: command not found * configure.ac: Add quotes to most AC_MSG_ERROR uses, both around the argument, and (when needed) around the macro use itself.