OSDN Git Service

run ebp register check in subshell so we can redirect crash message
authorMåns Rullgård <mans@mansr.com>
Sun, 1 Apr 2007 11:32:08 +0000 (11:32 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 1 Apr 2007 11:32:08 +0000 (11:32 +0000)
Originally committed as revision 8583 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index e3610e5..cc3f7cb 100755 (executable)
--- a/configure
+++ b/configure
@@ -1411,7 +1411,7 @@ EOF
     # As 'i' is stored on the stack, this program will crash
     # if the base pointer is used to access it because the
     # base pointer is cleared in the inline assembly code.
-    check_exec <<EOF && enable ebp_available
+    (check_exec) <<EOF >>$logfile 2>&1 && enable ebp_available
 int main(){
     volatile int i=0;
     asm volatile (