/[debburn]/cdrkit/trunk/include/xconfig.h.in
ViewVC logotype

Diff of /cdrkit/trunk/include/xconfig.h.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 421 by blade, Thu Nov 23 09:26:21 2006 UTC revision 422 by blade, Thu Nov 23 09:58:31 2006 UTC
# Line 1  Line 1 
1  /* xconfig.h  Generated automatically by cmake */  /* xconfig.h.in Prototype for xconfig.h, generated automatically by cmake in
2     * cdrkit's build system.
3  /* Modified by Eduard Bloch, 2006 */   *
4     * Most features are expected to be available on every modern unixoide system,
5     * especially using the GCC compiler, others are probed.
6     *
7     * */
8    
9  /*  /*
10   *      Dynamic autoconf C-include code.   * Copyright Eduard Bloch, 2006
11     *
12     * Using constants names and comments from xconfig.h.in by J. Schilling,
13     * Copyright (c) 1998-2003
14   *   *
  *      Copyright (c) 1998-2003 J. Schilling  
15   */   */
16    
17  /*  /*
18   * Header Files   * Header Files
19   */   */
20  #define PROTOTYPES 1    /* if Compiler supports ANSI C prototypes */  #define PROTOTYPES 1    /* if Compiler supports ANSI C prototypes */
21  #define HAVE_STDARG_H 1 /* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */  #cmakedefine HAVE_STDARG_H
22            /* to use stdarg.h, else use varargs.h NOTE: SaberC on a Sun has prototypes but no stdarg.h */
23    
24  #define HAVE_STDLIB_H 1 /* to use general utility defines (malloc(), size_t ...) and general C library prototypes */  #cmakedefine HAVE_STDLIB_H
25            /* to use general utility defines (malloc(), size_t ...) and general C library prototypes */
26    
27  #define HAVE_STRING_H 1 /* to get NULL and ANSI C string function prototypes */  #cmakedefine HAVE_STRING_H
28  #define HAVE_STRINGS_H 1        /* to get BSD string function prototypes */          /* to get NULL and ANSI C string function prototypes */
29    #cmakedefine HAVE_STRINGS_H
30            /* to get BSD string function prototypes */
31  #define STDC_HEADERS 1  /* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */  #define STDC_HEADERS 1  /* if ANSI compliant stdlib.h, stdarg.h, string.h, float.h are present */
32  #define HAVE_UNISTD_H 1 /* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/  #cmakedefine HAVE_UNISTD_H
33  #define HAVE_GETOPT_H 1 /* to get getopt() prototype from getopt.h instead of unistd.h */          /* to get POSIX syscall prototypes XXX sys/file.h fcntl.h (unixstd/fctl)XXX*/
34  #define HAVE_LIMITS_H 1 /* to get POSIX numeric limits constants */  #cmakedefine HAVE_GETOPT_H
35            /* to get getopt() prototype from getopt.h instead of unistd.h */
36    #cmakedefine HAVE_LIMITS_H
37            /* to get POSIX numeric limits constants */
38  #define HAVE_FCNTL_H 1  /* to access, O_XXX constants for open(), otherwise use sys/file.h */  
39  #define HAVE_SYS_FILE_H 1       /* to use O_XXX constants for open() and flock() defs */  #cmakedefine HAVE_FCNTL_H
40  #define HAVE_INTTYPES_H 1       /* to use UNIX-98 inttypes.h */          /* to access, O_XXX constants for open(), otherwise use sys/file.h */
41  #define HAVE_DIRENT_H 1 /* to use POSIX dirent.h */  #cmakedefine HAVE_SYS_FILE_H
42            /* to use O_XXX constants for open() and flock() defs */
43    #cmakedefine HAVE_INTTYPES_H
44            /* to use UNIX-98 inttypes.h */
45  #define HAVE_ALLOCA_H 1 /* if alloca.h exists */  #cmakedefine HAVE_DIRENT_H
46            /* to use POSIX dirent.h */
47  #define HAVE_TERMIOS_H 1        /* to use POSIX termios.h */  
48  #define HAVE_TERMIO_H 1 /* to use SVR4 termio.h */  #cmakedefine HAVE_ALLOCA_H
49  #define HAVE_PWD_H 1    /* if pwd.h exists */          /* if alloca.h exists */
50    
51    #cmakedefine HAVE_TERMIOS_H
52            /* to use POSIX termios.h */
53    #cmakedefine HAVE_TERMIO_H
54            /* to use SVR4 termio.h */
55    #cmakedefine HAVE_PWD_H
56  #define HAVE_SYS_TIME_H 1       /* may include sys/time.h for struct timeval */          /* if pwd.h exists */
57  #define TIME_WITH_SYS_TIME 1    /* may include both time.h and sys/time.h */  
58    #cmakedefine HAVE_SYS_TIME_H
59            /* may include sys/time.h for struct timeval */
60    #define TIME_WITH_SYS_TIME 1   /* may include both time.h and sys/time.h */
61    
62  #define HAVE_UTIME 1            /* to use AT&T utime() and utimbuf */  #define HAVE_UTIME 1            /* to use AT&T utime() and utimbuf */
63  #define HAVE_UTIMES 1           /* to use BSD utimes() and sys/time.h */  #define HAVE_UTIMES 1           /* to use BSD utimes() and sys/time.h */
64    
65    #cmakedefine HAVE_UTIME_H
66                    /* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */
67    
68  #define HAVE_UTIME_H 1          /* to use utime.h for the utimbuf structure declaration, else declare struct utimbuf yourself */  #cmakedefine HAVE_SYS_IOCTL_H
69                    /* if sys/ioctl.h is present */
 #define HAVE_SYS_IOCTL_H 1              /* if sys/ioctl.h is present */  
   
 #define HAVE_SYS_PARAM_H 1              /* if sys/param.h is present */  
   
   
