Add --with-sdl to the build doc and RPM spec

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-11 22:45:35 +00:00
parent 391ddf408d
commit 7f997e3f0e
2 changed files with 53 additions and 52 deletions

View File

@@ -108,7 +108,7 @@ cd bld
%endif %endif
--enable-geometry \ --enable-geometry \
--enable-optimise \ --enable-optimise \
--enable-sound \ --enable-sound --with-sdl \
--enable-display \ --enable-display \
%if %{debug_flag} %if %{debug_flag}
--enable-debug_flag \ --enable-debug_flag \
@@ -129,12 +129,12 @@ make -C contrib/src/stc
make -C contrib/src/xrc make -C contrib/src/xrc
# Link the contrib header directories in place so we can build all of # # Link the contrib header directories in place so we can build all of
# wxPython without installing wxWindows # # wxPython without installing wxWindows
if [ ! -e $WXDIR/include/wx/gizmos ]; then # if [ ! -e $WXDIR/include/wx/gizmos ]; then
cd $WXDIR/include/wx # cd $WXDIR/include/wx
ln -s ../../contrib/include/wx/* . # ln -s ../../contrib/include/wx/* .
fi # fi
# Now build wxPython # Now build wxPython
@@ -144,6 +144,7 @@ cd $WXDIR/wxPython
WXPORT=%{lcport} \ WXPORT=%{lcport} \
UNICODE=%{unicode} \ UNICODE=%{unicode} \
WX_CONFIG="$WXDIR/bld/wx-config --prefix=$WXDIR --exec-prefix=$WXDIR/bld" \ WX_CONFIG="$WXDIR/bld/wx-config --prefix=$WXDIR --exec-prefix=$WXDIR/bld" \
CONTRIBS_INC="$WXDIR/include" \
build build

View File

@@ -59,7 +59,7 @@ place, then do the same for wxPython.
--disable-monolithic \ --disable-monolithic \
--enable-debug \ --enable-debug \
--enable-geometry \ --enable-geometry \
--enable-sound \ --enable-sound --with-sdl \
--enable-display \ --enable-display \