[FFmpeg-cvslog] r17994 - trunk/configure

diego subversion
Sun Mar 15 22:32:36 CET 2009


Author: diego
Date: Sun Mar 15 22:32:36 2009
New Revision: 17994

Log:
Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sun Mar 15 21:14:25 2009	(r17993)
+++ trunk/configure	Sun Mar 15 22:32:36 2009	(r17994)
@@ -1212,6 +1212,8 @@ else
     source_path="$(cd "$source_path"; pwd)"
     echo "$source_path" | grep -q '[[:blank:]]' &&
         die "Out of tree builds are impossible with whitespace in source path."
+    test -e "$source_path/config.h" &&
+        die "Out of tree builds are impossible with config.h in source dir."
 fi
 
 FFMPEG_CONFIGURATION="$@"




More information about the ffmpeg-cvslog mailing list