diff configure @ 36886:590e9305f12c

configure: Fix unnecessary rebuilds.
author reimar
date Fri, 07 Mar 2014 18:29:27 +0000
parents 89c3ef454d9e
children 5e22164b4b82
line wrap: on
line diff
--- a/configure	Fri Mar 07 14:08:59 2014 +0000
+++ b/configure	Fri Mar 07 18:29:27 2014 +0000
@@ -7099,7 +7099,7 @@
 fi
 
 if test "$ffmpeg" = yes; then
-  touch config.h
+  test -e config.h || touch config.h
   header_check libavutil/x86/asm.h || die "libavutil/x86/asm.h header is required for shared FFmpeg"
   def_ffmpeg='#define CONFIG_FFMPEG 1'
   if test "$ffmpeg_a" = yes ; then