]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/version.h
Fix segfault when loading Plugins
[bacula/bacula] / bacula / src / version.h
index faa1016baa5d7b9ae1d97485c2da99a1b2c627a5..4ef4519dcf31c721a29b3b6af480084701a2a40c 100644 (file)
@@ -1,19 +1,16 @@
-/*
- *  Version $Id$
- */
 
 #undef  VERSION
-#define VERSION "3.0.3"
-#define BDATE   "04 September 2009"
-#define LSMDATE "04Sep09"
+#define VERSION "5.0.2"
+#define BDATE   "28 April 2010"
+#define LSMDATE "28Apr10"
 
-#define PROG_COPYRIGHT "Copyright (C) %d-2009 Free Software Foundation Europe e.V.\n"
-#define BYEAR "2009"       /* year for copyright messages in progs */
+#define PROG_COPYRIGHT "Copyright (C) %d-2010 Free Software Foundation Europe e.V.\n"
+#define BYEAR "2010"       /* year for copyright messages in progs */
 
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2010 Free Software Foundation Europe e.V.
 
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
    Switzerland, email:ftf@fsfeurope.org.
 */
 
+/* Shared object library versions */
+#define LIBBAC_LT_CURRENT  5
+#define LIBBAC_LT_REVISION 0
+#define LIBBAC_LT_AGE 1
+
+#define LIBBACCFG_LT_CURRENT 5
+#define LIBBACCFG_LT_REVISION 0
+#define LIBBACCFG_LT_AGE 1
+
+#define LIBBACPY_LT_CURRENT 5
+#define LIBBACPY_LT_REVISION 0
+#define LIBBACPY_LT_AGE 1
+
+#define LIBBACSQL_LT_CURRENT 5
+#define LIBBACSQL_LT_REVISION 0
+#define LIBBACSQL_LT_AGE 1
+
+#define LIBBACFIND_LT_CURRENT 5
+#define LIBBACFIND_LT_REVISION 0
+#define LIBBACFIND_LT_AGE 1
+
+
 
 /* Debug flags */
 #undef  DEBUG
@@ -46,7 +65,7 @@
 #define TRACE_FILE 1
 
 /* If this is set stdout will not be closed on startup */
-#define DEVELOPER 1
+/* #define DEVELOPER 1 */
 
 /*
  * SMCHECK does orphaned buffer checking (memory leaks)
 #if DEVELOPER
 # ifndef _USE_LOCKMGR
 #  define _USE_LOCKMGR
-# endif
-#endif
+# endif /* _USE_LOCKMGR */
+/*
+ * Enable priority management with the lock manager
+ *
+ * Note, turning this on will cause the Bacula SD to abort if
+ *  mutexes are executed out of order, which could lead to a
+ *  deadlock.  However, note that this is not necessarily a
+ *  deadlock, so turn this on only for debugging.
+ */
+#define USE_LOCKMGR_PRIORITY
+#endif  /* DEVELOPER */
 
-#if !HAVE_LINUX_OS
+#if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS
 # undef _USE_LOCKMGR
 #endif