Deleted Added
full compact
config (72613) config (76866)
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>.

--- 35 unchanged lines hidden (view full) ---

44 case "$XREL" in
45 3.2v4.2)
46 echo "whatever-whatever-sco3"; exit 0
47 ;;
48 3.2v5.0*)
49 echo "whatever-whatever-sco5"; exit 0
50 ;;
51 4.2MP)
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>.

--- 35 unchanged lines hidden (view full) ---

44 case "$XREL" in
45 3.2v4.2)
46 echo "whatever-whatever-sco3"; exit 0
47 ;;
48 3.2v5.0*)
49 echo "whatever-whatever-sco5"; exit 0
50 ;;
51 4.2MP)
52 if [ "x$VERSION" = "x2.1.1" ]; then
52 if [ "x$VERSION" = "x2.01" ]; then
53 echo "${MACHINE}-whatever-unixware201"; exit 0
54 elif [ "x$VERSION" = "x2.02" ]; then
55 echo "${MACHINE}-whatever-unixware202"; exit 0
56 elif [ "x$VERSION" = "x2.03" ]; then
57 echo "${MACHINE}-whatever-unixware203"; exit 0
58 elif [ "x$VERSION" = "x2.1.1" ]; then
53 echo "${MACHINE}-whatever-unixware211"; exit 0
54 elif [ "x$VERSION" = "x2.1.2" ]; then
55 echo "${MACHINE}-whatever-unixware212"; exit 0
59 echo "${MACHINE}-whatever-unixware211"; exit 0
60 elif [ "x$VERSION" = "x2.1.2" ]; then
61 echo "${MACHINE}-whatever-unixware212"; exit 0
62 elif [ "x$VERSION" = "x2.1.3" ]; then
63 echo "${MACHINE}-whatever-unixware213"; exit 0
56 else
57 echo "${MACHINE}-whatever-unixware2"; exit 0
58 fi
59 ;;
60 4.2)
61 echo "whatever-whatever-unixware1"; exit 0
62 ;;
63 5)

--- 10 unchanged lines hidden (view full) ---

74 MPE/iX:*)
75 MACHINE=`echo "$MACHINE" | sed -e 's/-/_/g'`
76 echo "parisc-hp-MPE/iX"; exit 0
77 ;;
78 A/UX:*)
79 echo "m68k-apple-aux3"; exit 0
80 ;;
81
64 else
65 echo "${MACHINE}-whatever-unixware2"; exit 0
66 fi
67 ;;
68 4.2)
69 echo "whatever-whatever-unixware1"; exit 0
70 ;;
71 5)

--- 10 unchanged lines hidden (view full) ---

82 MPE/iX:*)
83 MACHINE=`echo "$MACHINE" | sed -e 's/-/_/g'`
84 echo "parisc-hp-MPE/iX"; exit 0
85 ;;
86 A/UX:*)
87 echo "m68k-apple-aux3"; exit 0
88 ;;
89
90 AIX:[3456789]:4:*)
91 echo "${MACHINE}-ibm-aix43"; exit 0
92 ;;
93
94 AIX:*:[56789]:*)
95 echo "${MACHINE}-ibm-aix43"; exit 0
96 ;;
97
82 AIX:*)
83 echo "${MACHINE}-ibm-aix"; exit 0
84 ;;
85
86 dgux:*)
87 echo "${MACHINE}-dg-dgux"; exit 0
88 ;;
89

--- 298 unchanged lines hidden (view full) ---

388 options="$options -mips4"
389 else
390 options="$options -mips3"
391 fi
392 OUT="irix-mips3-$CC"
393 ;;
394 mips4-sgi-irix64)
395 echo "WARNING! If you wish to build 64-bit library, then you have to"
98 AIX:*)
99 echo "${MACHINE}-ibm-aix"; exit 0
100 ;;
101
102 dgux:*)
103 echo "${MACHINE}-dg-dgux"; exit 0
104 ;;
105

--- 298 unchanged lines hidden (view full) ---

