]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
More genLocInfo cleanup
authorHarlan Stenn <stenn@ntp.org>
Mon, 20 Jun 2011 11:02:17 +0000 (07:02 -0400)
committerHarlan Stenn <stenn@ntp.org>
Mon, 20 Jun 2011 11:02:17 +0000 (07:02 -0400)
bk: 4dff28b9q0qn0NvNvzEI_zjc__xNCQ

ChangeLog
configure.ac
scripts/genLocInfo
sntp/m4/ntp_locs.m4

index 1714e81a61a1e4204dfbb3a72c720a1e00ea9b72..72f4b8e227d8a297f1c55828896883c6b42e9b3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* More genLocInfo cleanup.
 (4.2.7p184) 2011/06/20 Released by Harlan Stenn <stenn@ntp.org>
 * Added ntp_locs.m4.
 * genLocInfo improvements.
index c91ecaff59b79cc16f8aee16b38cf29d77951bea..ef9c6e9c6b04fea092dcd8af72917d50cbc4749c 100644 (file)
@@ -70,6 +70,8 @@ AC_PROG_YACC
 
 NTP_VPATH_HACK         dnl used only by ntpd/Makefile.am
 
+NTP_LOCINFO            dnl takes over from NTP_BINDIR, in NTP_LIBNTP
+
 # So far, the only shared library we might use is libopts.
 # It's a small library - we might as well use a static version of it.
 AC_DISABLE_SHARED
index 59e5d6bed7b64c738d8d0b52ebdbe0507569007d..6ecaea7b871853e670db57f89453d5f23384437c 100755 (executable)
@@ -69,6 +69,7 @@ case "$LF" in
 esac
 
 ${V}echo "Using <$LF>" >&2
+echo "GENLOCINFOFILE=$LF"
 
 ###
 
index ac1823fe70f0a0aa57fdba8956722b1262f9dbb6..71b03517c177e3fcaf5ec7065b205677679fcd50 100644 (file)
@@ -11,7 +11,13 @@ AC_MSG_CHECKING([for installation directory, man sections, and man format])
 ( cd $ac_abs_confdir && scripts/genLocInfo ) > genLocInfo.i 2>genLocInfo.err
 . genLocInfo.i
 
-AC_MSG_RESULT([done])
+case "$GENLOCINFO" in
+ OK)
+    AC_MSG_RESULT([found in $GENLOCINFOFILE])
+    ;;
+ *) AC_MSG_ERROR([Problem with genLocInfo!])
+    ;;
+esac
 
 AC_SUBST(MANTAGFMT)
 AC_SUBST(NTPDATE_DB)