70    
71    #cmakedefine HAVE_SYS_PARAM_H
72                    /* if sys/param.h is present */
73    
74  /* to use wait.h for prototypes and union wait */  /* to use wait.h for prototypes and union wait */
75  #cmakedefine HAVE_WAIT_H  #cmakedefine HAVE_WAIT_H
76  /* else use sys/wait.h */  /* else use sys/wait.h */
77  #cmakedefine define HAVE_SYS_WAIT_H  #cmakedefine define HAVE_SYS_WAIT_H
78  #define HAVE_SYS_RESOURCE_H 1   /* to use sys/resource.h for rlimit() and wait3() */  #cmakedefine HAVE_SYS_RESOURCE_H
79            /* to use sys/resource.h for rlimit() and wait3() */
   
   
 #define HAVE_SYS_UTSNAME_H 1    /* to use uname() */  
   
   
   
 #define HAVE_SYS_MTIO_H 1               /* to use mtio definitions from sys/mtio.h */  
   
 #define HAVE_SYS_MMAN_H 1               /* to use definitions for mmap()/madvise()... from sys/mman.h */  
80    
81    #cmakedefine HAVE_SYS_UTSNAME_H
82            /* to use uname() */
83    
84    #cmakedefine HAVE_SYS_MTIO_H
85                    /* to use mtio definitions from sys/mtio.h */
86    
87    #cmakedefine HAVE_SYS_MMAN_H
88                    /* to use definitions for mmap()/madvise()... from sys/mman.h */
89  #define MAJOR_IN_SYSMACROS 1    /* if we should include sys/sysmacros.h to get major()/minor()/makedev() */  #define MAJOR_IN_SYSMACROS 1    /* if we should include sys/sysmacros.h to get major()/minor()/makedev() */
90  #cmakedefine HAVE_SYS_DKIO_H  #cmakedefine HAVE_SYS_DKIO_H
91    #cmakedefine HAVE_SUN_DKIO_H
92    #cmakedefine HAVE_POLL_H
93                    /* if we may include poll.h to use poll() */
94    #cmakedefine HAVE_SYS_POLL_H
95                    /* if we may include sys/poll.h to use poll() */
96    
97    
98    #cmakedefine HAVE_NETDB_H
99                    /* if we have netdb.h for get*by*() and rcmd() */
100    #cmakedefine HAVE_SYS_SOCKET_H
101            /* if we have sys/socket.h for socket() */
102    
103    #cmakedefine HAVE_LINUX_PG_H
104                    /* if we may include linux/pg.h for PP ATAPI sypport */
   
   
 #define HAVE_POLL_H 1           /* if we may include poll.h to use poll() */  
 #define HAVE_SYS_POLL_H 1               /* if we may include sys/poll.h to use poll() */  
   
   
 #define HAVE_NETDB_H 1          /* if we have netdb.h for get*by*() and rcmd() */  
 #define HAVE_SYS_SOCKET_H 1     /* if we have sys/socket.h for socket() */  
   
 #define HAVE_LINUX_PG_H 1               /* if we may include linux/pg.h for PP ATAPI sypport */  
   
   
   
   
   
   
   
   
