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

Re: Multiple %configure



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}


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