$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
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
WEBCIT for the Citadel System
- version 5.26
+ version 6.10
Copyright (C) 1996-2004 by the authors. Portions written by:
Art Cancro
FILE *fp;
int i;
+#ifdef XXX_NOT_FINISHED_YET_XXX
/*
* See if we have to run the first-time setup wizard
*/
http_redirect("/setup_wizard");
}
}
+#endif
/*
* Go to the user's preferred start page
[
#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);
}
],
#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"