105  #define HAVE_ERRNO_DEF 1                /* if we have errno definition in <errno.h> */  #define HAVE_ERRNO_DEF 1                /* if we have errno definition in <errno.h> */
106    
107  #define HAVE_ARPA_INET_H 1              /* if we have arpa/inet.h (missing on BeOS) */  #cmakedefine HAVE_ARPA_INET_H
108                    /* if we have arpa/inet.h (missing on BeOS) */
109                                  /* BeOS has inet_ntoa() in <netdb.h> */                                  /* BeOS has inet_ntoa() in <netdb.h> */
110    
   
   
   
   
   
   
   
   
   
   
111  /*  /*
112   * Convert to SCHILY name   * Convert to SCHILY name
113   */   */
# Line 143  Line 133 
133   * Library Functions   * Library Functions
134   */   */
135  #define HAVE_ACCESS 1           /* access() is present in libc */  #define HAVE_ACCESS 1           /* access() is present in libc */
   
   
   
   
136  #define HAVE_STRERROR 1         /* strerror() is present in libc */  #define HAVE_STRERROR 1         /* strerror() is present in libc */
137  #define HAVE_MEMMOVE 1          /* memmove() is present in libc */  #define HAVE_MEMMOVE 1          /* memmove() is present in libc */
138    
139  #define HAVE_MLOCK 1            /* mlock() is present in libc */  #define HAVE_MLOCK 1            /* mlock() is present in libc */
140  #cmakedefine HAVE_MLOCKALL  #cmakedefine HAVE_MLOCKALL
141          /* working mlockall() is present in libc */          /* working mlockall() is present in libc */
   
   
142  #define HAVE_FLOCK 1            /* *BSD flock() is present in libc */  #define HAVE_FLOCK 1            /* *BSD flock() is present in libc */
   
   
   
   
   
   
   
143  #define HAVE_SETREUID 1         /* setreuid() is present in libc */  #define HAVE_SETREUID 1         /* setreuid() is present in libc */
   
144  #define HAVE_SETEUID 1          /* seteuid() is present in libc */  #define HAVE_SETEUID 1          /* seteuid() is present in libc */
145  #define HAVE_SETUID 1           /* setuid() is present in libc */  #define HAVE_SETUID 1           /* setuid() is present in libc */
146  #define HAVE_SETREGID 1         /* setregid() is present in libc */  #define HAVE_SETREGID 1         /* setregid() is present in libc */
   
147  #define HAVE_SETEGID 1          /* setegid() is present in libc */  #define HAVE_SETEGID 1          /* setegid() is present in libc */
148  #define HAVE_SETGID 1           /* setgid() is present in libc */  #define HAVE_SETGID 1           /* setgid() is present in libc */
   
   
   
   
   
   
   
   
   
   
149  #define HAVE_TCGETATTR 1                /* tcgetattr() is present in libc */  #define HAVE_TCGETATTR 1                /* tcgetattr() is present in libc */
150  #define HAVE_TCSETATTR 1                /* tcsetattr() is present in libc */  #define HAVE_TCSETATTR 1                /* tcsetattr() is present in libc */
   
   
   
   
151  #define HAVE_GETHOSTID 1                /* gethostid() is present in libc */  #define HAVE_GETHOSTID 1                /* gethostid() is present in libc */
152  #define HAVE_GETHOSTNAME 1              /* gethostname() is present in libc */  #define HAVE_GETHOSTNAME 1              /* gethostname() is present in libc */
153  #define HAVE_GETDOMAINNAME 1    /* getdomainname() is present in libc */  #define HAVE_GETDOMAINNAME 1    /* getdomainname() is present in libc */
154  #define HAVE_GETPAGESIZE 1              /* getpagesize() is present in libc */  #define HAVE_GETPAGESIZE 1              /* getpagesize() is present in libc */
   
   
   
   
   
   
   
   
   
155  #define HAVE_POLL 1             /* poll() is present in libc */  #define HAVE_POLL 1             /* poll() is present in libc */
156  #define HAVE_SELECT 1           /* select() is present in libc */  #define HAVE_SELECT 1           /* select() is present in libc */
   
   
   
   
   
157  #define HAVE_LCHOWN 1           /* lchown() is present in libc */  #define HAVE_LCHOWN 1           /* lchown() is present in libc */
   
