#include "apr_general.h"
#include "apr_lib.h"
#include "apr_md5.h"
+#include "apr_version.h"
+#include "apu_version.h"
#define APR_WANT_STDIO
#define APR_WANT_STRFUNC
printf("Server built: %s\n", ap_get_server_built());
printf("Server's Module Magic Number: %u:%u\n",
MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR);
-
+ printf("Server loaded: APR %s, APR-UTIL %s\n",
+ apr_version_string(), apu_version_string());
+ printf("Compiled using: APR %s, APR-UTIL %s\n",
+ APR_VERSION_STRING, APU_VERSION_STRING);
/* sizeof(foo) is long on some platforms so we might as well
* make it long everywhere to keep the printf format
* consistent