if test "x$PY_VERSION" "!=" "x"; then
AC_MSG_RESULT(python$PY_VERSION)
- pythonrfxswf="lib/python/Makefile"
if test "x$PYTHON_LIB" = "x";then
PYTHON_LIB="-lpython$PY_VERSION /usr/lib/python$PY_VERSION/site-packages/PIL/_imaging.so"
fi
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;
}
EOF
ac_link='$CC $CPPFLAGS $CFLAGS $PYTHON_INCLUDES conftest.c $LDFLAGS $PYTHON_LIB $LIBS -o conftest${ac_exeext}'