aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/g10.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 79a1e2008..fefb8ab97 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -2591,6 +2591,14 @@ main( int argc, char **argv )
"--no-literal" );
}
+#ifndef ENABLE_AGENT_SUPPORT
+ if (opt.use_agent) {
+ log_info(_("NOTE: %s is not available in this version\n"),
+ "--use-agent");
+ opt.use_agent = 0;
+ }
+#endif /*!ENABLE_AGENT_SUPPORT*/
+
if (opt.set_filesize)
log_info(_("NOTE: %s is not for normal use!\n"), "--set-filesize");
if( opt.batch )