changeset 6958:9cb1efcc5640

'configure changed'-test re-added, noticed by Sylvain Petreolle <spetreolle@yahoo.fr>
author arpi
date Sat, 10 Aug 2002 18:45:31 +0000
parents bbff6ac5797c
children f7d8c02536e4
files Makefile
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Aug 10 10:59:42 2002 +0000
+++ b/Makefile	Sat Aug 10 18:45:31 2002 +0000
@@ -290,6 +290,15 @@
 	$(CC) -MM $(CFLAGS) mplayer.c mencoder.c $(SRCS_MPLAYER) $(SRCS_MENCODER) 1>.depend
 	@for a in $(PARTS); do $(MAKE) -C $$a dep; done
 
+# ./configure must be run if it changed in CVS
+config.h: configure
+	@echo "############################################################"
+	@echo "####### Please run ./configure again - it's changed! #######"
+	@echo "############################################################"
+ifeq ($(wildcard .developer),)
+	@exit 1
+endif
+
 # do not rebuild after cvs commits if .developer file is present!
 
 # rebuild at every config.h/config.mak change: