File: portlib-1.01.diff

package info (click to toggle)
troffcvt 1.04-21
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 2,232 kB
  • ctags: 27
  • sloc: makefile: 158
file content (26 lines) | stat: -rw-r--r-- 817 bytes parent folder | download | duplicates (11)
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
--- /dev/null	Tue May 27 20:49:58 1997
+++ portlib-1.01/config/linux.p-cf	Tue Nov 11 00:04:43 1997
@@ -0,0 +1,23 @@
+#ifndef HAS_FCNTL		/* fcntl() system call present? */
+#define HAS_FCNTL YES
+#endif
+
+#ifndef HAS_DIRENT_H		/* dirent.h include file present? */
+#define HAS_DIRENT_H YES
+#endif
+
+#ifndef HAS_SYSCONF		/* is sysconf(_SC_OPEN_MAX) available? */
+#define HAS_SYSCONF YES
+#endif
+
+/*
+ * sys/dir.h is present, but scandir() doesn't work with pre-2.x servers.
+ * Since we can't tell in this file what server version we're using (that
+ * isn't set until linux-pmac.cf is processed), and since the
+ * opendir()/readdir() stuff always works, just set this to NO to disable
+ * use of scandir().
+ */
+
+#ifndef HAS_SYS_DIR_H		/* sys/dir.h include file present? */
+#define HAS_SYS_DIR_H YES
+#endif