summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* build: avoid gcc warnings from -Wsuggest-attribute=formatJim Meyering2012-09-221-0/+1
| | | | | * configure.ac (WARN_CFLAGS): Disable -Wsuggest-attribute=format, to avoid some warnings that are not worth working around.
* Require automake-1.11.2Andreas Gruenbacher2012-04-061-1/+1
| | | | | * configure.ac (AM_INIT_AUTOMAKE): Require version 1.11.2 which introduced the AM_PROG_AR macro, used since commit 297f9e7d.
* build: update bootstrap from gnulib and adaptJim Meyering2012-02-161-0/+1
| | | | | | | | * bootstrap: Update from gnulib. * bootstrap.conf (gnulib_tool_option_extras): Define. * lib/Makefile.am: Initialize numerous automake variables so that generated code in gnulib.mk may use += to append to them. * configure.ac: Add AM_PROG_AR, to placate newer automake.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* build: update to latest gnulib and adaptJim Meyering2011-12-141-0/+1
| | | | | | | | | | | | | | | Mark functions as pure of const, per recommendations enabled by new gcc -W options. Apply _GL_ATTRIBUTE_PURE and _GL_ATTRIBUTE_CONST. * src/common.h: Apply new function attributes. * src/pch.c: Likewise. * src/pch.h: Likewise. * src/util.c: Likewise. * src/util.h: Likewise. * configure.ac: Use -Wno-format-nonliteral. * m4/.gitignore: Update. * gnulib: Update to latest. * cfg.mk: Exempt src/util.c from two tests, to avoid new "make syntax-check" failures.
* build: use largefile module and update to latest gnulibJim Meyering2011-08-111-1/+0
| | | | | | | | * configure.ac: Remove AC_SYS_LARGEFILE, subsumed by ... * bootstrap.conf (gnulib_modules): ...this. Use largefile module. * gnulib: Update to latest. This is useful to Mac OS X 10.5 users if/when configure is generated using autoconf prior to v2.68-80-gdb2f2e0.
* build: don't turn off -Wmissing-declarationsJim Meyering2011-03-271-2/+1
| | | | | | * configure.ac (WERROR_CFLAGS): Don't turn off -Wmissing-declarations and admit that it's not worth fixing the few warnings triggered by -Wmissing-format-attribute.
* build: don't turn off -Wmissing-prototypesJim Meyering2011-03-271-1/+0
| | | | | | * configure.ac (WERROR_CFLAGS): Don't turn off -Wmissing-prototypes. * src/pch.c (skip_hex_digits): Declare static. * src/bestmatch.h (bestmatch): Likewise.
* maint: update copyright date year ranges to include 2011Jim Meyering2011-03-271-2/+2
| | | | | * bootstrap.conf (gnulib_modules): Add update-copyright. Run "make update-copyright".
* build: accept new configure-time option --enable-gcc-warningsJim Meyering2011-03-261-0/+91
| | | | | | * configure.ac: Enable many options. * bootstrap.conf (gnulib_modules): Add manywarnings. * src/Makefile.am (AM_CFLAGS): Use $(WARN_CFLAGS) and $(WERROR_CFLAGS).
* Preserve extended attributes of patched files when possibleAndreas Gruenbacher2010-10-271-0/+2
| | | | | | | | | | | | | | * src/patch.c (main): Set all file attributes of the temporary output file before renaming it over the final output file (possibly replacing the input file). Pass the input file name to set_file_attributes(). * src/util.c (set_file_attributes): When enabled (USE_XATTR), also copy extended attributes including attributes which define permissions. (copy_attr_error, copy_attr_quote, copy_attr_free, copy_attr_check, copy_attr): Helper functions for copying extended attributes. * m4/xattr.m4 (gl_FUNC_XATTR): Import from coreutils. * src/Makefile.am (patch_LDADD): Add $(LIB_XATTR) here. * bootstrap.conf: Use the gnulib verror module.
* Remove obsolete checks for mktempAndreas Gruenbacher2010-10-261-2/+1
| | | | * configure.ac: Remove obsolete checks for mktemp.
* Use the gnulib mkdir moduleAndreas Gruenbacher2010-05-051-1/+0
| | | | | * bootstrap.conf: Use the gnulib mkdir module. * m4/mkdir.m4: Delete.
* Remove $(TEST_SHELL) and use $(SHELL) instead.Andreas Gruenbacher2010-05-041-1/+0
| | | | | * configure.ac, tests/Makefile: Remove $(TEST_SHELL) and use $(SHELL) instead.
* Remove leftovers from when patch was still using utimbuf()Andreas Gruenbacher2010-04-271-2/+0
| | | | | * configure.ac (gl_CHECK_TYPE_STRUCT_UTIMBUF), m4/utimbuf.m4: Remove; utimbuf is no longer used.
* Do not use grep -qAndreas Gruenbacher2010-04-271-1/+1
|
* Use the gnulib fcntl-h and sys_stat modulesAndreas Gruenbacher2010-04-271-1/+0
| | | | | | | | * bootstrap.conf: Use the gnulib fcntl-h and sys_stat modules. * src/common.h: Remove the declarations provided by gnulib sys_stat. Always include fcntl.h (and depend on gnulib fcntl-h). * src/util.h: Remove duplicate include of <timespec.h>. * configure.ac: Remove obsolete checks for fcntl.h and utime.h.
* Minimum versions required: automake-1.11.1, autoconf-2.65Andreas Gruenbacher2010-04-121-2/+2
| | | | | * configure.ac: Minimum versions required: automake-1.11.1, autoconf-2.65.
* Convert to automake and use a git submodule for gnulibAndreas Gruenbacher2010-04-121-63/+34
| | | | | | | | | | | | | | | | | | | | * configure.ac: Add automake and gnulib macros, replace several obsolete macros. * Makefile.am, lib/Makefile.am, src/Makefile.am, tests/Makefile.am: Add for automake. * autogen.sh, INSTALL, Makefile.in, mkinstalldirs, update-version.sh: Obsolete; remove. * README-hacking: Import from diffutils, replace cvs with git. * build-aux: Move gnulib auxiliary files here from the top-level directory. * gnulib: Add gnulib git submodule. * bootstrap, bootstrap.conf: Import from gnulib and adjust. * gl/lib: Remove gnulib files from the repository; they are now imported into lib/ from gnulib as needed. * tests/test-lib.sh: Use $abs_top_builddir exported from tests/Makefile.am here instead of $PWD. * m4/utimbuf.m4: This macro has been removed from gnulib. Add it here for now; this will be replaced by gnulib's utimens module soon.
* Rename ed_PROGRAM to EDITOR_PROGRAMAndreas Gruenbacher2010-04-121-3/+1
| | | | | * src/pch.c (EDITOR_PROGRAM): Rename from ed_PROGRAM. * configure.ac (EDITOR_PROGRAM): Likewise.
* * configure.ac: It looks like the . command does not pass theBert Wesarg2009-12-281-1/+1
| | | | | arguments to the update-version.sh script [on some platforms]. Invoke with sh instead.
* * configure.ac (gl_FUNC_STRNDUP, gl_FUNC_STRNLEN): Add here.Andreas Gruenbacher2009-12-281-0/+2
| | | | | | | | | | * gl/m4/strndup.m4 (gl_HEADER_STRING_H_DEFAULTS): Don't use gnulib's strings.h replacement for now, it is too complicated to add right now. * gl/lib/xstrndup.c: Instead of using gl_HEADER_STRING_H_DEFAULTS, declare strndup here on systems which don't have it. * gl/lib/strndup.c: Instead of using gl_HEADER_STRING_H_DEFAULTS, declare strnlen here on systems which don't have it. * gl/lib/strnlen.c: Import from gnulib.
* When copying files, use full_write() from gnulib instead of write()Andreas Gruenbacher2009-07-191-0/+1
|
* Portability improvements in update-version.shAndreas Gruenbacher2009-04-111-1/+1
|
* Copyright notice updatesAndreas Gruenbacher2009-04-051-2/+2
|
* Update to the latest version of GnulibAndreas Gruenbacher2009-04-051-5/+13
|
* Move all source and header files into src/Andreas Gruenbacher2009-04-051-1/+1
|
* Add a simple form of merge supportAndreas Gruenbacher2009-04-021-0/+7
|
* Fix the install targetAndreas Gruenbacher2009-03-291-2/+0
|
* Prepare for second alpha releaseAndreas Gruenbacher2009-03-291-1/+0
| | | | | Update NEWS. Packaging and various other minor fixes.
* Cross-platform compatibility improvementsAndreas Gruenbacher2009-03-241-0/+2
|
* Prepare for first alpha releaseAndreas Gruenbacher2009-03-221-0/+2
| | | | | | Update NEWS. Don't make $(TESTS) a prerequisite of dist: this would run the tests. Add reminder for myself how to upload.
* Compute PACKAGE_VERSION automatically from the repositoryAndreas Gruenbacher2009-03-221-1/+6
|
* Various changes lumped togetherAndreas Gruenbacher2009-03-211-17/+6
| | | | (Imported from working tree by Andreas Gruenbacher)
* Remember backup files, handle missing timestamps betterPaul Eggert2009-03-201-1/+4
| | | | (Imported from RCS by Andreas Gruenbacher)
* Autoconf updatePaul Eggert2009-03-201-12/+2
| | | | (Imported from RCS by Andreas Gruenbacher)
* Import of patch-2.5.9.tar.gzv2.5.9Andreas Gruenbacher2009-03-171-10/+30
|
* Import of patch-2.5.8.tar.gzv2.5.8Andreas Gruenbacher2009-03-171-1/+1
|
* Import of patch-2.5.7.tar.gzv2.5.7Andreas Gruenbacher2009-03-171-0/+75