cmogstored.git  about / heads / tags
alternative mogstored implementation for MogileFS
blob d9735e10e714aafb2e72586a1a47e832cfd73a2c 301 bytes (raw)
$ git show khash:m4/typeof.m4	# shows this blob on the CLI

1
2
3
4
5
6
7
8
 
dnl check typeof() support
AC_DEFUN([CM_TYPEOF],[
AC_CACHE_CHECK([for typeof], [cm_cv_typeof],
	[AC_TRY_COMPILE([int i; typeof(i) j;], [],
		[cm_cv_typeof=yes], [cm_cv_typeof=no])])
AS_IF([test x"$cm_cv_typeof" = xyes],
	[AC_DEFINE(HAVE_TYPEOF,1,
		[Define to 1 if your compiler supports typeof])])])

git clone https://yhbt.net/cmogstored.git