X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure;h=84c9aa32240d0b801f881a792f3c14aabde9f21b;hb=39e3c25f1c8500f6a50b2a9284eaf553da392c27;hp=ea50ce7b6720c9c633e8364aa1f4331ba6a2d241;hpb=70e1442b15b2be6cc7541c5848692e799769f717;p=swftools.git diff --git a/configure b/configure index ea50ce7..84c9aa3 100755 --- a/configure +++ b/configure @@ -11508,9 +11508,11 @@ echo $ECHO_N "checking whether we can compile the python test program... $ECHO_C int main(int argn, char*argv) { - return Py_Main(argn, argv); + int ret; + ret = Py_Main(argn, argv); + int x; // check also for gcc 2.95.x incompatibilities + return ret; } -bli bla blo EOF ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS $PYTHON_LIB $LIBS -o conftest${ac_exeext}' if { (eval echo python.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then