src/Makefile
changeset 1 fd135abaac89
parent 0 06dd3b8d90ad
child 2 6ee2a130dc07
--- a/src/Makefile
+++ b/src/Makefile
@@ -28,12 +28,20 @@
 		$(CC) -c $(PCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
 	elif [ -x $(MBROLA) ]; \
 	then \
+		if [ ! -f /etc/txt2pho ]; \
+		then \
+			if [ ! -f ~/.txt2phorc ]; \
+			then \
+				echo "Warning: ~/.txt2phorc or /etc/txt2pho is missing"; \
+			fi; \
+		fi; \
 		$(CC) -c $(MCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
 	elif [ -x $(FESTIVAL) ]; \
 	then \
 		$(CC) -c $(FCFLAGS) $(INCLUDE) $(DEBUG) -o $@ $<; \
 	else \
 		echo "Cannot find any TTS-System on your Machine"; \
+		exit 1; \
 	fi;
 	@echo "CC $<"