From: Vin Shelton <acs@xemacs.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Cannot link movemail on SunOS-5.5 in latest CVS
Date: Mon, 27 May 2002 14:00:12 -0400 [thread overview]
Message-ID: <m2it598o9f.fsf@zion.rcn.com> (raw)
In-Reply-To: <200205262354.IAA21333@etlken.m17n.org> (Kenichi Handa's message of "Mon, 27 May 2002 08:54:29 +0900 (JST)")
I was not sure what the purpose of the configure.in change was.
I don't care what the makefile macro is named - LIBS_MAIL is fine with
me.
- Vin
Kenichi Handa <handa@etl.go.jp> writes:
> Richard Stallman <rms@gnu.org> writes:
>> There have not been a lot of changes in movemail lately.
>> I don't see any changes that would cause this.
>> It looks like Sun did something that broke it.
>
>> It is exceedingly strange that simply renaming the Make variable
>> LIBMAIL to MAIL_LIB would fix the problem. A more conventional
>> name to use for that variable would be LIBS_MAIL. Does that name
>> work?
>
> lib-src/movemail.c includes src/config.h, and src/config.h
> defines LIBMAIL as below on Solaris.
>
> /* Define to -llockfile if it is usable. */
> #define LIBMAIL -llockfile
>
> And, that is perhaps because of this code in configure.in.
> ----------------------------------------------------------------------
> # Check for mail-locking functions in a "mail" library
> AC_CHECK_LIB(mail, maillock)
> dnl Debian, at least:
> dnl AC_CHECK_LIB(lockfile, maillock, [AC_DEFINE(HAVE_LIBMAIL)])
> AC_CHECK_LIB(lockfile, maillock)
> # If we have the shared liblockfile, assume we must use it for mail
> # locking (e.g. Debian). If we couldn't link against liblockfile
> # (no liblockfile.a installed), ensure that we don't need to.
> if test "$ac_cv_lib_lockfile_maillock" = no; then
> dnl This works for files generally, not just executables.
> dnl Should we look elsewhere for it? Maybe examine /etc/ld.so.conf?
> AC_CHECK_PROG(liblockfile, liblockfile.so, yes, no,
> /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH)
> if test $ac_cv_prog_liblockfile = yes; then
> AC_MSG_ERROR([Shared liblockfile found but can't link against it.
> This probably means that movemail could lose mail.
> There may be a \`development' package to install containing liblockfile.])
> else AC_DEFINE(LIBMAIL, -llockfile, [Define to -llockfile if it is usable.])
> fi
> else :
> fi
> ----------------------------------------------------------------------
>
> So, I think it's just an incidental collision of macro name.
> Changing LIBMAIL to LIBS_MAIL should also work.
>
> ---
> Ken'ichi HANDA
> handa@etl.go.jp
next prev parent reply other threads:[~2002-05-27 18:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-26 23:54 Cannot link movemail on SunOS-5.5 in latest CVS Kenichi Handa
2002-05-27 18:00 ` Vin Shelton [this message]
2002-05-28 5:16 ` Richard Stallman
[not found] <545g00ngga7.fsf@xemacs.org>
2002-05-26 22:25 ` 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=m2it598o9f.fsf@zion.rcn.com \
--to=acs@xemacs.org \
--cc=emacs-devel@gnu.org \
--cc=rms@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).