Index: /issm/trunk-jpl/scripts/issmconfiguration.sh
===================================================================
--- /issm/trunk-jpl/scripts/issmconfiguration.sh	(revision 11786)
+++ /issm/trunk-jpl/scripts/issmconfiguration.sh	(revision 11786)
@@ -0,0 +1,58 @@
+#/bin/bash
+#This script picks up whatever configuration files exists in trunk/configs, 
+#and offers the user the choice to reconfigure the ISSM compilation using
+#a given configuration file: 
+
+#keep track of present directory: 
+presendir=`pwd`
+
+if test -d "$ISSM_TIER/configs" ; then
+	cd $ISSM_TIER/configs
+	LIST=`ls`
+	
+	if [[  $# == "0" ]]; then 
+		COUNT=0;
+		for STEP in $LIST
+		do
+			let COUNT=$COUNT+1
+			printf '%3i: %s\n' $COUNT $STEP
+		done
+
+		echo -n "Configuration choice: "
+		read choice 
+	else
+		choice=$1
+	fi
+
+	#Now go backto the list and retrieve the name of the configuration file: 
+	COUNT=0;
+	for STEP in $LIST
+	do
+		let COUNT=$COUNT+1
+		if [[ $COUNT == $choice ]]; then
+			configurename=$STEP
+		fi
+	done
+
+	#Now go ahead and configure: 
+	echo ""
+	echo "Configuring ISSM with following configs: $configurename"
+	echo ""
+
+	cd $ISSM_TIER 
+	source ./scripts/automakererun.sh 
+	source configs/$configurename
+	
+	#we are done, go back to original directory: 
+	cd $presendir
+else
+	echo "Configuration directory does not exist!"
+	exit
+fi
+
+
+
+
+
+
+#alias aut='a=`pwd` && cd $ISSM_TIER && ./scripts/automakererun.sh && ./configs/config-macosx64-larour-nopetsc.sh'
