glib r6722 - in trunk: . glib gmodule gobject gthread
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6722 - in trunk: . glib gmodule gobject gthread
- Date: Sun, 16 Mar 2008 10:16:58 +0000 (GMT)
Author: tml
Date: Sun Mar 16 10:16:57 2008
New Revision: 6722
URL: http://svn.gnome.org/viewvc/glib?rev=6722&view=rev
Log:
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.
* */Makefile.am: Corrsponding changes.
Modified:
trunk/ChangeLog
trunk/configure.in
trunk/glib/Makefile.am
trunk/gmodule/ChangeLog
trunk/gmodule/Makefile.am
trunk/gobject/ChangeLog
trunk/gobject/Makefile.am
trunk/gthread/ChangeLog
trunk/gthread/Makefile.am
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sun Mar 16 10:16:57 2008
@@ -118,11 +118,6 @@
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.
@@ -136,11 +131,6 @@
;;
*)
glib_native_win32=no
- GLIB_DEF=
- GMODULE_DEF=
- GOBJECT_DEF=
- GTHREAD_DEF=
- TESTGMODULE_EXP=
glib_pid_type=int
;;
esac
@@ -165,11 +155,6 @@
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)
Modified: trunk/glib/Makefile.am
==============================================================================
--- trunk/glib/Makefile.am (original)
+++ trunk/glib/Makefile.am Sun Mar 16 10:16:57 2008
@@ -252,8 +252,8 @@
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
@@ -286,7 +286,7 @@
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) \
Modified: trunk/gmodule/Makefile.am
==============================================================================
--- trunk/gmodule/Makefile.am (original)
+++ trunk/gmodule/Makefile.am Sun Mar 16 10:16:57 2008
@@ -59,6 +59,7 @@
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
@@ -84,7 +85,7 @@
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
Modified: trunk/gobject/Makefile.am
==============================================================================
--- trunk/gobject/Makefile.am (original)
+++ trunk/gobject/Makefile.am Sun Mar 16 10:16:57 2008
@@ -55,6 +55,7 @@
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
@@ -82,7 +83,7 @@
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
Modified: trunk/gthread/Makefile.am
==============================================================================
--- trunk/gthread/Makefile.am (original)
+++ trunk/gthread/Makefile.am Sun Mar 16 10:16:57 2008
@@ -47,6 +47,7 @@
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
@@ -71,7 +72,7 @@
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]