ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@altlinux.org>
To: ALT Linux Devel Mailing List <devel@lists.altlinux.org>
Subject: [devel] Q: runtime checks for kernel caps.
Date: Sun, 30 Oct 2005 22:58:05 +0300
Message-ID: <20051030195805.GA17445@lks.home> (raw)

[-- Attachment #1: Type: text/plain, Size: 1070 bytes --]

Hi!

Собираю тут некую библиотеку libevent - 
http://www.monkey.org/~provos/libevent/. В ней есть такая проверка - если
сборочная система поддерживает вызов epoll, то в config.h пишется
HAVE_EPOLL. Но собирать-то я могу на одной машине, а использовать - совсем
на другой (т.е. например, если собрать на 2.4, но у нас будет undef
HAVE_EPOLL и никаких фишек от epoll пользователь не увидит и наоборот,
либа просто не будет работать). Сразу видно BSD подход - типа где
собираю, там и пользую, и не видно, как с этим бороться. Неужели придется
дописывать за автора runtime checks и вносить их в саму библиотеку?

PS Посмотрел, как делают другие - никто с этим не заморачивается, но
все-таки хочется как лучше :)

PPS Все это нужно для новой сборки lighttpd со всеми свистульками
(libevent,memcached,libmemcache).

-- 
WBR, Konstantin	      chat with ==>ICQ: 109916175
     Lepikhov,	      speak  to ==>JID: lakostis@jabber.org
aka L.A. Kostis       write  to ==>mailto:lakostis@pisem.net.nospam

...The information is like the bank... 			  (c) EC8OR

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-10-30 19:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30 19:58 Konstantin A. Lepikhov [this message]
2005-10-30 20:09 ` Dmitry V. Levin
2005-10-30 20:15   ` [devel] " Konstantin A. Lepikhov
2005-10-30 20:12 ` Konstantin A. Lepikhov
2005-10-30 20:39   ` Mikhail Zabaluev
2005-10-30 20:42     ` Konstantin A. Lepikhov
2005-10-31 12:52 ` Michael Shigorin

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

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

  git send-email \
    --in-reply-to=20051030195805.GA17445@lks.home \
    --to=lakostis@altlinux.org \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git