diff options
-rw-r--r-- | m4/jm-macros.m4 | 1 | ||||
-rw-r--r-- | m4/lib-check.m4 | 1 | ||||
-rw-r--r-- | m4/xattr.m4 | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 833940469..f42f67c21 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -94,6 +94,7 @@ AC_DEFUN([coreutils_MACROS], # for dd.c and shred.c coreutils_saved_libs=$LIBS + LIB_FDATASYNC= AC_SEARCH_LIBS([fdatasync], [rt posix4], [test "$ac_cv_search_fdatasync" = "none required" || LIB_FDATASYNC=$ac_cv_search_fdatasync]) diff --git a/m4/lib-check.m4 b/m4/lib-check.m4 index e169fa16a..7bbdb20ec 100644 --- a/m4/lib-check.m4 +++ b/m4/lib-check.m4 @@ -51,6 +51,7 @@ $ac_includes_default # 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" || diff --git a/m4/xattr.m4 b/m4/xattr.m4 index 878e86bc0..d340417c9 100644 --- a/m4/xattr.m4 +++ b/m4/xattr.m4 @@ -25,6 +25,7 @@ AC_DEFUN([gl_FUNC_XATTR], fi AC_DEFINE_UNQUOTED([USE_XATTR], [$use_xattr], [Define if you want extended attribute support.]) + LIB_XATTR= xattr_saved_LIBS=$LIBS AC_SEARCH_LIBS([attr_copy_file], [attr], [test "$ac_cv_search_attr_copy_file" = "none required" || |