aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Avtalion2010-04-17 15:03:16 +0000
committerOri Avtalion2010-04-17 15:03:16 +0000
commit09c0e553060fd3f5a84931a9ead0610026f9d3a4 (patch)
treeee6acbc30b4b78ec8059ca1fe43fc22dce2e22a0
parent5c347aa70aab5377b4041b926568594d7485744d (diff)
downloadscummvm-rg350-09c0e553060fd3f5a84931a9ead0610026f9d3a4.tar.gz
scummvm-rg350-09c0e553060fd3f5a84931a9ead0610026f9d3a4.tar.bz2
scummvm-rg350-09c0e553060fd3f5a84931a9ead0610026f9d3a4.zip
Fix for #2985480 - AMIGAOS4: Compiler errors on ./configure
svn-id: r48688
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index bb86324714..7bfeed48ef 100755
--- a/configure
+++ b/configure
@@ -204,7 +204,11 @@ EOF
}
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
}
#