📄 configure.ac
字号:
dnl Process this file with autoconf to produce a configure script. -*-m4-*-AC_INIT(GNU fileutils, 4.1.10, bug-fileutils@gnu.org)AC_CONFIG_SRCDIR(src/ls.c)AC_CONFIG_AUX_DIR(config)AM_CONFIG_HEADER(config.h:config.hin)AC_CANONICAL_HOSTAM_INIT_AUTOMAKE([1.6 gnits dist-bzip2])AC_GNU_SOURCEjm_PERLAC_PROG_CCAC_PROG_CPPAC_PROG_GCC_TRADITIONALAC_PROG_RANLIBAC_AIXAC_MINIXjm_MACROSAM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTLjm_WINSIZE_IN_PTEM# 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.AC_MSG_CHECKING([for statfs that truncates block counts])AC_CACHE_VAL(fu_cv_sys_truncating_statfs,[AC_TRY_COMPILE([#if !defined(sun) && !defined(__sun)choke -- this is a workaround for a Sun-specific problem#endif#include <sys/types.h>#include <sys/vfs.h>],[struct statfs t; long c = *(t.f_spare);],fu_cv_sys_truncating_statfs=yes,fu_cv_sys_truncating_statfs=no,)])if test $fu_cv_sys_truncating_statfs = yes; then AC_DEFINE(STATFS_TRUNCATES_BLOCK_COUNTS, 1,[ Define if the block counts reported by statfs may be truncated to 2GB and the correct values may be stored in the f_spare array. (SunOS 4.1.2, 4.1.3, and 4.1.3_U1 are reported to have this problem. SunOS 4.1.1 seems not to be affected.)])fiAC_MSG_RESULT($fu_cv_sys_truncating_statfs)jm_LIB_CHECKAM_GNU_GETTEXT([external])AC_CONFIG_FILES( Makefile doc/Makefile lib/Makefile man/Makefile m4/Makefile po/Makefile.in src/Makefile tests/Makefile tests/chgrp/Makefile tests/chmod/Makefile tests/chown/Makefile tests/cp/Makefile tests/dd/Makefile tests/du/Makefile tests/dircolors/Makefile tests/install/Makefile tests/ln/Makefile tests/ls/Makefile tests/ls-2/Makefile tests/mkdir/Makefile tests/mv/Makefile tests/rm/Makefile tests/rmdir/Makefile tests/shred/Makefile tests/touch/Makefile )AC_OUTPUT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -