aboutsummaryrefslogtreecommitdiffstats
path: root/m4 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make 'configure' a bit smaller and faster.Paul Eggert2012-05-271-2/+1
| | | | | | | | | | | | | | * configure.in (INSTALL_INFO): Set it with one call to AC_PATH_PROG, not three. (PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's so likely that it'll be needed. (AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works. (AC_PROG_MAKE_SET): Remove; Automake does this. (sysinfo): Do not check for this function, as it's never used. (tzset): Check for this function just once. * admin/CPP-DEFINES: Remove HAVE_SYSINFO. * m4/manywarnings.m4: Sync from gnulib, incorporating the following: 2012-05-27 manywarnings: remove duplicate -Wmultichar entry
* Merge from gnulib.Paul Eggert2012-05-2654-183/+473
| | | | Fixes: debbugs:11527
* Use full name for m4/gnulib-comp.m4. (Bug#11529)Paul Eggert2012-05-211-0/+0
| | | | | | | | | | | Previously the file was named m4/gl-comp.m4 due to DOS 8+3 restrictions, even though the file's name in gnulib is m4/gnulib-comp.m4. This had a problem when merging from gnulib, as the code temporarily renamed it to the full name, causing problems when interrupted. Now the file has its full name, with the idea that we will find a solution for MS-DOS that does not affect the rest of Emacs. * m4/gnulib-comp.m4: Rename from m4/gl-comp.m4. * admin/merge-gnulib: Leave m4/gnulib-comp.m4's name alone.
* Sync from gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdcPaul Eggert2012-04-211-1/+4
| | | | | | | | dated 2011-10-07. Regenerating from current gnulib would be a pervasive change, and currently the trunk isn't open to such changes. * configure.in (WARN_CFLAGS): Remove; no longer needed now that gnulib does it. * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
* Fixes: debbugs:11285Andreas Schwab2012-04-211-1/+3
| | | | * m4/gl-comp.m4: Update.
* configure: new option --enable-gcc-warningsPaul Eggert2012-04-092-0/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have been using this change for many months in my private copy of Emacs, and have used it to find several bugs. It's mature enough to publish now. * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings. * configure.in: Support --enable-gcc-warnings, in the style of other GNU packages such as coreutils. (C_WARNINGS_SWITCH): Remove, replacing with... (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable. (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I, when including system files with GCC. * etc/NEWS: Mention --enable-gcc-warnings. * lib/Makefile.am (AM_CFLAGS): New macro. * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. * lib-src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (BASE_CFLAGS): Use new macros rather than old. * lwlib/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * oldXMenu/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/Makefile.in (C_WARNINGS_SWITCH): Remove. (WARN_CFLAGS, WERROR_CFLAGS): New macros. (ALL_CFLAGS): Use new macros rather than old. * src/process.c: Ignore -Wstrict-overflow to work around GCC bug 52904. * src/regex.c: Ignore -Wstrict-overflow. If !emacs, also ignore -Wunused-but-set-variable, -Wunused-function, -Wunused-macros, -Wunused-result, -Wunused-variable. This should go away once the Emacs and Gnulib regex code is merged. (xmalloc, xrealloc): Now static.
* Port to older Solaris 10 versions (Bug#10677).Paul Eggert2012-01-312-0/+57
| | | | | | | | | | | | | Bug reported by Chong Yidong for SunOS 5.10 Generic_127111-11 sparc. I cannot reproduce it on SunOS 5.10 Generic_141444-09 sparc but possibly this is because Sun fixed the 'stat' bug in my version. * Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid the pathmax module. * lib/pathmax.h, m4/pathmax.m4: New files, from gnulib. * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. These changes are based on gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc dated 2011-10-07 20:59:10, because Emacs is in feature freeze and we do not want to merge any more-recent changes from gnulib.
* Merge from gnulib, fixing some 'configure' typos (Bug#9696).Paul Eggert2011-10-072-20/+28
| | | | | | | * lib/signal.in.h, lib/sigprocmask.c, m4/gl-comp.m4: * m4/gnulib-common.m4: Merge from gnulib. Without this, 'configure' would say "func_gl_gnulib_m4code_pathmax: command not found" on powerpc-apple-darwin9.8.0.
* Merge from gnulib, improving some licensing wording.Paul Eggert2011-09-2611-30/+90
| | | | | | | | | | | | | | | | This clarifies and fixes some licensing issues raised by Glenn Morris <http://lists.gnu.org/archive/html/bug-gnulib/2011-09/msg00397.html>. It also merges the latest version of texinfo.tex and has some MSVC-related changes that don't affect Emacs. * Makefile.in (GNULIB_TOOL_FLAGS): Avoid msvc-inval, msvc-nothrow, pathmax, and raise, since these are needed only to address MSVC-related issues that Emacs doesn't have. * doc/misc/texinfo.tex, lib/dup2.c, lib/gnulib.mk, lib/signal.in.h: * lib/sigprocmask.c, lib/stat.c, lib/stdio.in.h, lib/sys_stat.in.h: * lib/unistd.in.h, m4/dup2.m4, m4/getloadavg.m4, m4/gl-comp.m4: * m4/include_next.m4, m4/signal_h.m4, m4/signalblocking.m4: * m4/stdint.m4, m4/stdio_h.m4, m4/sys_stat_h.m4, m4/time_h.m4: * m4/unistd_h.m4: Merge from gnulib.
* Merge from gnulib, porting to Tru64.Paul Eggert2011-09-115-11/+65
| | | | | | | | * lib/lstat.c, lib/stat.c, m4/include_next.m4, m4/nocrash.m4: * m4/signal_h.m4, m4/time_h.m4, m4/unistd_h.m4: Merge from gnulib. This fixes a compilation error on Tru64 UNIX aka OSF/1 5.1 DTK cc. There is also some mingw stuff here that doesn't affect Emacs.
* Merge from gnulib.Paul Eggert2011-09-036-27/+82
|
* Merge from gnulib.Paul Eggert2011-07-283-19/+23
|
* Merge from gnulib, using build-aux to remove clutter.Paul Eggert2011-07-247-18/+471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m4/largefile.m4: New file, so that Emacs does not mess up when accessing files with large inode numbers in MacOS X 10.5 and later. * m4/nocrash.m4: New file, to avoid triggering background debugger and/or create core dumps during 'configure'. * build-aux/move-if-change: Renamed from move-if-change. * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h. * build-aux/snippet/c++defs.h: Renamed from c++defs.h. * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h. * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn. * .bzrignore: The autogenerated files compile, config.guess, config.sub, depcomp, install-sh, and missing are now in build-aux. * Makefile.in (epaths-force, sync-from-gnulib): move-if-change is now in build-aux. (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite of gnulib's pthread_sigmask module, but Emacs doesn't need it. (mkdir): install-sh is now in build-aux. * config.bat: c++defs.h is now in build-aux/snippets. * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the usual parameter). * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved to build-aux/snippet. * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4: * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4: Merge from gnuilib. This fixes porting bugs on Cygwin, Irix, and Solaris, enables MacOS extensions, and enables nocrash during 'configure'. * make-dist: Adjust to new build-aux and build-aux/snippit dirs. * admin/notes/copyright: The files compile, config.guess, config.sub, depcomp, install-sh, missing, and move-if-change are now in the new build-aux subdirectory. The files arg-nonnull.h, c++defs.h, and warn-on-use.h are now in build-aux/snippets. New file build-aux/snippets/_Noreturn.h. * leim/Makefile.in (install): install-sh is now in build-aux. * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved to build-aux. * msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves from top level to build-aux/snippet. * src/Makefile.in (gl-stamp): move-if-change is now in build-aux.
* * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIBPaul Eggert2011-07-091-51/+1
| | | | | | | | | test, which runs afoul of Automake installations where, for example, /usr/share/aclocal contains a copy of gl_THREADLIB. Problem reported by Sven Joachim in <http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00529.html>. This is just a quick temporary fix, specific to Emacs; I'll work with the other gnulib maintainers to get a more-permanent fix.
* Add strtoimax module, needed for Solaris 8 port.Paul Eggert2011-07-083-0/+78
| | | | | | | * Makefile.in (GNULIB_MODULES): Add strtoimax. * lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files, automatically imported from gnulib. * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
* Simplify Emacs part of pthread_sigmask support.Paul Eggert2011-07-085-49/+164
| | | | | | | | | | | | * Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid sigprocmask. * configure.in (AC_TYPE_UID_T): New dummy macro. Configure gnulib after adjusting LIBS, so that gnulib can assume the libraries in LIBS. * lib/pthread_sigmask.c, lib/sigprocmask.c, m4/signalblocking.m4: New files, automatically imported from gnulib. * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. * src/Makefile.in (LIB_PTHREAD_SIGMASK): New macro. (LIBES): Use it.
* Add gnulib support for pthread_sigmask.Paul Eggert2011-07-063-0/+113
| | | | | | | | | | | | | * Makefile.in (GNULIB_MODULES): Add pthread_sigmask. (GNULIB_TOOL_FLAGS): Avoid sigprocmask. Emacs does its own implementation of 'sigprocmask' on Windows, and it assumes 'sigprocmask' on non-Windows hosts, so it doesn't need the sigprocmask module. * lib/signal.in.h, m4/pthread_sigmask.m4, m4/signal_h.m4: New files, automatically imported from gnulib. * lib/gnulib.mk, m4/gl-comp.m4: Automatically-imported update due to the above changes. * .bzrignore: Add lib/signal.h.
* * m4/alloca.m4: Merge whitespace changes from gnulib.Paul Eggert2011-07-061-13/+13
|
* Use gnulib's dup2 module instead of rolling our own.Paul Eggert2011-06-252-0/+81
| | | | | | | * Makefile.in (GNULIB_MODULES): Add dup2. * configure.in: Do not check for dup2; gnulib does that now. * lib/dup2.c, m4/dup2.m4: New files, from gnulib. * src/sysdep.c (dup2) [!HAVE_DUP2]: Remove; gnulib now does this.
* * lib/getopt.c, lib/stat.c, m4/gl-comp.m4: Merge from gnulib.Paul Eggert2011-06-231-0/+3
|
* Use gnulib's alloca-opt module.Paul Eggert2011-06-212-0/+125
| | | | | | | | | * .bzrignore: Add lib/alloca.h. * Makefile.in (GNULIB_MODULES): Add alloca-opt. * configure.in (AC_FUNC_ALLOCA): Remove almost all the alloca stuff, as gnulib now does that for us. Put alloca check after gl_INIT. * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. * lib/alloca.in.h, m4/alloca.m4: New files, from gnulib.
* Add crypto/sha256 and crypto/sha512 modules from gnulibLeo Liu2011-06-213-0/+37
|
* * lib/unistd.in.h, m4/getloadavg.m4: Merge from gnulib.Paul Eggert2011-06-191-32/+32
|
* * m4/lstat.m4: Merge from gnulib (Bug#8878).Paul Eggert2011-06-161-2/+2
|
* Merge from gnulib: lib/gnulib.mk, m4/*.m4.Paul Eggert2011-06-1516-116/+132
|
* * lib/gnulib.mk, m4/gnulib-common.m4: Merge from gnulib.Paul Eggert2011-06-081-5/+38
|
* Merge from gnulib.Paul Eggert2011-06-061-1/+15
| | | | * lib/careadlinkat.c, lib/careadlinkat.h, m4/gnulib-common.m4: Merge.
* Adjust to recent gnulib change for @GUARD_PREFIX@.Paul Eggert2011-05-292-8/+4
|
* Add crypto/sha1 module from gnulibLeo Liu2011-05-242-0/+20
|
* Merge from gnulib.Paul Eggert2011-05-222-3/+21
|
* Merge from gnulib.Paul Eggert2011-05-173-7/+9
|
* Use C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux.Paul Eggert2011-05-042-0/+87
|
* * Makefile.in (GNULIB_TOOL_FLAG): Add --conditional-dependencies.Paul Eggert2011-05-032-84/+106
| | | | | This new gnulib-tool option saves 'configure' the trouble of checking for strtoull when strtoumax exists.
* Update from gnulib.Paul Eggert2011-04-263-5/+115
|
* Merge from gnulib.Paul Eggert2011-04-222-23/+5
|
* Merge from gnulib.Paul Eggert2011-04-222-0/+4
|
* Simpler version of strtoumax module.Paul Eggert2011-04-2210-670/+33
|
* * Makefile.in (GNULIB_MODULES): Add strtoumax.Paul Eggert2011-04-2111-0/+787
|
* Merge from gnulib.Paul Eggert2011-04-172-46/+101
|
* Update from gnulib.Paul Eggert2011-04-081-0/+3
|
* * lib/gnulib.mk, m4/stdbool.m4, m4/stddef_h.m4, m4/stdint.m4: Merge from gnulib.Paul Eggert2011-04-063-4/+8
|
* Replace two copies of readlink code with single gnulib version.Paul Eggert2011-03-312-0/+33
|
* lib/stdio.in.h, m4/gnulib-common.m4: Regenerate from latest gnulib.Paul Eggert2011-03-311-2/+3
|
* Merge from trunk and from gnulib stdio.Paul Eggert2011-03-202-0/+145
|\
| * Autogenerate.Paul Eggert2011-03-201-0/+5
| |
| * [ChangeLog]Paul Eggert2011-03-201-0/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fakemail: Remove dependency on ignore-value. * Makefile.in (GNULIB_MODULES): Add stdio. * lib/stdio.in.h, m4/stdio_h.m4: New files, automatically imported from gnulib. [lib-src/ChangeLog] fakemail: Remove dependency on ignore-value. This undoes some of the recent fakemail-related changes. It is made possible due to recent changes to gnulib's stdio module. * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h. * fakemail.c: Do not include ignore-value.h. (put_line): Do not use ignore_value.
* | Merge from gnulib, for socklen_t.Paul Eggert2011-03-201-23/+35
| |
* | process.c: Use socklen_t, not int, for socket lengths.Paul Eggert2011-03-172-0/+69
|/
* Simplify symlink portability workaround.Paul Eggert2011-02-253-74/+4
|
* [ChangeLog]Paul Eggert2011-02-227-1/+344
| | | | | | | | | | | | | | | | | | | | Work around some portability problems with symlinks. * Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink. * configure.in (lstat, HAVE_LSTAT): Remove special hack. * lib/lstat.c, lib/readlink.c, lib/stat.c, lib/symlink.c: * m4/dos.m4, m4/lstat.m4, m4/readlink.m4, m4/stat.m4, m4/symlink.m4: New files, automatically generated from gnulib. * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk: * lib/stdlib.in.h, m4/gl-comp.m4, m4/stdlib_h.m4: Regenerate. 2011-02-22 Paul Eggert <eggert@cs.ucla.edu> [src/ChangeLog] Work around some portability problems with symlinks. * fileio.c (Frename_file, Fmake_symbolic_link, Ffile_symlink_p): Simplify the code by assuming that the readlink and symlink calls exist, even if they always fail on this host. (Ffile_readable_p): Likewise, for fifos. * config.in: Regenerate.