m4/lispdir.m4

Branch


Log

Author Commit Date CI Message
Paul Eggert 61075eab 2025-01-01T14:31:02 maint: make update-copyright
Paul Eggert b80b5c47 2024-01-01T11:29:06 maint: make update-copyright
Mike Frysinger 34bdde96 2023-01-04T02:00:14 maint: make update-copyright
Richard Hopkins cea8158f 2022-09-27T18:04:20 automake: do not use -Q with emacs invocations. This change is for https://bugs.gnu.org/58102. (By the way, the previous two commits were for bugs 58026 (silent .elc compilation) and 58025 (load bytecomp), respectively, but I forgot to mention them.) * m4/lispdir.m4 (AM_PATH_LISPDIR): omit -Q option. Also (from karl), use -no-site-file (one hyphen) for consistency with the other options. * NEWS: mention this. * doc/automake.texi (Hard-Coded Install Paths): likewise.
Mike Frysinger 5c9e117c 2022-02-08T00:39:40 elisp: run emacs with --no-site-file Fixes automake bug https://bugs.gnu.org/21547. If users have interactive site file logic, the lispdir probing can hang, as can the compilation of elisp files. Use --no-site-file to disable loading any of that possible user logic. * NEWS: Note emacs --no-site-file change. * doc/automake.texi: Run emacs with --no-site-file. * lib/am/lisp.am: Likewise. * m4/lispdir.m4: Likewise.
Jim Meyering 6c8ff6a8 2022-01-12T14:15:12 maint: make update-copyright
Jim Meyering a470a47f 2021-07-11T19:19:42 maint: make update-copyright
Jim Meyering cf27a3df 2020-01-01T11:44:41 maint: make update-copyright
Paul Eggert 5ae02cc8 2019-10-14T13:46:55 maint: make update-copyright
Mathieu Lirzin bbaa4cdc 2018-01-04T16:19:30 maint: Update copyright years to 2018 This update has been made with 'make update-copyright'.
Mathieu Lirzin c2757b97 2017-09-19T13:43:07 maint: Reset master
Mathieu Lirzin d8add592 2017-03-02T18:55:53 maint: Update copyright years to 2017. This update has been made with 'make update-copyright'.
Jim Meyering 1370ce5f 2017-01-01T08:34:49 maint: update copyright dates for 2017 * all files: Run this command, using update-copyright from gnulib: UPDATE_COPYRIGHT_FORCE=1 \ UPDATE_COPYRIGHT_USE_INTERVALS=2 \ UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 \ update-copyright $(git ls-files)
Stefano Lattarini 5de75f07 2015-01-05T22:48:33 maint: update copyright years to 2015 (branch 'micro') Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini 88ac92b2 2014-12-22T17:56:22 Merge branch 'micro' into minor * micro: cleanup: refactor code to initialize DIST_COMMON dist: ordering of files in DIST_COMMON is deterministic now tests: refactor some tests on DIST_COMMON maint: make output of 'gen-testsuite-part' deterministic When computing lispdir, don't load emacs site wide init file. PATH: quote $(PATH_SEPARATOR) as well Improve detection of GNU make, avoiding "Arg list too long" errors.
Andrew Burgess 3c72ada8 2014-07-30T17:41:15 When computing lispdir, don't load emacs site wide init file. When computing the lispdir emacs was previously invoked with the '-q' option to avoid loading the users initialisation files, however, the site wide initialisation file was still loaded, in some cases this can cause emacs to hang, with the result that a configure can also hang. The lisp code that aclocal causes to be executed reduces the load-path list (in emacs) to empty. The load-path is used by emacs to find packages which it wants to load. Currently, if emacs tries to auto load a package during shut down, and the package is not found, then emacs will hang. This does seem like an emacs bug, but protecting against this in aclocal is simply a case of not loading the site wide initialisation file. In this patch then the '-q' option to emacs is replaced with '-Q', this has the same, the '-Q' option is similar to '-q --no-site-file --no-splash'. * doc/automake.texi (Hard-Coded Install Paths): Update explanation of emacs code used to get lispdir. * m4/lispdir.m4 (AM_PATH_LISPDIR): Update emacs flags. Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini a78f63c5 2014-04-21T15:10:54 maint: update copyright years We've been in 2014 already for few months now... Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini 7df8b28c 2012-12-31T18:18:37 maint: update copyright year for 2013 (in branch maint) Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini 094b83a6 2012-07-16T11:16:15 Merge branch 'maint' * maint: fixup: delete "# serial" line in m4/amversion.in news: update about recent ylwrap changes and fixes m4: get rid of "# serial" lines configure: ${#param} must be supported by the shell for the testsuite yacc tests: fix a spurious failure with parallel make ylwrap: use proper quoting inside a `...` substitution ylwrap: don't uselessly reset the exit status in case of failure ylwrap: fix C++ support for Bison ylwrap: refactor: move loop invariant ylwrap: refactoring: don't rely on the file order tests: upgrade and fix Bison test case tests: fix bison input file ylwrap: comment changes ylwrap: modernize idioms ylwrap: rename header inclusion in generated parsers ylwrap: simplify the list of renamings ylwrap: refactor: less duplication Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini 6e3c0b92 2012-07-14T18:49:25 m4: get rid of "# serial" lines The "#serial" lines are only considered by aclocal for the system-wide third-party '.m4' files, not for the Automake-provided ones. So they serve no real purpose in the Automake '.m4' files. In addition, now that we use git and topic branches, and that we are also writing the Automake-NG fork, the "#serial" lines are becoming more and more unreliable (e.g., different version of the same file in different branches can easily end up having the same serial numbers). So let's just nuke all the "#serial" lines. See also automake bug#11932. * m4/*.m4: All "# serial" lines removed. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini d2ca1685 2012-04-06T10:10:12 m4: delete several obsolete macros Support for several obsolescent macros has already been deprecated, and their removal already announced in the documentation and in the NEWS file. It's now time to finally remove them. * m4/dmalloc.m4 (fp_WITH_DMALLOC): Don't define anymore. * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise. * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise. * m4/protos.m4 (fp_C_PROTOTYPES): Likewise. * m4/ccstdc.m4: Delete file. * m4/header.m4: Likewise. * m4/obsol-gt.m4: Likewise. * m4/obsol-lt.m4: Likewise. * m4/obsolete.m4: Likewise. * Makefile.am (dist_automake_ac_DATA): Don't list the deleted '.m4' files anymore. * t/confh.sh: Use 'AC_CONFIG_HEADERS' instead of the now-removed AM_CONFIG_HEADER. * t/confh.sh: Likewise. * t/confh4.sh: Likewise. * t/confh6.sh: Likewise. * t/confh7.sh: Likewise. * t/confh8.sh: Likewise. * t/confsub.sh: Likewise. * t/stamph2.sh: Likewise. * t/subdir6.sh: Likewise. * t/autohdr2.sh: Remove as obsolete. * t/obsolete.sh: Likewise. * t/list-of-tests.mk. Don't list the deleted test cases anymore. * NEWS: Update. * doc/automake.texi: Likewise. In particular ... (Obsolete Macros): Remove this node altogether. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Stefano Lattarini 641a5a4b 2012-02-16T10:46:23 maint: run "make update-copyright"
Stefano Lattarini d7d84c92 2010-12-12T14:17:41 More uses of AS_HELP_STRING in automake macros. * m4/depend.m4 (AM_DEP_TRACK): Use `AS_HELP_STRING' to format the help message added to the generated configure. * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise. * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise. Also, bumped all serial numbers of the modified m4 files.
Alexandre Duret-Lutz 79a9f204 2006-08-19T13:58:03 * NEWS, configure.ac, m4/init.m4, m4/lispdir.m4, m4/mkdirp.m4: Require Autoconf 2.60 instead of some intermediate development version.
Ralf Wildenhues 97743710 2006-04-17T08:23:35 * m4/lispdir.m4 (AM_PATH_LISPDIR): Require Autoconf 2.59c, because it uses `datarootdir'. Bump copyright year and serial.
Alexandre Duret-Lutz 0d3ad21b 2005-02-27T00:24:31 * m4/lispdir.m4: Use datarootdir instead of datadir to match GCS. * doc/automake.texi (Hard-Coded Install Paths): Adjust.
Alexandre Duret-Lutz 391df12b 2005-01-09T14:46:22 * m4/amversion.in, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lead-dot.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/mkdirp.m4, m4/multi.m4, m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4, m4/options.m4, m4/protos.m4, m4/python.m4, m4/regex.m4, m4/runlog.m4, m4/sanity.m4, m4/strip.m4, m4/tar.m4: Use the same all-permissive license that is used in aclocal.m4. Relicensing backed by RMS.
Alexandre Duret-Lutz 91d0556f 2004-01-10T23:12:46 * m4/as.m4 (AM_PROG_AS): Format and align help string more consistently. * m4/depend.m4 (AM_DEP_TRACK): Likewise. * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise.
Alexandre Duret-Lutz febefa72 2004-01-10T14:11:07 * m4/lispdir.m4 (AM_PATH_LISPDIR): Don't use ? in sed regular expressions; it doesn't conform to POSIX.
Alexandre Duret-Lutz 6b86476f 2003-11-13T19:39:06 * m4/lispdir.m4 (AM_PATH_LISPDIR): If EMACS=t, empty it before running AC_CHECK_PROGS(EMACS). * lib/am/lisp.am (elc-stamp): Quote $(EMACS). Report from Jens Petersen.
Alexandre Duret-Lutz 44784989 2003-10-21T16:29:04 * m4/lispdir.m4 (AM_PATH_LISPDIR): Always check for Emacs. Always define lispdir. * lib/am/lisp.am (install-%DIR%LISP, uninstall-%DIR%LISP): Check $(EMACS) to decide whether _LISP files must be installed, not $(lispdir). * doc/automake.texi (Emacs Lisp): Mention the two ways to install non byte-compiled Emacs lisp files. * tests/lisp4.test, tests/lisp5.test: Check "make install" when EMACS=no. Suggested by Simon Josefsson.
Alexandre Duret-Lutz 6ddb960e 2003-06-15T16:19:48 2003-06-15 Jens Elkner <elkner@imsgroup.de> (tiny change) * m4/lispdir.m4 (AM_PATH_LISPDIR): Fix sed commands to work with POSIXLY_CORRECT=1.
Akim Demaille f68696e2 2003-06-02T07:08:40 * lib/am/texi-vers.am, lib/am/subdirs.am, lib/am/scripts.am, * lib/am/remake-hdr.am, lib/am/python.am, lib/am/progs.am, * lib/am/program.am, lib/am/multilib.am, lib/am/mans.am, * lib/am/mans-vars.am, lib/am/ltlibrary.am, lib/am/ltlib.am, * lib/am/lisp.am, lib/am/libtool.am, lib/am/library.am, * lib/am/lang-compile.am, lib/am/java.am, lib/am/header.am, * lib/am/header-vars.am, lib/am/footer.am, lib/am/depend.am, * lib/am/dejagnu.am, lib/am/data.am, lib/am/compile.am, * lib/am/clean.am, lib/am/clean-hdr.am, lib/am/check.am, * lib/am/ansi2knr.am, lib/am/Makefile.am, lib/Makefile.am, * m4/strip.m4, m4/sanity.m4, m4/runlog.m4, m4/regex.m4, * m4/python.m4, m4/protos.m4, m4/options.m4, m4/obsolete.m4, * m4/obsol-lt.m4, m4/obsol-gt.m4, m4/multi.m4, m4/missing.m4, * m4/minuso.m4, m4/maintainer.m4, m4/lispdir.m4, m4/lex.m4, * m4/install-sh.m4, m4/header.m4, m4/gcj.m4, m4/dmalloc.m4, * m4/depout.m4, m4/cond.m4, m4/ccstdc.m4, m4/auxdir.m4, m4/as.m4, * m4/Makefile.am: White space changes and Copyright updates.
Alexandre Duret-Lutz c7a3a124 2003-01-08T18:17:05 * m4/lispdir.m4: Register EMACS and EMACSLOADPATH as precious variables. Suggested by Ryan T. Sammartino.
Alexandre Duret-Lutz eafb319c 2002-07-19T20:17:59 * m4/init.m4: Require Autoconf 2.53b. * m4/header.m4 (AM_CONFIG_HEADER): Redefine using AU_DEFUN. * m4/ccstdc.m4 (fp_PROG_CC_STDC): New AU_DEFUN. * m4/dmalloc.m4 (fp_WITH_DMALLOC): Likewise. * m4/lispdir.m4 (ud_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (jm_MAINTAINER_MODE): Likewise. * m4/protos.m4 (fp_C_PROTOTYPES): Likewise. * m4/regex.m4 (fp_WITH_REGEX): Likewise. * m4/termios.m4: Delete. AM_SYS_POSIX_TERMIOS is now AU_DEFUNed in m4/obsolete.m4. * m4/winsz.m4: Delete. AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL is now AU_DEFUNed in m4/obsolete.m4. * m4/obsol-gt.m4, m4/obsol-lt.m4, m4/obsolete.m4 : New files. * m4/Makefile.am (dist_m4data_DATA): Add obsol-gt.m4, obsol-lt.m4, and obsolete.m4. Remove termios.m4 and winsz.m4. * aclocal.in (obsolete, obsolete_rx): Remove. (scan_configure): Don't grep for obsolete macros. * tests/defs (AUTOUPDATE): Define. * Makefile.am (maintainer-check): Check for misuses of autoupdate. * tests/obsolete.test: Rewrite. Exercize the AU_DEFUN macros from m4/obsolete.m4.
Tim Van Holder c0c40a71 2002-02-20T18:10:21 * m4/lispdir.m4: Redirect /dev/null to stdin when running $EMACS to try and prevent a non-lisp emacs from starting in interactive mode. * automake.texi: Document this change.
Akim Demaille f139e4f5 2002-01-28T10:47:52 * m4/lispdir.m4 (AM_PATH_LISPDIR): Serial 5. Respect the --help layout.
Akim Demaille e639c6ae 2001-10-29T22:12:40 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid cluttering configure's stdout.
Akim Demaille 0668ce98 2001-09-22T16:05:36 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000, Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am, lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4, m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4, m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4, m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4, m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4, m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4, m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4, m4/termios.m4, m4/winsz.m4: Add copyright notice. * INSTALL, lib/INSTALL: Upgrade to latest autoconf version, which has a copyright notice.
Pavel Roskin 5f11c708 2000-11-24T02:25:13 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because of M4 underquoting. * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes. * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise. * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. * m4/multi.m4 (AM_WITH_DMALLOC): Likewise. * m4/python.m4 (AM_PATH_PYTHON): Likewise. * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
Akim Demaille 4b893ece 2000-08-02T08:59:16 * m4: Quote properly the name of the macros being defined. Use `#' instead of `dnl' where appropriate. * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just quote. Don't quote passive characters. Pull the AC_PREREQ outside the macro. * m4/init.m4: Pull the AC_PREREQ outside the macro.
Tom Tromey f02d6e22 2000-01-13T00:58:57 * m4/lispdir.m4: Added --with-lispdir argument processing. From Kevin Dalley.
Alexandre Oliva 09375a66 1999-10-03T23:43:35 * m4/lispdir.m4: -batch must come before -q. * elisp-comp: Likewise. Reported by Lars Hecking <lhecking@nmrc.ucc.ie> * THANKS: Added Lars.
Alexandre Oliva 54b11e66 1999-04-18T14:13:03 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
Alexandre Oliva fcbcb5ea 1999-04-17T22:44:10 * m4/lispdir.m4: Do not override lispdir if it's already defined. Run some emacs-lisp to find out the site-lisp directory, but relocate it into prefix.
Tom Tromey a2287964 1998-10-24T15:20:31 * m4/lispdir.m4: Fixed sed invocation. From Akim Demaille.
Tom Tromey 0efcfbcc 1998-10-01T11:37:29 * m4/lispdir.m4 (AM_PATH_LISPDIR): Correctly find xemacs and xemacs install directories. From Robert Bihlmeyer.
Tom Tromey 97cadf26 1997-03-28T03:23:29 lisp fix
Tom Tromey 12740d7d 1997-03-28T03:20:03 lisp fix
Tom Tromey 42d354d3 1996-10-17T20:16:33 lisp bug fixes
Tom Tromey ff050385 1996-10-11T04:35:14 Fix for recursive check; other fixes
Tom Tromey c19b5620 1996-10-06T03:55:55 Many bug fixes