From 6dd6f78acaf07d5c334e15e375e24db54641a0da Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 6 Jan 2000 02:22:44 +0000 Subject: * unix/Makefile.in: added unix/aclocal.m4 to distribution [Bug: 3938] * unix/aclocal.m4: changed NetBSD SHLIB_CFLAGS from -fpic to -fPIC --- unix/Makefile.in | 3 ++- unix/aclocal.m4 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/unix/Makefile.in b/unix/Makefile.in index a7af472..d0dda46 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.35 1999/12/13 23:03:36 wart Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.36 2000/01/06 02:22:44 hobbs Exp $ # Current Tk version; used in various names. @@ -930,6 +930,7 @@ dist: $(UNIX_DIR)/configure cp $(TOP_DIR)/license.terms $(UNIX_DIR)/Makefile.in $(DISTDIR)/unix chmod 664 $(DISTDIR)/unix/Makefile.in cp $(UNIX_DIR)/configure $(UNIX_DIR)/configure.in \ + $(UNIX_DIR)/aclocal.m4 \ $(UNIX_DIR)/tkConfig.sh.in $(TCLDIR)/unix/install-sh \ $(UNIX_DIR)/porting.notes $(UNIX_DIR)/porting.old \ $(UNIX_DIR)/README $(DISTDIR)/unix diff --git a/unix/aclocal.m4 b/unix/aclocal.m4 index 317d2a9..1575806 100644 --- a/unix/aclocal.m4 +++ b/unix/aclocal.m4 @@ -732,7 +732,8 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [ NetBSD-*|FreeBSD-[[1-2]].*|OpenBSD-*) # Not available on all versions: check for include file. AC_CHECK_HEADER(dlfcn.h, [ - SHLIB_CFLAGS="-fpic" + # NetBSD/SPARC needs -fPIC, -fpic will not do. + SHLIB_CFLAGS="-fPIC" SHLIB_LD="ld -Bshareable -x" SHLIB_LD_LIBS="" SHLIB_SUFFIX=".so" -- cgit v0.12