maint: update all copyright year number ranges
[gnulib.git] / m4 / byteswap.m4
index e71c802..7566903 100644 (file)
@@ -1,5 +1,5 @@
-# byteswap.m4 serial 1
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
+# byteswap.m4 serial 4
+dnl Copyright (C) 2005, 2007, 2009-2013 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,11 +8,12 @@ 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=''
   ], [
     BYTESWAP_H='byteswap.h'
   ])
-  AC_SUBST(BYTESWAP_H)
+  AC_SUBST([BYTESWAP_H])
+  AM_CONDITIONAL([GL_GENERATE_BYTESWAP_H], [test -n "$BYTESWAP_H"])
 ])