Removed --enable-silc-plugin. Added --with-silc-plugin.
[silc.git] / apps / irssi / configure.ad
index 94559d06923e706c70ccb063c74e48efdf6dd36d..33290a13716223990a0a1a4daa87ace796d5af5b 100644 (file)
@@ -54,8 +54,20 @@ AC_ARG_WITH(perl,
 
 # Irssi SILC Plugin support
 #
-AC_ARG_ENABLE(silc-plugin,
-[  --enable-silc-plugin    Compile the SILC Plugin instead of the SILC Client])
+AC_MSG_CHECKING(whether to compile SILC Plugin for Irssi)
+AC_ARG_WITH(silc-plugin,
+  [[  --with-silc-plugin[=DIR] Compile the SILC Plugin for Irssi, specify
+                           Irssi location [/usr/lib/irssi]]],
+  [
+    case "${withval}" in
+      no)
+        AC_MSG_RESULT(no)
+        ;;
+       *)
+        AC_MSG_RESULT(yes)
+       ;;
+    esac
+  ])
 
 AC_CONFIG_SUBDIRS(apps/irssi)
 AC_CONFIG_FILES(