aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* * lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platformChristoph Scholtes2012-02-051-1/+0
| | | | | | | | specific makefiles to support getopt_.h generation with MSVC. * nt/gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC. * nt/nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
* Port to older Solaris 10 versions (Bug#10677).Paul Eggert2012-01-312-1/+94
| | | | | | | | | | | | | 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.
* lib/makefile.w32-in: Fix dependencies for a parallel build.Eli Zaretskii2012-01-301-0/+1
| | | | | | lib/makefile.w32-in ($(BLD)/sha1.$(O) $(BLD)/sha256.$(O) $(BLD)/sha512.$(O)): Depend on stamp_BLD. Fixes a build failure with "make -j3".
* Fix typos.Juanma Barranquero2011-11-202-2/+2
|
* Support MSVC build with newer versions of Visual Studio.Eli Zaretskii2011-11-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small portions of the changes by Fabrice Popineau <[email protected]>. src/makefile.w32-in (TAGS-gmake): Don't use $(patsubst ...), as Nmake barfs on that. Use $(OBJ*_c) variables instead, defined on nt/gmake.defs. src/lisp.h (ENUM_BF): New macro, for enumerated types in bitfields, which are not supported by MSVC. (Lisp_Symbol, Lisp_Misc_Any, Lisp_Marker, Lisp_Misc_Overlay) (Lisp_Save_Value, Lisp_Free): Use ENUM_BF for enumerated types in bitfields. (Lisp_Object) [USE_LISP_UNION_TYPE]: Use ENUM_BF for enumerated types in bitfields. (DEFUN) [_MSC_VER]: Define in a different way for MSVC. src/w32fns.c [_MSC_VER]: DECLARE_HANDLE for any MSVC version. src/w32.c: Don't include w32api.h for MSVC. (init_environment) [_MSC_VER]: Call sys_access, not _access. src/s/ms-w32.h <sigset_t, ssize_t> [_MSC_VER]: Typedefs for MSVC. [_MSC_VER]: Include sys/timeb.h, sys/stat.h, and signal.h. (fstat, stat, utime) [_MSC_VER]: Redirect to their sys_* cousins. (malloc, free, realloc, calloc) [_MSC_VER]: Always redirect to the e_* cousins. (alloca) [_MSC_VER]: Define to _alloca. src/lisp.h (DECL_ALIGN) [_MSC_VER]: Define for MSVC. src/regex.c <re_char> [_MSC_VER]: A separate definition for MSVC. nt/makefile.w32-in (clean-other-dirs-nmake) (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake): Update for current structure of doc/ subdirectories. nt/gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables. nt/INSTALL: Update for newer versions of MSVC. lib/makefile.w32-in (FRC): New dummy target. (TAGS): Depend on FRC. Fixes: debbugs:9960
* Merge from gnulib, fixing some 'configure' typos (Bug#9696).Paul Eggert2011-10-072-28/+16
| | | | | | | * 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-268-87/+295
| | | | | | | | | | | | | | | | 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-112-2/+8
| | | | | | | | * 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-033-3/+10
|
* Merge from gnulib, using build-aux to remove clutter.Paul Eggert2011-07-244-76/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * lib/stdint.in.h: Merge from gnulib (Bug#9025).Paul Eggert2011-07-091-41/+55
| | | | This fixes a build problem on older Mac OS X hosts.
* Add strtoimax module, needed for Solaris 8 port.Paul Eggert2011-07-082-1/+54
| | | | | | | * 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-086-79/+498
| | | | | | | | | | | | * 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-062-1/+431
| | | | | | | | | | | | | * 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.
* Use gnulib's dup2 module instead of rolling our own.Paul Eggert2011-06-252-1/+142
| | | | | | | * 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-232-1/+9
|
* Use gnulib's alloca-opt module.Paul Eggert2011-06-212-1/+80
| | | | | | | | | * .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-217-1/+1576
|
* * lib/unistd.in.h, m4/getloadavg.m4: Merge from gnulib.Paul Eggert2011-06-191-0/+2
|
* Merge from gnulib: lib/gnulib.mk, m4/*.m4.Paul Eggert2011-06-151-12/+8
|
* * lib/ftoastr.c, lib/stdio.in.h, lib/verify.h: Merge from gnulib.Paul Eggert2011-06-153-45/+17
|
* * lib/gnulib.mk, m4/gnulib-common.m4: Merge from gnulib.Paul Eggert2011-06-081-141/+141
|
* Merge from gnulib.Paul Eggert2011-06-062-5/+2
| | | | * lib/careadlinkat.c, lib/careadlinkat.h, m4/gnulib-common.m4: Merge.
* * lib/getopt.c: Merge trivial change from gnulib.Paul Eggert2011-06-041-1/+0
|
* * lib/allocator.h, lib/careadlinkat.c: Merge from gnulib.Paul Eggert2011-06-022-5/+12
|
* lib/getopt_.h: Regenerate.Juanma Barranquero2011-05-311-2/+2
|
* Adjust to recent gnulib change for @GUARD_PREFIX@.Paul Eggert2011-05-2913-66/+78
|
* * doc/misc/texinfo.tex, lib/getopt.c, lib/intprops.h: Merge from gnulib.Paul Eggert2011-05-272-21/+70
|
* Add crypto/sha1 module from gnulibLeo Liu2011-05-244-1/+539
|
* * lib/verify.h: Merge from gnulib.Paul Eggert2011-05-231-1/+3
|
* Merge from gnulib.Paul Eggert2011-05-222-17/+23
|
* Merge from gnulib.Paul Eggert2011-05-153-37/+285
|
* Merge from gnulib.Paul Eggert2011-05-051-51/+79
|
* Use C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux.Paul Eggert2011-05-042-1/+64
|
* * Makefile.in (GNULIB_TOOL_FLAG): Add --conditional-dependencies.Paul Eggert2011-05-032-1/+12
| | | | | This new gnulib-tool option saves 'configure' the trouble of checking for strtoull when strtoumax exists.
* Update from gnulib.Paul Eggert2011-04-261-4/+13
|
* Merge from gnulib.Paul Eggert2011-04-222-3/+5
|
* Simpler version of strtoumax module.Paul Eggert2011-04-224-1197/+4
|
* * lib/wchar.h, lib/inttypes.h: Remove; not needed.Paul Eggert2011-04-212-2471/+0
|
* * Makefile.in (GNULIB_MODULES): Add strtoumax.Paul Eggert2011-04-2112-1/+5587
|
* Merge from gnulib.Paul Eggert2011-04-173-17/+242
|
* Merge from gnulib.Paul Eggert2011-04-101-6/+10
|
* Merge from gnulib.Paul Eggert2011-04-093-4/+14
|
* Update from gnulib.Paul Eggert2011-04-085-26/+37
|
* Don't call gnulib's careadlinkat on Windows.Eli Zaretskii2011-04-061-13/+2
| | | | | | src/w32.c (careadlinkat, careadlinkatcwd): New always-fail stubs. lib/makefile.w32-in ($(BLD)/careadlinkat.$(O), GNULIBOBJS): Revert last change.
* lib/makefile.w32-in: Adapt to changes in ↵Juanma Barranquero2011-04-061-3/+21
| | | | | | | | | | 2011-04-06T05:19:[email protected]. * lib/makefile.w32-in (GNULIBOBJS): Add careadlinkat.$(O). ($(BLD)/careadlinkat.$(O)): New target. ($(BLD)/dtoastr.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)) ($(BLD)/strftime.$(O), $(BLD)/time_r.$(O), $(BLD)/md5.$(O)): Update dependencies.
* * lib/gnulib.mk, m4/stdbool.m4, m4/stddef_h.m4, m4/stdint.m4: Merge from gnulib.Paul Eggert2011-04-061-9/+24
|
* Merge changes from gnulib.Paul Eggert2011-04-052-21/+25
|
* Replace two copies of readlink code with single gnulib version.Paul Eggert2011-03-314-1/+300
|
* lib/stdio.in.h, m4/gnulib-common.m4: Regenerate from latest gnulib.Paul Eggert2011-03-311-1/+45
|