Multiple %configure

Michael Schwendt bugs.michael at gmx.net
Wed Apr 5 10:56:07 UTC 2006


On Wed, 5 Apr 2006 11:33:43 +0200, Alain PORTAL wrote:

> Hi,
> 
> I want to try to solve this problem:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176026#c14
> 
> So, I should want to know if it is possible to do something like:
> 
> if ( arch=x86_64 && dist=fc4 )
> then
> 	%configure --with-qt-dir=/usr/lib64/qt-3.3/
> else
> 	%configure
> fi

unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
%configure

and if that doesn't help, use:

unset QTDIR || : ; . /etc/profile.d/qt.sh
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
%configure --with-qt-dir=${QTDIR}




More information about the fedora-extras-list mailing list