diff options
author | cls%seawood.org <devnull@localhost> | 2001-02-24 05:39:43 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 2001-02-24 05:39:43 +0000 |
commit | 18927257cef0be61d3a630b99b6a693d77cc7697 (patch) | |
tree | 7b234525ceddb011d4786be89fd65976fea0be01 /build/autoconf | |
parent | c0ae4442b491b0593a9ce59ac685242f19d836b4 (diff) | |
download | nspr-hg-18927257cef0be61d3a630b99b6a693d77cc7697.tar.gz |
Initial OS/2 nspr autoconf support. Bug #58804
Thanks to "Javier H Pedemonte" <pedemont@us.ibm.com> for the patch.
Diffstat (limited to 'build/autoconf')
-rwxr-xr-x | build/autoconf/config.guess | 12 | ||||
-rwxr-xr-x | build/autoconf/config.sub | 4 |
2 files changed, 11 insertions, 5 deletions
diff --git a/build/autoconf/config.guess b/build/autoconf/config.guess index 5ce66fdb..6d5281f0 100755 --- a/build/autoconf/config.guess +++ b/build/autoconf/config.guess @@ -1194,11 +1194,13 @@ EOF fi echo ${UNAME_MACHINE}-unknown-plan9 exit 0 ;; - i?86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; + *:OS/2:*:*) + if test "$VACPP" = "yes"; then + echo "i386-pc-os2_vacpp" + else + echo "i386-pc-os2_emx" + fi + exit 0;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 diff --git a/build/autoconf/config.sub b/build/autoconf/config.sub index 1e47930d..3875de91 100755 --- a/build/autoconf/config.sub +++ b/build/autoconf/config.sub @@ -995,6 +995,10 @@ case $os in -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; + -os2_emx) + ;; + -os2_vacpp) + ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. |