* file named AUTHORS, in the root directory of this distribution.
*/
/*
- * $Id: genversion.c 698 2008-01-11 00:42:49Z martinea $
+ * $Id: genversion.c 2031 2009-07-09 14:44:32Z djmitche $
*
* dump the current Amanda version info
*/
#include "amanda.h"
-#include "version.h"
/* distribution-time information */
#include "svn-info.h"
g_printf("const char * const version_info[] = {\n");
startline("build:");
- v = version();
+ v = VERSION;
v_len = SIZEOF("Amanda-") + strlen(v) + 1;
verstr = malloc(v_len);
if (!verstr) {
prstr("HAVE_SYSVSHM");
#endif
-#ifdef USE_POSIX_FCNTL
- prstr("LOCKING=POSIX_FCNTL");
+#ifdef WANT_AMFLOCK_POSIX
+ prstr("AMFLOCK_POSIX");
#endif
-#ifdef USE_FLOCK
- prstr("LOCKING=FLOCK");
+#ifdef WANT_AMFLOCK_FLOCK
+ prstr("AMFLOCK_FLOCK");
#endif
-#ifdef USE_LOCKF
- prstr("LOCKING=LOCKF");
+#ifdef WANT_AMFLOCK_LOCKF
+ prstr("AMFLOCK_LOCKF");
#endif
-#ifdef USE_LNLOCK
- prstr("LOCKING=LNLOCK");
-#endif
-#if !defined(USE_POSIX_FCNTL) && !defined(USE_FLOCK) && !defined(USE_LOCK) && !defined(USE_LNLOCK)
- prstr("LOCKING=**NONE**");
+#ifdef WANT_AMFLOCK_LNLOCK
+ prstr("AMFLOCK_LNLOCK");
#endif
#ifdef STATFS_BSD
prstr("BSD_SECURITY");
#endif
-#ifdef KRB4_SECURITY
- prstr("KRB4_SECURITY");
-#endif
-
#ifdef KRB5_SECURITY
prstr("KRB5_SECURITY");
#endif
prstr("CHECK_USERID");
#endif
-#ifdef USE_VERSION_SUFFIXES
- prstr("USE_VERSION_SUFFIXES");
-#endif
-
#ifdef HAVE_GZIP
prstr("HAVE_GZIP");
#endif