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

Richard W.M. Jones rjones at redhat.com
Thu Feb 26 17:11:26 UTC 2009


On Thu, Feb 26, 2009 at 09:54:10AM -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.

FWIW we recently changed the %{_mingw32_configure} macro so that it
automatically looks for ./configure and ../configure in that order.

It now looks like this:

%_mingw32_configure %{_mingw32_env} ; \
  __mingw32_topdir=.; if ! test -x configure; then __mingw32_topdir=..; fi; \\\
  $__mingw32_topdir/configure --cache-file=%{_mingw32_cache} \\\
  [etc]

http://cvs.fedoraproject.org/viewvc/devel/mingw32-filesystem/macros.mingw32?revision=1.2&view=markup

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the devel mailing list