Index: app/dist/common/utt_make_config.pl
===================================================================
--- app/dist/common/utt_make_config.pl	(revision 389de9abcbd0bbec63c04912b2d253b58dc5145c)
+++ app/dist/common/utt_make_config.pl	(revision a4d0da553f29bc0fd967ebb3e0e910e46b1f4439)
@@ -15,4 +15,5 @@
 
 conf_cor(catfile($usr_home, 'cor.conf'), $sys_home);
+conf_compiledic(catfile($usr_home, 'compiledic.conf'), $sys_home);
 conf_grp(catfile($usr_home, 'grp.conf'), $sys_home);
 conf_gue(catfile($usr_home, 'gue.conf'), $sys_home);
@@ -59,4 +60,32 @@
 }
 
+sub conf_compiledic() {
+	my $compiledic_file = shift;
+	my $utthome = shift;
+  open(FILE, ">$compiledic_file");
+
+  print FILE makeConfigHeader();
+  my $hm = home();
+  my $lang=`grep language $hm/.utt/utt.conf | cut -d= -f 2`;
+  chomp $lang;
+# powinno byc $utthome/share/utt/pl_PL.ISO-8859-2/pl_PL.ISO-8892-2.sym
+# ale to bez sensu
+  print FILE "symbols=", abs_path("$utthome/share/utt");
+  print FILE "/$lang/$lang.sym\n";
+
+  close FILE;
+}
+
+sub conf_grp() {
+	my $grp_file = shift;
+	my $utthome = shift;
+  open(FILE, ">$grp_file");
+
+  print FILE makeConfigHeader();
+  print FILE "macros=", abs_path("$utthome/lib/utt/terms.m4"), "\n";
+
+  close FILE;
+}
+
 sub conf_cor() {
 	my $cor_file = shift;
