summaryrefslogtreecommitdiff
path: root/xc/config/cf/NetBSD.cf
diff options
context:
space:
mode:
Diffstat (limited to 'xc/config/cf/NetBSD.cf')
-rw-r--r--xc/config/cf/NetBSD.cf22
1 files changed, 21 insertions, 1 deletions
diff --git a/xc/config/cf/NetBSD.cf b/xc/config/cf/NetBSD.cf
index cc2910e6c..80c246870 100644
--- a/xc/config/cf/NetBSD.cf
+++ b/xc/config/cf/NetBSD.cf
@@ -2,7 +2,7 @@ XCOMM platform: $XConsortium: NetBSD.cf /main/16 1996/10/31 14:47:14 kaleb $
-XCOMM platform: $XFree86: xc/config/cf/NetBSD.cf,v 3.85 2000/08/28 15:29:07 dawes Exp $
+XCOMM platform: $XFree86: xc/config/cf/NetBSD.cf,v 3.87 2000/12/03 16:14:08 herrb Exp $
#ifndef OSName
@@ -248,6 +248,16 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#define AdmDir /var/log
+#define HasFlex YES
+
+/*
+ * NetBSD doesn't have perl in default system
+ * you may override this in host.def if you installed perl from the packages
+ */
+#ifndef HasPerl
+#define HasPerl NO
+#endif
+
/*
* Make & install Features
*/
@@ -296,6 +306,16 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# endif
#endif /* i386Architecture */
+#ifndef HasCookieMaker
+# if OSMajorVersion == 1 && OSMinorVersion >= 5 || OSMajorVersion >= 2
+ /* NetBSD 1.5 and later have /dev/urandom */
+# define HasCookieMaker YES
+# define MkCookieCmd \
+ 'dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
+# else
+# define HasCookieMaker NO
+# endif
+#endif
/*
* ForceSubdirs - force make to build subdirectories