Merge commit 'd360671c1cca335600079f1c5714572d1c2e676d'
[bpt/guile.git] / m4 / byteswap.m4
CommitLineData
dd7d0148 1# byteswap.m4 serial 4
af07e104 2dnl Copyright (C) 2005, 2007, 2009-2013 Free Software Foundation, Inc.
24d56127
LC
3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved.
6
7dnl Written by Oskar Liljeblad.
8
9AC_DEFUN([gl_BYTESWAP],
10[
11 dnl Prerequisites of lib/byteswap.in.h.
12 AC_CHECK_HEADERS([byteswap.h], [
13 BYTESWAP_H=''
14 ], [
15 BYTESWAP_H='byteswap.h'
16 ])
17 AC_SUBST([BYTESWAP_H])
dd7d0148 18 AM_CONDITIONAL([GL_GENERATE_BYTESWAP_H], [test -n "$BYTESWAP_H"])
24d56127 19])