aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-16 16:23:54 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-16 16:23:54 +0000
commit9b7d66dd614cbd7d82a8512379216218ac547d5d (patch)
tree4e19b8af089b1243473dd8f01d3334a38ca0d3c6 /configure
parentde65759ae10a0dde57d4be5019cd5abfb3dfe4bc (diff)
downloadmandoc-9b7d66dd614cbd7d82a8512379216218ac547d5d.tar.gz
mandoc-9b7d66dd614cbd7d82a8512379216218ac547d5d.tar.zst
mandoc-9b7d66dd614cbd7d82a8512379216218ac547d5d.zip
Delete the -V option. It serves no purpose but keeps confusing people.
Keeping track of the versions of installed software is the job of the package manager, not of the individual binaries. If individual binaries include version numbers, that tends to goad people into writing broken configuration tests that inspect version numbers instead of properly testing for features.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 0 insertions, 6 deletions
diff --git a/configure b/configure
index c09fda16..000d11ec 100755
--- a/configure
+++ b/configure
@@ -31,10 +31,6 @@ echo "config.log: writing..."
# Initialize all variables here,
# such that nothing can leak in from the environment.
-VERSION="1.13.2"
-echo "VERSION=\"${VERSION}\"" 1>&2
-echo "VERSION=\"${VERSION}\"" 1>&3
-
OSNAME=
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make -f -`
@@ -277,7 +273,6 @@ __HEREDOC__
[ ${HAVE_FGETLN} -eq 0 ] && echo "#include <stdio.h>"
echo
-echo "#define VERSION \"${VERSION}\""
[ -n "${OSNAME}" ] && echo "#define OSNAME \"${OSNAME}\""
[ -n "${HOMEBREWDIR}" ] && echo "#define HOMEBREWDIR \"${HOMEBREWDIR}\""
@@ -387,7 +382,6 @@ INSTALL_TARGETS="base-install"
[ ${BUILD_CGI} -gt 0 ] && INSTALL_TARGETS="${INSTALL_TARGETS} cgi-install"
cat << __HEREDOC__
-VERSION = ${VERSION}
BUILD_TARGETS = ${BUILD_TARGETS}
INSTALL_TARGETS = ${INSTALL_TARGETS}
CFLAGS = ${CFLAGS}