blob: de183678ff56bdf032f1acd28aeea60ee91d43fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
$NetBSD: patch-ab,v 1.11 2005/03/29 07:02:25 kim Exp $
1. Check sys/stropts.h header
2. Always use varargs on NetBSD
--- config.h.in.orig 2003-12-05 08:59:39.000000000 -0500
+++ config.h.in 2005-03-29 01:58:39.000000000 -0500
@@ -431,6 +431,11 @@
#undef HAVE_DIRENT_H
/*
+ * Define HAVE_SYS_STROPTS_H if your system has <sys/stropts.h>
+ */
+#undef HAVE_SYS_STROPTS_H
+
+/*
* If your system has getutent(), pututline(), etc. to write to the
* utmp file, define GETUTENT.
*/
@@ -514,6 +519,15 @@
*/
#undef USEVARARGS
+#ifdef __NetBSD__
+/*
+ * XXX gcc 3.3 on some NetBSD platforms fails the configure test for this
+ * so force it on anyway.
+ */
+#undef USEVARARGS
+#define USEVARARGS 1
+#endif
+
/*
* If your system has strerror() define this.
*/
|