[ntp:bk-ntp-dev-send] BitKeeper diffs

Harlan Stenn stenn at whimsy.udel.edu
Thu Oct 18 00:28:55 UTC 2007


#### ChangeSet ####
2007-10-17 20:21:31-04:00, stenn at whimsy.udel.edu 
  Fix the readline history test

==== ChangeLog ====
2007-10-17 20:21:15-04:00, stenn at whimsy.udel.edu +1 -0
  Fix the readline history test

--- 1.126/ChangeLog	2007-10-15 04:50:14 -04:00
+++ 1.127/ChangeLog	2007-10-17 20:21:15 -04:00
@@ -1,3 +1,4 @@
+* Fix the readline history test.
 * [Bug 931] Require -lreadline to be asked for explicitly.
 * [Bug 764] When looking for -lreadline support, also try using -lncurses.
 * [Bug 909] Fix int32_t errors for ntohl().

==== m4/ntp_lineeditlibs.m4 ====
2007-10-17 20:21:16-04:00, stenn at whimsy.udel.edu +4 -1
  Fix the readline history test

--- 1.1/m4/ntp_lineeditlibs.m4	2007-10-15 04:41:30 -04:00
+++ 1.2/m4/ntp_lineeditlibs.m4	2007-10-17 20:21:16 -04:00
@@ -70,9 +70,12 @@ AC_DEFUN([NTP_LINEEDITLIBS], [
               [Define if you have a readline compatible library])
 	AC_CHECK_HEADERS(readline.h readline/readline.h)
 	AC_CACHE_CHECK([whether readline supports history],
-                   ntp_cv_lib_lineedit_history, [
+	    ntp_cv_lib_lineedit_history, [
 	    ntp_cv_lib_lineedit_history="no"
+	    ORIG_LIBS="$LIBS"
+	    LIBS="$ORIG_LIBS $ntp_cv_lib_lineedit"
 	    AC_TRY_LINK_FUNC(add_history, ntp_cv_lib_lineedit_history="yes")
+	    LIBS="$ORIG_LIBS"
 	])
 	case "$ntp_cv_lib_lineedit_history" in
 	 yes)


More information about the bk-ntp-dev-send mailing list