]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/ntp/m4/hs_ulong_const.m4
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / ntp / m4 / hs_ulong_const.m4
1 AC_DEFUN([hs_ULONG_CONST],
2 [ AH_TEMPLATE(ULONG_CONST, [How do we create unsigned long constants?])
3 AC_EGREP_CPP(Circus,
4  [#define ACAT(a,b)a ## b
5 ACAT(Cir,cus)
6 ], AC_DEFINE([ULONG_CONST(a)], [a ## UL]),
7     AC_EGREP_CPP(Reiser,
8 [#define RCAT(a,b)a/**/b
9 RCAT(Rei,ser)
10 ], AC_DEFINE([ULONG_CONST(a)], [a/**/L]),
11     AC_MSG_ERROR([How do we create an unsigned long constant?])))])