# Version: $Id$
#
-#
-# we didn't called ./configure? just define the version.
-#
-RADIUSD_VERSION_STRING := $(shell cat VERSION)
-
#
# The default rule is "all".
#
endif
endif
+#
+# 'configure' was not run? Get the version number from the file.
+#
+ifeq "$(RADIUS_VERSION_STRING)" ""
+RADIUSD_VERSION_STRING := $(shell cat VERSION)
+endif
+
MFLAGS += --no-print-directory
# The version of GNU Make is too old, don't use it (.FEATURES variable was