From: kramm <kramm>
Date: Sun, 21 Jul 2002 14:00:58 +0000 (+0000)
Subject: g++ -> $CXX $CPPFLAGS $CXXFLAGS
X-Git-Tag: release-0-4-1~7
X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=870528d00d55885152f5f33b67beb7f97f6de7d8;p=swftools.git

g++ -> $CXX $CPPFLAGS $CXXFLAGS
---

diff --git a/m4/swf.m4 b/m4/swf.m4
index 96b91a1..f00fa78 100644
--- a/m4/swf.m4
+++ b/m4/swf.m4
@@ -141,7 +141,7 @@ int main (int argc, char*argv[])
 }
 EOF
 
-ac_link='g++ `avifile-config --cflags` `avifile-config --libs` conftest.$ac_ext -o conftest${ac_exeext}'
+ac_link='$CXX $CPPFLAGS $CXXFLAGS `avifile-config --cflags` `avifile-config --libs` conftest.$ac_ext -o conftest${ac_exeext}'
 if {(eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   AC_MSG_RESULT(yes)
   AVIFILE=true