Back to disable-enable-gtk2 as without-gtk1 has been
implemented yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33542
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
%if %{unicode}
%define buildname gtk2u
%else
%if %{unicode}
%define buildname gtk2u
%else
- %define buildname gtk2u
%endif
%else
%define gtkver 1.2
%endif
%else
%define gtkver 1.2
cd obj-shared-no-gui
../configure --prefix=%{_prefix} \
--disable-gui \
cd obj-shared-no-gui
../configure --prefix=%{_prefix} \
--disable-gui \
%if %{unicode}
--enable-unicode
%else
%if %{unicode}
--enable-unicode
%else
cd obj-shared
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
cd obj-shared
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
%if %{unicode}
--enable-unicode \
%else
%if %{unicode}
--enable-unicode \
%else
../configure --prefix=%{_prefix} \
--disable-gui \
--disable-shared \
../configure --prefix=%{_prefix} \
--disable-gui \
--disable-shared \
%if %{unicode}
--enable-unicode
%else
%if %{unicode}
--enable-unicode
%else
cd obj-static
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
cd obj-static
../configure --prefix=%{_prefix} \
%if ! %{gtk2}
%endif
--disable-shared \
%endif
--disable-shared \
%if %{unicode}
--enable-unicode \
%else
%if %{unicode}
--enable-unicode \
%else
rm -rf $RPM_BUILD_ROOT
(cd obj-static-no-gui; make DESTDIR=$RPM_BUILD_ROOT install)
(cd obj-static; make DESTDIR=$RPM_BUILD_ROOT install)
rm -rf $RPM_BUILD_ROOT
(cd obj-static-no-gui; make DESTDIR=$RPM_BUILD_ROOT install)
(cd obj-static; make DESTDIR=$RPM_BUILD_ROOT install)
-(cd obj-shared-no-gui; DESTDIR=$RPM_BUILD_ROOT install)
+(cd obj-shared-no-gui; make DESTDIR=$RPM_BUILD_ROOT install)
(cd obj-shared; make DESTDIR=$RPM_BUILD_ROOT install)
# --- wxBase headers list begins here ---
(cd obj-shared; make DESTDIR=$RPM_BUILD_ROOT install)
# --- wxBase headers list begins here ---