source4 smbd process: pass the fatal flag to terminate
[bbaumbach/samba-autobuild/.git] / docs-xml / configure.ac
index 8c26692630b0c9d81f53a80faf8b20a7a65d24f0..9a7f9ce168ef1ed77b9721295dcb9a22ca4f73e4 100644 (file)
@@ -55,8 +55,14 @@ fi
 
 AC_SUBST(TARGETS)
 
+. ../VERSION
 if test x"$DOC_VERSION" = x; then
-       AC_MSG_ERROR([Please export DOC_VERSION variable])
+       #AC_MSG_ERROR([Please export DOC_VERSION variable])
+       VERSION_SUFFIX=""
+       if test x"$SAMBA_VERSION_PRE_RELEASE" != x; then
+               VERSION_SUFFIX=pre
+       fi
+       DOC_VERSION=${SAMBA_VERSION_MAJOR}.${SAMBA_VERSION_MINOR}.${SAMBA_VERSION_RELEASE}${VERSION_SUFFIX}
 else
        AC_MSG_RESULT([DOC_VERSION: ${DOC_VERSION}])
 fi