1. 20 Feb, 2011 4 commits
    • Eli Zaretskii's avatar
      Followup for 2011-02-20T18:50:26Z!eliz@gnu.org. · e1e6b4fb
      Eli Zaretskii authored
       lib/makefile.w32-in ($(BLD)/md5.$(O)): Don't depend on
       $(EMACS_ROOT)/nt/inc/sys/stat.h.
      e1e6b4fb
    • Paul Eggert's avatar
    • Christoph Scholtes's avatar
      Fix the MS-Windows build due to import of md5 from gnulib. · 32159fc3
      Christoph Scholtes authored
       src/makefile.w32-in: Remove md5.$(O).
       ($(BLD)/md5.$(O)): Remove prerequisites, moved to
       lib/makefile.w32-in.
       ($(BLD)/fns.$(O)): Depend on $(EMACS_ROOT)/lib/md5.h and on stamp_BLD.
       lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
       src/makefile.w32-in.
      32159fc3
    • Paul Eggert's avatar
      Import filemode module from gnulib. · 5fa4ac76
      Paul Eggert authored
      * .bzrignore: Add lib/sys/.
      * Makefile.in (GNULIB_MODULES): Add filemode.
      * lib/Makefile.am (MOSTLYCLEANDIRS): New macro.
      * lib/filemode.c: Renamed from src/filemode.c and regenerated
      from gnulib.  This adds support for some more file types, e.g.,
      Cray DMF migrated files.
      * lisp/emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c.
      * lib/filemode.h, lib/sys_stat.in.h, m4/filemode.m4, m4/st_dm_mode.m4:
      * m4/sys_stat_h.m4: New files, generated from gnulib.
      * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
      Regenerate.
      
      2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>
      5fa4ac76
  2. 19 Feb, 2011 4 commits
    • Eli Zaretskii's avatar
      Fix generation of auto-dependency files in lib/. · 219463da
      Eli Zaretskii authored
       .bzrignore: Add lib/deps/.
       config.bat: Generate *.Po files in lib/deps.
       msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean
       rules.
       msdos/depfiles.bat: New file.
      219463da
    • Eli Zaretskii's avatar
      Update .bzrignore for files produced by the MS-DOS build. · 152be435
      Eli Zaretskii authored
       .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
      152be435
    • Eli Zaretskii's avatar
      Initial version of fix for the MS-DOS build, not yet tested. · 9d9d12cd
      Eli Zaretskii authored
       config.bat: Configure in `lib'.
       msdos/sedlibmk.inp: New file.
       msdos/sedlibcf.inp: New file.
       msdos/sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
       (@true): Edit to "@rem".
       (move-if-change): Edit to "update".
       (echo): Edit to "djecho".
       (cd $(lib) && ...): Edit to "$(MAKE) -C ...".
       msdos/mainmake.v2 (version): Remove, no longer needed (config.in
       defines VERSION).
       (all): Add lib.
       (lib): New target and recipe.
       (lib-src): Depend on lib.
       (src): Depend on lib and lib-src.
       (clean, mostlyclean, distclean, maintainer-clean, extraclean)
       (bootstrap-clean): Recurse into lib.
       msdos/sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
       BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
       (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
       (HAVE__BOOL): Edit to 1.
       (VERSION, inline, restrict): Edit for DJGPP.
       src/s/msdos.h (strtold): Define to _strtold.
       admin/admin.el (set-version): Add msdos/sed2v2.inp.
      9d9d12cd
    • Paul Eggert's avatar
      Import simpler crypto/md5 module from gnulib, plus stdint module. · 5f90be1b
      Paul Eggert authored
      * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
      * src/config.in: Regenerate.
      * lib/md5.c, lib/md5.h: Regenerate with simpler version, which
      assumes C99-style <stdint.h>, supplied by the stdint module.
      * lib/stdint.in.h, m4/longlong.m4, m4/stdint.m4: New files,
      generated from gnulib.
      * src/deps.mk (fns.o): Do not depend on md5.h, fixing a typo in
      the earlier patch.
      5f90be1b
  3. 18 Feb, 2011 2 commits
    • Paul Eggert's avatar
      Import crypto/md5 module from gnulib. · 942f733f
      Paul Eggert authored
      * Makefile.in (MAKEFILE_MODULES): Add crypto/md5.
      * admin/notes/copyright: Remove src/md5.c and src/md5.h as
      special cases.
      * src/Makefile.in (base_obj): Remove md5.o, since this file
      is in lib now.
      * src/deps.mk (md5.o): Remove.
      * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
      Regenerate.
      * lib/md5.c: Regenerate.  This renames the file from src/md5.c,
      and adds some porting improvements from gnulib.
      * lib/md5.h: Regenerate, likwise; rename from src/md5.h.
      * m4/md5.m4: New file, from gnulib.
      
      2011-02-18  Paul Eggert  <eggert@cs.ucla.edu>
      942f733f
    • Paul Eggert's avatar
      Import IRIX 6.5 getloadavg fixes from gnulib. · 7d315eb6
      Paul Eggert authored
      * configure, lib/getloadavg.c, m4/getloadavg.m4: Regenerate.
      7d315eb6
  4. 16 Feb, 2011 2 commits
  5. 15 Feb, 2011 2 commits
  6. 13 Feb, 2011 1 commit
  7. 10 Feb, 2011 3 commits
  8. 09 Feb, 2011 2 commits
  9. 08 Feb, 2011 2 commits
    • Tom Tromey's avatar
      Make globals.h a generated header · 00b3c7ac
      Tom Tromey authored
      	* configure: Rebuild.
      	* configure.in (NS_OBJC_OBJ): New subst.
      lib-src
      	* make-docfile.c: Unconditionally include stdlib.h.
      	(generate_globals): New global.
      	(xrealloc): New function.
      	(main): Handle '-g'.  Call start_globals, write_globals.
      	(scan_file): Conditionally call put_filename.
      	(start_globals): New function.
      	(struct global): New.
      	(num_globals, globals): New globals.
      	(add_global, compare_globals, write_globals): New functions.
      	(scan_c_file): Update for "-g".
      	(scan_lisp_file): Fail if "-g".
      	(enum global_type): New.
      src
      	* Makefile.in (NS_OBJC_OBJ): New variable.
      	(base_obj): Rename from 'obj'.
      	(obj): New variable.
      	(globals.h, gl-stamp, $(obj)): New targets.
      	(GLOBAL_SOURCES): New variable.
      	* globals.h: Remove.
      	* nsselect.m (Vselection_alist): Define.  Reverts part of
      	2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
      	* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
      	variable.
      	* xselect.c (Vselection_alist): Define.  Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.
      00b3c7ac
    • Paul Eggert's avatar
      Import getloadavg module from gnulib. · 79ab4b7f
      Paul Eggert authored
      79ab4b7f
  10. 07 Feb, 2011 1 commit
  11. 06 Feb, 2011 2 commits
  12. 05 Feb, 2011 1 commit
  13. 03 Feb, 2011 1 commit
  14. 31 Jan, 2011 2 commits
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and... · 70b0d280
      Eli Zaretskii authored
      Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu.
      
       lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and
       $(BLD)/time_r.$(O).
       ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and
       $(EMACS_ROOT)/src/m/intel386.h.
       ($(BLD)/strftime.$(O)): 
       ($(BLD)/time_r.$(O)): Define prerequisites.
       src/makefile.w32-in (OBJ2): Remove strftime.$(O).
       ($(BLD)/strftime.$(O)): Remove prerequisites.
       lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
       (ECLIENT_CFLAGS): Remove -DVERSION.
       ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
       nt/config.nt (VERSION): Uncomment definition.
       (restrict): Define.
       nt/inc/stdbool.h: New file.
       admin/admin.el (set-version): Remove lib-src/makefile.w32-in.  Add
       nt/config.nt.
      70b0d280
    • Paul Eggert's avatar
      16fab143
  15. 30 Jan, 2011 2 commits
  16. 29 Jan, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and... · f915f0f7
      Eli Zaretskii authored
      Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs-23/2010-05-21T19:51:48Z!acm@muc.de.
      
       lib/makefile.w32-in:
       lib/getopt_.h: New files.
       src/s/ms-w32.h (HAVE_MKTIME): Remove.
       src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
       (GNULIB): New variable.
       (LIBS): Add $(GNULIB).
       $(TEMACS): Depend on $(GNULIB).
       <top-level>: Fix font-lock disrupted by a lone `"'.
       src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
       (GETOPTOBJS, GETOPTDEPS): Remove targets.
       (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
       ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
       (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
       and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
       (clean): Don't remove getopt.h.
       (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
       ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
       $(EMACS_ROOT)/lib/getopt.h.
       nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake)
       (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake)
       (bootstrap-clean-gmake, clean-other-dirs-nmake)
       (clean-other-dirs-gmake, cleanall-other-dirs-nmake)
       (cleanall-other-dirs-gmake, distclean-other-dirs-nmake)
       (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake)
       (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well.
       nt/configure.bat: Create lib/makefile.
       nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove.
       (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
       (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline)
       (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
      f915f0f7
  17. 28 Jan, 2011 1 commit
    • Paul Eggert's avatar
      improve fix for MS-DOS file name clash · c7e95b91
      Paul Eggert authored
      * Makefile.in (DOS_gnulib_comp.m4): Renamed from DOS-gnulib-comp.m4,
      for portability to POSIX make.  Reported by Bruno Haible.
      (sync-from-gnulib): Copy gl-comp.m4 (if present) back to
      gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib
      files from accumulating as garbage.  Also reported by Bruno Haible.
      c7e95b91
  18. 27 Jan, 2011 2 commits
  19. 26 Jan, 2011 1 commit
  20. 25 Jan, 2011 3 commits
  21. 24 Jan, 2011 1 commit