summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-01 16:25:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-01 16:25:30 (GMT)
commitfc7a2d97e0d4c2c2bfc5c978843c1126cdc441b1 (patch)
treee76c55022ec23aa4957a4d83ff180661a1a00eba /unix
parent53a9a5dc8fdd7aac66544c1c0db83f8943ed8ba6 (diff)
downloadtcl-fc7a2d97e0d4c2c2bfc5c978843c1126cdc441b1.zip
tcl-fc7a2d97e0d4c2c2bfc5c978843c1126cdc441b1.tar.gz
tcl-fc7a2d97e0d4c2c2bfc5c978843c1126cdc441b1.tar.bz2
Remove redunant piece of SC_ENABLE_SHARED: The AC_ARG_ENABLE already generates this part, resulting in duplicate code in the "configure" script
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure8
-rw-r--r--unix/tcl.m48
2 files changed, 0 insertions, 16 deletions
diff --git a/unix/configure b/unix/configure
index c0f6d5b..b8c95f4 100755
--- a/unix/configure
+++ b/unix/configure
@@ -6277,14 +6277,6 @@ if test "${enable_shared+set}" = set; then
else
tcl_ok=yes
fi;
-
- if test "${enable_shared+set}" = set; then
- enableval="$enable_shared"
- tcl_ok=$enableval
- else
- tcl_ok=yes
- fi
-
if test "$tcl_ok" = "yes" ; then
echo "$as_me:$LINENO: result: shared" >&5
echo "${ECHO_T}shared" >&6
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 0a76b0d..57df84d 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -534,14 +534,6 @@ AC_DEFUN([SC_ENABLE_SHARED], [
AC_HELP_STRING([--enable-shared],
[build and link with shared libraries (default: on)]),
[tcl_ok=$enableval], [tcl_ok=yes])
-
- if test "${enable_shared+set}" = set; then
- enableval="$enable_shared"
- tcl_ok=$enableval
- else
- tcl_ok=yes
- fi
-
if test "$tcl_ok" = "yes" ; then
AC_MSG_RESULT([shared])
SHARED_BUILD=1