Assume Autoconf >= 2.63.
[gnulib.git] / modules / byteswap
blobc1da40074c30f45fa0142b98941c63cc4753edeb
1 Description:
2 Swap bytes of 16, 32 and 64 bit values.
4 Files:
5 lib/byteswap.in.h
6 m4/byteswap.m4
8 Depends-on:
10 configure.ac:
11 gl_BYTESWAP
13 Makefile.am:
14 BUILT_SOURCES += $(BYTESWAP_H)
16 # We need the following in order to create <byteswap.h> when the system
17 # doesn't have one.
18 if GL_GENERATE_BYTESWAP_H
19 byteswap.h: byteswap.in.h $(top_builddir)/config.status
20         $(AM_V_GEN)rm -f $@-t $@ && \
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           cat $(srcdir)/byteswap.in.h; \
23         } > $@-t && \
24         mv -f $@-t $@
25 else
26 byteswap.h: $(top_builddir)/config.status
27         rm -f $@
28 endif
29 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
31 Include:
32 <byteswap.h>
34 License:
35 LGPLv2+
37 Maintainer:
38 Oskar Liljeblad