summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/fe-text.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c
index 3d29533d..ac190325 100644
--- a/src/fe-text/fe-text.c
+++ b/src/fe-text/fe-text.c
@@ -508,6 +508,10 @@ fe_args (int argc, char *argv[])
 
 	if (arg_show_autoload)
 	{
+#ifndef USE_PLUGIN
+		printf (PACKAGE_NAME" was build without plugin support\n");
+		return 1;
+#else
 #ifdef WIN32
 		/* see the chdir() below */
 		char *sl, *exe = g_strdup (argv[0]);
@@ -521,6 +525,7 @@ fe_args (int argc, char *argv[])
 #else
 		printf ("%s\n", HEXCHATLIBDIR);
 #endif
+#endif
 		return 0;
 	}