On Tue, 25 Sep 2001, Keith Packard wrote:

>> Hmm.  Looks to me like the programmer probably tried to silence 
>> the warning resulting from the lack of inclusion of stdio.h by 
>> adding (void) then..
>
>More likely a warning was generated on a system where sprintf returned a 
>char * instead of an int; some compilers warn about everything *except* 
>functions returning int.

Ok, makes sense.

>I believe the DPS libraries came from Adobe, not a hotbed of sensible C 
>programming in general; when Juliusz added them, he had to disable 
>building them as they were so unportable...

Hmm.  So I should not be building them either then I presume?  
The DPS stuff builds when I build X, and grepping through 
config/cf I find "BuildDPS" defined only in cygwin.cf, and 
"BuildDps" defined in sequent.cf.  It appears that DPS is enabled 
by default everywhere.

I can only think I'm misinterpreting something, or not setting 
something right.  Can you clarify this for me, wether it should 
be enabled or not, and if not, how to disable building DPS 
completley.  Right now it looks like "BuildDPS" is not honoured 
at all on Linux builds.

pts/2 mharris@devel:~/rpmbuild/BUILD/XFree86-4.1.0/xc/config/cf$ 
grep -i builddps *
grep: CVS: Is a directory
X11.tmpl:#ifndef BuildDPSLibraries
X11.tmpl:#define BuildDPSLibraries      !BuildServersOnly
X11.tmpl:#ifndef BuildDPSLibrary
X11.tmpl:#define BuildDPSLibrary                BuildDPSLibraries
X11.tmpl:#ifndef BuildDPSTkLibrary
X11.tmpl:#define BuildDPSTkLibrary      BuildDPSLibraries
X11.tmpl:#define BuildPSResLibrary      BuildDPSLibraries
X11.tmpl:#ifndef BuildDPSClients
X11.tmpl:#define BuildDPSClients         BuildDPSLibraries
X11.tmpl:#if BuildDPSLibrary
X11.tmpl:#if BuildDPSTkLibrary
X11.tmpl:#if BuildDPSLibrary
X11.tmpl:#if BuildDPSTkLibrary
cygwin.cf:#define BuildDPS              NO
sequent.cf:#define BuildDps             YES
                        ^^^
                   Is this a bug?


If I'm reading that correctly, "BuildDPSLibraries" sets the 
default for all of the various libraries, and it is set to YES if 
BuildServersOnly is set to NO, which appears to be the reason the 
libraries are building.  Are these libraries useful for anything 
if the extension isn't built?  What directives control the 
enable/disable of the extension?

Again, any help is very much appreciated!  I'm trying to trim the
fat so to speak, and only package up the stuff that is officially
supported and useable.

Thanks,
TTYL

----------------------------------------------------------------------
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer              Ontario, Canada, P6C 5B3
Red Hat Inc.                    Phone: (705)949-2136
http://www.redhat.com           ftp://people.redhat.com/mharris

Red Hat XFree86 mailing list:   [EMAIL PROTECTED]
IRC:  #redhat-xfree86 on irc.openprojects.org
----------------------------------------------------------------------
[EMAIL PROTECTED]:~#  rm -f /bin/laden

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to