From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 22 Nov 2002 21:55:22 +0300 (MSK) From: Ivan Zakharyaschev X-X-Sender: ivan@arrakis.zephyrous To: devel@altlinux.ru Subject: Re: [devel] %GNUconfigure In-Reply-To: <20021122162601.GA23902@ungrund> Message-ID: X-Mailer: try to guess MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8BIT Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: devel@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: 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 мне показался недостаточно документированным и поддерживаемым, чтобы им можно было пользоваться. -- С наилучшими пожеланиями, Иван Захарьящев, Москва