wterl/c_src/build_deps.sh
Steve Vinoski fbc6f9b440 update to WiredTiger 1.1.3
Update to WiredTiger 1.1.3 and also reinstate checking that
wterl:session_create returns ok.
2012-04-04 15:20:08 -04:00

28 lines
471 B
Bash
Executable file

#!/bin/bash
set -e
WT_VSN=1.1.3
[ `basename $PWD` != "c_src" ] && cd c_src
BASEDIR="$PWD"
case "$1" in
clean)
rm -rf system wiredtiger-$WT_VSN
;;
*)
test -f system/lib/libwiredtiger.a && exit 0
tar -xjf wiredtiger-$WT_VSN.tar.bz2
(cd wiredtiger-$WT_VSN/build_posix && \
../configure --with-pic \
--prefix=$BASEDIR/system && \
make && make install)
;;
esac