b85c7169a7
will update usr.sbin/ntp to match this. MFC after: 2 weeks
12 lines
377 B
Plaintext
12 lines
377 B
Plaintext
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?])))])
|