config (238405) | config (261037) |
---|---|
1#!/bin/sh 2# 3# OpenSSL config: determine the operating system and run ./Configure 4# 5# "config -h" for usage information. 6# 7# this is a merge of minarch and GuessOS from the Apache Group. 8# Originally written by Tim Hudson <tjh@cryptsoft.com>. --- 725 unchanged lines hidden (view full) --- 734 sparc64-*-*bsd*) OUT="BSD-sparc64" ;; 735 ia64-*-*bsd*) OUT="BSD-ia64" ;; 736 amd64-*-*bsd*) OUT="BSD-x86_64" ;; 737 *86*-*-*bsd*) # mimic ld behaviour when it's looking for libc... 738 if [ -L /usr/lib/libc.so ]; then # [Free|Net]BSD 739 libc=/usr/lib/libc.so 740 else # OpenBSD 741 # ld searches for highest libc.so.* and so do we | 1#!/bin/sh 2# 3# OpenSSL config: determine the operating system and run ./Configure 4# 5# "config -h" for usage information. 6# 7# this is a merge of minarch and GuessOS from the Apache Group. 8# Originally written by Tim Hudson <tjh@cryptsoft.com>. --- 725 unchanged lines hidden (view full) --- 734 sparc64-*-*bsd*) OUT="BSD-sparc64" ;; 735 ia64-*-*bsd*) OUT="BSD-ia64" ;; 736 amd64-*-*bsd*) OUT="BSD-x86_64" ;; 737 *86*-*-*bsd*) # mimic ld behaviour when it's looking for libc... 738 if [ -L /usr/lib/libc.so ]; then # [Free|Net]BSD 739 libc=/usr/lib/libc.so 740 else # OpenBSD 741 # ld searches for highest libc.so.* and so do we |
742 libc=`(ls /usr/lib/libc.so.* | tail -1) 2>/dev/null` | 742 libc=`(ls /usr/lib/libc.so.* /lib/libc.so.* | tail -1) 2>/dev/null` |
743 fi 744 case "`(file -L $libc) 2>/dev/null`" in 745 *ELF*) OUT="BSD-x86-elf" ;; 746 *) OUT="BSD-x86"; options="$options no-sse2" ;; 747 esac ;; 748 *-*-*bsd*) OUT="BSD-generic32" ;; 749 750 *-*-osf) OUT="osf1-alpha-cc" ;; --- 217 unchanged lines hidden --- | 743 fi 744 case "`(file -L $libc) 2>/dev/null`" in 745 *ELF*) OUT="BSD-x86-elf" ;; 746 *) OUT="BSD-x86"; options="$options no-sse2" ;; 747 esac ;; 748 *-*-*bsd*) OUT="BSD-generic32" ;; 749 750 *-*-osf) OUT="osf1-alpha-cc" ;; --- 217 unchanged lines hidden --- |