summaryrefslogtreecommitdiff
path: root/gnulib/modules/byteswap
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/byteswap')
m---------gnulib0
-rw-r--r--gnulib/modules/byteswap38
2 files changed, 38 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/modules/byteswap b/gnulib/modules/byteswap
new file mode 100644
index 0000000..c1da400
--- /dev/null
+++ b/gnulib/modules/byteswap
@@ -0,0 +1,38 @@
+Description:
+Swap bytes of 16, 32 and 64 bit values.
+
+Files:
+lib/byteswap.in.h
+m4/byteswap.m4
+
+Depends-on:
+
+configure.ac:
+gl_BYTESWAP
+
+Makefile.am:
+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
+
+Include:
+<byteswap.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Oskar Liljeblad