summaryrefslogtreecommitdiffstats
path: root/gl/m4/byteswap.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/byteswap.m4')
-rw-r--r--gl/m4/byteswap.m410
1 files changed, 4 insertions, 6 deletions
diff --git a/gl/m4/byteswap.m4 b/gl/m4/byteswap.m4
index 1083b4c..99aeb68 100644
--- a/gl/m4/byteswap.m4
+++ b/gl/m4/byteswap.m4
@@ -1,5 +1,5 @@
1# byteswap.m4 serial 4 1# byteswap.m4 serial 5
2dnl Copyright (C) 2005, 2007, 2009-2021 Free Software Foundation, Inc. 2dnl Copyright (C) 2005, 2007, 2009-2022 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 5dnl with or without modifications, as long as this notice is preserved.
@@ -10,10 +10,8 @@ AC_DEFUN([gl_BYTESWAP],
10[ 10[
11 dnl Prerequisites of lib/byteswap.in.h. 11 dnl Prerequisites of lib/byteswap.in.h.
12 AC_CHECK_HEADERS([byteswap.h], [ 12 AC_CHECK_HEADERS([byteswap.h], [
13 BYTESWAP_H='' 13 GL_GENERATE_BYTESWAP_H=false
14 ], [ 14 ], [
15 BYTESWAP_H='byteswap.h' 15 GL_GENERATE_BYTESWAP_H=true
16 ]) 16 ])
17 AC_SUBST([BYTESWAP_H])
18 AM_CONDITIONAL([GL_GENERATE_BYTESWAP_H], [test -n "$BYTESWAP_H"])
19]) 17])