Re: How to get the %configure macro to run "../configure"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-02-26 at 09:54 -0700, Orion Poplawski wrote:
> How to get the %configure macro to run "../configure"?
> 
> %global _configure ../configure works on my machine but not the koji 
> builders.

I was trying to do this (for hv3...) and couldn't figure out a way.
Mandriva can do it, because its %configure script includes a
CONFIGURE_TOP variable:

# This is an improved version of %configure (from PLD team).
%configure \
  %before_configure ; \
  %{?!_disable_libtoolize:%{?__libtoolize_configure:%{__libtoolize_configure};}} \
  [ -f $CONFIGURE_TOP/configure.in -o -f $CONFIGURE_TOP/configure.ac ] && \
  CONFIGURE_XPATH="--x-includes=%{_prefix}/include --x-libraries=%{_prefix}/%{_lib}" \
  $CONFIGURE_TOP/configure %{_target_platform} \\\

(etc etc etc)

might be nice to have that in Fedora. Obviously, if CONFIGURE_TOP is not
specified it defaults to ./ , and if you want to run a configure from
some other dir, you define CONFIGURE_TOP in the spec.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux