diff options
| author | Paul Eggert | 2013-10-04 16:27:11 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2013-10-04 16:27:11 +0200 |
| commit | cd30a8e09c1bf7c64132eba5d27cb26583596b98 (patch) | |
| tree | 58e82abcea046b0a8ec8ee7a52942b00d1b8a39b | |
| parent | 942f6f82c991254317f1fe109e3072350d6986d6 (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | nt/gnulib.mk | 23 |
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 @@ | |||
| 1 | 2013-10-04 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * gnulib.mk: Create <byteswap.h> from <byteswap.in.h>. | ||
| 4 | |||
| 1 | 2013-09-20 Eli Zaretskii <eliz@gnu.org> | 5 | 2013-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 | |||
| 83 | BUILT_SOURCES += $(BYTESWAP_H) | ||
| 84 | |||
| 85 | # We need the following in order to create <byteswap.h> when the system | ||
| 86 | # doesn't have one. | ||
| 87 | if GL_GENERATE_BYTESWAP_H | ||
| 88 | byteswap.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 $@ | ||
| 94 | else | ||
| 95 | byteswap.h: $(top_builddir)/config.status | ||
| 96 | rm -f $@ | ||
| 97 | endif | ||
| 98 | MOSTLYCLEANFILES += byteswap.h byteswap.h-t | ||
| 99 | |||
| 100 | EXTRA_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 | ||
| 83 | libgnu_a_SOURCES += c-ctype.h c-ctype.c | 106 | libgnu_a_SOURCES += c-ctype.h c-ctype.c |