From 928dd73762e69cfeaab4a7ec9dd8f30f86a45ed4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 25 May 2012 18:10:25 +0200 Subject: su: remove program (util-linux is now the best source for it) * README: Omit "su" from list of programs. * src/su.c: Remove file. * src/Makefile.am: Remove su-related rules and variables. * tests/misc/su-fail: Remove test. * tests/Makefile.am (TESTS): Remove misc/su-fail. * tests/misc/invalid-opt: Remove su-related code. * src/.gitignore: Remove su. * man/su.x: Remove file. * man/Makefile.am (su.1): Remove rule. * po/POTFILES.in: Remove su.c from the list. * TODO: Remove ancient entry. * NEWS (Changes in behavior): Mention it. * doc/coreutils.texi: Remove su-related description. * AUTHORS: Remove su. * m4/lib-check.m4 (cu_LIB_CHECK): Remove file/macro. * configure.ac: Remove su-related code and sole use of cu_LIB_CHECK. * scripts/git-hooks/commit-msg: Remove su from this list, too. --- m4/lib-check.m4 | 60 --------------------------------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 m4/lib-check.m4 (limited to 'm4') diff --git a/m4/lib-check.m4 b/m4/lib-check.m4 deleted file mode 100644 index a33c6231c..000000000 --- a/m4/lib-check.m4 +++ /dev/null @@ -1,60 +0,0 @@ -#serial 11 - -dnl Misc lib-related macros for coreutils. - -# Copyright (C) 1993-2012 Free Software Foundation, Inc. - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -# Written by Jim Meyering. - -AC_DEFUN([cu_LIB_CHECK], -[ - - # Check for libypsec.a on Dolphin M88K machines. - AC_CHECK_LIB([ypsec], [main]) - - # m88k running dgux 5.4 needs this - AC_CHECK_LIB([ldgc], [main]) - - # The -lsun library is required for YP support on Irix-4.0.5 systems. - # m88k/svr3 DolphinOS systems using YP need -lypsec for id. - AC_SEARCH_LIBS([yp_match], [sun ypsec]) - - # SysV needs -lsec, older versions of Linux need -lshadow for - # shadow passwords. UnixWare 7 needs -lgen. - AC_SEARCH_LIBS([getspnam], [shadow sec gen]) - - AC_CHECK_HEADERS([shadow.h]) - - # Requirements for su.c. - shadow_includes="\ -$ac_includes_default -#if HAVE_SHADOW_H -# include -#endif -" - AC_CHECK_MEMBERS([struct spwd.sp_pwdp],,,[$shadow_includes]) - AC_CHECK_FUNCS([getspnam]) - - # SCO-ODT-3.0 is reported to need -lufc for crypt. - # NetBSD needs -lcrypt for crypt. - LIB_CRYPT= - cu_saved_libs="$LIBS" - AC_SEARCH_LIBS([crypt], [ufc crypt], - [test "$ac_cv_search_crypt" = "none required" || - LIB_CRYPT="$ac_cv_search_crypt"]) - LIBS="$cu_saved_libs" - AC_SUBST([LIB_CRYPT]) -]) -- cgit v1.2.3-54-g00ecf