summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-02-10 09:08:03 +0100
committerStef Walter <stefw@gnome.org>2012-02-10 09:08:03 +0100
commit85ee40b4d5c573ed239214fc227611c7936c9c88 (patch)
tree78916693737d41871efb0116f197650290dc2c62 /configure.ac
parent942a69b5a28cfee069efe8b9f1ccf78f708b005f (diff)
downloadgcr-85ee40b4d5c573ed239214fc227611c7936c9c88.tar.gz
gcr-85ee40b4d5c573ed239214fc227611c7936c9c88.tar.bz2
gcr-85ee40b4d5c573ed239214fc227611c7936c9c88.zip
gcr: Reenable grabs for password prompts
* Disable them when configure is passed --enable-debug
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index be7f7fc..54a051e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -201,6 +201,7 @@ fi
if test "$enable_debug" = "yes"; then
debug_status="yes (-g, -O0, debug output, testable)"
+ AC_DEFINE_UNQUOTED(GCR_DISABLE_GRABS, 1, [Disable grabs])
CFLAGS="$CFLAGS -O0"
elif test "$enable_debug" = "no"; then
debug_status="no (no debug output, not testable, G_DISABLE_ASSERT)"