changeset 36886:590e9305f12c

configure: Fix unnecessary rebuilds.
author reimar
date Fri, 07 Mar 2014 18:29:27 +0000
parents 1f4661a5495e
children 2b3ede5f8424
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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