if  !  grep  -q  CONFIGURED  $SPELL_CONFIG;  then

  LANGS="--enable-languages=c,c++"

  if    query  "Enable Fortran 77 support?"  y
  then  LANGS="$LANGS,f77"
  fi

  if    query  "Enable Java support?"  y
  then  LANGS="$LANGS,java"
  fi

  if    query  "Enable Objective C support?"  y
  then  LANGS="$LANGS,objc"
  fi

  if    query  "Enable Pascal support?"  n
  then  LANGS="$LANGS,pascal"
        echo  "PASCAL=y"  >>  $SPELL_CONFIG
  fi

  echo  LANGS="$LANGS"  >>  $SPELL_CONFIG
  echo  'CONFIGURED="y"'  >>  $SPELL_CONFIG

fi
