diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-19 09:03:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-19 09:03:40 +0000 |
commit | a54791dc18a8dbc7bd576eedbaacb6f055f05ef9 (patch) | |
tree | 0ba637e42ebfb54ab4e9ca27898ba84925ed30f2 | |
parent | 82fb517834f309285c4906365abe45b8fa3ac905 (diff) | |
download | coreutils-a54791dc18a8dbc7bd576eedbaacb6f055f05ef9.tar.xz |
(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.
-rw-r--r-- | m4/jm-macros.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 1a3f317e1..f4143b1a3 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -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)]) |