aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>1999-06-29 02:24:37 +0000
committerFritz Elfert <felfert@to.com>1999-06-29 02:24:37 +0000
commit4d89f760a7dcb880148fe9d59df6a01ba8237f3e (patch)
tree78ccb8d1b9688ae7f7123bb1f293eee505e8f417 /include
parent6ab1aa5f2156ef781da6e1b57a183825b88bef9a (diff)
downloadplptools-4d89f760a7dcb880148fe9d59df6a01ba8237f3e.tar.gz
plptools-4d89f760a7dcb880148fe9d59df6a01ba8237f3e.tar.bz2
plptools-4d89f760a7dcb880148fe9d59df6a01ba8237f3e.zip
Package-growing
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
-rw-r--r--include/config.h.in6
-rw-r--r--include/defs.h19
-rw-r--r--include/defs.h.in19
4 files changed, 46 insertions, 4 deletions
diff --git a/include/config.h b/include/config.h
index a2ced96..92e9916 100644
--- a/include/config.h
+++ b/include/config.h
@@ -20,9 +20,15 @@
/* Define if you have the bsd library (-lbsd). */
/* #undef HAVE_LIBBSD */
+/* Define if you have the history library (-lhistory). */
+#define HAVE_LIBHISTORY 1
+
/* Define if you have the nsl library (-lnsl). */
#define HAVE_LIBNSL 1
+/* Define if you have the readline library (-lreadline). */
+#define HAVE_LIBREADLINE 1
+
/* Define if you have the rpcsoc library (-lrpcsoc). */
/* #undef HAVE_LIBRPCSOC */
diff --git a/include/config.h.in b/include/config.h.in
index 5fc2ffd..4932d0a 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -19,9 +19,15 @@
/* Define if you have the bsd library (-lbsd). */
#undef HAVE_LIBBSD
+/* Define if you have the history library (-lhistory). */
+#undef HAVE_LIBHISTORY
+
/* Define if you have the nsl library (-lnsl). */
#undef HAVE_LIBNSL
+/* Define if you have the readline library (-lreadline). */
+#undef HAVE_LIBREADLINE
+
/* Define if you have the rpcsoc library (-lrpcsoc). */
#undef HAVE_LIBRPCSOC
diff --git a/include/defs.h b/include/defs.h
index 8733d37..506bfa3 100644
--- a/include/defs.h
+++ b/include/defs.h
@@ -1,6 +1,9 @@
#ifndef _defs_h_
#define _defs_h_
+/*
+ * NFS related stuff
+ */
#define MTAB_PATH "/etc/mtab"
#ifdef linux
# define MTAB_TMP "/etc/mtab~"
@@ -8,8 +11,6 @@
# define MTAB_TMP "/etc/mtab.p3nfsd"
#endif
-#define DDEV "/dev/ttyS0"
-
#ifdef _IBMR2
# define DONT_UPDATE_MTAB /* The mount table is obtained from the kernel (!?) */
#endif
@@ -29,5 +30,19 @@
#define NO_WRITE_SELECT
#endif
+/*
+ * defaults for ncpd
+ */
+#define DDEV "/dev/ttyS0"
+#define DSPEED 115200
+#define DPORT 7501
+
+/* Debugging */
+
+#define PACKET_LAYER_DIAGNOSTICS false
+#define LINK_LAYER_DIAGNOSTICS false
+// #define SOCKET_DIAGNOSTICS
+
#include "config.h"
#endif
+
diff --git a/include/defs.h.in b/include/defs.h.in
index 9ee654e..221f142 100644
--- a/include/defs.h.in
+++ b/include/defs.h.in
@@ -1,6 +1,9 @@
#ifndef _defs_h_
#define _defs_h_
+/*
+ * NFS related stuff
+ */
#define MTAB_PATH "@MTAB@"
#ifdef linux
# define MTAB_TMP "@MTAB@~"
@@ -8,8 +11,6 @@
# define MTAB_TMP "@MTAB@.p3nfsd"
#endif
-#define DDEV "@DDEV@"
-
#ifdef _IBMR2
# define DONT_UPDATE_MTAB /* The mount table is obtained from the kernel (!?) */
#endif
@@ -29,5 +30,19 @@
#define NO_WRITE_SELECT
#endif
+/*
+ * defaults for ncpd
+ */
+#define DDEV "@DDEV@"
+#define DSPEED @DSPEED@
+#define DPORT @DPORT@
+
+/* Debugging */
+
+#define PACKET_LAYER_DIAGNOSTICS false
+#define LINK_LAYER_DIAGNOSTICS false
+// #define SOCKET_DIAGNOSTICS
+
#include "config.h"
#endif
+