Dmitry V. Levin
ee245d8ca3
This change is a verbatim part of Dmitry's changes to remove support for non-Linux architectures. * Makefile.am: Don't install PORTING file. Install README-linux-ptrace file. Set OS variable to linux unconditionally. * configure.ac: Remove code to set opsys variable, and its usage. Remove checks for headers which are never present on Linux. * m4/stat.m4: Remove 'ifdef LINUX' check. * m4/statfs.m4: Likewise. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
16 lines
493 B
Plaintext
16 lines
493 B
Plaintext
dnl ### A macro to determine whether statfs64 is defined.
|
|
AC_DEFUN([AC_STATFS64],
|
|
[AC_MSG_CHECKING(for statfs64 in sys/vfs.h)
|
|
AC_CACHE_VAL(ac_cv_type_statfs64,
|
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
#include <linux/types.h>
|
|
#include <sys/vfs.h>
|
|
]], [[struct statfs64 st;]])],[ac_cv_type_statfs64=yes],[ac_cv_type_statfs64=no])])
|
|
AC_MSG_RESULT($ac_cv_type_statfs64)
|
|
if test "$ac_cv_type_statfs64" = yes
|
|
then
|
|
AC_DEFINE([HAVE_STATFS64], 1,
|
|
[Define if statfs64 is available in sys/vfs.h.])
|
|
fi
|
|
])
|