[AS_HELP_STRING([--with-theme-manager],[compile theme manager (needs monodevelop, default: off)])],
theme_manager=$withval, theme_manager=no)
+AC_ARG_ENABLE(stack-protector,
+ [AS_HELP_STRING([--disable-stack-protector],[disable building with stack-protector])],
+ stack_protector=$enableval, stack_protector=yes)
dnl *********************************************************************
AX_APPEND_COMPILE_FLAGS([\
-pipe \
-funsigned-char \
- -fstack-protector-strong \
-fPIE \
-fPIC \
-Wall \
-Werror=pointer-arith \
])
+AS_IF([test "$stack_protector" = "yes"], [
+ AX_APPEND_COMPILE_FLAGS([ \
+ -fstack-protector-strong \
+ ])
+])
+
AX_APPEND_LINK_FLAGS([ \
-pie \
-Wl,-z,relro \