summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-05-25 18:49:07 (GMT)
committerhobbs <hobbs>2005-05-25 18:49:07 (GMT)
commita037b38a4b352395866f07d29197d83129a22526 (patch)
tree71b8acbda6ee94682c4a13f3e81b6e804196a915 /unix/configure
parent8af47f49023ddb3e0743fe10acd99bbe66d80fe1 (diff)
downloadtcl-a037b38a4b352395866f07d29197d83129a22526.zip
tcl-a037b38a4b352395866f07d29197d83129a22526.tar.gz
tcl-a037b38a4b352395866f07d29197d83129a22526.tar.bz2
* unix/configure, unix/configure.in: ensure false Tcl.framework is
only created with --enable-framework
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure14
1 files changed, 7 insertions, 7 deletions
diff --git a/unix/configure b/unix/configure
index c1f4759..a37fbfb 100755
--- a/unix/configure
+++ b/unix/configure
@@ -8188,16 +8188,16 @@ rm -f conftest.s*
EOF
cat >> $CONFIG_STATUS <<EOF
-VERSION=${TCL_VERSION}
+VERSION=${TCL_VERSION} FRAMEWORK_BUILD=${FRAMEWORK_BUILD}
EOF
cat >> $CONFIG_STATUS <<\EOF
-n=Tcl && echo "creating $n.framework" &&
- f=$n.framework && v=Versions/$VERSION &&
- rm -rf $f && mkdir -p $f/$v/Resources &&
- ln -s $v/$n $v/Resources $f && ln -s ../../../$n $f/$v &&
- ln -s ../../../../$n-Info.plist $f/$v/Resources/Info.plist &&
- unset n f v
+test "$FRAMEWORK_BUILD" = "1" &&
+ n=Tcl && f=$n.framework && v=Versions/$VERSION &&
+ echo "creating $f" && rm -rf $f && mkdir -p $f/$v/Resources &&
+ ln -s $v/$n $v/Resources $f && ln -s ../../../$n $f/$v &&
+ ln -s ../../../../$n-Info.plist $f/$v/Resources/Info.plist &&
+ unset n f v
exit 0