summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-12 23:17:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-02-12 23:17:52 (GMT)
commit885d9aaa70bdf9cae9a6d3b61451205c85e69101 (patch)
tree3b70a98b4f56ea51ac0f5759d1d56a83ca5ee3b3 /unix
parent3983643839c9f6b6bfd02dc6f4d1ea1e8e8b3c78 (diff)
downloadtk-885d9aaa70bdf9cae9a6d3b61451205c85e69101.zip
tk-885d9aaa70bdf9cae9a6d3b61451205c85e69101.tar.gz
tk-885d9aaa70bdf9cae9a6d3b61451205c85e69101.tar.bz2
Backport various improvements from Tcl 8.5
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure14
-rwxr-xr-xunix/tcl.m416
2 files changed, 15 insertions, 15 deletions
diff --git a/unix/configure b/unix/configure
index d7c3805..4adfb24 100755
--- a/unix/configure
+++ b/unix/configure
@@ -14,18 +14,18 @@ ac_default_prefix=/usr/local
ac_help="$ac_help
--with-tcl directory containing tcl configuration (tclConfig.sh)"
ac_help="$ac_help
- --enable-man-symlinks use symlinks for the manpages"
+ --enable-man-symlinks use symlinks for the manpages (default: off)"
ac_help="$ac_help
--enable-man-compression=PROG
- compress the manpages with PROG"
+ compress the manpages with PROG (default: off)"
ac_help="$ac_help
--enable-man-suffix=STRING
use STRING as a suffix to manpage file names
(default: tk)"
ac_help="$ac_help
- --enable-threads build with threads"
+ --enable-threads build with threads (default: off)"
ac_help="$ac_help
- --enable-shared build and link with shared libraries [--enable-shared]"
+ --enable-shared build and link with shared libraries (default: on)"
ac_help="$ac_help
--enable-64bit enable 64bit support (where applicable)"
ac_help="$ac_help
@@ -37,13 +37,13 @@ ac_help="$ac_help
ac_help="$ac_help
--disable-load disallow dynamic loading and "load" command"
ac_help="$ac_help
- --enable-symbols build with debugging symbols [--disable-symbols]"
+ --enable-symbols build with debugging symbols (default: off)"
ac_help="$ac_help
--enable-aqua enable Aqua windowingsystem on Mac OS X [--disable-aqua]"
ac_help="$ac_help
--with-x use the X Window System"
ac_help="$ac_help
- --enable-framework package shared libraries in MacOSX frameworks [--disable-framework]"
+ --enable-framework package shared libraries in MacOSX frameworks (default: off)"
# Initialize some variables set by options.
# The variables have the same names as the options, with
@@ -1777,7 +1777,7 @@ EOF
echo "$ac_t""yes" 1>&6
fi
else
- echo "$ac_t""no" 1>&6
+ echo "$ac_t""no (default)" 1>&6
fi
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 2dc6576..889d817 100755
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -517,7 +517,7 @@ AC_DEFUN([SC_BUILD_TCLSH], [
AC_DEFUN([SC_ENABLE_SHARED], [
AC_MSG_CHECKING([how to build libraries])
AC_ARG_ENABLE(shared,
- [ --enable-shared build and link with shared libraries [--enable-shared]],
+ [ --enable-shared build and link with shared libraries (default: on)],
[tcl_ok=$enableval], [tcl_ok=yes])
if test "${enable_shared+set}" = set; then
@@ -558,7 +558,7 @@ AC_DEFUN([SC_ENABLE_FRAMEWORK], [
if test "`uname -s`" = "Darwin" ; then
AC_MSG_CHECKING([how to package libraries])
AC_ARG_ENABLE(framework,
- [ --enable-framework package shared libraries in MacOSX frameworks [--disable-framework]],
+ [ --enable-framework package shared libraries in MacOSX frameworks (default: off)],
[enable_framework=$enableval], [enable_framework=no])
if test $enable_framework = yes; then
if test $SHARED_BUILD = 0; then
@@ -610,7 +610,7 @@ AC_DEFUN([SC_ENABLE_FRAMEWORK], [
#------------------------------------------------------------------------
AC_DEFUN([SC_ENABLE_THREADS], [
- AC_ARG_ENABLE(threads, [ --enable-threads build with threads],
+ AC_ARG_ENABLE(threads, [ --enable-threads build with threads (default: off)],
[tcl_ok=$enableval], [tcl_ok=no])
if test "${TCL_THREADS}" = 1; then
@@ -687,7 +687,7 @@ AC_DEFUN([SC_ENABLE_THREADS], [
AC_MSG_RESULT([yes])
fi
else
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no (default)])
fi
AC_SUBST(TCL_THREADS)
@@ -725,7 +725,7 @@ AC_DEFUN([SC_ENABLE_THREADS], [
AC_DEFUN([SC_ENABLE_SYMBOLS], [
AC_MSG_CHECKING([for build with symbols])
- AC_ARG_ENABLE(symbols, [ --enable-symbols build with debugging symbols [--disable-symbols]], [tcl_ok=$enableval], [tcl_ok=no])
+ AC_ARG_ENABLE(symbols, [ --enable-symbols build with debugging symbols (default: off)], [tcl_ok=$enableval], [tcl_ok=no])
# FIXME: Currently, LDFLAGS_DEFAULT is not used, it should work like CFLAGS_DEFAULT.
if test "$tcl_ok" = "no"; then
CFLAGS_DEFAULT='$(CFLAGS_OPTIMIZE)'
@@ -784,7 +784,7 @@ AC_DEFUN([SC_ENABLE_SYMBOLS], [
AC_DEFUN([SC_ENABLE_LANGINFO], [
AC_ARG_ENABLE(langinfo,
[ --enable-langinfo use nl_langinfo if possible to determine
- encoding at startup, otherwise use old heuristic],
+ encoding at startup, otherwise use old heuristic (default: on)],
[langinfo_ok=$enableval], [langinfo_ok=yes])
HAVE_LANGINFO=0
@@ -835,7 +835,7 @@ AC_DEFUN([SC_ENABLE_LANGINFO], [
AC_DEFUN([SC_CONFIG_MANPAGES], [
AC_MSG_CHECKING([whether to use symlinks for manpages])
AC_ARG_ENABLE(man-symlinks,
- [ --enable-man-symlinks use symlinks for the manpages],
+ [ --enable-man-symlinks use symlinks for the manpages (default: off)],
test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks",
enableval="no")
AC_MSG_RESULT([$enableval])
@@ -843,7 +843,7 @@ AC_DEFUN([SC_CONFIG_MANPAGES], [
AC_MSG_CHECKING([whether to compress the manpages])
AC_ARG_ENABLE(man-compression,
[ --enable-man-compression=PROG
- compress the manpages with PROG],
+ compress the manpages with PROG (default: off)],
[case $enableval in
yes) AC_MSG_ERROR([missing argument to --enable-man-compression]);;
no) ;;