Final patch for issue 9807.
diff --git a/configure.in b/configure.in
index e86811e..0318133 100644
--- a/configure.in
+++ b/configure.in
@@ -618,7 +618,7 @@
 DLLLIBRARY=''
 LDLIBRARYDIR=''
 RUNSHARED=''
-LDVERSION="$(VERSION)"
+LDVERSION="$VERSION"
 
 # LINKCC is the command that links the python executable -- default is $(CC).
 # If CXX is set, and if it is needed to link a main function that was