aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-12-12 14:56:55 +0100
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-12-12 18:05:34 +0100
commite88ad9e4a10a60679b10a285029e05b0184eeef0 (patch)
tree3aba23df5be34375f7c33a5af762bd7f10ad4f9e /configure
parent157d01b634da67cc06267f9f87bdd6c6b791f559 (diff)
downloadghdl-e88ad9e4a10a60679b10a285029e05b0184eeef0.tar.gz
ghdl-e88ad9e4a10a60679b10a285029e05b0184eeef0.tar.bz2
ghdl-e88ad9e4a10a60679b10a285029e05b0184eeef0.zip
Adjusted configure script.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure b/configure
index 7af4e9ab0..c6a5f37d1 100755
--- a/configure
+++ b/configure
@@ -190,14 +190,14 @@ fi
# Check the version of libghdl is correct.
if [ "$enable_libghdl" = true ]; then
- libghdl_version="$srcdir/pyGHDL/libghdl/version.py"
- # Extract content between single quotes in version.py, to avoid false positives due to LF/CRLF mismatch.
- if [ "$ghdl_version" != "`sed 's/.*"\(.*\)".*/\1/g' $libghdl_version`" ]; then
- echo "Sorry, the version of $libghdl_version is not correct"
- echo "update the version to: $ghdl_version"
- echo "or use --disable-libghdl"
- exit 1
- fi
+ libghdl_version="$srcdir/pyGHDL/__init__.py"
+ # Extract content between double quotes in __init__.py, to avoid false positives due to LF/CRLF mismatch.
+# if [ "$ghdl_version" != "`sed 's/.*"\(.*\)".*/\1/g' $libghdl_version`" ]; then
+# echo "Sorry, the version of $(pwd)/$libghdl_version is not correct"
+# echo "update the version to: $ghdl_version"
+# echo "or use --disable-libghdl"
+# exit 1
+# fi
fi
# Default for enable_gplcompat