diff options
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8d0e600..8b0750f 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,11 @@ if test "x$GCC" = "xyes"; then fi fi +basever=$(echo $PACKAGE_VERSION | sed -e 's@-.*$@@') +AC_SUBST(BASEVERSION, [$basever]) +extraver=$(echo $PACKAGE_VERSION | sed -e 's@@<:@^-@:>@*-@@' -e 's@-@_@') +AC_SUBST(EXTRAVERSION, [$extraver]) + AC_CONFIG_FILES([call/Makefile ax25ipd/Makefile listen/Makefile Makefile ax25rtd/Makefile ax25mond/Makefile ax25-apps.spec]) AC_OUTPUT |