diff options
Diffstat (limited to 'gl/m4/byteswap.m4')
-rw-r--r-- | gl/m4/byteswap.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gl/m4/byteswap.m4 b/gl/m4/byteswap.m4 new file mode 100644 index 0000000..8058d17 --- /dev/null +++ b/gl/m4/byteswap.m4 | |||
@@ -0,0 +1,17 @@ | |||
1 | # byteswap.m4 serial 5 | ||
2 | dnl Copyright (C) 2005, 2007, 2009-2023 Free Software Foundation, Inc. | ||
3 | dnl This file is free software; the Free Software Foundation | ||
4 | dnl gives unlimited permission to copy and/or distribute it, | ||
5 | dnl with or without modifications, as long as this notice is preserved. | ||
6 | |||
7 | dnl Written by Oskar Liljeblad. | ||
8 | |||
9 | AC_DEFUN([gl_BYTESWAP], | ||
10 | [ | ||
11 | dnl Prerequisites of lib/byteswap.in.h. | ||
12 | AC_CHECK_HEADERS([byteswap.h], [ | ||
13 | GL_GENERATE_BYTESWAP_H=false | ||
14 | ], [ | ||
15 | GL_GENERATE_BYTESWAP_H=true | ||
16 | ]) | ||
17 | ]) | ||