PATCH: IBM AIX patches

Pavel Roskin proski at gnu.org
Mon Aug 20 17:01:13 UTC 2001


Hi, Christian!

I actually submitted some AIX-related patches from Dan McNichol
<mcnichol at austin.ibm.com>.  They looked very similar to your patch.

The only change that was not applied is using EXTRALIBS for gmc-client.
I understand that it needs libintl, but it certainly doesn't need libvfs
and libgtkedit.  I'm applying the following patch:

ChangeLog:
        * Makefile.in: Move i18n part of EXTRALIBS to INTLLIBS.  Use
        INTLLIBS when linking gmc-client.

---------------------------------
--- gnome/Makefile.in
+++ gnome/Makefile.in
@@ -24,7 +24,8 @@
 CORBA_LDFLAGS = $(XLDFLAGS) @GNOME_LIBDIR@ @GNOMEGNORBA_LIBS@
 DEFS = $(XDEFS)
 LIBS = $(XLIBS) @TERMNET@
-EXTRALIBS = -L../vfs @LVFS@ -L../gtkedit -lgtkedit @LINTL@ @LIBICONV@
+INTLLIBS = @LINTL@ @LIBICONV@
+EXTRALIBS = -L../vfs @LVFS@ -L../gtkedit -lgtkedit $(INTLLIBS)
 DEPLIBS = $(top_builddir)/vfs/@LIBVFS@ \
 	$(top_builddir)/gtkedit/@libgtkedit@ @INTLDEPS@
 INSTALL = @INSTALL@
@@ -246,7 +247,7 @@
 	$(CC) -o corba-gmc $(CORBAOBJS) $(OBJS) $(EXTRALIBS) $(CORBA_LDFLAGS) $(LIBS)

 gmc-client: $(CLIENTOBJS)
-	$(CC) -o gmc-client $(CLIENTOBJS) $(CORBA_LDFLAGS) $(LIBS)
+	$(CC) -o gmc-client $(CLIENTOBJS) $(INTLLIBS) $(CORBA_LDFLAGS) $(LIBS)

 mc.keys: mc.keys.in Makefile
 	sed -e 's^\@icondir\@^$(icondir)^g' \
---------------------------------

I would like you to test the latest snapshot on
http://www.red-bean.com/~proski/mc/ on AIX and report the results. Please
give more information if you experience problems (compiler messages etc).

I hope to release mc-4.5.55 tonight.  It compiles out-of-box on RedHat
Linux 7.1, FreeBSD 4.3 and QNX Neutrino.  In the meantime I'll try to
install more systems to test it on.

Only very urgent patches will be applied before the release.

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list