@@ -7,7 +7,7 @@ dnl This program is distributed under the terms of the GPL v2.0
77dnl Download the GNU Public License (GPL) from www.gnu.org
88dnl
99
10- AC_INIT ( [ smallbasic] , [ 0. 12.18 ] )
10+ AC_INIT ( [ smallbasic] , [ 12.19 ] )
1111AC_CONFIG_SRCDIR ( [ configure.ac] )
1212
1313AC_CANONICAL_TARGET
@@ -74,8 +74,8 @@ function checkDebugMode() {
7474 AC_MSG_RESULT ( [ $with_debug] )
7575 if test "$with_debug" = "yes" || test "$with_debug" = "full"
7676 then
77- CFLAGS="${CFLAGS} -g -O0"
78- CXXFLAGS="${CXXFLAGS} -g -O0"
77+ CFLAGS="${CFLAGS} -g -O0 -fstack-protector-all "
78+ CXXFLAGS="${CXXFLAGS} -g -O0 -fstack-protector-all "
7979 AC_DEFINE ( _DEBUG , 1 , [ debugging build enabled] )
8080 fi
8181 AC_SUBST ( CFLAGS )
@@ -204,14 +204,16 @@ function buildSDL() {
204204
205205 PACKAGE_CFLAGS="${PACKAGE_CFLAGS} ${FONTCONFIG_CFLAGS}"
206206
207+ (cd images && xxd -i sb-desktop-128x128.png > ../src/platform/sdl/icon.h)
208+
207209 dnl backlinking support for modules
208210 PACKAGE_LIBS="${PACKAGE_LIBS} -ldl -no-pie"
209211 PACKAGE_LIBS="${PACKAGE_LIBS} ${FONTCONFIG_LIBS}"
210212 PACKAGE_LIBS="-static-libgcc ${PACKAGE_LIBS} `sdl2-config --static-libs` `pkg-config freetype2 --libs`"
211213 esac
212214
213215 PACKAGE_CFLAGS="${PACKAGE_CFLAGS} `sdl2-config --cflags` `pkg-config freetype2 --cflags` -fno-exceptions"
214- CXXFLAGS="${CXXFLAGS} -fno-rtti -std=c++11 "
216+ CXXFLAGS="${CXXFLAGS} -fno-rtti -std=c++14 "
215217
216218 dnl preconfigured values for SDL build
217219 AC_DEFINE ( _SDL , 1 , [ Defined when building SDL version] )
@@ -343,7 +345,7 @@ function buildFLTK() {
343345 esac
344346
345347 FLTK_CXXFLAGS="${PACKAGE_CFLAGS} `fltk-config --cxxflags`"
346- FLTK_CXXFLAGS="${FLTK_CXXFLAGS} -fno-exceptions -fno-rtti -std=c++11 -Wno-unknown-pragmas"
348+ FLTK_CXXFLAGS="${FLTK_CXXFLAGS} -fno-exceptions -fno-rtti -std=c++14 -Wno-unknown-pragmas"
347349 PACKAGE_LIBS="${PACKAGE_LIBS} `fltk-config --ldstaticflags --use-images`"
348350
349351 dnl do not depend on cygwin.dll under cygwin build
@@ -441,6 +443,13 @@ echo ${TARGET}
441443echo "CFLAGS=${CFLAGS}"
442444echo "CXXFLAGS=${CXXFLAGS}"
443445echo "PACKAGE_LIBS=${PACKAGE_LIBS}"
446+
447+ if test x$ac_build_sdl = xyes; then
448+ echo
449+ echo "sdl2: `sdl2-config --version`"
450+ echo "freetype: `pkg-config --version freetype2`"
451+ fi
452+
444453echo
445454
446455if test x$ac_build_dist = xyes; then
0 commit comments