#!/bin/sh

# Time-stamp: <03/07/31 14:20:30 ptr>
# $Id: configure,v 1.1 2003/11/14 20:08:28 ptr Exp $


configmak=./Makefiles/config.mak

rm -f ${configmak}

echo "# STLPORT_DIR := /export/home/windows/guest/STLlab/STLport" >> ${configmak}
echo "# MSVC_DIR := c:/Program Files/Microsoft Visual Studio/VC98" >> ${configmak}

while :
do
  case $# in
    0)
      break
      ;;
  esac
  option=$1
  shift
  case $option in
    --target=*)
      target=`echo $option | sed -e 's/^[^=]*=//'`
      echo TARGET_OS := $target >> ${configmak}
      ;;
  esac
done

