diff options
Diffstat (limited to 'src/lib/libssl/src/config')
| -rw-r--r-- | src/lib/libssl/src/config | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/lib/libssl/src/config b/src/lib/libssl/src/config index 0715d378d9..c2f504f59e 100644 --- a/src/lib/libssl/src/config +++ b/src/lib/libssl/src/config | |||
| @@ -54,6 +54,22 @@ SYSTEM=`(uname -s) 2>/dev/null` || SYSTEM="unknown" | |||
| 54 | VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown" | 54 | VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown" |
| 55 | 55 | ||
| 56 | 56 | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | # Check for VC++ presence first. | ||
| 61 | # | ||
| 62 | #if [ "x$MSVCDIR" != "x" -o "x$VCINSTALLDIR" != "x" ]; then | ||
| 63 | # perl Configure VC-WIN32 $* | ||
| 64 | # cmd /c ms\\do_masm.bat | ||
| 65 | # perl util/mk1mf.pl VC-WIN32-GMAKE >mak.tmp | ||
| 66 | # rm Makefile | ||
| 67 | # mv mak.tmp Makefile | ||
| 68 | # echo "Configured for VC++ using GNU make" | ||
| 69 | # exit 0 | ||
| 70 | #fi | ||
| 71 | # | ||
| 72 | |||
| 57 | # Now test for ISC and SCO, since it is has a braindamaged uname. | 73 | # Now test for ISC and SCO, since it is has a braindamaged uname. |
| 58 | # | 74 | # |
| 59 | # We need to work around FreeBSD 1.1.5.1 | 75 | # We need to work around FreeBSD 1.1.5.1 |
| @@ -339,6 +355,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in | |||
| 339 | 355 | ||
| 340 | MINGW*) | 356 | MINGW*) |
| 341 | echo "${MACHINE}-whatever-mingw"; echo 0; | 357 | echo "${MACHINE}-whatever-mingw"; echo 0; |
| 358 | # Save fipslib path so VC++ build can find it | ||
| 359 | (cd /usr/local/ssl/lib ; pwd -W ) > util/fipslib_path.txt | ||
| 360 | # Extract _chkstk.o so VC++ can use it, to avoid __alloca link error | ||
| 361 | (cd ms ; ar x `gcc -print-libgcc-file-name` _chkstk.o) | ||
| 342 | ;; | 362 | ;; |
| 343 | CYGWIN*) | 363 | CYGWIN*) |
| 344 | case "$RELEASE" in | 364 | case "$RELEASE" in |
| @@ -407,7 +427,7 @@ if [ "$GCCVER" != "" ]; then | |||
| 407 | CC=gcc | 427 | CC=gcc |
| 408 | # then strip off whatever prefix egcs prepends the number with... | 428 | # then strip off whatever prefix egcs prepends the number with... |
| 409 | # Hopefully, this will work for any future prefixes as well. | 429 | # Hopefully, this will work for any future prefixes as well. |
| 410 | GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'` | 430 | GCCVER=`echo $GCCVER | LC_ALL=C sed 's/^[a-zA-Z]*\-//'` |
| 411 | # Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion | 431 | # Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion |
| 412 | # does give us what we want though, so we use that. We just just the | 432 | # does give us what we want though, so we use that. We just just the |
| 413 | # major and minor version numbers. | 433 | # major and minor version numbers. |
