ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ivan Zakharyaschev <imz@altlinux.ru>
To: devel@altlinux.ru
Subject: Re: [devel] %GNUconfigure
Date: Fri, 22 Nov 2002 21:55:22 +0300 (MSK)
Message-ID: <Pine.LNX.4.44L.0211222151200.3191-100000@arrakis.zephyrous> (raw)
In-Reply-To: <20021122162601.GA23902@ungrund>

	Hello!

On Fri, 22 Nov 2002, Alexey Tourbin wrote:

>
> %GNUconfigure хорош тем, что он запускает autoheader, automake и
> autoconf, что позволяет более свободно патчить *.in файлы и т.п.
>
> Пример: пакет links собирается с %GNUconfigure и не собирается c
> %configure.

Этот макрос недавно тоже привлёк моё внимание в связи с
console-tools.spec; сейчас там такие пляски для успешной сборки:

                autoconf # create Makefiles and ./configure
                %configure # errors due to ./missing
                rm -f ./missing # too old
                aclocal # update something needed for automake
                automake --add-missing # update various things (scripts
and *.in) - uses Make.rules generated by autoconf
                %make clean
                # Only one of this can be executed at once (they rm
Makefile):
                #make distclean
                %make maintainer-clean
                autoconf # just in case
                # All these auto* iterations look quite silly! Anyway,
they make it work with fresh autotools.

...skip...

CFLAGS="%optflags -D_GNU_SOURCE"
# Configuring once more: this time for real build
%configure --datadir=%kbddatadir
--enable-localdatadir=%_sysconfdir/sysconfig/console $DISABLE_RESIZECONS
%make_build

Но %GNUconfigure мне показался недостаточно документированным и
поддерживаемым, чтобы им можно было пользоваться.

-- 
С наилучшими пожеланиями,
Иван Захарьящев, Москва



  reply	other threads:[~2002-11-22 18:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-22 16:26 Alexey Tourbin
2002-11-22 18:55 ` Ivan Zakharyaschev [this message]
2002-11-22 20:15   ` Dmitry V. Levin
2002-11-23 13:58   ` Alexey Morozov
2002-11-25 15:00     ` [devel] %GNUconfigure Alexey Tourbin
2002-11-25 15:10       ` Dmitry V. Levin
2002-11-25 23:58       ` Alexey Morozov

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=Pine.LNX.4.44L.0211222151200.3191-100000@arrakis.zephyrous \
    --to=imz@altlinux.ru \
    --cc=devel@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 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