]> git.eshelyaron.com Git - emacs.git/commitdiff
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
authorFrancesco Potortì <pot@gnu.org>
Mon, 24 Jan 1994 12:31:40 +0000 (12:31 +0000)
committerFrancesco Potortì <pot@gnu.org>
Mon, 24 Jan 1994 12:31:40 +0000 (12:31 +0000)
(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.

src/m/delta.h

index ffeb06e95722eaae08718e55a0b77a20edc4ef2e..810395815c05713fc0e6eaa6f693b2e478b60296 100644 (file)
@@ -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__