X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=m4%2Fswf.m4;h=f00fa789bc4c66179dde55a28f665f4f6ed92fdb;hb=870528d00d55885152f5f33b67beb7f97f6de7d8;hp=d304e4e72aa3b4f4c9e9124ca4f17b125a2b531b;hpb=357f43e6ab982984b621817774dc4e78369aa1b2;p=swftools.git diff --git a/m4/swf.m4 b/m4/swf.m4 index d304e4e..f00fa78 100644 --- a/m4/swf.m4 +++ b/m4/swf.m4 @@ -79,7 +79,7 @@ AC_MSG_CHECKING([whether we can compile the avifile test program]) cat > conftest.$ac_ext << EOF #include -#if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION==6) +#if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6) #include #include #include @@ -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