summaryrefslogtreecommitdiff
path: root/ext/DB_File
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-02 20:17:59 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-02 20:17:59 +0000
commitb7d08f5e04fc021d8ad0e19eda3dcc7974d205e7 (patch)
treeaa7aee73a839710595e68929e2efcce44cd3e084 /ext/DB_File
parent2fe765f8bd7f76632bac83d6ab116dcc67a2eaa8 (diff)
downloadperl-b7d08f5e04fc021d8ad0e19eda3dcc7974d205e7.tar.gz
Add missed file ext/DB_File/config.in and update ext/DB_File/Changes, both
accidentally omitted from d8bf0b8cc0654f404eb597a952c50e72976fd4fa.
Diffstat (limited to 'ext/DB_File')
-rw-r--r--ext/DB_File/Changes8
-rwxr-xr-xext/DB_File/config.in97
2 files changed, 105 insertions, 0 deletions
diff --git a/ext/DB_File/Changes b/ext/DB_File/Changes
index bfa933896f..1036545958 100644
--- a/ext/DB_File/Changes
+++ b/ext/DB_File/Changes
@@ -1,5 +1,13 @@
+1.818 21 January 2009
+
+ * Updated Makefile.PL for Strawberry Perl.
+ Patch suggested by David Golden.
+
+ * Remove IRIX notes from README. The page referenced doesn't exist
+ anymore.
+
1.817 27 March 2008
* Updated dbinfo
diff --git a/ext/DB_File/config.in b/ext/DB_File/config.in
new file mode 100755
index 0000000000..292b09a5fb
--- /dev/null
+++ b/ext/DB_File/config.in
@@ -0,0 +1,97 @@
+# Filename: config.in
+#
+# written by Paul Marquess <Paul.Marquess@btinternet.com>
+# last modified 9th Sept 1997
+# version 1.55
+
+# 1. Where is the file db.h?
+#
+# Change the path below to point to the directory where db.h is
+# installed on your system.
+
+INCLUDE = /usr/local/BerkeleyDB/include
+#INCLUDE = /usr/local/include
+#INCLUDE = /usr/include
+
+# 2. Where is libdb?
+#
+# Change the path below to point to the directory where libdb is
+# installed on your system.
+
+LIB = /usr/local/BerkeleyDB/lib
+#LIB = /usr/local/lib
+#LIB = /usr/lib
+
+# 3. What version of Berkely DB have you got?
+#
+# If you have version 2.0 or greater, you can skip this question.
+#
+# If you have Berkeley DB 1.78 or greater you shouldn't have to
+# change the definitions for PREFIX and HASH below.
+#
+# For older versions of Berkeley DB change both PREFIX and HASH to int.
+# Version 1.71, 1.72 and 1.73 are known to need this change.
+#
+# If you don't know what version you have have a look in the file db.h.
+#
+# Search for the string "DB_VERSION_MAJOR". If it is present, you
+# have Berkeley DB version 2 (or greater).
+#
+# If that didn't work, find the definition of the BTREEINFO typedef.
+# Check the return type from the prefix element. It should look like
+# this in an older copy of db.h:
+#
+# int (*prefix) __P((const DBT *, const DBT *));
+#
+# and like this in a more recent copy:
+#
+# size_t (*prefix) /* prefix function */
+# __P((const DBT *, const DBT *));
+#
+# Change the definition of PREFIX, below, to reflect the return type
+# of the prefix function in your db.h.
+#
+# Now find the definition of the HASHINFO typedef. Check the return
+# type of the hash element. Older versions look like this:
+#
+# int (*hash) __P((const void *, size_t));
+#
+# newer like this:
+#
+# u_int32_t /* hash function */
+# (*hash) __P((const void *, size_t));
+#
+# Change the definition of HASH, below, to reflect the return type of
+# the hash function in your db.h.
+#
+
+PREFIX = size_t
+HASH = u_int32_t
+
+# 4. Is the library called libdb?
+#
+# If you have copies of both 1.x and 2.x Berkeley DB installed on
+# your system it can sometimes be tricky to make sure you are using
+# the correct one. Renaming one (or creating a symbolic link) to
+# include the version number of the library can help.
+#
+# For example, if you have both Berkeley DB 2.3.12 and 1.85 on your
+# system and you want to use the Berkeley DB version 2 library you
+# could rename the version 2 library from libdb.a to libdb-2.3.12.a and
+# change the DBNAME line below to look like this:
+#
+# DBNAME = -ldb-2.3.12
+#
+# That will ensure you are linking the correct version of the DB
+# library.
+#
+# Note: If you are building this module with Win32, -llibdb will be
+# used by default.
+#
+# If you have changed the name of the library, uncomment the line
+# below (by removing the leading #) and edit the line to use the name
+# you have picked.
+
+#DBNAME = -ldb-2.4.10
+
+# end of file config.in