perl version oddity
[exim.git] / src / src / eximon.src
index d461ccffa7b7d35d9843b0b66453739713e953d8..88d7948d774e915af94012e1620b6ae49d88f197 100644 (file)
@@ -4,8 +4,10 @@
 # The build process concatenates on the front of this various settings from
 # os-specific files and from the user's configuration file.
 
+# Copyright (c) The Exim Maintainers 2023
 # Copyright (c) 2004 - 2015 University of Cambridge.
 # See the file NOTICE for conditions of use and distribution.
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # Except when they appear in comments, the following placeholders in this
 # source are replaced when it is turned into a runnable script:
 # X11_LD_LIBRARY
 
 # PROCESSED_FLAG
+#
+if [ "x$1" = x--version -o "x$1" = x-v ]
+then
+    echo "`basename $0`: $0"
+    echo "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION"
+    exit 0
+fi
 
 # See if caller wants to invoke gdb