🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1608

X11 makefile problem

#1608
From: Michael S. Littman
Date: Wed, 19 Apr 1989 16:18
20 lines
1184 bytes
Hello,

I am installing 18.53 on Suns with X11.  I ran across the following
problem which you should be aware of:

In order to get X11 support, X11 has to be defined (in cpp).  This
means, it has the value of null.  However, in ymakefile, I needed to
add -I/usr/local/pkg/X11/include to CFLAGS and
-L/usr/local/pkg/X11/lib to LDFLAGS.  In making xmakefile, the X11s
get replaced with nulls (by cpp).  Therefore, the correct files cannot
be found by cc and ld.

I patched this by using X/**/11 instead of X11 in the pathnames since
our version of cpp doesn't macro replace strings broken by comments
but it does remove comments.

A better fix would probably be to use ``#define USE_X11'' instead of
``#define X11'' as the flag for X11 support.

-Michael
Technical Details
Message-ID: <8904191618.AA27546@wind.bellcore.com>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!WIND.BELLCORE.COM!mlittman

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!WIND.BELLCORE.COM!mlittman
From: mlittman@WIND.BELLCORE.COM (Michael S. Littman)
Newsgroups: gnu.emacs.bug
Subject: X11 makefile problem
Message-ID: <8904191618.AA27546@wind.bellcore.com>
Date: 19 Apr 89 16:18:23 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 20