[ntpsec commit] Fill in most header prerequsites in pylib/configure.py...

Eric S. Raymond esr at ntpsec.org
Tue Oct 20 02:15:48 UTC 2015


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

Author:    Eric S. Raymond <esr at thyrsus.com>
Date:      Tue Oct 20 02:13:22 2015 +0000

Fill in most header prerequsites in pylib/configure.py...

..."most" because three remain mysterious under FreeBSD 10.1 and
trying to fill those in leads to hard-to-diagnose compilation errors.

---

 pylib/configure.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/pylib/configure.py b/pylib/configure.py
index 1565dc4..5482ca8 100644
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -244,18 +244,18 @@ def cmd_configure(ctx):
 		"linux/serial.h",
 		#"linux/seccomp.h",	- Doesn't build yet, investigate
 		"machine/soundcard.h",
-		"netinet/in_systm.h",
+		("netinet/in_systm.h", ["sys/types.h","netinet/in.h"]),
 		("md5.h", ["sys/types.h"]),
 		"net/if6.h",
 		"net/if_var.h",
-		"net/route.h",
+		("net/route.h", ["sys/socket.h","net/if.h","net/route.h"]),
 		"netinet/in_var.h",
 		"netinfo/ni.h",
 		"netinet/ip.h",
 		"priv.h",
-		"readline/readline.h",
-		"readline/history.h",
-		"resolv.h",
+		("readline/readline.h",["stdio.h"]),
+		("readline/history.h", ["stdio.h","readline/readline.h"]),
+		("resolv.h", ["sys/types.h","netinet/in.h","arpa/nameser.h"]),
 		"semaphore.h",
 		"stdatomic.h",
 		"sys/audioio.h",
@@ -267,7 +267,7 @@ def cmd_configure(ctx):
 		"sys/procset.h",
 		"sys/sockio.h",
 		"sys/soundcard.h",
-		"sys/sysctl.h",
+		("sys/sysctl.h", ["sys/types.h"]),
 		"sys/systune.h",
 		"sysexits.h",
 		("timepps.h", ["inttypes.h"]),



More information about the vc mailing list