mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-27 20:14:02 +08:00
maint: move gl/m4/root-dev-ino.m4 contents into its module definition
We can get the same effect using the modules file. * gl/m4/root-dev-ino.m4: Remove file. * gl/modules/root-dev-ino (Depends-on): Add lstat. (Files): Remove m4/root-dev-ino.m4. (Makefile.am) [lib_SOURCES]: Add root-dev-ino.c and root-dev-ino.h. (configure.ac): Remove reference to gl_ROOT_DEV_INO.
This commit is contained in:
parent
e6b99c7386
commit
07fcfe36ce
@ -1,14 +0,0 @@
|
||||
#serial 3
|
||||
dnl Copyright (C) 2005-2012 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
AC_DEFUN([gl_ROOT_DEV_INO],
|
||||
[
|
||||
AC_LIBOBJ([root-dev-ino])
|
||||
|
||||
dnl Prerequisites
|
||||
AC_REQUIRE([AC_FUNC_LSTAT])
|
||||
:
|
||||
])
|
@ -4,16 +4,16 @@ Root device and inode number checking.
|
||||
Files:
|
||||
lib/root-dev-ino.h
|
||||
lib/root-dev-ino.c
|
||||
m4/root-dev-ino.m4
|
||||
|
||||
Depends-on:
|
||||
dev-ino
|
||||
lstat
|
||||
same-inode
|
||||
|
||||
configure.ac:
|
||||
gl_ROOT_DEV_INO
|
||||
|
||||
Makefile.am:
|
||||
lib_SOURCES += root-dev-ino.c root-dev-ino.h
|
||||
|
||||
Include:
|
||||
"root-dev-ino.h"
|
||||
|
Loading…
Reference in New Issue
Block a user