[FFmpeg-cvslog] r24436 - trunk/Makefile

mru subversion
Thu Jul 22 19:47:56 CEST 2010


Author: mru
Date: Thu Jul 22 19:47:56 2010
New Revision: 24436

Log:
Do not automatically run configure

Making automatic reconfigure work properly in all cases proved more
difficult than it seemed, and people complained about it.  Instead,
print a warning when the configuration appears to be out of date.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Thu Jul 22 15:05:10 2010	(r24435)
+++ trunk/Makefile	Thu Jul 22 19:47:56 2010	(r24436)
@@ -59,6 +59,9 @@ $(PROGS): %$(EXESUF): %_g$(EXESUF)
 
 config.h: .config
 .config: $(wildcard $(FFLIBS:%=$(SRC_DIR)/lib%/all*.c))
+	@-tput bold 2>/dev/null
+	@-printf '\nWARNING: $(?F) newer than config.h, rerun configure\n\n'
+	@-tput sgr0 2>/dev/null
 
 SUBDIR_VARS := OBJS FFLIBS CLEANFILES DIRS TESTPROGS EXAMPLES SKIPHEADERS \
                ALTIVEC-OBJS MMX-OBJS NEON-OBJS X86-OBJS YASM-OBJS-FFT YASM-OBJS \
@@ -168,9 +171,8 @@ distclean::
 	$(RM) $(DISTCLEANSUFFIXES)
 	$(RM) version.h config.* libavutil/avconfig.h
 
-config .config:
+config:
 	$(SRC_PATH)/configure $(value FFMPEG_CONFIGURATION)
-	@touch .config
 
 # regression tests
 



More information about the ffmpeg-cvslog mailing list