# 2.11BSD#431 - /usr/src/new/PORT/perl.1.0.16/config.h

##### Macros

    CAN_PROTOTYPE     X
    CPP               X
    CPPMINUS          X
    HAS_CRYPT         X
    HAS_RENAME        X
    HAS_SELECT        X
    HAS_STAT          X
    HAS_SYSTEM        X
    HAS_TIMES         X
    M_VOID            X
    SED               X
    STDCHAR           X
    USE_STRUCT_COPY   X
    VOIDFLAGS         X
    VOIDSIG           X
    VOIDUSED          X
    _                 X
    _config_h_        X
    void              X

       1: /*
       2:  * This file was produced by running the config_h.SH script, which
       3:  * gets its values from config.sh, which is generally produced by
       4:  * running Configure.
       5:  *
       6:  * Feel free to modify any of this as the need arises.  Note, however,
       7:  * that running config_h.SH again will wipe out any changes you've made.
       8:  * For a more permanent change edit config.sh and rerun config_h.SH.
       9:  *
      10:  * $Id: config_h.SH 821 2002-10-22 11:14:00Z richardc $
      11:  */
      12:
      13: /*
      14:  * Package name      : perl
      15:  * Source directory  : .
      16:  * Configuration time: Wed Dec 18 15:31:08 PST 2002
      17:  * Configured by     : schwern
      18:  * Target system     : linux blackrider 2.4.19 #1 wed nov 13 02:17:13 est 2002 ppc 740750 gnulinux
      19:  */
      20:
      21: #ifndef _config_h_
      22: #define _config_h_
      23:
      24: /* EUNICE:
      25:  *	This symbol, if defined, indicates that the program is being compiled
      26:  *	under the EUNICE package under VMS.  The program will need to handle
      27:  *	things like files that don't go away the first time you unlink them,
      28:  *	due to version numbering.  It will also need to compensate for lack
      29:  *	of a respectable link() command.
      30:  */
      31: /*#define EUNICE		/ **/
      32:
      33: /* CPP:
      34:  *      This symbol contains the first part of the string which will invoke
      35:  *      the C preprocessor on the standard input and produce to standard
      36:  *      output.  Typical value of "cc -E" or "/lib/cpp".
      37:  */
      38: /* CPPMINUS:
      39:  *	This symbol contains the second part of the string which will invoke
      40:  *	the C preprocessor on the standard input and produce to standard
      41:  *	output.  This symbol will have the value "-" if CPPSTDIN needs a minus
      42:  *	to specify standard input, otherwise the value is "".
      43:  */
      44: #define CPP "/usr/bin/cpp"
      45: #define CPPMINUS "-"
      46:
      47: /* SED:
      48:  *     Your sed binary
      49:  */
      50: #define SED "/bin/sed"
      51:
      52: /* CHARSPRINTF:
      53:  *	This symbol is defined if this system declares "char *sprintf()" in
      54:  *	stdio.h.  The trend seems to be to declare it as "int sprintf()".  It
      55:  *	is up to the package author to declare sprintf correctly based on the
      56:  *	symbol.
      57:  */
      58: /*#define	CHARSPRINTF 	/ **/
      59:
      60: /* HAS_CRYPT:
      61:  *	This symbol, if defined, indicates that the crypt routine is available
      62:  *	to encrypt passwords and the like.
      63:  */
      64: #define HAS_CRYPT       /**/
      65:
      66: /* HAS_RENAME:
      67:  *	This symbol, if defined, indicates that the rename routine is available
      68:  *	to rename files.  Otherwise you should do the unlink(), link(), unlink()
      69:  *	trick.
      70:  */
      71: #define HAS_RENAME  /**/
      72:
      73: /* HAS_SELECT:
      74:  *	This symbol, if defined, indicates that the select routine is
      75:  *	available to select active file descriptors. If the timeout field
      76:  *	is used, <sys/time.h> may need to be included.
      77:  */
      78: #define HAS_SELECT  /**/
      79:
      80: /* HAS_STAT:
      81:  *	This symbol, if defined, indicates that the stat routine is
      82:  *	available to get file status.
      83:  */
      84: #define HAS_STAT    /**/
      85:
      86: /* USE_STAT_BLOCKS:
      87:  *	This symbol is defined if this system has a stat structure declaring
      88:  *	st_blksize and st_blocks.
      89:  */
      90: /*#define USE_STAT_BLOCKS 	/ **/
      91:
      92: /* USE_STDIO_PTR:
      93:  *	This symbol is defined if the _ptr and _cnt fields (or similar)
      94:  *	of the stdio FILE structure can be used to access the stdio buffer
      95:  *	for a file handle.  If this is defined, then the FILE_ptr(fp)
      96:  *	and FILE_cnt(fp) macros will also be defined and should be used
      97:  *	to access these fields.
      98:  */
      99: /*#define USE_STDIO_PTR 	/ **/
     100: #ifdef USE_STDIO_PTR
     101: #if defined(STDIO_PTR_LVALUE) && defined(STDIO_CNT_LVALUE)
     102: #endif
     103: #endif
     104:
     105: /* USE_STRUCT_COPY:
     106:  *	This symbol, if defined, indicates that this C compiler knows how
     107:  *	to copy structures.  If undefined, you'll need to use a block copy
     108:  *	routine of some sort instead.
     109:  */
     110: #define USE_STRUCT_COPY /**/
     111:
     112: /* HAS_SYSTEM:
     113:  *	This symbol, if defined, indicates that the system routine is
     114:  *	available to issue a shell command.
     115:  */
     116: #define HAS_SYSTEM  /**/
     117:
     118: /* HAS_TIMES:
     119:  *	This symbol, if defined, indicates that the times() routine exists.
     120:  *	Note that this became obsolete on some systems (SUNOS), which now
     121:  * use getrusage(). It may be necessary to include <sys/times.h>.
     122:  */
     123: #define HAS_TIMES       /**/
     124:
     125: /* TM_IN_SYS:
     126:  *	This symbol is defined if this system declares "struct tm" in
     127:  *	in <sys/time.h> rather than <time.h>.  We can't just say
     128:  *	-I/usr/include/sys because some systems have both time files, and
     129:  *	the -I trick gets the wrong one.
     130:  */
     131: /*#define TM_IN_SYS 	/ **/
     132:
     133: /* VOIDSIG:
     134:  *	This symbol is defined if this system declares "void (*signal(...))()" in
     135:  *	signal.h.  The old way was to declare it as "int (*signal(...))()".  It
     136:  *	is up to the package author to declare things correctly based on the
     137:  *	symbol.
     138:  */
     139: #define VOIDSIG     /**/
     140:
     141: /* CAN_PROTOTYPE:
     142:  *	If defined, this macro indicates that the C compiler can handle
     143:  *	function prototypes.
     144:  */
     145: /* _:
     146:  *	This macro is used to declare function parameters for folks who want
     147:  *	to make declarations with prototypes using a different style than
     148:  *	the above macros.  Use double parentheses.  For example:
     149:  *
     150:  *		int main _((int argc, char *argv[]));
     151:  */
     152: #define CAN_PROTOTYPE   /**/
     153: #ifdef CAN_PROTOTYPE
     154: #define _(args) args
     155: #else
     156: #define _(args) ()
     157: #endif
     158:
     159: /* STDCHAR:
     160:  *	This symbol is defined to be the type of char used in stdio.h.
     161:  *	It has the values "unsigned char" or "char".
     162:  */
     163: #define STDCHAR char    /**/
     164:
     165: /* VOIDFLAGS:
     166:  *	This symbol indicates how much support of the void type is given by this
     167:  *	compiler.  What various bits mean:
     168:  *
     169:  *	    1 = supports declaration of void
     170:  *	    2 = supports arrays of pointers to functions returning void
     171:  *	    4 = supports comparisons between pointers to void functions and
     172:  *		    addresses of void functions
     173:  *	    8 = suports declaration of generic void pointers
     174:  *
     175:  *	The package designer should define VOIDUSED to indicate the requirements
     176:  *	of the package.  This can be done either by #defining VOIDUSED before
     177:  *	including config.h, or by defining defvoidused in Myinit.U.  If the
     178:  *	latter approach is taken, only those flags will be tested.  If the
     179:  *	level of void support necessary is not present, defines void to int.
     180:  */
     181: #ifndef VOIDUSED
     182: #define VOIDUSED 15
     183: #endif
     184: #define VOIDFLAGS 15
     185: #if (VOIDFLAGS & VOIDUSED) != VOIDUSED
     186: #define void int        /* is void to be avoided? */
     187: #define M_VOID          /* Xenix strikes again */
     188: #endif
     189:
     190: #endif

