]> git.saurik.com Git - wxWidgets.git/commitdiff
new configure flags
authorRobin Dunn <robin@alldunn.com>
Sat, 16 Apr 2005 06:29:37 +0000 (06:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 16 Apr 2005 06:29:37 +0000 (06:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/wxPythonFull.spec.in

index 3f08f2b0faf7a9456c98224ba7bfba128dd06d06..18ae5b23fbe0a4f24c7be68433a14738d4d8c2be 100644 (file)
@@ -181,7 +181,12 @@ WXDIR=`pwd`
 # Configure and build wxWidgets
 mkdir bld
 cd bld
-../configure --with-gtk \
+../configure \
+%if %{using_gtk1}
+       --with-gtk=1 \
+%else 
+       --with-gtk=2 \
+%endif
        --prefix=%{wxpref} \
        --enable-monolithic \
        --disable-rpath \
@@ -190,13 +195,10 @@ cd bld
        --enable-optimise \
        --enable-sound  --with-sdl \
        --enable-display \
-%if %{using_gtk1}
-       --disable-gtk2 \
-%else 
-       --enable-gtk2 \
-%endif
 %if %{unicode}
        --enable-unicode \
+%else
+       --disable-unicode \
 %endif
 %if %{debug_flag}
        --enable-debug_flag \