diff options
author | joye <joye> | 2015-05-26 19:38:52 (GMT) |
---|---|---|
committer | joye <joye> | 2015-05-26 19:38:52 (GMT) |
commit | 11e8c89ad093b06582b0f8bc6b19f5ec8b89218f (patch) | |
tree | 3f51bf4b568ef9af709f49f5abb068232cb4112c | |
parent | bc683014660ee9099b952f07d68e4ba127ade2f9 (diff) | |
download | blt-11e8c89ad093b06582b0f8bc6b19f5ec8b89218f.zip blt-11e8c89ad093b06582b0f8bc6b19f5ec8b89218f.tar.gz blt-11e8c89ad093b06582b0f8bc6b19f5ec8b89218f.tar.bz2 |
*** empty log message ***
-rwxr-xr-x | configure | 36 | ||||
-rwxr-xr-x | configure.in | 2 |
2 files changed, 36 insertions, 2 deletions
@@ -643,6 +643,7 @@ CFLAGS_DEBUG RC CELIB_DIR AR +SHARED_BUILD TCL_THREADS XMKMF TK_XLIB_DIR_NATIVE @@ -750,6 +751,7 @@ with_tclinclude with_tkinclude with_x enable_threads +enable_shared enable_64bit enable_64bit_vis enable_rpath @@ -1381,6 +1383,7 @@ Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-threads build with threads + --enable-shared build and link with shared libraries (default: on) --enable-64bit enable 64bit support (default: off) --enable-64bit-vis enable 64bit Sparc VIS support (default: off) --disable-rpath disable rpath support (default: on) @@ -6683,7 +6686,38 @@ $as_echo "$as_me: WARNING: # building as a shared library instead of a static library. #-------------------------------------------------------------------- -#TEA_ENABLE_SHARED + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5 +$as_echo_n "checking how to build libraries... " >&6; } + # Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then : + enableval=$enable_shared; tcl_ok=$enableval +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 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5 +$as_echo "shared" >&6; } + SHARED_BUILD=1 + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5 +$as_echo "static" >&6; } + SHARED_BUILD=0 + +$as_echo "#define STATIC_BUILD 1" >>confdefs.h + + fi + + #-------------------------------------------------------------------- # This macro figures out what flags to use with the compiler/linker diff --git a/configure.in b/configure.in index a7450ba..1c2e010 100755 --- a/configure.in +++ b/configure.in @@ -179,7 +179,7 @@ TEA_ENABLE_THREADS # building as a shared library instead of a static library. #-------------------------------------------------------------------- -#TEA_ENABLE_SHARED +TEA_ENABLE_SHARED #-------------------------------------------------------------------- # This macro figures out what flags to use with the compiler/linker |