From: Harlan Stenn Date: Mon, 20 Jun 2011 07:58:19 +0000 (-0400) Subject: Updates to ntp_locs.m4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6856db07b9d405d13961078fb1dfe2c1b8116ea2;p=thirdparty%2Fntp.git Updates to ntp_locs.m4 bk: 4dfefd9bIlFCqzU0JK8N9jzkRTDpfg --- diff --git a/ChangeLog b/ChangeLog index a1f0a86a72..9750bfc461 100644 --- 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 index 0000000000..6948f04c02 --- /dev/null +++ b/sntp/m4/ntp_locs.m4 @@ -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 ======================================================================