summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-03 16:24:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-03 16:24:47 (GMT)
commit9459e000456522e2c920092ad9e1658ef647f507 (patch)
tree62a50ef3fd50b4dad679b0284238e05b946e16c9 /unix
parentbf6376a2e045cc8245b54c5ea9ef563c3cfb3bf4 (diff)
parent244f2d89858e2a2bb09c69bb564618a4a2b87fc1 (diff)
downloadtk-9459e000456522e2c920092ad9e1658ef647f507.zip
tk-9459e000456522e2c920092ad9e1658ef647f507.tar.gz
tk-9459e000456522e2c920092ad9e1658ef647f507.tar.bz2
Add support for DragonFly
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure4
-rw-r--r--unix/tcl.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/configure b/unix/configure
index 8ac1625..cf5ce30 100755
--- a/unix/configure
+++ b/unix/configure
@@ -5058,7 +5058,7 @@ fi
CFLAGS="$CFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
;;
- FreeBSD-*)
+ DragonFly-*|FreeBSD-*)
# This configuration from FreeBSD Ports.
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="${CC} -shared"
@@ -5799,7 +5799,7 @@ fi
BSD/OS*) ;;
CYGWIN_*) ;;
IRIX*) ;;
- NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
+ NetBSD-*|DragonFly-*|FreeBSD-*|OpenBSD-*) ;;
Darwin-*) ;;
SCO_SV-3.2*) ;;
*) SHLIB_CFLAGS="-fPIC" ;;
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 0426c7f..6955ace 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1374,7 +1374,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS="$CFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
;;
- FreeBSD-*)
+ DragonFly-*|FreeBSD-*)
# This configuration from FreeBSD Ports.
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="${CC} -shared"
@@ -1803,7 +1803,7 @@ dnl # preprocessing tests use only CPPFLAGS.
BSD/OS*) ;;
CYGWIN_*) ;;
IRIX*) ;;
- NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
+ NetBSD-*|DragonFly-*|FreeBSD-*|OpenBSD-*) ;;
Darwin-*) ;;
SCO_SV-3.2*) ;;
*) SHLIB_CFLAGS="-fPIC" ;;