summaryrefslogtreecommitdiffstats
path: root/unix/aclocal.m4
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-06 02:22:44 (GMT)
committerhobbs <hobbs>2000-01-06 02:22:44 (GMT)
commit6dd6f78acaf07d5c334e15e375e24db54641a0da (patch)
tree3b709770edab9af16d5084f68a9916ed83254364 /unix/aclocal.m4
parent4c5f4740437cc555ba6eefb29fa68171dbcf517f (diff)
downloadtk-6dd6f78acaf07d5c334e15e375e24db54641a0da.zip
tk-6dd6f78acaf07d5c334e15e375e24db54641a0da.tar.gz
tk-6dd6f78acaf07d5c334e15e375e24db54641a0da.tar.bz2
* unix/Makefile.in: added unix/aclocal.m4 to distribution [Bug: 3938]
* unix/aclocal.m4: changed NetBSD SHLIB_CFLAGS from -fpic to -fPIC
Diffstat (limited to 'unix/aclocal.m4')
-rw-r--r--unix/aclocal.m43
1 files changed, 2 insertions, 1 deletions
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"