summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-08 16:01:47 +0200
committerJim Meyering <meyering@redhat.com>2012-09-10 08:56:45 +0200
commit07fcfe36cee091b2dc15543dc406597bf1fffe67 (patch)
tree318d5eb2e847aad0895f0ba976b0bee5c5ab3625 /gl
parente6b99c738659f1bbf64899a66146d2b0f23e24a6 (diff)
downloadcoreutils-07fcfe36cee091b2dc15543dc406597bf1fffe67.tar.xz
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.
Diffstat (limited to 'gl')
-rw-r--r--gl/m4/root-dev-ino.m414
-rw-r--r--gl/modules/root-dev-ino4
2 files changed, 2 insertions, 16 deletions
diff --git a/gl/m4/root-dev-ino.m4 b/gl/m4/root-dev-ino.m4
deleted file mode 100644
index 4a794049c..000000000
--- a/gl/m4/root-dev-ino.m4
+++ /dev/null
@@ -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])
- :
-])
diff --git a/gl/modules/root-dev-ino b/gl/modules/root-dev-ino
index 91e235320..7c0556296 100644
--- a/gl/modules/root-dev-ino
+++ b/gl/modules/root-dev-ino
@@ -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"