Skip to content

Commit

Permalink
Merge pull request #2649 from LabNConsulting/working/5.0/add_version_…
Browse files Browse the repository at this point in the history
…type_dev_check

5.0: Simplify deprecation check
  • Loading branch information
mwinter-osr committed Jul 18, 2018
2 parents bd4c00a + 8007eeb commit 8eb3cd2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,13 @@ AM_CONDITIONAL([ZEROMQ], test "x$ZEROMQ" = "xtrue")
dnl ----------
dnl configure date
dnl ----------
CONFDATE=`date '+%Y%m%d'`
dev_version=`echo $VERSION | grep 'dev'`
#don't expire deprecated code in non 'dev' branch
if test "${dev_version}" = ""; then
CONFDATE=0
else
CONFDATE=`date '+%Y%m%d'`
fi
AC_SUBST(CONFDATE)

dnl ------------------------------
Expand Down

0 comments on commit 8eb3cd2

Please sign in to comment.