diff options
| author | Richard Kenner | 1994-10-18 23:26:27 +0000 |
|---|---|---|
| committer | Richard Kenner | 1994-10-18 23:26:27 +0000 |
| commit | 8593feb616349b9c83022ce911bdea4df4031ab2 (patch) | |
| tree | 54e1fddaf2786f932f85ed5779c2bb19f3534ae9 | |
| parent | c9ed66f41f21730103554ee2a9f29856bdc0e7fb (diff) | |
| download | emacs-8593feb616349b9c83022ce911bdea4df4031ab2.tar.gz emacs-8593feb616349b9c83022ce911bdea4df4031ab2.zip | |
Revise support for AIX 4.1 on POWER and PowerPC.
| -rwxr-xr-x | config.guess | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/config.guess b/config.guess index daae8ac0008..d3fb06986a5 100755 --- a/config.guess +++ b/config.guess | |||
| @@ -147,12 +147,20 @@ EOF | |||
| 147 | echo rs6000-ibm-aix3.2 | 147 | echo rs6000-ibm-aix3.2 |
| 148 | fi | 148 | fi |
| 149 | exit 0 ;; | 149 | exit 0 ;; |
| 150 | *:AIX:1:4) | 150 | *:AIX:*:4) |
| 151 | if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then | 151 | if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then |
| 152 | echo rs6000-ibm-aix4.1 | 152 | IBM_ARCH=rs6000 |
| 153 | else | 153 | else |
| 154 | echo powerpc-ibm-aix4.1 | 154 | IBM_ARCH=powerpc |
| 155 | fi | 155 | fi |
| 156 | if grep bos410 /usr/include/stdio.h >/dev/null 2>&1; then | ||
| 157 | IBM_REV=4.1 | ||
| 158 | elif grep bos411 /usr/include/stdio.h >/dev/null 2>&1; then | ||
| 159 | IBM_REV=4.1.1 | ||
| 160 | else | ||
| 161 | IBM_REV=4 | ||
| 162 | fi | ||
| 163 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} | ||
| 156 | exit 0 ;; | 164 | exit 0 ;; |
| 157 | *:AIX:*:*) | 165 | *:AIX:*:*) |
| 158 | echo rs6000-ibm-aix | 166 | echo rs6000-ibm-aix |