Add configure.ac option to force SDL drawn menus, even if the host OS provides menus

This commit is contained in:
Jonathan Campbell
2018-05-15 23:26:48 -07:00
parent a7367af6c6
commit fe62c29c4a
3 changed files with 31 additions and 1 deletions

21
build-mingw-sdldraw Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# I'm sick and tired of all the churn the three versions of autoconf
# are causing in this repo. Stop committing the configure scripts
# and just autoregen.
./autogen.sh || exit 1
# fix
chmod +x vs2015/sdl/build-scripts/strip_fPIC.sh
# prefer to compile against our own copy of SDL 1.x
echo Compiling our internal SDL 1.x
(cd vs2015/sdl && ./build-dosbox.sh) || exit 1
# now compile ourself
echo Compiling DOSBox-X
chmod +x configure
# FIXME: I would like MinGW builds to enable the debugger, eventually
./configure --enable-core-inline --enable-force-menu-sdldraw --prefix=/usr || exit 1
make -j3 || exit 1