configure.in glib/Makefile.am Win32 cross-compilation fixes. (#163144, J.
authorTor Lillqvist <tml@iki.fi>
Thu, 6 Jan 2005 19:15:49 +0000 (19:15 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 6 Jan 2005 19:15:49 +0000 (19:15 +0000)
2005-01-06  Tor Lillqvist  <tml@iki.fi>

* configure.in
* glib/Makefile.am
* gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
J. Ali Harlow)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in
glib/Makefile.am
gobject/Makefile.am

index 8babc89561e57954f9b1a6693ede523270783dff..777720f57531516724654777ace117cb3e5fcd00 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
        * gobject/Makefile.am: glib.def and gobject.def are generated, not
        in $(srcdir). (#163143, J. Ali Harlow)
 
+       * configure.in
+       * glib/Makefile.am
+       * gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
+       J. Ali Harlow)
+
 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Simplify the inlining magic to make it
index 8babc89561e57954f9b1a6693ede523270783dff..777720f57531516724654777ace117cb3e5fcd00 100644 (file)
@@ -4,6 +4,11 @@
        * gobject/Makefile.am: glib.def and gobject.def are generated, not
        in $(srcdir). (#163143, J. Ali Harlow)
 
+       * configure.in
+       * glib/Makefile.am
+       * gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
+       J. Ali Harlow)
+
 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Simplify the inlining magic to make it
index 8babc89561e57954f9b1a6693ede523270783dff..777720f57531516724654777ace117cb3e5fcd00 100644 (file)
@@ -4,6 +4,11 @@
        * gobject/Makefile.am: glib.def and gobject.def are generated, not
        in $(srcdir). (#163143, J. Ali Harlow)
 
+       * configure.in
+       * glib/Makefile.am
+       * gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
+       J. Ali Harlow)
+
 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Simplify the inlining magic to make it
index 8babc89561e57954f9b1a6693ede523270783dff..777720f57531516724654777ace117cb3e5fcd00 100644 (file)
@@ -4,6 +4,11 @@
        * gobject/Makefile.am: glib.def and gobject.def are generated, not
        in $(srcdir). (#163143, J. Ali Harlow)
 
+       * configure.in
+       * glib/Makefile.am
+       * gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
+       J. Ali Harlow)
+
 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Simplify the inlining magic to make it
index 8babc89561e57954f9b1a6693ede523270783dff..777720f57531516724654777ace117cb3e5fcd00 100644 (file)
@@ -4,6 +4,11 @@
        * gobject/Makefile.am: glib.def and gobject.def are generated, not
        in $(srcdir). (#163143, J. Ali Harlow)
 
+       * configure.in
+       * glib/Makefile.am
+       * gobject/Makefile.am: Win32 cross-compilation fixes. (#163144,
+       J. Ali Harlow)
+
 2005-01-05  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Simplify the inlining magic to make it
index 8083b7c3955bceaa8c37423ea68f0f0101650c52..35d31b19ad1acbec23a1bebede027a25381f0c05 100644 (file)
@@ -169,6 +169,11 @@ AC_SUBST(GTHREAD_DEF)
 AC_SUBST(TESTGMODULE_EXP)
 
 if test "$glib_native_win32" = "yes"; then
+  AC_CHECK_TOOL(NM, nm, no)
+  if [ "$NM" = no ]; then
+    AC_MSG_ERROR([*** Could not find an implementation of nm in your PATH.])
+  fi
+  AC_CHECK_TOOL(RANLIB, ranlib, :)
   AC_CHECK_PROG(ms_librarian, [lib.exe], [yes], [no])
 fi
 AM_CONDITIONAL(MS_LIB_AVAILABLE, [test x$ms_librarian = xyes])
index 832fbf82ba14996136df65995da0c05414a45af5..9b5bcc27d7480a92aa6f030313f4953ca78ca23e 100644 (file)
@@ -201,9 +201,10 @@ install-libtool-import-lib:
 #      directive in .def files.)
 #
        for entry in `grep PRIVATE glib.def | sed -e 's/PRIVATE//'`; do \
-         file=`nm -A .libs/libglib-2.0.dll.a | tr -d '\r' | grep -m 1 -E $$entry'$$' | cut -d: -f2`; \
+         file=`$(NM) -A .libs/libglib-2.0.dll.a | tr -d '\r' | grep -m 1 -E $$entry'$$' | cut -d: -f2`; \
          ar d .libs/libglib-2.0.dll.a $$file; \
        done
+       $(RANLIB) .libs/libglib-2.0.dll.a
        $(INSTALL) .libs/libglib-2.0.dll.a $(DESTDIR)$(libdir)
        $(INSTALL) glib.def $(DESTDIR)$(libdir)/glib-2.0.def
 
index 263598a44608f571285474204b7da23a54554271..de1c5473b7ff0a6e787620818938fc8427fc816f 100644 (file)
@@ -54,9 +54,10 @@ install-libtool-import-lib:
 #      directive in .def files.)
 #
        for entry in `grep PRIVATE gobject.def | sed -e 's/PRIVATE//'`; do \
-         file=`nm -A .libs/libgobject-2.0.dll.a | grep -m 1 $$entry | cut -d: -f2`; \
+         file=`$(NM) -A .libs/libgobject-2.0.dll.a | grep -m 1 $$entry | cut -d: -f2`; \
          ar d .libs/libgobject-2.0.dll.a $$file; \
        done
+       $(RANLIB) .libs/libgobject-2.0.dll.a
        $(INSTALL) .libs/libgobject-2.0.dll.a $(DESTDIR)$(libdir)
        $(INSTALL) gobject.def $(DESTDIR)$(libdir)/gobject-2.0.def