diff options
author | hobbs <hobbs> | 2001-08-07 01:14:19 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-08-07 01:14:19 (GMT) |
commit | bba57bf32fe5767062c8d69cc2ce8bb23202d45f (patch) | |
tree | 9fc6793dc98a9367e0512cc3f2e31772c5ecfd88 /unix/tcl.m4 | |
parent | 0ecd54f69712f24aebc4c2f5327731a88b007531 (diff) | |
download | tk-bba57bf32fe5767062c8d69cc2ce8bb23202d45f.zip tk-bba57bf32fe5767062c8d69cc2ce8bb23202d45f.tar.gz tk-bba57bf32fe5767062c8d69cc2ce8bb23202d45f.tar.bz2 |
* unix/configure: regenerated
* unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann)
[Patch: #442974]
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r-- | unix/tcl.m4 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4 index 2e2d6f8..3f53267 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -807,6 +807,29 @@ dnl AC_CHECK_TOOL(AR, ar, :) EXTRA_CFLAGS="-mieee" fi ;; + GNU*) + SHLIB_CFLAGS="-fPIC" + SHLIB_LD_LIBS='${LIBS}' + SHLIB_SUFFIX=".so" + + if test "$have_dl" = yes; then + SHLIB_LD="${CC} -shared" + DL_OBJS="" + DL_LIBS="-ldl" + LDFLAGS="-rdynamic" + LD_SEARCH_FLAGS="" + else + AC_CHECK_HEADER(dld.h, [ + SHLIB_LD="ld -shared" + DL_OBJS="" + DL_LIBS="-ldld" + LDFLAGS="" + LD_SEARCH_FLAGS=""]) + fi + if test "`uname -m`" = "alpha" ; then + EXTRA_CFLAGS="-mieee" + fi + ;; MP-RAS-02*) SHLIB_CFLAGS="-K PIC" SHLIB_LD="cc -G" |