]> git.eshelyaron.com Git - emacs.git/commit
Bring back dmpstruct.h
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Apr 2019 02:42:37 +0000 (19:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 Apr 2019 04:00:47 +0000 (21:00 -0700)
commit9994bf17cf532f2e1d4310341da7180342202191
treec1811a216072e3c83ed51f7eaa4e6f2bfa647483
parent0627a8d7bc6ffa29d7a503fd36e760778ecb9fa1
Bring back dmpstruct.h

Bring back the dmpstruct.h checking, and use it when
--enable-checking=structs is specified.  The checking can be helpful
to some developers, although it gets in the way of others and is
not needed for ordinary tarball builds.
* src/dmpstruct.awk: Restore this file, with mode 644 not 755.
* configure.ac: New option-arg --enable-checking=structs,
implied by --enable-checking.
(CHECK_STRUCTS): New macro and var.
* src/Makefile.in (CHECK_STRUCTS): New macro.
(dmpstruct_headers, dmpstruct.h, dmpstruct.h):
Restore these macros and rules.
(pdumper.o): Restore this dependency if $(CHECK_STRUCTS) is true.
(mostlyclean): Remove dmpstruct.h.
* src/pdumper.c [CHECK_STRUCTS]: Include dmpstruct.h,
and restore checks against hashes.
.gitignore
configure.ac
etc/NEWS
src/Makefile.in
src/dmpstruct.awk [new file with mode: 0644]
src/pdumper.c