mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-09-28 11:36:55 +00:00
24 lines
435 B
Text
24 lines
435 B
Text
|
#!/bin/sh -
|
||
|
# $Id$
|
||
|
#
|
||
|
# Build Windows include files.
|
||
|
|
||
|
. ./RELEASE
|
||
|
|
||
|
process()
|
||
|
{
|
||
|
src=$1.in
|
||
|
tdest=$1.out
|
||
|
dest=$1
|
||
|
|
||
|
sed -e "s/@DB_VERSION_MAJOR@/$DB_VERSION_MAJOR/g" \
|
||
|
-e "s/@DB_VERSION_MINOR@/$DB_VERSION_MINOR/g" < $src > $tdest
|
||
|
|
||
|
cmp $tdest $dest > /dev/null 2>&1 ||
|
||
|
(echo "Building $dest" && rm -f $dest && cp $tdest $dest)
|
||
|
rm -f $tdest
|
||
|
}
|
||
|
|
||
|
process ../lang/php_db4/config.m4
|
||
|
process ../lang/php_db4/config.w32
|