mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(jm_MACROS): Include $(EXEEXT) in DF_PROG's program
name, since automake only adds $(EXEEXT) to programs in its *_PROGRAMS. Arrange to compile the corresponding stub function if fchdir is missing.
This commit is contained in:
1 parent
82fb517834
commit
a54791dc18
1 file changed
+3
-2
+3
-2
@@ -1,4 +1,4 @@
|
||||
#serial 60 -*- autoconf -*-
|
||||
#serial 61 -*- autoconf -*-
|
||||
|
||||
m4_undefine([AC_LANG_SOURCE(C)])
|
||||
dnl The following is identical to the definition in c.m4
|
||||
@@ -220,7 +220,7 @@ AC_DEFUN([jm_MACROS],
|
||||
jm_FSTYPENAME
|
||||
jm_FILE_SYSTEM_USAGE([space=yes], [space=no])
|
||||
if test $list_mounted_fs = yes && test $space = yes; then
|
||||
DF_PROG=df
|
||||
DF_PROG='df$(EXEEXT)'
|
||||
AC_LIBOBJ(fsusage)
|
||||
AC_LIBOBJ(mountlist)
|
||||
fi
|
||||
@@ -229,6 +229,7 @@ AC_DEFUN([jm_MACROS],
|
||||
|
||||
# If any of these functions don't exist (e.g. DJGPP 2.03),
|
||||
# use the corresponding stub.
|
||||
AC_CHECK_FUNC([fchdir], , [AC_LIBOBJ(fchdir-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)])
|
||||
|
||||
Reference in new issue
Block a user