(clean): clean universal binary intermediate steps, too
[arla.git] / cf / func-krb-get-err-text.m4
blob85b93fa85207e80cc6548cf15ce1921b5dfc6338
1 dnl
2 dnl $Id$
3 dnl
5 dnl
6 dnl Check for krb_get_err_text
7 dnl
9 AC_DEFUN([AC_FUNC_KRB_GET_ERR_TEXT], [
11 AC_CACHE_CHECK(for krb_get_err_text, ac_cv_func_krb_get_err_text, [
12 if test "$ac_cv_found_krb4" = "yes"; then
13 save_CPPFLAGS="${CPPFLAGS}"
14 save_LIBS="${LIBS}"
15 CPPFLAGS="${KRB4_INC_FLAGS} ${CPPFLAGS}"
16 LIBS="${KRB4_LIB_FLAGS} ${LIBS}"
17 AC_TRY_LINK([#include <krb.h>],
18 [krb_get_err_text(0);],
19 ac_cv_func_krb_get_err_text=yes,
20 ac_cv_func_krb_get_err_text=no)
21 CPPFLAGS="${save_CPPFLAGS}"
22 LIBS="${save_LIBS}"
25 if test "$ac_cv_func_krb_get_err_text" = "yes"; then
26   AC_DEFINE(HAVE_KRB_GET_ERR_TEXT, 1, [define if you have krb_get_err_text])