diff options
author | hobbs <hobbs@noemail.net> | 2000-01-26 03:37:59 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-01-26 03:37:59 (GMT) |
commit | 7872d738c289b10f354aff5c1e1772f481e6b23d (patch) | |
tree | 7087a400bb34006a2c5188e0d6b93db5b2d703a8 /unix/tcl.m4 | |
parent | 603509b611df5506f1f7ef5918c96fcb27b5dd5f (diff) | |
download | tcl-7872d738c289b10f354aff5c1e1772f481e6b23d.zip tcl-7872d738c289b10f354aff5c1e1772f481e6b23d.tar.gz tcl-7872d738c289b10f354aff5c1e1772f481e6b23d.tar.bz2 |
* unix/tcl.m4: modified EXTRA_CFLAGS to add -DHAVE_TZSET for
OSF1-V* and ULTRIX-4.* when not using gcc. Also added higher min
stack size for OSF1-V* when building with threads. [Bug: 4063]
* unix/tclUnixChan.c (CreateSocketAddress): changed comparison
with -1 to 0xFFFFFFFF, to ensure 32 bit comparison even on 64 bit
systems. [Bug: 3878]
FossilOrigin-Name: 4eda7886fc3ad99a10f0a580e51c6fa1a0f73763
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index fc65913..d268471 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -768,8 +768,6 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ DL_OBJS="tclLoadDl.o" DL_LIBS="" LDFLAGS="" - LD_SEARCH_FLAGS="" - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' AC_MSG_CHECKING(for ELF) AC_EGREP_CPP(yes, [ @@ -857,15 +855,21 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ DL_LIBS="" LDFLAGS="" LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + if test "$using_gcc" = "no" ; then + EXTRA_CFLAGS="-DHAVE_TZSET -std1" + fi # see pthread_intro(3) for pthread support on osf1, k.furukawa if test "${TCL_THREADS}" = "1" ; then + EXTRA_CFLAGS="${EXTRA_CFLAGS} -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64" if test "$using_gcc" = "no" ; then - EXTRA_CFLAGS="-std1 -pthread" + EXTRA_CFLAGS="${EXTRA_CFLAGS} -pthread" LDFLAGS="-pthread" + THREADS_LIBS="" else - THREADS_LIBS=" -lpthread -lmach -lexc -lc" + THREADS_LIBS=" -lpthread -lmach -lexc" fi fi + ;; RISCos-*) SHLIB_CFLAGS="-G 0" @@ -981,6 +985,9 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ DL_LIBS="" LDFLAGS="-Wl,-D,08000000" LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}' + if test "$using_gcc" = "no" ; then + EXTRA_CFLAGS="-DHAVE_TZSET -std1" + fi ;; UNIX_SV* | UnixWare-5*) SHLIB_CFLAGS="-KPIC" |