aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-11-05 01:13:07 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-11-05 01:13:07 +0000
commit8e618f6dcae16af89c1f997ea28818d2041be184 (patch)
treef356fae77e20f46703a89aa0aeec31885624ba4b /aclocal.m4
parentca8319499268f07a02e95e0030ccbac8b59606ce (diff)
downloadautofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.gz
autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.tar.xz
autofs3-8e618f6dcae16af89c1f997ea28818d2041be184.zip
Various documentation changes to be more RedHat-friendly and less Debian-
centric; add .spec file from RedHat RPM (goal is to be able to at least publish the SRPM file automatically); add pointer to HOWTO.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m418
1 files changed, 18 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index cf0fd92..696f6f2 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -33,3 +33,21 @@ AC_DEFUN(AF_SLOPPY_MOUNT,
AC_MSG_RESULT(no)
fi
fi])
+
+dnl --------------------------------------------------------------------------
+dnl AF_INIT_D
+dnl
+dnl Check the location of the init.d directory
+dnl --------------------------------------------------------------------------
+AC_DEFUN(AF_INIT_D,
+[if test -z "$initdir"; then
+ AC_MSG_CHECKING([location of the init.d directory])
+ for init_d in /etc/init.d /etc/rc.d/init.d; do
+ if test -z "$initdir"; then
+ if test -d "$init_d"; then
+ initdir="$init_d"
+ AC_MSG_RESULT($initdir)
+ fi
+ fi
+ done
+fi])