git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3952 
91ce42f0-d328-0410-95d8-
f526ca767f89
 
 fi
 AC_SUBST(STORED_DIR)
 
+# ---------------------------------------------------
+# Check for conio (Bacula readline substitute)(
+# ---------------------------------------------------
+# this allows you to turn it completely off
+AC_ARG_ENABLE(conio,
+  [ --disable-conio disable conio support [enabled]
+                                             ],
+  [if test x$enableval = xno; then
+     support_conio=no
+  fi]
+)
+  
+
 # ---------------------------------------------------
 # Check for IPv6 support
 # ---------------------------------------------------