/contrib/ntp/m4/hs_ulong_const.m4
https://bitbucket.org/freebsd/freebsd-head/ · m4 · 11 lines · 11 code · 0 blank · 0 comment · 0 complexity · 36a373d14dd370805750db0b4554065c MD5 · raw file
- AC_DEFUN([hs_ULONG_CONST],
- [ AH_TEMPLATE(ULONG_CONST, [How do we create unsigned long constants?])
- AC_EGREP_CPP(Circus,
- [#define ACAT(a,b)a ## b
- ACAT(Cir,cus)
- ], AC_DEFINE([ULONG_CONST(a)], [a ## UL]),
- AC_EGREP_CPP(Reiser,
- [#define RCAT(a,b)a/**/b
- RCAT(Rei,ser)
- ], AC_DEFINE([ULONG_CONST(a)], [a/**/L]),
- AC_MSG_ERROR([How do we create an unsigned long constant?])))])