* configure.in: fix libical version detection
authorArt Cancro <ajc@citadel.org>
Mon, 4 Apr 2005 17:49:31 +0000 (17:49 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 4 Apr 2005 17:49:31 +0000 (17:49 +0000)
* bumped internal version number to 6.10

webcit/ChangeLog
webcit/README.txt
webcit/auth.c
webcit/configure.in
webcit/webcit.h

index b44b782eb7d30e21c4bf0db45231b41ff67d19b1..cc132bc86ebc2c7236bd989d506042c1ce4510da 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 603.15  2005/04/04 17:49:31  ajc
+* configure.in: fix libical version detection
+* bumped internal version number to 6.10
+
 Revision 603.14  2005/03/30 21:44:44  ajc
 * Changed the color of the side button bar
 * Removed session ID's from wholist display, because they are only
@@ -2495,4 +2499,3 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
-
index 1031fea476f8ce87306051c8e0af5baaa36f2a55..88bfa6a093d99fb52f83f861b3ff8414b9a79649 100644 (file)
@@ -1,5 +1,5 @@
                         WEBCIT for the Citadel System
-                               version 5.26
+                               version 6.10
  
    Copyright (C) 1996-2004 by the authors.  Portions written by:
        Art Cancro
index 78f15f23924a72c445da8cef7dc76b8a956ff049..a48e2277190519f8a0ed549312c3faf6567e9096 100644 (file)
@@ -157,6 +157,7 @@ void do_welcome(void)
        FILE *fp;
        int i;
 
+#ifdef XXX_NOT_FINISHED_YET_XXX
        /*
         * See if we have to run the first-time setup wizard
         */
@@ -187,6 +188,7 @@ void do_welcome(void)
                        http_redirect("/setup_wizard");
                }
        }
+#endif
 
        /*
         * Go to the user's preferred start page
index b8c6dd3fa743fdcc4f179202a1900c16aa2e5d8a..329146102b8c5a4dcd84645d3b346c8da3e8a382 100644 (file)
@@ -96,19 +96,16 @@ if test "x$ok_libical" = xyes ; then
                [
 #include <ical.h>
 main() {
-       float v;
-       int i;
-       sscanf(ICAL_VERSION, "%f", &v);
-       printf("libical version: %0.2f\n", v);
-       v = v * 100.0;
-       i = (int) v;
-       if (i >= 24) {
-               printf("This version is ok.\n");
-               printf("WebCit will be built with calendar support.\n");
+        int major, minor, v;
+        sscanf(ICAL_VERSION, "%d.%d", &major, &minor);
+        v = 100*major + minor;
+        printf("libical version: %i\n", v);
+        if (v >= 24) {
+                printf("This version is ok.\n");
                return(0);
        }
-       printf("libical 0.24 or newer is required.\n");
-       printf("WebCit will be built without calendar support.\n");
+       printf("libical 0.24 or newer required.\n");
+       printf("Citadel will be built without calendar support.\n");
        return(1);
 }
                ], 
index 103908e135d29e0b0aaab7c0e3eb552d14b81b9c..ec39ab477eaf8d0f4b0e6e7d5ae4cb4acb40af31 100644 (file)
 #define SLEEPING               180             /* TCP connection timeout */
 #define WEBCIT_TIMEOUT         900             /* WebCit session timeout */
 #define PORT_NUM               2000            /* port number to listen on */
-#define SERVER                 "WebCit v6.03"  /* who's in da house */
+#define SERVER                 "WebCit v6.10"  /* who's in da house */
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
-#define CLIENT_VERSION         603             /* This version of WebCit */
+#define CLIENT_VERSION         610             /* This version of WebCit */
 #define MINIMUM_CIT_VERSION    640             /* min required Citadel vers */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"