summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjrmarino <draco@marino.st>2016-10-21 08:48:31 -0500
committerRich Salz <rsalz@openssl.org>2016-10-22 04:25:17 -0400
commit2df7f11fad886cf54c98a17e95932d9b5987f488 (patch)
treec5b63d5f1507abdec36fb0c2de7ae630386594c0 /config
parent4fab3e24d62c810bc9165920af1c67c6215c7418 (diff)
downloadopenssl-new-2df7f11fad886cf54c98a17e95932d9b5987f488.tar.gz
Fix support for DragonFly BSD
The __DragonFly__ macros were introduced in issue #1546 along with a function naming fix, but it was decided they should be handled separately. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1765)
Diffstat (limited to 'config')
-rwxr-xr-xconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/config b/config
index 6504143150..b8a787cc53 100755
--- a/config
+++ b/config
@@ -187,6 +187,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
echo "${MACH}-${ARCH}-freebsd${VERS}"; exit 0
;;
+ DragonFly:*)
+ echo "${MACHINE}-whatever-dragonfly"; exit 0
+ ;;
+
FreeBSD:*)
echo "${MACHINE}-whatever-freebsd"; exit 0
;;
@@ -697,6 +701,7 @@ case "$GUESSOS" in
powerpc64-*-*bsd*) OUT="BSD-generic64"; options="$options -DB_ENDIAN" ;;
sparc64-*-*bsd*) OUT="BSD-sparc64" ;;
ia64-*-*bsd*) OUT="BSD-ia64" ;;
+ x86_64-*-dragonfly*) OUT="BSD-x86_64" ;;
amd64-*-*bsd*) OUT="BSD-x86_64" ;;
*86*-*-*bsd*) # mimic ld behaviour when it's looking for libc...
if [ -L /usr/lib/libc.so ]; then # [Free|Net]BSD