summaryrefslogtreecommitdiff
path: root/uconfig.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-01 15:34:24 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-01 15:34:24 +0000
commit640374d0dfc3428416b596d67c06b3c817f44bd8 (patch)
tree0125d04838ec2165b6a564b01c53e815f9d81d20 /uconfig.h
parent592f596992fbcfa7e7c135f9212d2ec2def553a6 (diff)
downloadperl-640374d0dfc3428416b596d67c06b3c817f44bd8.tar.gz
Configure tweaks; record the Berkeley DB version,
probe for realpath(), for setresuid() and setresgid() prototypes; use realpath() (try to be paranoid enough), use the setres[ug]id prototypes because glibc has the functions but not their prototypes; add -Wall -ansi to gcc ccflags; regen toc. p4raw-id: //depot/perl@10372
Diffstat (limited to 'uconfig.h')
-rw-r--r--uconfig.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/uconfig.h b/uconfig.h
index 8766659865..fa0d8b0533 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -2407,8 +2407,25 @@
* in the <db.h> header file. In older versions of DB, it was
* int, while in newer ones it is size_t.
*/
+/* DB_VERSION_MAJOR_CFG:
+ * This symbol, if defined, defines the major version number of
+ * Berkeley DB found in the <db.h> header when Perl was configured.
+ */
+/* DB_VERSION_MINOR_CFG:
+ * This symbol, if defined, defines the minor version number of
+ * Berkeley DB found in the <db.h> header when Perl was configured.
+ * For DB version 1 this is always 0.
+ */
+/* DB_VERSION_PATCH_CFG:
+ * This symbol, if defined, defines the patch version number of
+ * Berkeley DB found in the <db.h> header when Perl was configured.
+ * For DB version 1 this is always 0.
+ */
#define DB_Hash_t u_int32_t /**/
#define DB_Prefix_t size_t /**/
+#define DB_VERSION_MAJOR_CFG /**/
+#define DB_VERSION_MINOR_CFG /**/
+#define DB_VERSION_PATCH_CFG /**/
/* I_GRP:
* This symbol, if defined, indicates to the C program that it should
@@ -3315,6 +3332,12 @@
#define PERL_XS_APIVERSION "5.005"
#define PERL_PM_APIVERSION "5.005"
+/* HAS_REALPATH:
+ * This symbol, if defined, indicates that the realpath routine is
+ * available to do resolve paths.
+ */
+/*#define HAS_REALPATH / **/
+
/* HAS_SIGPROCMASK:
* This symbol, if defined, indicates that the sigprocmask
* system call is available to examine or change the signal mask
@@ -3328,6 +3351,14 @@
*/
/*#define HAS_SOCKATMARK / **/
+/* HAS_SETRESUID_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the setresuid() function. Otherwise, it is up
+ * to the program to supply one. Good guesses are
+ * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid);
+ */
+/*#define HAS_SETRESUID_PROTO / **/
+
/* HAS_STRFTIME:
* This symbol, if defined, indicates that the strftime routine is
* available to do time formatting.