Multiple %configure

Rex Dieter rdieter at math.unl.edu
Wed Apr 5 11:04:56 UTC 2006


Alain PORTAL wrote:

> 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

Nah, better solution: (As I commented in the afformentioned bugzilla
report):

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

at least until bug #169132 is backported/released for FC-4.

-- Rex




More information about the fedora-extras-list mailing list