- printf("Zebra %s %s\n", ZEBRAVER, ZEBRADATE);
- printf(" (C) 1994-2007, Index Data ApS\n");
-#ifdef WIN32
-#ifdef _DEBUG
- printf(" WIN32 Debug\n");
-#else
- printf(" WIN32 Release\n");
-#endif
-#endif
-#if HAVE_BZLIB_H
- printf("Using: libbzip2, (C) 1996-1999 Julian R Seward. All rights reserved.\n");
+ char version_str[20];
+ char sys_str[80];
+ zebra_get_version(version_str, sys_str);
+
+ printf("Zebra %s\n", version_str);
+ printf("(C) 1994-2007, Index Data ApS\n");
+ printf("Zebra is free software, covered by the GNU General Public License, and you are\n");
+ printf("welcome to change it and/or distribute copies of it under certain conditions.\n");
+ printf("Configured as: %s\n", sys_str);
+ if (strcmp(version_str, ZEBRAVER))
+ printf("zebraidx compiled version %s\n", ZEBRAVER);
+#if HAVE_ICU
+ printf("Using ICU\n");