unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: luis fernandes <elf@ee.ryerson.ca>
Cc: eliz@is.elta.co.il, emacs-devel@gnu.org
Subject: Re: emacs dumps core using gnus
Date: Sat, 9 Feb 2002 20:29:19 -0500	[thread overview]
Message-ID: <15461.52463.545596.172687@www.ee.ryerson.ca> (raw)
In-Reply-To: <200202081355.g18DtsE05217@aztec.santafe.edu>

>>>>> "rms" == Richard Stallman <rms@gnu.org> writes:

    rms> It is undesirable for configure to use tests that actually
    rms> run code since that prevents cross-compilation.  Better to
    rms> check the version number of the library.

Yes, agreed.

Eli was wondering whether it was possible for library versions to be
checked.

One way is by looking at the corresponding #include file(s) that are
installed, along with the library, for the version number.

The #includes for the ungif library likely has version information
similar to the Gtk library; the file gtkfeatures.h has the following:

#define GTK_MAJOR_VERSION				(1)
#define GTK_MINOR_VERSION				(2)
#define GTK_MICRO_VERSION				(8)
#define GTK_BINARY_AGE					(8)
#define GTK_INTERFACE_AGE				(3)
#define	GTK_CHECK_VERSION(major,minor,micro)	\
    (GTK_MAJOR_VERSION > (major) || \
     (GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \
     (GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION == (minor) && \
      GTK_MICRO_VERSION >= (micro)))

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-10  1:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <x0pu3iex5q.fsf@www.ee.ryerson.ca>
     [not found] ` <Pine.SUN.3.91.1020206130807.3481A-100000@is>
     [not found]   ` <15457.20348.248746.712978@gargle.gargle.HOWL>
2002-02-08 13:55     ` emacs dumps core using gnus Richard Stallman
2002-02-10  1:29       ` luis fernandes [this message]
2002-02-10 11:28         ` Eli Zaretskii
2002-02-11 18:48           ` Richard Stallman
2002-02-11 19:57             ` Eli Zaretskii
2002-02-13 15:37               ` Richard Stallman
2002-02-14 11:10                 ` Eli Zaretskii
2002-02-15 10:37                   ` Richard Stallman
2002-02-15 15:58                     ` luis fernandes
2002-02-15 18:50                       ` Eli Zaretskii
2002-02-16  9:35                         ` Pavel Janík
2002-02-16 21:56                         ` Richard Stallman
2002-02-16 21:56                       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15461.52463.545596.172687@www.ee.ryerson.ca \
    --to=elf@ee.ryerson.ca \
    --cc=eliz@is.elta.co.il \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).