#### Defined macros

CAN_PROTOTYPE defined in line 152; used 1 times

- in line 153

CPP defined in line 44; never used
CPPMINUS defined in line 45; never used
HAS_CRYPT defined in line 64; used 1 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 1962

HAS_RENAME defined in line 71; never used
HAS_SELECT defined in line 78; never used
HAS_STAT defined in line 84; never used
HAS_SYSTEM defined in line 116; never used
HAS_TIMES defined in line 123; never used
M_VOID defined in line 187; never used
SED defined in line 50; never used
STDCHAR defined in line 163; used 1 times

- in /usr/src/new/PORT/perl.1.0.16/str.c line 324

USE_STRUCT_COPY defined in line 110; never used
VOIDFLAGS defined in line 184; used 1 times

- in line 185

VOIDSIG defined in line 139; used 1 times

- in /usr/src/new/PORT/perl.1.0.16/arg.c line 1218

VOIDUSED defined in line 182; used 3 times

- in line 181-185(3)

_ defined in line 156; never used
_config_h_ defined in line 22; used 1 times

- in line 21

void defined in line 186; never used

#### Usage of this include

config.h used 2 times

- in /usr/src/new/PORT/perl.1.0.16/perl.h line 24
- in /usr/src/new/PORT/perl.1.0.16/x2p/a2p.h line 16

Last modified: 2002-12-19 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1136 |