158  #define HAVE_SBRK 1             /* sbrk() is present in libc */  #define HAVE_SBRK 1             /* sbrk() is present in libc */
159  #define HAVE_VA_COPY 1          /* va_copy() is present in varargs.h/stdarg.h */  #define HAVE_VA_COPY 1          /* va_copy() is present in varargs.h/stdarg.h */
   
   
   
160  #define HAVE_DUP2 1             /* dup2() is present in libc */  #define HAVE_DUP2 1             /* dup2() is present in libc */
161  #define HAVE_GETCWD 1           /* POSIX getcwd() is present in libc */  #define HAVE_GETCWD 1           /* POSIX getcwd() is present in libc */
162  #define HAVE_SMMAP 1            /* may map anonymous memory to get shared mem */  #define HAVE_SMMAP 1            /* may map anonymous memory to get shared mem */
# Line 221  Line 164 
164  #define HAVE_SEMGET 1           /* semget() is present in libc */  #define HAVE_SEMGET 1           /* semget() is present in libc */
165  #define HAVE_LSTAT 1            /* lstat() is present in libc */  #define HAVE_LSTAT 1            /* lstat() is present in libc */
166  #define HAVE_READLINK 1         /* readlink() is present in libc */  #define HAVE_READLINK 1         /* readlink() is present in libc */
   
   
   
   
167  #define HAVE_RENAME 1           /* rename() is present in libc */  #define HAVE_RENAME 1           /* rename() is present in libc */
   
   
168  #define HAVE_ECVT 1             /* ecvt() is present in libc */  #define HAVE_ECVT 1             /* ecvt() is present in libc */
169  #define HAVE_FCVT 1             /* fcvt() is present in libc */  #define HAVE_FCVT 1             /* fcvt() is present in libc */
170  #define HAVE_GCVT 1             /* gcvt() is present in libc */  #define HAVE_GCVT 1             /* gcvt() is present in libc */
171    
   
   
   
   
   
   
172  /* isinf() is present in libc */  /* isinf() is present in libc */
173  #cmakedefine HAVE_ISINF  #cmakedefine HAVE_ISINF
174  #define HAVE_ISNAN 1            /* isnan() is present in libc or libm */  #define HAVE_ISNAN 1            /* isnan() is present in libc or libm */
# Line 245  Line 176 
176  #define HAVE_DRAND48 1          /* drand48() is present in libc */  #define HAVE_DRAND48 1          /* drand48() is present in libc */
177  #define HAVE_SETPRIORITY 1              /* setpriority() is present in libc */  #define HAVE_SETPRIORITY 1              /* setpriority() is present in libc */
178  #define HAVE_NICE 1             /* nice() is present in libc */  #define HAVE_NICE 1             /* nice() is present in libc */
   
   
   
   
   
179  #define HAVE_UNAME 1            /* uname() is present in libc */  #define HAVE_UNAME 1            /* uname() is present in libc */
180  #define HAVE_SNPRINTF 1         /* snprintf() is present in libc */  #define HAVE_SNPRINTF 1         /* snprintf() is present in libc */
181  #define HAVE_STRCASECMP 1               /* strcasecmp() is present in libc */  #define HAVE_STRCASECMP 1               /* strcasecmp() is present in libc */
182  #define HAVE_STRDUP 1           /* strdup() is present in libc */  #define HAVE_STRDUP 1           /* strdup() is present in libc */
   
   
   
   
   
183  #define HAVE_SIGPROCMASK 1              /* sigprocmask() is present in libc (POSIX) */  #define HAVE_SIGPROCMASK 1              /* sigprocmask() is present in libc (POSIX) */
   
184  #define HAVE_SIGSET 1           /* sigset() is present in libc (POSIX) */  #define HAVE_SIGSET 1           /* sigset() is present in libc (POSIX) */
   
185  #define HAVE_NANOSLEEP 1                /* nanosleep() is present in libc */  #define HAVE_NANOSLEEP 1                /* nanosleep() is present in libc */
186  #define HAVE_USLEEP 1           /* usleep() is present in libc */  #define HAVE_USLEEP 1           /* usleep() is present in libc */
187  #define HAVE_FORK 1             /* fork() is present in libc */  #define HAVE_FORK 1             /* fork() is present in libc */
   
   
   
   
   
   
188  #define HAVE_ALLOCA 1           /* alloca() is present (else use malloc())*/  #define HAVE_ALLOCA 1           /* alloca() is present (else use malloc())*/
189  #define HAVE_VALLOC 1           /* valloc() is present in libc (else use malloc())*/  #define HAVE_VALLOC 1           /* valloc() is present in libc (else use malloc())*/
190    
   
   
   
   
   
   
   
   
 /*  
  * OS madness  
  */  
   
   
   
   
   
   
   
 /*  
  * Linux Extended File Attributes  
  */  
   
   
   
   
