mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(jm_MACROS): Arrange to compile the corresponding stub
function if any of the following is missing: fchown, lstat, readlink. From Richard Dawe.
This commit is contained in:
1 parent
2506805702
commit
4f5960c9fb
1 file changed
+6
@@ -227,6 +227,12 @@ AC_DEFUN([jm_MACROS],
|
||||
AC_REQUIRE([jm_AC_DOS])
|
||||
AC_REQUIRE([AC_FUNC_CANONICALIZE_FILE_NAME])
|
||||
|
||||
# If any of these functions don't exist (e.g. DJGPP 2.03),
|
||||
# use the corresponding stub.
|
||||
AC_CHECK_FUNC([fchown], , [AC_LIBOBJ(fchown-stub)])
|
||||
AC_CHECK_FUNC([lstat], , [AC_LIBOBJ(lstat-stub)])
|
||||
AC_CHECK_FUNC([readlink], , [AC_LIBOBJ(readlink-stub)])
|
||||
|
||||
])
|
||||
|
||||
# These tests must be run before any use of AC_CHECK_TYPE,
|
||||
|
||||
Reference in new issue
Block a user