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

svn-id: r48688
This commit is contained in:
Ori Avtalion 2010-04-17 15:03:16 +00:00
parent 5c347aa70a
commit 09c0e55306

6
configure vendored
View File

@ -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
}
#