- test "${PACKAGE_VERSION%*cvs}" != "$PACKAGE_VERSION" && CVS="yes"
- test "$CVS" = "yes" && DEFAULTDEBUG="yes"
+ test "${PACKAGE_VERSION%*cvs*}" != "$PACKAGE_VERSION" && CVS="yes"
+ test "$CVS" = "yes" && DEBUG="yes"
+
+ TEST=""
+ test "${PACKAGE_VERSION%*alpha*}" != "$PACKAGE_VERSION" && TEST="yes"
+ test "${PACKAGE_VERSION%*beta*}" != "$PACKAGE_VERSION" && TEST="yes"
+ test "$TEST" = "yes" && DEBUG="yes"