]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ntp/m4/hs_ulong_const.m4
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.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?])))])