[ntpsec commit] Remove all references to HAVE_CONFIG_H from the build system.

Amar Takhar amar at ntpsec.org
Wed Sep 30 11:31:34 UTC 2015


Module:    ntpsec
Branch:    master
Commit:    0e77021c98d13fe666f310227584a86885c40444
Changeset: http://git.ntpsec.org/ntpsec/commit/?id=0e77021c98d13fe666f310227584a86885c40444

Author:    Amar Takhar <verm at darkbeer.org>
Date:      Wed Sep 30 07:31:22 2015 -0400

Remove all references to HAVE_CONFIG_H from the build system.

---

 libntp/wscript     | 1 -
 libparse/wscript   | 1 -
 ntp-keygen/wscript | 1 -
 ntpd/wscript       | 5 -----
 ntpq/wscript       | 2 --
 sntp/wscript       | 1 -
 6 files changed, 11 deletions(-)

diff --git a/libntp/wscript b/libntp/wscript
index 29c021d..2686d25 100644
--- a/libntp/wscript
+++ b/libntp/wscript
@@ -94,7 +94,6 @@ def build(ctx):
 		target		= "ntp",
 		features	= "c cstlib bld_include src_include",
 		source		= libntp_source + libntp_source_systime,
-		# defines		= ["HAVE_CONFIG_H=1"],
 		includes	= [
 						"%s/lib/isc/include/" % srcnode,
 						"%s/lib/isc/unix/include/" % srcnode, # XXX: platform: requires unix/win32 switch.
diff --git a/libparse/wscript b/libparse/wscript
index 69ea6c2..6033152 100644
--- a/libparse/wscript
+++ b/libparse/wscript
@@ -32,6 +32,5 @@ def build(ctx):
 		target		= "parse",
 		features	= "c cstlib bld_include src_include libisc_include",
 		source		= libparse_source,
-		# defines		= ["HAVE_CONFIG_H=1"]
 	)
 
diff --git a/ntp-keygen/wscript b/ntp-keygen/wscript
index 8c1adc7..79bbf1d 100644
--- a/ntp-keygen/wscript
+++ b/ntp-keygen/wscript
@@ -15,7 +15,6 @@ def build(ctx):
 		includes	= [
 					"%s/ntp-keygen/" % bldnode
 				],
-		# defines		= ["HAVE_CONFIG_H=1"],
 		use		= "ntp opts isc M RT LIBEVENT LIBEVENT_CORE LIBEVENT_PTHREADS PTHREAD CRYPTO",
 		install_path= "${PREFIX}/sbin/"
 	)
diff --git a/ntpd/wscript b/ntpd/wscript
index 1915808..15422d3 100644
--- a/ntpd/wscript
+++ b/ntpd/wscript
@@ -10,7 +10,6 @@ def build(ctx):
 	ctx(
 		target		= "bison_obj",
 		features	= "c src_include bld_include libisc_include",
-		# defines		= ["HAVE_CONFIG_H=1"],
 		source		= bison_source,
 		includes    = [
 						"%s/ntpd/" % srcnode
@@ -71,7 +70,6 @@ def build(ctx):
 		target		= "libntpd_obj",
 		features	= "c bld_include src_include libisc_include",
 		source		= libntpd_source,
-		# defines		= ["HAVE_CONFIG_H=1"],
 	)
 
 	ctx(
@@ -93,7 +91,6 @@ def build(ctx):
 			target		= "refclock",
 			features	= "c bld_include src_include libisc_include",
 			source		= refclock_source,
-			# defines		= ["HAVE_CONFIG_H=1"],
 		)
 		use_refclock += "refclock"
 
@@ -103,7 +100,6 @@ def build(ctx):
 				target		= "refclock_%s" % file,
 				features	= "c bld_include src_include libisc_include",
 				source		= "refclock_%s.c" % file,
-				# defines		= ["HAVE_CONFIG_H=1", "%s=1" % define],
 				# XXX: These need to go into config.h rather than the command line for the individual drivers
 				defines		= ["%s=1" % define],
 			)
@@ -137,7 +133,6 @@ def build(ctx):
 		target		= "ntpd",
 		features	= "c cprogram bld_include src_include libisc_include libisc_pthread_include ntp_version",
 		source		= ntpd_source,
-		# defines		= ["HAVE_CONFIG_H=1"] + refclock_define,
 		use			= "libntpd_obj bison_obj isc ntp opts M parse GCC_S RT CAP THR PTHREAD CRYPTO DNS_SD DNS_SD_INCLUDES %s" % use_refclock,
 		includes	= [
 						"%s/ntpd/" % bldnode,
diff --git a/ntpq/wscript b/ntpq/wscript
index 09eaebe..f56f0cc 100644
--- a/ntpq/wscript
+++ b/ntpq/wscript
@@ -14,7 +14,6 @@ def build(ctx):
 		target		= "libntpq",
 		features	= "c bld_include src_include libisc_include",
 		source		= libntpq_source,
-		# defines		= ["HAVE_CONFIG_H=1"],
 	)
 
 
@@ -27,7 +26,6 @@ def build(ctx):
 		target		= "ntpq",
 		features	= "c cprogram bld_include src_include libisc_include ntp_version",
 		source		= ntpq_source,
-		# defines		= ["HAVE_CONFIG_H=1"],
 		use			= "ntp opts isc M RT READLINE EDIT PTHREAD CRYPTO",
 		includes	= [
 						"%s/ntpq/" % bldnode
diff --git a/sntp/wscript b/sntp/wscript
index 1b734c0..dfdc01a 100644
--- a/sntp/wscript
+++ b/sntp/wscript
@@ -24,7 +24,6 @@ def build(ctx):
 		features	= "c cprogram bld_include src_include libisc_include ntp_version",
 		use			= "ntp isc opts M PTHREAD sntp_obj LIBEVENT LIBEVENT_CORE LIBEVENT_PTHREADS RT CRYPTO",
 		source		= sntp_source,
-		# defines		= ["HAVE_CONFIG_H=1"],
 		includes	= [
 						"%s/sntp/" % bldnode
 					] + ctx.env.PLATFORM_INCLUDES, # XXX: Hack needs to use libevent_inc or something else.



More information about the vc mailing list