* This symbol contains an encoding of the order of bytes in a long.
* Usual values (in octal) are 01234, 04321, 02143, 03412...
*/
-#define BYTEORDER 0$byteorder /**/
+#define BYTEORDER 0x$byteorder /**/
/* CPPSTDIN:
* This symbol contains the first part of the string which will invoke
*/
#$d_bcopy BCOPY /**/
+/* BZERO:
+ * This symbol, if defined, indicates that the bzero routine is available
+ * to zero blocks of memory. Otherwise you should probably use memcpy().
+ */
+#$d_bzero BZERO /**/
+
+/* CASTNEGFLOAT:
+ * This symbol, if defined, indicates that this C compiler knows how to
+ * cast negative numbers to unsigned longs, ints and shorts.
+ */
+#$d_castneg CASTNEGFLOAT /**/
+
/* CHARSPRINTF:
* This symbol is defined if this system declares "char *sprintf()" in
* stdio.h. The trend seems to be to declare it as "int sprintf()". It
*/
#$d_charsprf CHARSPRINTF /**/
+/* CHSIZE:
+ * This symbol, if defined, indicates that the chsize routine is available
+ * to truncate files. You might need a -lx to get this routine.
+ */
+#$d_chsize CHSIZE /**/
+
/* CRYPT:
* This symbol, if defined, indicates that the crypt routine is available
* to encrypt passwords and the like.
*/
#$d_crypt CRYPT /**/
+/* CSH:
+ * This symbol, if defined, indicates that the C-shell exists.
+ * If defined, contains the full pathname of csh.
+ */
+#$d_csh CSH "$csh" /**/
+
/* DOSUID:
* This symbol, if defined, indicates that the C program should
* check the script that it is executing for setuid/setgid bits, and
*/
#$d_getpgrp GETPGRP /**/
+/* GETPGRP2:
+ * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX)
+ * routine is available to get the current process group.
+ */
+#$d_getpgrp2 GETPGRP2 /**/
+
/* GETPRIORITY:
* This symbol, if defined, indicates that the getpriority() routine is
* available to get a process's priority.
*/
#$d_killpg KILLPG /**/
+/* LSTAT:
+ * This symbol, if defined, indicates that the lstat() routine is
+ * available to do file locking.
+ */
+#$d_lstat LSTAT /**/
+
/* MEMCMP:
* This symbol, if defined, indicates that the memcmp routine is available
* to compare blocks of memory. If undefined, roll your own.
*/
#$d_rmdir RMDIR /**/
+/* SELECT:
+ * This symbol, if defined, indicates that the select routine is available
+ * to select active file descriptors.
+ */
+#$d_select SELECT /**/
+
/* SETEGID:
* This symbol, if defined, indicates that the setegid routine is available
* to change the effective gid of the current program.
*/
#$d_setpgrp SETPGRP /**/
+/* SETPGRP2:
+ * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX)
+ * routine is available to set the current process group.
+ */
+#$d_setpgrp2 SETPGRP2 /**/
+
/* SETPRIORITY:
* This symbol, if defined, indicates that the setpriority() routine is
* available to set a process's priority.
*/
#$d_strctcpy STRUCTCOPY /**/
+/* STRERROR:
+ * This symbol, if defined, indicates that the strerror() routine is
+ * available to translate error numbers to strings.
+ */
+#$d_strerror STRERROR /**/
+
/* SYMLINK:
* This symbol, if defined, indicates that the symlink routine is available
* to create symbolic links.
*/
#$d_syscall SYSCALL /**/
-/* TMINSYS:
- * This symbol is defined if this system declares "struct tm" in
- * in <sys/time.h> rather than <time.h>. We can't just say
- * -I/usr/include/sys because some systems have both time files, and
- * the -I trick gets the wrong one.
- */
-/* I_SYSTIME:
- * This symbol is defined if this system has the file <sys/time.h>.
+/* TRUNCATE:
+ * This symbol, if defined, indicates that the truncate routine is
+ * available to truncate files.
*/
-#$d_tminsys TMINSYS /**/
-#$i_systime I_SYSTIME /**/
+#$d_truncate TRUNCATE /**/
/* VARARGS:
* This symbol, if defined, indicates to the C program that it should
*/
#$d_voidsig VOIDSIG /**/
+/* HASVOLATILE:
+ * This symbol, if defined, indicates that this C compiler knows about
+ * the volatile declaration.
+ */
+#$d_volatile HASVOLATILE /**/
+
/* VPRINTF:
* This symbol, if defined, indicates that the vprintf routine is available
* to printf with a pointer to an argument list. If unavailable, you
#$d_vprintf VPRINTF /**/
#$d_charvspr CHARVSPRINTF /**/
+/* WAIT4:
+ * This symbol, if defined, indicates that wait4() exists.
+ */
+#$d_wait4 WAIT4 /**/
+
/* GIDTYPE:
* This symbol has a value like gid_t, int, ushort, or whatever type is
* used to declare group ids in the kernel.
#$i_pwd I_PWD /**/
#$d_pwquota PWQUOTA /**/
#$d_pwage PWAGE /**/
-#$d_pwage PWCHANGE /**/
-#$d_pwage PWCLASS /**/
-#$d_pwage PWEXPIRE /**/
+#$d_pwchange PWCHANGE /**/
+#$d_pwclass PWCLASS /**/
+#$d_pwexpire PWEXPIRE /**/
/* I_SYSDIR:
* This symbol, if defined, indicates to the C program that it should
*/
#$i_sysioctl I_SYSIOCTL /**/
+/* I_SYSNDIR:
+ * This symbol, if defined, indicates to the C program that it should
+ * include sys/ndir.h.
+ */
+#$i_sysndir I_SYSNDIR /**/
+
+/* I_TIME:
+ * This symbol is defined if the program should include <time.h>.
+ */
+/* I_SYSTIME:
+ * This symbol is defined if the program should include <sys/time.h>.
+ */
+/* I_SYSTIMEKERNEL:
+ * This symbol is defined if the program should include <sys/time.h>
+ * with KERNEL defined.
+ */
+#$i_time I_TIME /**/
+#$i_systime I_SYSTIME /**/
+#$d_systimekernel SYSTIMEKERNEL /**/
+
+/* I_UTIME:
+ * This symbol, if defined, indicates to the C program that it should
+ * include utime.h.
+ */
+#$i_utime I_UTIME /**/
+
/* I_VARARGS:
* This symbol, if defined, indicates to the C program that it should
* include varargs.h.
*/
#define RANDBITS $randbits /**/
+/* SCRIPTDIR:
+ * This symbol holds the name of the directory in which the user wants
+ * to put publicly executable scripts for the package in question. It
+ * is often a directory that is mounted across diverse architectures.
+ */
+#define SCRIPTDIR "$scriptdir" /**/
+
/* SIG_NAME:
* This symbol contains an list of signal names in order.
*/