[Ffmpeg-cvslog] r6362 - trunk/configure

mru subversion
Wed Sep 27 23:24:38 CEST 2006


Author: mru
Date: Wed Sep 27 23:24:38 2006
New Revision: 6362

Modified:
   trunk/configure

Log:
make sure we can create and execute files in $TMPDIR


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Sep 27 23:24:38 2006
@@ -1110,6 +1110,19 @@
     esac
 fi
 
+# make sure we can execute files in $TMPDIR
+cat >$TMPE 2>>$logfile <<EOF
+#! /bin/sh
+EOF
+chmod +x $TMPE >>$logfile 2>&1
+if ! $TMPE >>$logfile 2>&1; then
+    cat <<EOF
+Unable to create and execute files in $TMPDIR1.  Set the TMPDIR environment
+variable to another directory.
+EOF
+    die "Sanity test failed."
+fi
+
 # compiler sanity check
 check_exec <<EOF
 int main(){




More information about the ffmpeg-cvslog mailing list