Removed some old files

This commit is contained in:
Yevgen Muntyan 2011-12-05 00:34:48 -08:00
parent 7ab9254926
commit f2bd748520
3 changed files with 0 additions and 45577 deletions

View File

@ -1,48 +0,0 @@
diff --git a/acinclude.m4 b/acinclude.m4
index 8ef2000..2581afd 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -39,7 +39,7 @@ fi
dnl a macro to check for ability to create python extensions
dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
dnl function also defines PYTHON_INCLUDES
-AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
+AC_DEFUN([AM_CHECK_PYTHON_HEADERS__DISABLED__],
[AC_REQUIRE([AM_PATH_PYTHON])
AC_MSG_CHECKING(for headers required to compile python extensions)
dnl deduce PYTHON_INCLUDES
@@ -65,3 +65,7 @@ $2])
CPPFLAGS="$save_CPPFLAGS"
])
+AC_DEFUN([AM_CHECK_PYTHON_HEADERS],[
+ AC_SUBST([PYTHON_INCLUDES],[-I$prefix/include/python])
+ AC_SUBST([PYTHON_LIBS],[-lpython$mgwpythonver])
+])
diff --git a/configure.ac b/configure.ac
index 4e39759..1c5d3cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,7 @@ ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
# Checks for programs ---
AC_DISABLE_STATIC
+AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL dnl required version (1.4) DON'T REMOVE - used by autogen.sh
dnl when using libtool 2.x create libtool early, because it's used in configure
m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
diff --git a/src/Makefile.am b/src/Makefile.am
index 64e7b29..872a7ad 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -9,8 +9,8 @@ pkginclude_HEADERS = pycairo.h
pycairoexec_PYTHON = __init__.py
pycairoexec_LTLIBRARIES = _cairo.la
-_cairo_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_cairo
-_cairo_la_LIBADD = $(CAIRO_LIBS)
+_cairo_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_cairo -no-undefined -shrext .pyd
+_cairo_la_LIBADD = $(CAIRO_LIBS) $(PYTHON_LIBS)
_cairo_la_CPPFLAGS = $(PYTHON_INCLUDES) $(CAIRO_CFLAGS)
_cairo_la_SOURCES = \
cairomodule.c \

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff