+2008-03-16 Tor Lillqvist <tml@novell.com>
+
+ * configure.in: Don't bother defining Autoconf variables for
+ glib.def, gmodule.def, gobject.def and gthread.def when this can
+ be handled easily in */Makefile.am which are the only files that
+ use them. Remove also TESTGMODULE_EXP which isn't used at all.
+
+ * glib/Makefile.am: Corrsponding change.
+
2008-03-14 Michael Natterer <mitch@imendio.com>
* glib/*.h: make it possible to disable single-file includes by
case "$host" in
*-*-mingw*)
glib_native_win32=yes
- GLIB_DEF=glib.def
- GMODULE_DEF=gmodule.def
- GOBJECT_DEF=gobject.def
- GTHREAD_DEF=gthread.def
- TESTGMODULE_EXP=testgmodule.exp
glib_pid_type='void *'
# Unfortunately the mingw implementations of C99-style snprintf and vsnprintf
# don't seem to be quite good enough, at least not in mingw-runtime-3.14.
;;
*)
glib_native_win32=no
- GLIB_DEF=
- GMODULE_DEF=
- GOBJECT_DEF=
- GTHREAD_DEF=
- TESTGMODULE_EXP=
glib_pid_type=int
;;
esac
AM_CONDITIONAL(OS_UNIX, [test "$glib_native_win32" != "yes"])
AM_CONDITIONAL(OS_LINUX, [test "$glib_os_linux" = "yes"])
AM_CONDITIONAL(OS_CARBON, [test "$glib_have_carbon" = "yes"])
-AC_SUBST(GLIB_DEF)
-AC_SUBST(GMODULE_DEF)
-AC_SUBST(GOBJECT_DEF)
-AC_SUBST(GTHREAD_DEF)
-AC_SUBST(TESTGMODULE_EXP)
if test "$glib_native_win32" = "yes"; then
AC_CHECK_TOOL(WINDRES, windres, no)
endif
if OS_WIN32
-# This requires a very new libtool
export_symbols = -export-symbols glib.def
+glib_def = glib.def
install-def-file:
$(INSTALL) glib.def $(DESTDIR)$(libdir)/glib-2.0.def
endif
libglib_2_0_la_LIBADD = libcharset/libcharset.la $(printf_la) @GIO@ @GSPAWN@ @PLATFORMDEP@ @ICONV_LIBS@ @G_LIBS_EXTRA@ $(pcre_lib)
-libglib_2_0_la_DEPENDENCIES = libcharset/libcharset.la $(printf_la) @GIO@ @GSPAWN@ @PLATFORMDEP@ $(glib_win32_res) @GLIB_DEF@
+libglib_2_0_la_DEPENDENCIES = libcharset/libcharset.la $(printf_la) @GIO@ @GSPAWN@ @PLATFORMDEP@ $(glib_win32_res) $(glib_def)
libglib_2_0_la_LDFLAGS = \
$(glib_win32_res_ldflag) \
+2008-03-16 Tor Lillqvist <tml@novell.com>
+
+ * Makefile.am: Define gmodule_def locally here instead of using an
+ Autoconf variable.
+
2008-03-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.16.1 ===
if OS_WIN32
export_symbols = -export-symbols $(srcdir)/gmodule.def
+gmodule_def = gmodule.def
install-def-file:
$(INSTALL) $(srcdir)/gmodule.def $(DESTDIR)$(libdir)/gmodule-2.0.def
libgmodule_2_0_la_LIBADD = $(G_MODULE_LIBS_EXTRA) $(G_MODULE_LIBS) $(libglib)
-libgmodule_2_0_la_DEPENDENCIES = $(gmodule_win32_res) $(GMODULE_DEF)
+libgmodule_2_0_la_DEPENDENCIES = $(gmodule_win32_res) $(gmodule_def)
if OS_WIN32
gmodule-win32-res.o: gmodule.rc
+2008-03-16 Tor Lillqvist <tml@novell.com>
+
+ * Makefile.am: Define gobject_def locally here instead of using an
+ Autoconf variable.
+
2008-03-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.16.1 ===
if OS_WIN32
export_symbols = -export-symbols gobject.def
+gobject_def = gobject.def
install-def-file:
$(INSTALL) gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def
libgobject_2_0_la_LIBADD = $(libglib)
-libgobject_2_0_la_DEPENDENCIES = $(gobject_win32_res) $(GOBJECT_DEF)
+libgobject_2_0_la_DEPENDENCIES = $(gobject_win32_res) $(gobject_def)
#
# setup source file variables
+2008-03-16 Tor Lillqvist <tml@novell.com>
+
+ * Makefile.am: Define gthread_def locally here instead of using an
+ Autoconf variable.
+
2008-03-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.16.1 ===
if OS_WIN32
export_symbols = -export-symbols $(srcdir)/gthread.def
+gthread_def = gthread.def
install-def-file:
$(INSTALL) $(srcdir)/gthread.def $(DESTDIR)$(libdir)/gthread-2.0.def
libgthread_2_0_la_LIBADD = $(G_THREAD_LIBS_EXTRA) $(G_THREAD_LIBS_FOR_GTHREAD) $(libglib)
-libgthread_2_0_la_DEPENDENCIES = $(gthread_win32_res) $(GTHREAD_DEF)
+libgthread_2_0_la_DEPENDENCIES = $(gthread_win32_res) $(gthread_def)
if OS_WIN32
gthread-win32-res.o: gthread.rc