Index: /issm/trunk-jpl/externalpackages/boost/install.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/boost/install.sh	(revision 11833)
+++ /issm/trunk-jpl/externalpackages/boost/install.sh	(revision 11834)
@@ -1,24 +1,37 @@
 #!/bin/bash
 
-#Some cleanup
-rm -rf install boost_1_45_0 src
-mkdir install src
+step=2
+#1: download
+#2: install
 
-#Untar 
-tar -zxvf  boost_1_45_0.tar.gz
+if [[ $step == "1" ]];then
+	#Some cleanup
+	rm -rf install boost_1_49_0 src
+	mkdir install src
 
-#Move boost into install directory
-mv boost_1_45_0/* src
-rm -rf boost_1_45_0
+	#Untar 
+	tar -zxvf  boost_1_49_0.tar.gz
 
-#Configure and compile
-cd src 
-./bootstrap.sh --prefix=$ISSM_TIER/externalpackages/boost/install
+	#Move boost into install directory
+	mv boost_1_49_0/* src
+	rm -rf boost_1_49_0
+fi
 
-#Compile boost
-if [ -z $1 ];
-then
-	./bjam install
-else
-	./bjam -j $1 install
+if [[ $step == "2" ]];then
+	#Configure and compile
+	cd src 
+	./bootstrap.sh --prefix=$ISSM_TIER/externalpackages/boost/install --with-python=python3.2 --with-python-root="$ISSM_TIER/externalpackages/python/install" 
+
+	#Compile boost
+	if [ -z $1 ];
+	then
+		./bjam install
+	else
+		./bjam -jx $1 install
+	fi
+
+	#put bjam into install also: 
+	mkdir ../install/bin
+	cp bjam ../install/bin
+
 fi
