Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2008 08:46:35 -0400
From:      Ben Kelly <bkelly@vadev.org>
To:        current@freebsd.org
Cc:        roberto@freebsd.org
Subject:   [patch] ntp no longer compiles using WITHOUT_GNU_SUPPORT
Message-ID:  <21FF036D-2418-43E4-8FA6-84DCF71BDFDE@vadev.org>

next in thread | raw e-mail | index | archive | help

Hello all,

It looks like the following commit broke the WITHOUT_GNU_SUPPORT knob  
when compiling ntp:

   http://svn.freebsd.org/viewvc/base?view=revision&revision=182008

The various readline symbols are conditionally set in usr.sbin/ntp/ 
ntpdc/Makefile, but this commit now hardcodes them in the usr.sbin/ntp/ 
config.h as well.  I assume this was not intended.

The attached patch fixed the issue for me.

Anyway, just FYI.  Thanks.

- Ben

Index: usr.sbin/ntp/config.h
===================================================================
--- usr.sbin/ntp/config.h	(revision 91)
+++ usr.sbin/ntp/config.h	(working copy)
@@ -439,7 +439,7 @@
  /* #undef HAVE_LIBPOSIX4 */

  /* Define to 1 if you have the `readline' library (-lreadline). */
-#define HAVE_LIBREADLINE 1
+/* #undef HAVE_LIBREADLINE */

  /* Define to 1 if you have the `rt' library (-lrt). */
  #define HAVE_LIBRT 1
@@ -570,10 +570,10 @@
  /* #undef HAVE_PUTUTXLINE */

  /* Define to 1 if you have the <readline/history.h> header file. */
-#define HAVE_READLINE_HISTORY_H 1
+/* #undef HAVE_READLINE_HISTORY_H */

  /* Define to 1 if you have the <readline/readline.h> header file. */
-#define HAVE_READLINE_READLINE_H 1
+/* #undef HAVE_READLINE_READLINE_H */

  /* Define to 1 if you have the `readlink' function. */
  #define HAVE_READLINK 1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21FF036D-2418-43E4-8FA6-84DCF71BDFDE>