diff --git a/configure b/configure
index faaed60540bd6442cc9b3946fcfc270d505a3268..ae97e11a97ec1446c02355c746d9712dd6fcc9ed 100755
--- a/configure
+++ b/configure
@@ -494,6 +494,8 @@ for opt do
   case "$opt" in
   --help|-h) show_help=yes
   ;;
+  --version|-V) exec cat $source_path/VERSION
+  ;;
   --prefix=*) prefix="$optarg"
   ;;
   --interp-prefix=*) interp_prefix="$optarg"