aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2013-10-04 16:27:11 +0200
committerMartin Rudalics2013-10-04 16:27:11 +0200
commitcd30a8e09c1bf7c64132eba5d27cb26583596b98 (patch)
tree58e82abcea046b0a8ec8ee7a52942b00d1b8a39b
parent942f6f82c991254317f1fe109e3072350d6986d6 (diff)
downloademacs-cd30a8e09c1bf7c64132eba5d27cb26583596b98.tar.gz
emacs-cd30a8e09c1bf7c64132eba5d27cb26583596b98.zip
In nt/gnulib.mk create <byteswap.h> from <byteswap.in.h>.
* gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/gnulib.mk23
2 files changed, 27 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 2f9a2f5608d..94bd71d28fd 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
12013-10-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
4
12013-09-20 Eli Zaretskii <eliz@gnu.org> 52013-09-20 Eli Zaretskii <eliz@gnu.org>
2 6
3 * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes" 7 * mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"
diff --git a/nt/gnulib.mk b/nt/gnulib.mk
index df27dcf610c..ff46e9f09a6 100644
--- a/nt/gnulib.mk
+++ b/nt/gnulib.mk
@@ -78,6 +78,29 @@ EXTRA_DIST += alloca.in.h
78 78
79## end gnulib module alloca-opt 79## end gnulib module alloca-opt
80 80
81## begin gnulib module byteswap
82
83BUILT_SOURCES += $(BYTESWAP_H)
84
85# We need the following in order to create <byteswap.h> when the system
86# doesn't have one.
87if GL_GENERATE_BYTESWAP_H
88byteswap.h: byteswap.in.h $(top_builddir)/config.status
89 $(AM_V_GEN)rm -f $@-t $@ && \
90 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
91 cat $(srcdir)/byteswap.in.h; \
92 } > $@-t && \
93 mv -f $@-t $@
94else
95byteswap.h: $(top_builddir)/config.status
96 rm -f $@
97endif
98MOSTLYCLEANFILES += byteswap.h byteswap.h-t
99
100EXTRA_DIST += byteswap.in.h
101
102## end gnulib module byteswap
103
81## begin gnulib module c-ctype 104## begin gnulib module c-ctype
82 105
83libgnu_a_SOURCES += c-ctype.h c-ctype.c 106libgnu_a_SOURCES += c-ctype.h c-ctype.c