$NetBSD: patch-ab,v 1.2 2008/08/02 21:21:20 dholland Exp $ --- configure.orig 2004-11-19 20:05:27.000000000 -0500 +++ configure 2008-08-02 17:15:19.000000000 -0400 @@ -7276,7 +7276,7 @@ echo "${ECHO_T}unknown (can't find uname # results, and the version is kept in special file). if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then - system=MP-RAS-`awk '{print }' /etc/.relid'` + system=MP-RAS-`awk '{print }' /etc/.relid` fi if test "`uname -s`" = "AIX" ; then system=AIX-`uname -v`.`uname -r` @@ -8726,7 +8726,7 @@ rm -f conftest* UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' TCL_LIB_VERSIONS_OK=nodots ;; - FreeBSD-*) + FreeBSD-* | DragonFly-*) # FreeBSD 3.* and greater have ELF. SHLIB_CFLAGS="-fPIC" SHLIB_LD="ld -Bshareable -x" @@ -8749,6 +8749,11 @@ rm -f conftest* SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' TCL_LIB_VERSIONS_OK=nodots ;; + DragonFly-*) + UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a' + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so' + TCL_LIB_VERSIONS_OK=nodots + ;; esac ;; Rhapsody-*|Darwin-*) @@ -9336,7 +9341,7 @@ fi; ;; IRIX*) ;; - NetBSD-*|FreeBSD-*) + NetBSD-*|FreeBSD-* | DragonFly-*) ;; Rhapsody-*|Darwin-*) ;; @@ -9991,7 +9996,7 @@ echo "${ECHO_T}unknown (can't find uname # results, and the version is kept in special file). if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then - system=MP-RAS-`awk '{print }' /etc/.relid'` + system=MP-RAS-`awk '{print }' /etc/.relid` fi if test "`uname -s`" = "AIX" ; then system=AIX-`uname -v`.`uname -r`