Lines 22-34
Link Here
|
22 |
AC_ARG_ENABLE(symbols, |
22 |
AC_ARG_ENABLE(symbols, |
23 |
[ --enable-symbols Include debugging symbols in output. Warning - |
23 |
[ --enable-symbols Include debugging symbols in output. Warning - |
24 |
a complete build needs 8 Gb of space and takes |
24 |
a complete build needs 8 Gb of space and takes |
25 |
much longer. (enables -g compiler flag) |
25 |
much longer. (enables -g compiler flag for gcc, |
|
|
26 |
-Zi for MSVC) |
26 |
|
27 |
|
27 |
],,) |
28 |
],,) |
28 |
AC_ARG_ENABLE(debug, |
29 |
AC_ARG_ENABLE(debug, |
29 |
[ --enable-debug: Include debugging symbols from --enable-symbols |
30 |
[ --enable-debug: Include debugging symbols from --enable-symbols |
30 |
plus extra debugging code. Extra large build! |
31 |
plus extra debugging code. Extra large build! |
31 |
(enables -g compiler flag and dmake debug=true) |
32 |
(enables -g compiler flag for gcc, -Zi for MSVC |
|
|
33 |
and dmake debug=true) |
32 |
],,) |
34 |
],,) |
33 |
AC_ARG_WITH(stlport4-home, |
35 |
AC_ARG_WITH(stlport4-home, |
34 |
[ --with-stlport4-home The location that STLport4 is installed in. The STL |
36 |
[ --with-stlport4-home The location that STLport4 is installed in. The STL |
Lines 236-244
Link Here
|
236 |
dnl First setting is whether to include symbols into final build. |
238 |
dnl First setting is whether to include symbols into final build. |
237 |
dnl =================================================================== |
239 |
dnl =================================================================== |
238 |
if test "$enable_symbols" = "yes"; then |
240 |
if test "$enable_symbols" = "yes"; then |
239 |
ENVCFLAGSCXX="-g" |
241 |
ENABLE_SYMBOLS="yes" |
240 |
else |
242 |
else |
241 |
ENVCFLAGSCXX="" |
243 |
ENABLE_SYMBOLS="no" |
242 |
fi |
244 |
fi |
243 |
|
245 |
|
244 |
dnl =================================================================== |
246 |
dnl =================================================================== |
Lines 1249-1255
Link Here
|
1249 |
AC_SUBST(PTHREAD_CFLAGS) |
1251 |
AC_SUBST(PTHREAD_CFLAGS) |
1250 |
AC_SUBST(PTHREAD_LIBS) |
1252 |
AC_SUBST(PTHREAD_LIBS) |
1251 |
AC_SUBST(ENABLE_DEBUG) |
1253 |
AC_SUBST(ENABLE_DEBUG) |
1252 |
AC_SUBST(ENVCFLAGSCXX) |
1254 |
AC_SUBST(ENABLE_SYMBOLS) |
1253 |
|
1255 |
|
1254 |
AC_OUTPUT([set_soenv]) |
1256 |
AC_OUTPUT([set_soenv]) |
1255 |
|
1257 |
|