summaryrefslogtreecommitdiff
path: root/autogen.sh
Commit message (Collapse)AuthorAgeFilesLines
* Port autogen.sh to Git 2.4Paul Eggert2016-05-141-2/+4
| | | | | | | Problem reported by Michael Brand in: http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00367.html * autogen.sh (git_config): Don't assume that git rev-parse groks --git-common-dir.
* Fix autogen.sh for separate worktreesNoam Postavsky2016-05-041-2/+3
| | | | | * autogen.sh: Use the $hooks variable in the $sample_hooks loop, instead of assuming .git/hooks is a directory.
* Port ‘./autogen.sh git’ to non-clonesPaul Eggert2016-04-131-9/+17
| | | | | | | | | Problem reported by Angelo Graziosi in: http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00341.html * autogen.sh (do_git): Default to false when the arg is ‘all’ but there is no ‘.git’. (git_common_dir, hooks): New vars. (git_config, tailored_hooks, sample_hooks): Use them.
* Do not require that .git be a directoryPaul Eggert2016-04-131-1/+1
| | | | | | | | Problem reportyed by Phillip Lord. * admin/update_autogen, autogen.sh, build-aux/gitlog-to-emacslog: * configure.ac, make-dist: Do not require that .git be a directory, as 'git worktree' makes it a file and not a directory.
* Improve diff hunk headers when maintaining EmacsPaul Eggert2016-03-131-0/+5
| | | | | | | | * .gitattributes: Improve diff hunk header support for makefiles, shell scripts, Ada, C, C++, Objective C, HTML, SHTML, XML, Java, Perl, PHP, Python, Ruby, and TeX, all of which are used in Emacs somewhere (sometimes just in test cases). * autogen.sh: Add regexes for makefiles and shell scripts.
* * autogen.sh: Port to dash (Bug#22556).Paul Eggert2016-02-051-1/+2
|
* autogen.sh now configures git only on requestPaul Eggert2016-02-021-56/+116
| | | | | | | | | | | | | | | * autogen.sh (do_autoconf, do_git): New vars. Support new arguments --help, all, autoconf, git. By default, just do autoconf-related configuration, not git. Prefer 'echo' to 'cat <<EOF ...', as this tends to avoid temp files. If GNU cp is available, use it to backup .git/config before changing it. When configuring git, chatter about what is being done, and configure git to check hashes. Avoid some duplicate file name specification when creating git hooks. * GNUmakefile (ALL_IF_GIT): New macro. (configure): Use it. * INSTALL.REPO: Suggest './autogen.sh all'.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Allow autogen even when Git is not installedPaul Eggert2015-10-021-1/+1
| | | | * autogen.sh: Test ‘git status’ before trying to use Git.
* Improve git diff hunk headers for .el, .texiPaul Eggert2015-09-211-2/+14
| | | | | | | | Problem reported by Alan Mackenzie in: http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html * .gitattributes (*.el, *.texi): New patterns. * autogen.sh: Configure diff.elisp.xfuncname and diff.texinfo.xfuncname if using Git.
* Port autogen.sh hook creation to Apple GitPaul Eggert2015-01-261-0/+1
| | | | | | | | | | | * autogen.sh: Do not assume that the hook samples exist. This ports to git version 1.9.3 (Apple Git-50). For some reason Apple decided to populate the git hooks directory in a different way from the way that standard Git does it. The downside is that patch applications won't be checked on Apple, but that's better than autogen.sh failing. Problem reported by Sam Steingold in: http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00898.html
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Merge from origin/emacs-24Paul Eggert2015-01-011-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5f90a3 * .gitattributes: New file. 5a9710f Make sure tool-bar changes are reflected on display. 93796ba * autogen.sh: Port better to non-GNU 'cp'. 9758516 Fix a typo in a comment in the previous commit. aa472a3 Fix the pixel coordinates returned by pos-visible-in-window-p. (Bug#19473) d261229 * automated/tramp-tests.el (tramp--test-smb-or-windows-nt-p): New defun. (tramp-test30-special-characters): Use it. (tramp--test-check-files): Filter nil file names out. 9278f05 Omit trailing white space 1c93fd3 Sync with Tramp 2.2.11. 96ebe18 Sync with Tramp 2.2.11. e792450 Sync with Tramp 2.2.11. 2d17e12 Fix ChangeLog entry. 6444482 Fix auto-revert-tail-mode for remote files b5c9c13 Spelling fixes c5504d1 src/w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458) Conflicts: ChangeLog doc/misc/ChangeLog lisp/ChangeLog src/ChangeLog test/ChangeLog
| * * autogen.sh: Port better to non-GNU 'cp'.Paul Eggert2014-12-311-1/+1
| | | | | | | | Problem reported by Han Boetes.
* | Merge branch 'emacs-24'.Paul Eggert2014-11-281-0/+40
|\|
| * Add git commit hooks that do some simple checks on commits.Paul Eggert2014-11-221-0/+40
| | | | | | | | | | | | | | * autogen.sh: Install Git hooks, if using Git. * build-aux/git-hooks/commit-msg, build-aux/git-hooks/pre-commit: New files, which are Git hooks that check for portable file names, and do some simple checks for commit message format.
| * Backport changes in preparation for git migration from trunk.Eric S. Raymond2014-10-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | admin: Changes in several documents. autogen.sh: Neutralize language specific to a repository type. doc/misc/efaq-w32.texi: Neutralized language specific to a repository type. doc/misc/gnus-coding.txt: Neutralized language specific to a repository type. lisp/Makefile.in: Change some production names so they're neutral about the repository type.
* | Neutralize language specific to a VCS type.Eric S. Raymond2014-10-261-1/+1
| |
* | Neutralize language specific to a repository type.Eric S. Raymond2014-10-251-3/+3
| |
* | Don't require pkg-config when building from repository.Paul Eggert2014-05-161-93/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'. * INSTALL.REPO: pkg-config is no longer required to build from the repository. * autogen.sh: Don't check for pkg-config. (progs): Remove pkg-config. (pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH): Remove. All uses removed. * m4/pkg.m4: New file, built by admin/merge-pkg-config. * configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and an AC_ARG_VAR of PKG_CONFIG_PATH. pkg.m4 does that for us. (EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug, as we use pkg.m4 from a newer pkg-config. * admin/merge-pkg-config: New script. * admin/notes/copyright: Update for m4/*.m4, in particular m4/pkg.m4. * etc/NEWS: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'. * etc/PROBLEMS (Build-time-problems): Remove pkg-config problem that is no longer an issue. * nt/INSTALL: Remove no-longer-needed notes about pkg-config.
* | Revert last two changes.Paul Eggert2014-05-101-5/+0
| | | | | | | | Fixes: debbugs:17438
* | Require pkg-config 0.26 or later in autogen.sh only.Paul Eggert2014-05-101-0/+5
| | | | | | | | | | | | | | * autogen.sh (pkg_config_min): Make this at least 0.26. * configure.ac (PKG_PROG_PKG_CONFIG): Revert back to 0.9.0. Fixes: debbugs:17438
* | * autogen.sh: Check for failing aclocal.Glenn Morris2014-05-071-1/+11
| |
* | * autogen.sh: Check any pre-existing ACLOCAL_PATH.Glenn Morris2014-05-051-20/+37
| |
* | * autogen.sh: Use ‘"’ to quote a message that often contains ‘'’.Paul Eggert2014-05-041-1/+1
| |
* | * autogen.sh: If all else fails, try using pkg-config to find pkg.m4.Glenn Morris2014-05-031-0/+22
| | | | | | | | This is an attempt to get hydra builds working again.
* | Get --enable-gcc-warnings to work after touching configure.ac.Paul Eggert2014-05-031-3/+5
| | | | | | | | | | | | | | | | | | | | Preserve ACLOCAL_PATH in later builds, so that by default it has the same value as it did in the first build after initial checkout. * Makefile.in (ACLOCAL_PATH): New macro. ($(srcdir)/aclocal.m4): Use it. * configure.ac (ACLOCAL_PATH): AC_SUBST it. * autogen.sh (env_space): New var. Tell user what variables, if any, to pass to 'configure'.
* | Make it easier on maintainers who use their own Automake.Paul Eggert2014-05-031-3/+42
| | | | | | | | | | | | | | * autogen.sh (ACLOCAL_PATH, AUTORECONF_ENV): New vars. Set them to avoid problems when maintainers prepend their own Automake installations to their PATH. Report an error if pkg.m4 can't be found.
* | Use pkg-config's pkg.m4Glenn Morris2014-05-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Use pkg-config's pkg.m4, rather than reinventing it. Add explicit AC_SUBST's where needed. * autogen.sh (progs): Add pkg-config. (pkg_config_min): New variable. * INSTALL.REPO: Mention pkg-config. * etc/PROBLEMS: Mention a related issue that can occur with a local automake.
* | autogen.sh: minor tweaksGlenn Morris2014-05-021-6/+12
| | | | | | | | | | * autogen.sh (get_version): Handle no leading whitespace. (check_version, main): Handle program names with hyphens.
* | * autogen.sh: Use autoreconf's -f option.Paul Eggert2014-04-131-1/+2
|/ | | | Fixes: debbugs:17258
* Replace "Maintainer: FSF" with the emacs-devel mailing addressGlenn Morris2014-02-091-1/+1
|
* Set Maintainer: FSF in some filesGlenn Morris2014-01-211-0/+1
|
* Rename INSTALL.BZR to UNSTALL.REPOm and carry that through in other files.Eric S. Raymond2014-01-081-2/+2
|
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Remove the autogen/ directoryGlenn Morris2013-11-041-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00806.html * autogen: Remove directory. Move update_autogen to admin/. * autogen.sh: Remove reference to copy_autogen. * GNUmakefile (configure): * Makefile.in (bootstrap): Do not try to run copy_autogen. * config.bat: Use msdos/autogen rather than autogen. * admin/update_autogen: Move here from ../autogen. (usage): Update. Remove -l, add -A. (autogendir): New variable. (ldefs_flag): Default to set. (genfiles): Reduce to only ms-dos relevant files. (main): Make checking autogen sources optional. Make copying of autogen files optional. * msdos/autogen/config.in: * msdos/autogen/Makefile.in: Move here from ../autogen. * nt/INSTALL: Remove reference to copy_autogen. * nt/config.nt: Comment.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* * Makefile.in: Run autogen/copy_autogen if autogen.sh fails,Paul Eggert2012-09-171-1/+1
| | | | | | | | | | to create 'configure'; problem reported by Andreas Schwab in <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html>. * autogen.sh: Exit with status 1 when failing due to missing tools, reverting the 2012-09-10 change to this file. * autogen/copy_autogen: Fail if one of the subsidiary actions fail. Use 'cp -f' for the build-aux files, since the destinations are typically read-only.
* Improve robustness of 'make bootstrap'.Paul Eggert2012-09-091-1/+1
| | | | | | | | | | | | | | | | | Run autogen.sh after bootstrap-clean, to avoid bzr pull issues. * INSTALL, README: Document autogen.sh. * Makefile.in (Makefile): Mark it as precious, since it's updated atomically. (MAKE_CONFIG_STATUS): New macro. (config.status, bootstrap): Use it. This causes 'make bootstrap' to run config.status with the --recheck option, which is more appropriate for a bootstrap. (bootstrap): Run autogen.sh right after cleaning. Don't worry about failures due to missing tools. * autogen.sh: Exit with status 101 when failing due to missing tools. * make-dist: Distribute autogen.sh. Fixes: debbugs:12376
* Set a minimum automake versionGlenn Morris2012-08-061-2/+3
| | | | | * configure.ac: Require automake 1.11 (fairly arbitrarily). * autogen.sh (automake_min): Get it from configure.ac.
* Avoid needless autoheader after autogen.sh.Paul Eggert2012-08-011-0/+4
| | | | | | * src/stamp-h.in: Remove from bzr repository; no longer needed there. * .bzrignore: Add it. * autogen.sh: Create it.
* Rename configure.in to configure.ac.Paul Eggert2012-07-081-1/+1
| | | | Fixes: debbugs:11603
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Spelling fixes.Paul Eggert2011-12-041-1/+1
|
* Make autogen.sh respect AUTOCONF etc.Glenn Morris2011-03-271-2/+11
| | | | | * autogen.sh (get_version): Discard "not found" lines. (check_version): Respect $AUTOCONF etc environment variables.
* Remove some files that autoreconf can supply.Glenn Morris2011-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00863.html * compile, config.guess, config.sub, depcomp, install-sh, missing: Remove; autoreconf can supply them. * Makefile.in (sync-from-gnulib): Don't sync config.sub, config.guess, install-sh. Pass -i to autoreconf. * autogen/update_autogen (genfiles): Add compile, config.guess, config.sub, depcomp, install-sh, missing. Pass -i to autoreconf. Discard non-error output from autoreconf in -q case. * autogen/compile, autogen/config.guess, autogen/config.sub: * autogen/depcomp, autogen/install-sh, autogen/missing: New files. * autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp, install-sh, missing. * autogen/README: Add compile, config.guess, config.sub, depcomp, install-sh, missing. * INSTALL.BZR, admin/make-tarball.txt: Add -i to autoreconf args. * .bzrignore: Add compile, config.guess, config.sub, depcomp, install-sh, missing.
* copy_autogen tweaks.Glenn Morris2011-03-211-1/+1
| | | | | | * autogen/copy_autogen: Work from ./ or ../. Fix time-stamps. * autogen.sh: Doc fix.
* (Re)move autotools generated files from the repository.Glenn Morris2011-03-201-4/+204
| | | | | | | | | | | | | | | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00225.html * autogen/: New directory, to be excluded from releases. * autogen/copy_autogen, autogen/update_autogen: New scripts. * autogen/README: New file. * autogen/aclocal.m4, autogen/config.in, autogen/configure: * autogen/Makefile.in: Add auto-updated generated files. * autogen.sh: No longer a no-op, now it tests for autotools and runs them as necessary. * configure.in: Defaule maintainer-mode to on. * aclocal.m4, configure, lib/Makefile.in: Remove files. * src/config.in: Remove file. * INSTALL.BZR, admin/make-tarball.txt: Update instructions.
* Nuke arch-tags.Glenn Morris2011-01-151-2/+0
|
* Restore executable bit omitted when undeleting files in ↵Chong Yidong2010-12-031-0/+0
| | | | 2010-12-03T14:45:09Z!yamaoka@jpl.org.