[wx-dev] wx-config --libs doesn't add media and gl if they're
enabled
Julian Smart
julian at anthemion.co.uk
Mon Jul 2 01:27:13 PDT 2007
Hi John,
I'm glad you found a way to do this as it was puzzling me too. I'll add
this to configure.in in SVN if there are no objections.
Regards,
Julian
John Labenski wrote:
> On 7/1/07, John Labenski <jlabenski at gmail.com> wrote:
>>
>> These are the changes I made to "configure", however the real fix is
>> to do the same in "configure.in" I suppose. I just added the two lines
>> for wxUSE_MEDIACTRL and wxUSE_OPENGL below. This is used to set the
>> default 'wx-config --libs', see @CORE_GUI_LIBS@ in wx-config.in.
>> Perhaps there are more libs to do this for too?
>>
>> ...
>>
>> if test "$wxUSE_AUI" = "yes" ; then
>> CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
>> fi
>> if test "$wxUSE_MEDIACTRL" = "yes" ; then
>> CORE_GUI_LIBS="media $CORE_GUI_LIBS"
>> fi
>> if test "$wxUSE_OPENGL" = "yes" ; then
>> CORE_GUI_LIBS="gl $CORE_GUI_LIBS"
>> fi
>
> if test "$wxUSE_RICHTEXT" = "yes" ; then
> CORE_GUI_LIBS="richtext $CORE_GUI_LIBS"
> fi
>
>>
>> if test "$wxUSE_GUI" != "yes"; then
>> CORE_GUI_LIBS=""
>> fi
>>
>> ...
>
> Add richtext too.
>
> Regards,
> John Labenski
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
>
>
>
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks
More information about the wx-dev
mailing list