[Gs-dgs-devel] Pswrap and includes

Masatake YAMATO masata-y@is.aist-nara.ac.jp
Thu, 11 Jan 2001 02:02:12 +0900


What version of pswrap does XFree86 use?

This is the head lines of DPS/lib/dps/dpsXops.c in dgs.
It seems that dpsXops.c is generated by pswrap V1.009.

==============================================
/* dpsXops.c generated from dpsXops.psw
   by unix pswrap V1.009  Wed Apr 19 17:50:24 PDT 1989
 */

#include <DPS/dpsfriends.h>
#include <string.h>

#include "dpsXops.h"
#line 1 "dpsXops.psw"
==============================================

Masatake

> On Sunday 07 January 2001 11:37, Juliusz Chroboczek wrote:
> > Here's what the Solaris version does:
> >
> >   /* stdout generated from stdin
> >      by unix pswrap V1.009  Wed Apr 19 17:50:24 PDT 1989
> >    */
> >
> >   #include <DPS/dpsfriends.h>
> >   #include <string.h>
> >
> >   #line 1 "stdin"
> >
> > Shall we follow them?  Will that work in our setup?
> >
> >                                         Juliusz
> 
> as it stands, the "pswrap" function that comes with XFree86-4.0.2 will 
> insert the following headers into the generated *.c file:
> 
>   #include <DPS/dpsclient.h>
>   #include <string.h>
>   #include "psops.h"