404 options="$options -mips4"
405 else
406 options="$options -mips3"
407 fi
408 OUT="irix-mips3-$CC"
409 ;;
410 mips4-sgi-irix64)
411 echo "WARNING! If you wish to build 64-bit library, then you have to"
396 echo " invoke './Configre irix64-mips4-$CC' *manually*."
412 echo " invoke './Configure irix64-mips4-$CC' *manually*."
397 echo " Type return if you want to continue, Ctrl-C to abort."
398 read waste < /dev/tty
413 echo " Type return if you want to continue, Ctrl-C to abort."
414 read waste < /dev/tty
399 options="$options -mips4"
415 CPU=`(hinv -t cpu) 2>/dev/null | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
416 CPU=${CPU:-0}
417 if [ $CPU -ge 5000 ]; then
418 options="$options -mips4"
419 else
420 options="$options -mips3"
421 fi
400 OUT="irix-mips3-$CC"
401 ;;
402 alpha-*-linux2)
403 ISA=`awk '/cpu model/{print$4}' /proc/cpuinfo`
404 case ${ISA:-generic} in
405 *[67]) OUT="linux-alpha+bwx-$CC" ;;
406 *) OUT="linux-alpha-$CC" ;;
407 esac

--- 54 unchanged lines hidden (view full) ---

462 alpha*-*-openbsd) OUT="OpenBSD-alpha" ;;
463 pmax*-*-openbsd) OUT="OpenBSD-mips" ;;
464 *-*-openbsd) OUT="OpenBSD" ;;
465 *86*-*-bsdi4) OUT="bsdi-elf-gcc" ;;
466 *-*-osf) OUT="alpha-cc" ;;
467 *-*-unixware7) OUT="unixware-7" ;;
468 *-*-UnixWare7) OUT="unixware-7" ;;
469 *-*-Unixware7) OUT="unixware-7" ;;
422 OUT="irix-mips3-$CC"
423 ;;
424 alpha-*-linux2)
425 ISA=`awk '/cpu model/{print$4}' /proc/cpuinfo`
426 case ${ISA:-generic} in
427 *[67]) OUT="linux-alpha+bwx-$CC" ;;
428 *) OUT="linux-alpha-$CC" ;;
429 esac

--- 54 unchanged lines hidden (view full) ---

484 alpha*-*-openbsd) OUT="OpenBSD-alpha" ;;
485 pmax*-*-openbsd) OUT="OpenBSD-mips" ;;
486 *-*-openbsd) OUT="OpenBSD" ;;
487 *86*-*-bsdi4) OUT="bsdi-elf-gcc" ;;
488 *-*-osf) OUT="alpha-cc" ;;
489 *-*-unixware7) OUT="unixware-7" ;;
490 *-*-UnixWare7) OUT="unixware-7" ;;
491 *-*-Unixware7) OUT="unixware-7" ;;
470 *-*-unixware[1-2]*) OUT="unixware-2.0" ;;
471 *-*-UnixWare[1-2]*) OUT="unixware-2.0" ;;
472 *-*-Unixware[1-2]*) OUT="unixware-2.0" ;;
492 *-*-unixware20*) OUT="unixware-2.0" ;;
493 *-*-unixware21*) OUT="unixware-2.1" ;;
494 *-*-UnixWare20*) OUT="unixware-2.0" ;;
495 *-*-UnixWare21*) OUT="unixware-2.1" ;;
496 *-*-Unixware20*) OUT="unixware-2.0" ;;
497 *-*-Unixware21*) OUT="unixware-2.1" ;;
473 BS2000-siemens-sysv4) OUT="BS2000-OSD" ;;
474 RM*-siemens-sysv4) OUT="ReliantUNIX" ;;
475 *-siemens-sysv4) OUT="SINIX" ;;
476 *-hpux1*) OUT="hpux-parisc-$CC"
477 options="$options -D_REENTRANT" ;;
478 *-hpux) OUT="hpux-parisc-$CC" ;;
479 # these are all covered by the catchall below
480 # *-aix) OUT="aix-$CC" ;;

--- 91 unchanged lines hidden ---
498 BS2000-siemens-sysv4) OUT="BS2000-OSD" ;;
499 RM*-siemens-sysv4) OUT="ReliantUNIX" ;;
500 *-siemens-sysv4) OUT="SINIX" ;;
501 *-hpux1*) OUT="hpux-parisc-$CC"
502 options="$options -D_REENTRANT" ;;
503 *-hpux) OUT="hpux-parisc-$CC" ;;
504 # these are all covered by the catchall below
505 # *-aix) OUT="aix-$CC" ;;

--- 91 unchanged lines hidden ---