]> code.citadel.org Git - citadel.git/blobdiff - citadel/citadel.c
* Disable any use of curses on Darwin (this is temporary until I beat
[citadel.git] / citadel / citadel.c
index 10ebb3045b787e18b94c1776c54688099d246ba6..86548b3c5d7cff98b48f5cd0d33421f459969026 100644 (file)
@@ -949,7 +949,7 @@ int main(int argc, char **argv)
 #ifdef HAVE_OPENSSL
        arg_encrypt = RC_DEFAULT;
 #endif
-#ifdef HAVE_CURSES_H
+#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
        arg_screen = RC_DEFAULT;
 #endif
 
@@ -978,13 +978,13 @@ int main(int argc, char **argv)
 #endif
                }
                if (!strcmp(argv[a], "-s")) {
-#ifdef HAVE_CURSES_H
+#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
                        arg_screen = RC_NO;
 #endif
                        argc = shift(argc, argv, a, 1);
                }
                if (!strcmp(argv[a], "-S")) {
-#ifdef HAVE_CURSES_H
+#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
                        arg_screen = RC_YES;
 #endif
                        argc = shift(argc, argv, a, 1);