diff options
author | Jim Meyering <meyering@redhat.com> | 2012-05-25 18:10:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-06-06 22:33:08 +0200 |
commit | 928dd73762e69cfeaab4a7ec9dd8f30f86a45ed4 (patch) | |
tree | d516a7d38c14b3a650b2ac9225be6028297a38fc /m4 | |
parent | 7b6ce030cc54b34c7fc8a87a0c89137fb5c78a50 (diff) | |
download | coreutils-928dd73762e69cfeaab4a7ec9dd8f30f86a45ed4.tar.xz |
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.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/lib-check.m4 | 60 |
1 files changed, 0 insertions, 60 deletions
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 <http://www.gnu.org/licenses/>. - -# 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 <shadow.h> -#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]) -]) |