diff options
author | stwo <stwo> | 2013-07-07 00:43:18 (GMT) |
---|---|---|
committer | stwo <stwo> | 2013-07-07 00:43:18 (GMT) |
commit | 2275b2df0bd62cd1b7548b48fc7c40f784fd30cd (patch) | |
tree | 8e4c5ddddccd0ce807cbd0e81754aa34ccf48e89 /unix/tcl.m4 | |
parent | 2317e6f9fb495051d9ed1e4b4414d45f90462b92 (diff) | |
download | tk-2275b2df0bd62cd1b7548b48fc7c40f784fd30cd.zip tk-2275b2df0bd62cd1b7548b48fc7c40f784fd30cd.tar.gz tk-2275b2df0bd62cd1b7548b48fc7c40f784fd30cd.tar.bz2 |
OpenBSD/m88k is now elf. Remove unneeded elf check.
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index b69d5a6..77f7911 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1473,11 +1473,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ OpenBSD-*) arch=`arch -s` case "$arch" in - m88k|vax) + vax) # Equivalent using configure option --disable-load # Step 4 will set the necessary variables DL_OBJS="" SHLIB_LD_LIBS="" + LDFLAGS="" ;; *) SHLIB_CFLAGS="-fPIC" @@ -1489,10 +1490,11 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" ;; esac case "$arch" in - m88k|vax) + vax) CFLAGS_OPTIMIZE="-O1" ;; sh) @@ -1502,15 +1504,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ CFLAGS_OPTIMIZE="-O2" ;; esac - AC_CACHE_CHECK([for ELF], tcl_cv_ld_elf, [ - AC_EGREP_CPP(yes, [ -#ifdef __ELF__ - yes -#endif - ], tcl_cv_ld_elf=yes, tcl_cv_ld_elf=no)]) - AS_IF([test $tcl_cv_ld_elf = yes], [ - LDFLAGS=-Wl,-export-dynamic - ], [LDFLAGS=""]) AS_IF([test "${TCL_THREADS}" = "1"], [ # On OpenBSD: Compile with -pthread # Don't link with -lpthread |