diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-22 21:23:56 +0200 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-22 21:23:56 +0200 |
commit | 5d3bb220c89e062f8d8592fc84253d61fc59cf18 (patch) | |
tree | aefc908583985002b5abfbd7e7a5f552c51cfd29 /config | |
parent | Be more specify about system requirements. (diff) | |
download | openssl-5d3bb220c89e062f8d8592fc84253d61fc59cf18.tar.xz openssl-5d3bb220c89e062f8d8592fc84253d61fc59cf18.zip |
Set the 386 flag automatically when building on i386.
Diffstat (limited to '')
-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 |