1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

In nt/gnulib.mk create <byteswap.h> from <byteswap.in.h>.

* gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
This commit is contained in:
Paul Eggert 2013-10-04 16:27:11 +02:00 committed by Martin Rudalics
parent 942f6f82c9
commit cd30a8e09c
2 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-10-04 Paul Eggert <eggert@cs.ucla.edu>
* gnulib.mk: Create <byteswap.h> from <byteswap.in.h>.
2013-09-20 Eli Zaretskii <eliz@gnu.org>
* mingw-cfg.site (gl_cv_sys_struct_timeval_tv_sec): Set to "yes"

View File

@ -78,6 +78,29 @@ EXTRA_DIST += alloca.in.h
## end gnulib module alloca-opt
## begin gnulib module byteswap
BUILT_SOURCES += $(BYTESWAP_H)
# We need the following in order to create <byteswap.h> when the system
# doesn't have one.
if GL_GENERATE_BYTESWAP_H
byteswap.h: byteswap.in.h $(top_builddir)/config.status
$(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/byteswap.in.h; \
} > $@-t && \
mv -f $@-t $@
else
byteswap.h: $(top_builddir)/config.status
rm -f $@
endif
MOSTLYCLEANFILES += byteswap.h byteswap.h-t
EXTRA_DIST += byteswap.in.h
## end gnulib module byteswap
## begin gnulib module c-ctype
libgnu_a_SOURCES += c-ctype.h c-ctype.c