HEIMDAL: move code from source4/heimdal* to third_party/heimdal*
[samba.git] / source4 / heimdal / cf / krb-func-getlogin.m4
diff --git a/source4/heimdal/cf/krb-func-getlogin.m4 b/source4/heimdal/cf/krb-func-getlogin.m4
deleted file mode 100644 (file)
index 8adfddb..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-dnl
-dnl $Id$
-dnl
-dnl test for POSIX (broken) getlogin
-dnl
-
-
-AC_DEFUN([AC_FUNC_GETLOGIN], [
-AC_CHECK_FUNCS(getlogin getlogin_r setlogin)
-if test "$ac_cv_func_getlogin" = yes; then
-AC_CACHE_CHECK(if getlogin is posix, ac_cv_func_getlogin_posix, [
-if test "$ac_cv_func_getlogin" = yes -a "$ac_cv_func_setlogin" = yes; then
-       ac_cv_func_getlogin_posix=no
-else
-       ac_cv_func_getlogin_posix=yes
-fi
-])
-AC_CACHE_CHECK(if getlogin_r is posix, ac_cv_func_getlogin_r_posix, [
-if test "$ac_cv_func_getlogin_r" = yes -a "$ac_cv_func_setlogin" = yes; then
-       ac_cv_func_getlogin_r_posix=no
-else
-       ac_cv_func_getlogin_r_posix=yes
-fi
-])
-if test "$ac_cv_func_getlogin_posix" = yes; then
-       AC_DEFINE(POSIX_GETLOGIN, 1, [Define if getlogin has POSIX flavour (and not BSD).])
-fi
-if test "$ac_cv_func_getlogin_r_posix" = yes; then
-       AC_DEFINE(POSIX_GETLOGIN_R, 1, [Define if getlogin_r has POSIX flavour (and not BSD).])
-fi
-fi
-])