mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(jm_LIB_CHECK): Do not set LIB_CRYPT to the
value, $ac_cv_search_crypt, if it's "none required".
This commit is contained in:
1 parent
6ff0bf52e2
commit
31361deb52
1 file changed
+4
-2
+4
-2
@@ -1,4 +1,4 @@
|
||||
#serial 5
|
||||
#serial 6
|
||||
|
||||
dnl Misc lib-related macros for fileutils, sh-utils, textutils.
|
||||
|
||||
@@ -57,7 +57,9 @@ $ac_includes_default
|
||||
# SCO-ODT-3.0 is reported to need -lufc for crypt.
|
||||
# NetBSD needs -lcrypt for crypt.
|
||||
ac_su_saved_lib="$LIBS"
|
||||
AC_SEARCH_LIBS(crypt, [ufc crypt], [LIB_CRYPT="$ac_cv_search_crypt"])
|
||||
AC_SEARCH_LIBS(crypt, [ufc crypt],
|
||||
[test "$ac_cv_search_crypt" = "none required" ||
|
||||
LIB_CRYPT="$ac_cv_search_crypt"])
|
||||
LIBS="$ac_su_saved_lib"
|
||||
AC_SUBST(LIB_CRYPT)
|
||||
])
|
||||
Reference in new issue
Block a user