]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Updates to ntp_locs.m4
authorHarlan Stenn <stenn@ntp.org>
Mon, 20 Jun 2011 07:58:19 +0000 (03:58 -0400)
committerHarlan Stenn <stenn@ntp.org>
Mon, 20 Jun 2011 07:58:19 +0000 (03:58 -0400)
bk: 4dfefd9bIlFCqzU0JK8N9jzkRTDpfg

ChangeLog
sntp/m4/ntp_locs.m4 [new file with mode: 0644]

index a1f0a86a72d8ea0e3a9d26911ebd465c8b3dd95f..9750bfc4612ccb0ef2e9b65e6fda9aa30f2989ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* Added ntp_locs.m4.
 * genLocInfo improvements.
 * Add the man page tag "flavor" to the loc.* files.
 * Add/distribute genLocInfo.
diff --git a/sntp/m4/ntp_locs.m4 b/sntp/m4/ntp_locs.m4
new file mode 100644 (file)
index 0000000..6948f04
--- /dev/null
@@ -0,0 +1,57 @@
+dnl ######################################################################
+dnl Location information:
+dnl - installation directory (*_DB for bin/, *_DS for sbin/)
+dnl - man tag format (man or mdoc)
+dnl - man section (1, 1m, 8)
+
+AC_DEFUN([NTP_LOCINFO], [
+
+AC_MSG_CHECKING([for installation directory, man sections, and man format])
+
+. `cd $scrdir && scripts/genLocInfo`
+
+AC_MSG_RESULT([done])
+
+AC_SUBST(MANTAGFMT)
+AC_SUBST(NTPDATE_DB)
+AC_SUBST(NTPDATE_DS)
+AC_SUBST(NTPDATE_MS)
+AC_SUBST(NTPDC_DB)
+AC_SUBST(NTPDC_DS)
+AC_SUBST(NTPDC_MS)
+AC_SUBST(NTPDSIM_DB)
+AC_SUBST(NTPDSIM_DS)
+AC_SUBST(NTPDSIM_MS)
+AC_SUBST(NTPD_DB)
+AC_SUBST(NTPD_DS)
+AC_SUBST(NTPD_MS)
+AC_SUBST(NTPQ_DB)
+AC_SUBST(NTPQ_DS)
+AC_SUBST(NTPQ_MS)
+AC_SUBST(NTPSNMPD_DB)
+AC_SUBST(NTPSNMPD_DS)
+AC_SUBST(NTPSNMPD_MS)
+AC_SUBST(NTPTIME_DB)
+AC_SUBST(NTPTIME_DS)
+AC_SUBST(NTPTIME_MS)
+AC_SUBST(NTPTRACE_DB)
+AC_SUBST(NTPTRACE_DS)
+AC_SUBST(NTPTRACE_MS)
+AC_SUBST(NTP_KEYGEN_DB)
+AC_SUBST(NTP_KEYGEN_DS)
+AC_SUBST(NTP_KEYGEN_MS)
+AC_SUBST(NTP_WAIT_DB)
+AC_SUBST(NTP_WAIT_DS)
+AC_SUBST(NTP_WAIT_MS)
+AC_SUBST(SNTP_DB)
+AC_SUBST(SNTP_DS)
+AC_SUBST(SNTP_MS)
+AC_SUBST(TICKADJ_DB)
+AC_SUBST(TICKADJ_DS)
+AC_SUBST(TICKADJ_MS)
+AC_SUBST(TIMETRIM_DB)
+AC_SUBST(TIMETRIM_DS)
+AC_SUBST(TIMETRIM_MS)
+
+])dnl
+dnl ======================================================================