191  /*  /*
192   * Important:   This must be a result from a check _before_ the Large File test   * Important:   This must be a result from a check _before_ the Large File test
193   *              has been run. It then tells us whether these functions are   *              has been run. It then tells us whether these functions are
# Line 311  Line 199 
199   *      they are placed before the large file tests.   *      they are placed before the large file tests.
200   */   */
201    
   
   
202  #define HAVE_RCMD 1             /* rcmd() is present in libc/libsocket */  #define HAVE_RCMD 1             /* rcmd() is present in libc/libsocket */
203  #define HAVE_SOCKET 1           /* socket() is present in libc/libsocket */  #define HAVE_SOCKET 1           /* socket() is present in libc/libsocket */
204  #define HAVE_SOCKETPAIR 1               /* socketpair() is present in libc/libsocket */  #define HAVE_SOCKETPAIR 1               /* socketpair() is present in libc/libsocket */
# Line 353  Line 239 
239    
240  #define HAVE_MTGET_DSREG 1              /* if struct mtget contains mt_dsreg (drive status) */  #define HAVE_MTGET_DSREG 1              /* if struct mtget contains mt_dsreg (drive status) */
241    
   
   
242  #define HAVE_MTGET_ERREG 1              /* if struct mtget contains mt_erreg (error register) */  #define HAVE_MTGET_ERREG 1              /* if struct mtget contains mt_erreg (error register) */
243  #define HAVE_MTGET_RESID 1              /* if struct mtget contains mt_resid (residual count) */  #define HAVE_MTGET_RESID 1              /* if struct mtget contains mt_resid (residual count) */
244  #define HAVE_MTGET_FILENO 1     /* if struct mtget contains mt_fileno (file #) */  #define HAVE_MTGET_FILENO 1     /* if struct mtget contains mt_fileno (file #) */
245  #define HAVE_MTGET_BLKNO 1              /* if struct mtget contains mt_blkno (block #) */  #define HAVE_MTGET_BLKNO 1              /* if struct mtget contains mt_blkno (block #) */
246    
   
   
   
   
247  /* have union wait in wait.h */  /* have union wait in wait.h */
248  #cmakedefine HAVE_UNION_WAIT  #cmakedefine HAVE_UNION_WAIT
249  /*  /*
# Line 375  Line 255 
255    
256    
257  #define HAVE_ST_NSEC 1          /* if struct stat contains st_atim.tv_nsec (nanosecs) */  #define HAVE_ST_NSEC 1          /* if struct stat contains st_atim.tv_nsec (nanosecs) */
   
   
   
   
   
   
258  #define HAVE_ST_RDEV 1          /* if struct stat contains st_rdev */  #define HAVE_ST_RDEV 1          /* if struct stat contains st_rdev */
   
   
   
259  #define DEV_MINOR_BITS 32               /* # if bits needed to hold minor device number */  #define DEV_MINOR_BITS 32               /* # if bits needed to hold minor device number */
260  #define DEV_MINOR_NONCONTIG 1   /* if bits in minor device number are noncontiguous */  #define DEV_MINOR_NONCONTIG 1   /* if bits in minor device number are noncontiguous */
   
261  #define HAVE_SOCKADDR_STORAGE 1 /* if socket.h defines struct sockaddr_storage */  #define HAVE_SOCKADDR_STORAGE 1 /* if socket.h defines struct sockaddr_storage */
262    
   
263  /*  /*
264   * Byteorder/Bitorder   * Byteorder/Bitorder
265   */   */
266  #define HAVE_C_BIGENDIAN        /* Flag that WORDS_BIGENDIAN test was done */  #define HAVE_C_BIGENDIAN        /* Flag that WORDS_BIGENDIAN test was done */
267  /* If using network byte order             */  /* If using network byte order             */
268  #cmakedefine WORDS_BIGENDIAN  #cmakedefine WORDS_BIGENDIAN
 #define HAVE_C_BITFIELDS        /* Flag that BITFIELDS_HTOL test was done  */  
