From: Dmitry Samoyloff <dsamoyloff@mail.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] Re: autoconf & X Date: Mon Sep 3 03:15:00 2001 Message-ID: <01090303223200.04835@localhost.localdomain> (raw) In-Reply-To: <20010901093002.D7265@localhost.localdomain> Суббота 01 Сентябрь 2001 09:30, Mikhail Zabaluev wrote: > Hello Dmitry, > > On Fri, Aug 31, 2001 at 03:39:57PM +0400, Dmitry Samoyloff wrote: > > Здравствуйте! > > > > Сразу извиняюсь за offtopic :-) > > Вопрос к знатокам autoconf. У меня возникла потребность в > > проверке версии X на этапе configure (нужно >= 4.1). > > Подскажите мне пожалуйста как это оформить в configure.in. > > "Версия X" -- это не номер версии XFree86, а версия > спецификации X, которую он поддерживает. В системе может быть > другой X-сервер. В configure лучше тестировать наличие > определенных функций в определенных библиотеках. Вы правы, я слишком близоруко подошел к этому вопросу :-) Тогда спрошу так: по какому признаку можно узнать, что в системе установлен именно XFree86? И если это XFree86, то можно-ли узнать его версию? Например, для SDL есть макро AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) в /usr/share/aclocal/sdl.m4. А для XFree86 есть что-нибудь подобное? В принципе, если я точно знаю, что моя программа нормально работает только с XFree >= 4.1 (из-за бага в последнем), то это лучше проверить. С уважением, Дмитрий Самойлов http://linuxgames.hut.ru (Russian) http://www.geocities.com/sleepws/
prev parent reply other threads:[~2001-09-03 3:15 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-31 15:36 [mdk-re] " Dmitry Samoyloff 2001-09-03 3:15 ` Dmitry Samoyloff [this message]
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=01090303223200.04835@localhost.localdomain \ --to=dsamoyloff@mail.ru \ --cc=mandrake-russian@altlinux.ru \ /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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git