summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-07-09 21:30:21 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-07-09 21:30:21 +0000
commit316e406cd246e8cbccdf4df4ce32e98c63d7cc72 (patch)
tree4d62835229abe0a03cb346817080803fa3d0851b
parent4ed4b888250d1081585717504b571ebf2de72c60 (diff)
revert wingo's patch since it breaks add AM_MAINTAINER_MODE to configure.ac since that adds the option to configureRELEASE-0_4_0
Original commit message from CVS: revert wingo's patch since it breaks add AM_MAINTAINER_MODE to configure.ac since that adds the option to configure
-rw-r--r--m4/as-version.m46
1 files changed, 1 insertions, 5 deletions
diff --git a/m4/as-version.m4 b/m4/as-version.m4
index 836cc09..72e5142 100644
--- a/m4/as-version.m4
+++ b/m4/as-version.m4
@@ -26,20 +26,16 @@ AC_DEFUN(AS_VERSION,
[$2]_MINOR=[$4]
[$2]_MICRO=[$5]
NANO=[$6]
- # releases (nano==0) or prereleases (nano>1)
- if test "x$NANO" = "x" || test "x$NANO" != "x1";
+ if test "x$NANO" = "x" || test "x$NANO" = "x0";
then
AC_MSG_NOTICE(configuring [$1] for release)
VERSION=[$3].[$4].[$5]
[$2]_RELEASE=1
- # this macro makes maintainer mode off by default, but adds a configure option
- AM_MAINTAINER_MODE
dnl execute action
ifelse([$7], , :, [$7])
else
AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
VERSION=[$3].[$4].[$5].$NANO
- # no AM_MAINTAINER_MODE macro == maintainer mode always on
[$2]_RELEASE=`date +%Y%m%d_%H%M%S`
dnl execute action
ifelse([$8], , :, [$8])