On Fri, 31 Dec 2004 09:20:06 +0100
Christian Biere wrote:
> gtk-gnutella should use sigaction() instead because sigaction()
> isn't ambiguous like signal().
Although it sounds pretty dull, IRIX's linker needs precise order,
i.e. local library needs to be located ahead while global one needs
behind and
"gcc $(GLIB_CFLAGS) $(GLIB_LIBS) -o has_glib_func has_glib_func.c"
will fail due to location of "$(GLIB_LIBS)", that makes link-time
complicated on IRIX nowadays.
I also want to resolve signal issue in this time, seems to keep as
it is in some reason I can't know.
Index: Configure
===================================================================
RCS file: /cvsroot/gtk-gnutella/gtk-gnutella-current/Configure,v
retrieving revision 1.46
diff -u -r1.46 Configure
--- Configure 31 Jan 2005 08:31:44 -0000 1.46
+++ Configure 2 Feb 2005 14:35:08 -0000
@@ -4820,8 +4820,7 @@
int main()
{
- signal(2, foo);
- kill(getpid(), 2);
+ sigaction(2, foo);
kill(getpid(), 2);
printf("abc\n");
}
@@ -5228,7 +5227,7 @@
}
EOC
-if $cc $ccflags $ldflags $glibcflags $glibldflags -o try try.c >/dev/null 2>&1;
+if $cc $ccflags $ldflags $glibcflags -o try try.c $glibldflags >/dev/null 2>&1;
then
echo " "
echo "We'll be using glib version $version." >&4
Thanks.
--
Daichi
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel