summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure71
1 files changed, 8 insertions, 63 deletions
diff --git a/unix/configure b/unix/configure
index bb6624c..3bdc120 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
@@ -2674,7 +2674,7 @@ fi
fi
fi
;;
- Linux*)
+ Linux*|GNU*|NetBSD-Debian)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"
@@ -2790,61 +2790,6 @@ EOF
;;
- GNU*)
- SHLIB_CFLAGS="-fPIC"
- SHLIB_SUFFIX=".so"
-
- if test "$have_dl" = yes; then
- SHLIB_LD='${CC} -shared'
- DL_OBJS=""
- DL_LIBS="-ldl"
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
- CC_SEARCH_FLAGS=""
- LD_SEARCH_FLAGS=""
- else
- ac_safe=`echo "dld.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for dld.h""... $ac_c" 1>&6
-echo "configure:2808: checking for dld.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 2813 "configure"
-#include "confdefs.h"
-#include <dld.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- SHLIB_LD="ld -shared"
- DL_OBJS=""
- DL_LIBS="-ldld"
- CC_SEARCH_FLAGS=""
- LD_SEARCH_FLAGS=""
-else
- echo "$ac_t""no" 1>&6
-fi
-
- fi
- if test "`uname -m`" = "alpha" ; then
- CFLAGS="$CFLAGS -mieee"
- fi
- ;;
Lynx*)
SHLIB_CFLAGS="-fPIC"
SHLIB_SUFFIX=".so"