1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/third_party/heimdal/cf/krb-prog-perl.m4
Stefan Metzmacher 7055827b8f HEIMDAL: move code from source4/heimdal* to third_party/heimdal*
This makes it clearer that we always want to do heimdal changes
via the lorikeet-heimdal repository.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Wed Jan 19 21:41:59 UTC 2022 on sn-devel-184
2022-01-19 21:41:59 +00:00

22 lines
508 B
Plaintext

dnl
dnl perl and some of its module are required to build some headers
dnl
AC_DEFUN([AC_KRB_PROG_PERL],
[AC_CHECK_PROGS(PERL, perl, perl)
if test "$PERL" = ""; then
AC_MSG_ERROR([perl not found - Cannot build Heimdal without perl])
fi
])
AC_DEFUN([AC_KRB_PERL_MOD],
[
AC_MSG_CHECKING([for Perl5 module $1])
if ! $PERL -M$1 -e 'exit(0);' >/dev/null 2>&1; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([perl module $1 not found - Cannot build Heimdal without perl module $1])
else
AC_MSG_RESULT([yes])
fi
])