Reflect new --with-gtk=VERSION syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
368bb66293
commit
7a1f2d57f4
@ -247,9 +247,8 @@ you download wxGTK, it will default to --with-gtk etc. But
|
|||||||
if you use all of our CVS repository you have to choose a
|
if you use all of our CVS repository you have to choose a
|
||||||
toolkit. You must do this by running configure with either of:
|
toolkit. You must do this by running configure with either of:
|
||||||
|
|
||||||
--with-gtk Use the GIMP ToolKit (GTK+). Default.
|
--with-gtk=2 Use the GTK+ 2.0. Default.
|
||||||
--with-gtk2 Use the GTK+ 2.0. Default.
|
--with-gtk=1 Use the GTK+ 1.2.
|
||||||
--with-gtk1 Use the GTK+ 1.2. Default.
|
|
||||||
--with-motif Use either Motif or Lesstif
|
--with-motif Use either Motif or Lesstif
|
||||||
Configure will look for both.
|
Configure will look for both.
|
||||||
|
|
||||||
|
@ -22,16 +22,16 @@ many systems:
|
|||||||
|
|
||||||
mkdir build_gtk
|
mkdir build_gtk
|
||||||
cd build_gtk
|
cd build_gtk
|
||||||
../configure --with-gtk2
|
../configure --with-gtk=2
|
||||||
make
|
make
|
||||||
su <type root password>
|
su <type root password>
|
||||||
make install
|
make install
|
||||||
ldconfig
|
ldconfig
|
||||||
|
|
||||||
In order to use wxGTK with GTK 1.2 you need to use --with-gtk1
|
In order to use wxGTK with GTK 1.2 you need to use --with-gtk=1
|
||||||
configure option. To build the library in Unicode mode (all
|
configure option. To build the library in Unicode mode (all
|
||||||
strings will be wide strings and so on) you need to configure
|
strings will be wide strings and so on) you need to configure
|
||||||
with GTK 2.0 and add --enable-unicode (default by now).
|
with GTK 2.0 and add --enable-unicode.
|
||||||
|
|
||||||
Please note that it is strongly advised to build the library in
|
Please note that it is strongly advised to build the library in
|
||||||
a separate directory, as shown above, as it allows you to have
|
a separate directory, as shown above, as it allows you to have
|
||||||
|
@ -166,9 +166,9 @@ mkdir obj-shared
|
|||||||
cd obj-shared
|
cd obj-shared
|
||||||
../configure --prefix=%{_prefix} \
|
../configure --prefix=%{_prefix} \
|
||||||
%if ! %{gtk2}
|
%if ! %{gtk2}
|
||||||
--disable-gtk2 \
|
--with-gtk=1 \
|
||||||
%else
|
%else
|
||||||
--enable-gtk2 \
|
--with-gtk=2 \
|
||||||
%endif
|
%endif
|
||||||
%if %{unicode}
|
%if %{unicode}
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
@ -200,9 +200,9 @@ mkdir obj-static
|
|||||||
cd obj-static
|
cd obj-static
|
||||||
../configure --prefix=%{_prefix} \
|
../configure --prefix=%{_prefix} \
|
||||||
%if ! %{gtk2}
|
%if ! %{gtk2}
|
||||||
--disable-gtk2 \
|
--with-gtk=1 \
|
||||||
%else
|
%else
|
||||||
--enable-gtk2 \
|
--with-gtk=2 \
|
||||||
%endif
|
%endif
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
%if %{unicode}
|
%if %{unicode}
|
||||||
|
Loading…
Reference in New Issue
Block a user