diff options
author | ulf <ulf> | 1999-04-22 19:23:56 +0000 |
---|---|---|
committer | ulf <ulf> | 1999-04-22 19:23:56 +0000 |
commit | 6fd5246746554d3f1802a85198b79b4bf6f40105 (patch) | |
tree | 8f811232b2fbe3d0cb35e1984e96aedd3d624dae /config | |
parent | 8e03282688a5e6ec9f5d687cb3bc2412c81afe0f (diff) | |
download | openssl-6fd5246746554d3f1802a85198b79b4bf6f40105.tar.gz |
Set the 386 flag automatically when building on i386.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 27 |
1 files changed, 11 insertions, 16 deletions
@@ -1,17 +1,11 @@ #!/bin/sh # -# config - this is a merge of minarch and GuessOS from the Apache Group -# which then automatically runs Configure from SSLeay after -# mapping the Apache names for OSs into SSLeay names +# OpenSSL config: determine the operating system and run ./Configure # -# 29-May-97 eay Added no-asm option -# 27-May-97 eay Alpha linux mods -# ??-May-97 eay IRIX mods -# 16-Sep-97 tjh first cut of merged version -# -# Tim Hudson -# tjh@cryptsoft.com +# "config -h" for usage information. # +# this is a merge of minarch and GuessOS from the Apache Group. +# Originally written by Tim Hudson <tjh@cryptsoft.com>. # Original Apache Group comments on GuessOS @@ -259,23 +253,20 @@ case "$i" in -d*) PREFIX="debug-";; -v*) VERBOSE="true";; -t*) TEST="true";; --h*) cat <<EOF -usage: config [options] +-h*) TEST="true"; cat <<EOF +Usage: config [options] -d Add a debug- prefix to machine choice. -v Verbose mode. -t Test mode, do not run the Configure perl script. -h This help. Any other text will be passed to the Configure perl script. -Usefull options include +Useful options include no-asm Build with no assember code. -Dxxx Add xxx define to compilation. -Lxxx Add xxx library include path to build. -lxxx Add xxx library to build. -eg, to build using RSAref, without assember, building to allow anon-DH -ciphers and null encryption ciphers, - config no-asm -DRSAref -DSSL_ALLOW_ADH -DSSL_ALLOW_ENULL -lrsaref EOF ;; *) options=$options" $i" ;; @@ -328,6 +319,10 @@ case "$GUESSOS" in *) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;; esac +case "$GUESSOS" in + i386-*) options="$options 386" ;; +esac + if [ -z "$OUT" ]; then OUT="$CC" fi |