summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrancesco Potortì <pot@gnu.org>1994-01-24 12:31:40 +0000
committerFrancesco Potortì <pot@gnu.org>1994-01-24 12:31:40 +0000
commit9561e0adc44186792c83d4741ea2c58b86db411a (patch)
treedf4fc1e8c45b764d23c5926c2ff8f62d7e363f5c /src
parentf1ec7c6ff153835e666b418f65ba4fd505e6ebc9 (diff)
downloademacs-9561e0adc44186792c83d4741ea2c58b86db411a.tar.gz
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
(HAVE_XSCREENNUMBEROFSCREEN): defined if X is used. (LIB_X11_LIB, LIBX11_SYSTEM): override only if X is used. (USG_SHARED_LIBRARIES): undefine only if X is used.
Diffstat (limited to 'src')
-rw-r--r--src/m/delta.h29
1 files changed, 8 insertions, 21 deletions
diff --git a/src/m/delta.h b/src/m/delta.h
index ffeb06e9572..810395815c0 100644
--- a/src/m/delta.h
+++ b/src/m/delta.h
@@ -135,28 +135,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define CLASH_DETECTION
-/* configure fails to find these two. */
-
-#define HAVE_RANDOM
-#define HAVE_XSCREENNUMBEROFSCREEN
-
-/* pearce@ll.mit.edu says this is needed. */
-
-#define BROKEN_FIONREAD
-
-/* No shared X library. */
-
-#undef LIB_X11_LIB
-#define LIB_X11_LIB -lX11
-
-/* We have no 'pt' library as usg5-3.h expects. */
-#undef LIBX11_SYSTEM
-#define LIBX11_SYSTEM -lnls -lnsl_s
-
-#undef USG_SHARED_LIBRARIES
-
/* Machine specific stuff */
-
#define HAVE_PTYS
#define SYSV_PTYS
#define HAVE_SELECT
@@ -197,6 +176,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* X library is in 'nonstandard' location. */
/* This should be taken care of by configure -pot@cnuce.cnr.it
# define LD_SWITCH_MACHINE -L/usr/lib/X11/ */
+# define HAVE_RANDOM
+# define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */
+# define HAVE_XSCREENNUMBEROFSCREEN
+# undef LIB_X11_LIB /* no shared libraries */
+# define LIB_X11_LIB -lX11
+# undef USG_SHARED_LIBRARIES /* once again, no shared libs */
+# undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */
+# define LIBX11_SYSTEM -lnls -lnsl_s
#endif /* HAVE_X_WINDOWS */
#ifdef __GNUC__