@@ -7,7 +7,7 @@ dnl This program is distributed under the terms of the GPL v2.0
7
7
dnl Download the GNU Public License (GPL) from www.gnu.org
8
8
dnl
9
9
10
- AC_INIT ( [ smallbasic] , [ 0. 12.18 ] )
10
+ AC_INIT ( [ smallbasic] , [ 12.19 ] )
11
11
AC_CONFIG_SRCDIR ( [ configure.ac] )
12
12
13
13
AC_CANONICAL_TARGET
@@ -74,8 +74,8 @@ function checkDebugMode() {
74
74
AC_MSG_RESULT ( [ $with_debug] )
75
75
if test "$with_debug" = "yes" || test "$with_debug" = "full"
76
76
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 "
79
79
AC_DEFINE ( _DEBUG , 1 , [ debugging build enabled] )
80
80
fi
81
81
AC_SUBST ( CFLAGS )
@@ -204,14 +204,16 @@ function buildSDL() {
204
204
205
205
PACKAGE_CFLAGS="${PACKAGE_CFLAGS} ${FONTCONFIG_CFLAGS}"
206
206
207
+ (cd images && xxd -i sb-desktop-128x128.png > ../src/platform/sdl/icon.h)
208
+
207
209
dnl backlinking support for modules
208
210
PACKAGE_LIBS="${PACKAGE_LIBS} -ldl -no-pie"
209
211
PACKAGE_LIBS="${PACKAGE_LIBS} ${FONTCONFIG_LIBS}"
210
212
PACKAGE_LIBS="-static-libgcc ${PACKAGE_LIBS} `sdl2-config --static-libs` `pkg-config freetype2 --libs`"
211
213
esac
212
214
213
215
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 "
215
217
216
218
dnl preconfigured values for SDL build
217
219
AC_DEFINE ( _SDL , 1 , [ Defined when building SDL version] )
@@ -343,7 +345,7 @@ function buildFLTK() {
343
345
esac
344
346
345
347
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"
347
349
PACKAGE_LIBS="${PACKAGE_LIBS} `fltk-config --ldstaticflags --use-images`"
348
350
349
351
dnl do not depend on cygwin.dll under cygwin build
@@ -441,6 +443,13 @@ echo ${TARGET}
441
443
echo "CFLAGS=${CFLAGS}"
442
444
echo "CXXFLAGS=${CXXFLAGS}"
443
445
echo "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
+
444
453
echo
445
454
446
455
if test x$ac_build_dist = xyes; then
0 commit comments