[Scummvm-cvs-logs] SF.net SVN: scummvm:[48688] scummvm/trunk/configure

salty-horse at users.sourceforge.net salty-horse at users.sourceforge.net
Sat Apr 17 17:03:16 CEST 2010


Revision: 48688
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48688&view=rev
Author:   salty-horse
Date:     2010-04-17 15:03:16 +0000 (Sat, 17 Apr 2010)

Log Message:
-----------
Fix for #2985480 - AMIGAOS4: Compiler errors on ./configure

Modified Paths:
--------------
    scummvm/trunk/configure

Modified: scummvm/trunk/configure
===================================================================
--- scummvm/trunk/configure	2010-04-17 14:50:31 UTC (rev 48687)
+++ scummvm/trunk/configure	2010-04-17 15:03:16 UTC (rev 48688)
@@ -204,7 +204,11 @@
 }
 
 gcc_get_define() {
-	$CXX -dM -E - < /dev/null | fgrep "$1" | head -n1 | cut -d ' ' -f 3-
+	# Note: The AmigaOS compiler doesn't like the "-" input file, so a real file
+	# is used instead
+	touch $TMPC
+	$CXX -dM -E $TMPC | fgrep "$1" | head -n1 | cut -d ' ' -f 3-
+	rm -f $TMPC
 }
 
 #


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list