source: heimdal/trunk/cf/dispatch.m4@ 4

Last change on this file since 4 was 1, checked in by Paul Smedley, 10 years ago

Initial commit of Heimdal 1.5.3

File size: 415 bytes
Line 
1
2AC_DEFUN([rk_LIBDISPATCH],[
3
4AC_CHECK_HEADERS([dispatch/dispatch.h])
5
6AC_FIND_FUNC_NO_LIBS(dispatch_async_f, dispatch,
7[#ifdef HAVE_DISPATCH_DISPATCH_H
8#include <dispatch/dispatch.h>
9#endif],[0,0,0])
10
11if test "$ac_cv_func_dispatch_async_f" = yes ; then
12 AC_DEFINE([HAVE_GCD], 1, [Define if os support gcd.])
13 libdispatch=yes
14else
15 libdispatch=no
16fi
17
18AM_CONDITIONAL(have_gcd, test "$libdispatch" = yes)
19
20])
Note: See TracBrowser for help on using the repository browser.