X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=configure.in;h=daf5d05566fc8d128182a31137d90129832626ba;hb=a96bf02b5b45c9f4e1af5c4259ccb2b838904273;hp=c52a3e92758576c18610c949f6e2b0c2845015a1;hpb=d25a21f5f3c104cb9d053d32b9331068309838a4;p=doldaconnect.git diff --git a/configure.in b/configure.in index c52a3e9..daf5d05 100644 --- a/configure.in +++ b/configure.in @@ -243,6 +243,18 @@ CPPFLAGS="-I\$(top_srcdir)/include $CPPFLAGS" DOLDA_AC_GROUP([Writing output]) +AH_TEMPLATE(RELEASEINFO, [define release information reported by various programs (should be left to configure to define)]) +relinfo="relver ${VERSION}\\n" +relinfo="${relinfo}builddate $(date)\\n" +if test -d .git && which git-rev-parse >/dev/null 2>&1; then + relinfo="${relinfo}source git $(git-rev-parse HEAD)\\n" +elif test -r source; then + relinfo="${relinfo}source $(cat source)\\n" +else + relinfo="${relinfo}source unknown\\n" +fi +AC_DEFINE_UNQUOTED([RELEASEINFO], ["$relinfo"]) + AC_SUBST([extlibs]) AC_OUTPUT([ Makefile @@ -267,10 +279,12 @@ config/Makefile config/cmd/Makefile config/util/Makefile contrib/Makefile +share/Makefile autopackage/doldacond.apspec autopackage/dolcon.apspec autopackage/dcuilib.apspec autopackage/dcguile.apspec +autopackage/guishell.apspec ]) echo