From 293ec82ede14e2a6f3443637e5a8fb9da9ce3cbe Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 2 Oct 2007 00:07:19 +0200 Subject: [PATCH] Rename byteswap_.h to byteswap.in.h. --- ChangeLog | 3 +++ lib/{byteswap_.h => byteswap.in.h} | 0 m4/byteswap.m4 | 6 +++--- modules/byteswap | 6 +++--- 4 files changed, 9 insertions(+), 6 deletions(-) rename lib/{byteswap_.h => byteswap.in.h} (100%) diff --git a/ChangeLog b/ChangeLog index b79124309..66f8bd700 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ alloca_.h. * lib/argz.in.h: Renamed from lib/argz_.h. * modules/argz (Files, Makefile.am): Use argz.in.h instead of argz_.h. + * lib/byteswap.in.h: Renamed from lib/byteswap_.h. + * modules/byteswap (Files, Makefile.am): Use byteswap.in.h instead of + byteswap_.h. 2007-09-30 Bruno Haible diff --git a/lib/byteswap_.h b/lib/byteswap.in.h similarity index 100% rename from lib/byteswap_.h rename to lib/byteswap.in.h diff --git a/m4/byteswap.m4 b/m4/byteswap.m4 index e71c80268..642c42cf8 100644 --- a/m4/byteswap.m4 +++ b/m4/byteswap.m4 @@ -1,5 +1,5 @@ -# byteswap.m4 serial 1 -dnl Copyright (C) 2005 Free Software Foundation, Inc. +# byteswap.m4 serial 2 +dnl Copyright (C) 2005, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -8,7 +8,7 @@ dnl Written by Oskar Liljeblad. AC_DEFUN([gl_BYTESWAP], [ - dnl Prerequisites of lib/byteswap_.h. + dnl Prerequisites of lib/byteswap.in.h. AC_CHECK_HEADERS([byteswap.h], [ BYTESWAP_H='' ], [ diff --git a/modules/byteswap b/modules/byteswap index 52659d2c9..37f521fe9 100644 --- a/modules/byteswap +++ b/modules/byteswap @@ -2,7 +2,7 @@ Description: Swap bytes of 16, 32 and 64 bit values. Files: -lib/byteswap_.h +lib/byteswap.in.h m4/byteswap.m4 Depends-on: @@ -15,9 +15,9 @@ BUILT_SOURCES += $(BYTESWAP_H) # We need the following in order to create when the system # doesn't have one. -byteswap.h: byteswap_.h +byteswap.h: byteswap.in.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ - cat $(srcdir)/byteswap_.h; \ + cat $(srcdir)/byteswap.in.h; \ } > $@-t mv -f $@-t $@ MOSTLYCLEANFILES += byteswap.h byteswap.h-t -- 2.11.0