269  /* If high bits come first in structures   */  /* If high bits come first in structures   */
270  #cmakedefine BITFIELDS_HTOL  #cmakedefine BITFIELDS_HTOL
271    /* Flag that BITFIELDS_HTOL test was done  */
272    #define HAVE_C_BITFIELDS
273    
274  /*  /*
275   * Types/Keywords   * Types/Keywords
# Line 420  Line 290 
290  #define HAVE_LONGLONG 1         /* Compiler defines long long type */  #define HAVE_LONGLONG 1         /* Compiler defines long long type */
291    
292    
   
   
   
   
   
   
   
   
   
   
   
   
   
 /* @HAVE_NATIVE_BLKSIZE_T@ */  
   
 /*  
  * Important:   Next Step needs time.h for clock_t (because of a bug)  
  */  
   
   
   
 /*  
  * These types are present on all UNIX systems but should be avoided  
  * for portability.  
  * On Apollo/Domain OS we don't have them....  
  *  
  * Better include <utypes.h> and use Uchar, Uint & Ulong  
  */  
   
   
   
   
   
   
   
293  /*  /*
294   * Critical on some of Debian architectures (EB) */   * Critical on some of Debian architectures (EB) */
295  /* #define VA_LIST_IS_ARRAY 1           */  /* #define VA_LIST_IS_ARRAY 1           */
# Line 469  Line 304 
304   */   */
305  #define RETSIGTYPE void  #define RETSIGTYPE void
306    
 /*  
  * Defines needed to get large file support.  
 #ifdef  USE_LARGEFILES  
   
 We always use LFS, basta (EB)  
   
  */  
   
307  #define HAVE_LARGEFILES 1  #define HAVE_LARGEFILES 1
308  #define _FILE_OFFSET_BITS 64  #define _FILE_OFFSET_BITS 64
309  #define _LARGEFILE_SOURCE 1     /* To make ftello() visible (HP-UX 10.20). */  #define _LARGEFILE_SOURCE 1     /* To make ftello() visible (HP-UX 10.20). */
310  #define _LARGE_FILES 1  /* Large file defined on AIX-style hosts.  */  #define _LARGE_FILES 1  /* Large file defined on AIX-style hosts.  */
311    
                                 /* XXX We don't use this because glibc2.1.3*/  
                                 /* XXX is bad anyway. If we define         */  
                                 /* XXX _XOPEN_SOURCE we will loose caddr_t */  
   
 /*#endif        * USE_LARGEFILES */  
   
 #ifdef USE_ACL                  /* Enable/disable ACL support */  
 /*  
  * POSIX ACL support  
  */  
   
   
   
   
   
   
   
   
 #if defined(HAVE_ACL_GET_FILE) && defined(HAVE_ACL_SET_FILE) && \  
     defined(HAVE_ACL_FROM_TEXT) && defined(HAVE_ACL_TO_TEXT) && \  
     defined(HAVE_ACL_FREE)  
 #       define  HAVE_POSIX_ACL  1 /* POSIX ACL's present */  
 #endif  
   
 /*  
  * Sun ACL support.  
  * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.  
  */  
   
   
   
   
   
 #if defined(HAVE_ACL) && defined(HAVE_FACL) && \  
     defined(HAVE_ACLFROMTEXT) && defined(HAVE_ACLTOTEXT)  
 #       define  HAVE_SUN_ACL    1 /* Sun ACL's present */  
 #endif  
   
 /*  
  * HP-UX ACL support.  
  * Note: unfortunately, HP-UX has an (undocumented) acl() function in libc.  
  */  
   
   
   
   
   
   
   
   
   
   
   
   
 #if defined(HAVE_GETACL) && defined(HAVE_FGETACL) && \  
     defined(HAVE_SETACL) && defined(HAVE_FSETACL) && \  
     defined(HAVE_STRTOACL) && defined(HAVE_ACLTOTEXT)  
 #       define  HAVE_HP_ACL     1 /* HP-UX ACL's present */  
 #endif  
   
 /*  
  * Global definition whether ACL support is present.  
  * As HP-UX differs too much from other implementations, HAVE_HP_ACL is not  
  * included in HAVE_ANY_ACL.  
  */  
 #if defined(HAVE_POSIX_ACL) || defined(HAVE_SUN_ACL)  
 #       define  HAVE_ANY_ACL    1 /* Any ACL implementation present */  
 #endif  
   
 #endif  /* USE_ACL */  
   
312  /*  /*
313   * Misc CC / LD related stuff   * Misc CC / LD related stuff
314   */   */

Legend:
Removed from v.421  
changed lines
  Added in v.422

  ViewVC Help
Powered by ViewVC 1.1.5