Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!samsung!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.windows.x Subject: Re: Alternative installation directories for X11R4 Message-ID: <3977@uakari.primate.wisc.edu> Date: 27 Feb 91 22:37:28 GMT References: <16001@lanl.gov> Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 31 From article <16001@lanl.gov>, by gam@lanl.gov (Gim Mark): | I've come across another problem, which arises when you're | developing X applications and you've installed the X distribution | in a non-standard place. | | Many of the include files in the MIT distribution themselves | contain directives of the form | | #include | | That is, these directives require that the X11 headers be under | certain system-defined directories. If you install the release say | in /usr/tmp, cpp will fail on these directives when you try to compile | your own X application. | | The only solution I've come up with is to alter the directives to the | form | | #include "Xlib.h" Wouldn't it work to put INCLUDES = -I/tmp/cpp/whatever in your Imakefile? There are all sorts of include directory-setting symbols in the configuration files, but INCLUDES is the one intended for you to be able to use yourself. -- Paul DuBois dubois@primate.wisc.edu