changeset 5665:83b4ead7031f

* 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.
author Francesco Potortì <pot@gnu.org>
date Mon, 24 Jan 1994 12:31:40 +0000
parents e94f93aef529
children ceed2e32b303
files src/m/delta.h
diffstat 1 files changed, 8 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/delta.h	Sun Jan 23 23:23:42 1994 +0000
+++ b/src/m/delta.h	Mon Jan 24 12:31:40 1994 +0000
@@ -135,28 +135,7 @@
 
 #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 @@
 /* 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__