New check. (vprintf): New check. (ftruncate.c): Remove check. This needs
* gnome-fileutils.m4 (AM_FUNC_ERROR_AT_LINE): New check. (vprintf): New check. (ftruncate.c): Remove check. This needs to be further cleaned up to only list what is needed for gdiskfree. * Makefile.am (MACROS): Add gnome-fileutils.m4. svn path=/trunk/; revision=268
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
1998-06-24 Raja R Harinath <harinath@cs.umn.edu>
|
||||
|
||||
* gnome-fileutils.m4 (AM_FUNC_ERROR_AT_LINE): New check.
|
||||
(vprintf): New check.
|
||||
(ftruncate.c): Remove check.
|
||||
This needs to be further cleaned up to only list what is
|
||||
needed for gdiskfree.
|
||||
* Makefile.am (MACROS): Add gnome-fileutils.m4.
|
||||
|
||||
1998-06-14 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* gnome-libgtop-sysdeps.m4 (LINUX_TABLE): New automake conditional;
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
## Please update this variable if any new macros are created
|
||||
MACROS= aclocal-include.m4 gnome-guile-checks.m4 \
|
||||
gnome-objc-checks.m4 gnome-x-checks.m4 \
|
||||
gnome-support.m4 gnome-pthread-check.m4 gnome.m4
|
||||
gnome-support.m4 gnome-pthread-check.m4 gnome.m4 \
|
||||
gnome-fileutils.m4
|
||||
|
||||
EXTRA_DIST=$(MACROS) autogen.sh macros.dep
|
||||
MAINTAINERCLEANFILES=macros.dep
|
||||
|
||||
@ -10,9 +10,10 @@ AC_CHECK_HEADERS(fcntl.h sys/param.h sys/statfs.h sys/fstyp.h \
|
||||
mnttab.h mntent.h sys/statvfs.h sys/vfs.h sys/mount.h \
|
||||
sys/filsys.h sys/fs_types.h sys/fs/s5param.h)
|
||||
|
||||
AM_FUNC_ERROR_AT_LINE
|
||||
AC_CHECK_FUNCS(bcopy endgrent endpwent fchdir ftime ftruncate \
|
||||
getcwd getmntinfo gettimeofday isascii lchown \
|
||||
listmntent memcpy mkfifo strchr strerror strrchr)
|
||||
listmntent memcpy mkfifo strchr strerror strrchr vprintf)
|
||||
|
||||
# Determine how to get the list of mounted filesystems.
|
||||
list_mounted_fs=
|
||||
@ -369,32 +370,6 @@ LIBOBJS="$LIBOBJS fsusage.o"
|
||||
LIBOBJS="$LIBOBJS mountlist.o"
|
||||
fi
|
||||
|
||||
AC_CHECK_FUNCS(ftruncate, , [ftruncate_missing=yes])
|
||||
|
||||
if test "$ftruncate_missing" = yes; then
|
||||
AC_MSG_CHECKING([fcntl emulation of ftruncate])
|
||||
AC_CACHE_VAL(fu_cv_sys_ftruncate_emulation,
|
||||
[AC_TRY_LINK([
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>], [
|
||||
#if !defined(F_CHSIZE) && !defined(F_FREESP)
|
||||
chsize();
|
||||
#endif
|
||||
],
|
||||
fu_cv_sys_ftruncate_emulation=yes,
|
||||
fu_cv_sys_ftruncate_emulation=no)])
|
||||
AC_MSG_RESULT($fu_cv_sys_ftruncate_emulation)
|
||||
if test $fu_cv_sys_ftruncate_emulation = yes; then
|
||||
LIBOBJS="$LIBOBJS ftruncate.o"
|
||||
fi
|
||||
fi
|
||||
|
||||
case "$LIBOBJS" in
|
||||
*rename.o*)
|
||||
MVDIR_PROG="mvdir"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Check for SunOS statfs brokenness wrt partitions 2GB and larger.
|
||||
# If <sys/vfs.h> exists and struct statfs has a member named f_spare,
|
||||
# enable the work-around code in fsusage.c.
|
||||
|
||||
Reference in New Issue
Block a user