From b528cefc6b8f9670b31a865051741d946cb37085 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Sun, 9 Jan 2000 20:58:00 +0000 Subject: Import KTH Heimdal, which will be the core of our Kerberos5. Userland to follow. --- crypto/heimdal/cf/broken-glob.m4 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 crypto/heimdal/cf/broken-glob.m4 (limited to 'crypto/heimdal/cf/broken-glob.m4') diff --git a/crypto/heimdal/cf/broken-glob.m4 b/crypto/heimdal/cf/broken-glob.m4 new file mode 100644 index 000000000000..8d5279275006 --- /dev/null +++ b/crypto/heimdal/cf/broken-glob.m4 @@ -0,0 +1,22 @@ +dnl $Id: broken-glob.m4,v 1.2 1999/03/01 09:52:15 joda Exp $ +dnl +dnl check for glob(3) +dnl +AC_DEFUN(AC_BROKEN_GLOB,[ +AC_CACHE_CHECK(for working glob, ac_cv_func_glob_working, +ac_cv_func_glob_working=yes +AC_TRY_LINK([ +#include +#include ],[ +glob(NULL, GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE, NULL, NULL); +],:,ac_cv_func_glob_working=no,:)) + +if test "$ac_cv_func_glob_working" = yes; then + AC_DEFINE(HAVE_GLOB, 1, [define if you have a glob() that groks + GLOB_BRACE, GLOB_NOCHECK, GLOB_QUOTE, and GLOB_TILDE]) +fi +if test "$ac_cv_func_glob_working" = yes; then +AC_NEED_PROTO([#include +#include ],glob) +fi +]) -- cgit v1.2.3