diff options
| author | Marc G. Fournier | 1997-12-20 02:33:56 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1997-12-20 02:33:56 +0000 |
| commit | 20ff6432a18d11c85f261723cc4ec525dc22b0ed (patch) | |
| tree | 76cc53681b4be3b12800a0d8e4c6f7555a323fa8 /src/configure.in | |
| parent | 6e337eef45c10391edfb202fc2332270faf72ce8 (diff) | |
Get it so that everything else *should* work with my changes...
Diffstat (limited to 'src/configure.in')
| -rw-r--r-- | src/configure.in | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/configure.in b/src/configure.in index 40b3b1f1d49..7d9f3f1a145 100644 --- a/src/configure.in +++ b/src/configure.in @@ -6,27 +6,27 @@ AC_CANONICAL_HOST case "$host_os" in solaris*) case "$host_cpu" in - sparc) PORTNAME='sparc_solaris' ;; - i386) PORTNAME='i386_solaris' ;; + sparc) os=sparc_solaris ;; + i386) os=i386_solaris ;; esac ;; - sunos*) PORTNAME='sunos4' ;; - linux*) PORTNAME='linux' ;; - bsdi*) PORTNAME='bsdi' ;; + sunos*) os=sunos4 ;; + linux*) os=linux ;; + bsdi*) os=bsdi ;; freebsd*|netbsd*) os=bsd ;; - dgux*) PORTNAME='dgux';; + dgux*) os=dgux;; aix*) os=aix ;; -nextstep*) PORTNAME='nextstep';; - ultrix*) PORTNAME='ultrix4';; - irix*) PORTNAME='irix5';; - hpux*) PORTNAME='hpux';; - osf*) PORTNAME='alpha';; - sco*) PORTNAME='sco';; - sysv4*) PORTNAME='svr4';; - machten*) PORTNAME='machten';; +nextstep*) os=nextstep;; + ultrix*) os=ultrix4;; + irix*) os=irix5;; + hpux*) os=hpux;; + osf*) os=alpha;; + sco*) os=sco;; + sysv4*) os=svr4;; + machten*) os=machten;; sysv4.2*) case "$host_vendor" in - univel) PORTNAME='univel';; - *) PORTNAME='unknown';; + univel) os=univel;; + *) os=unknown;; esac ;; *) echo "" echo "*************************************************************" @@ -40,6 +40,7 @@ nextstep*) PORTNAME='nextstep';; exit;; esac +PORTNAME=${os} AC_LINK_FILES(backend/port/dynloader/${os}.c, backend/port/dynloader.c) AC_LINK_FILES(backend/port/dynloader/${os}.h, include/dynloader.h) AC_LINK_FILES(include/port/${os}.h, include/os.h) |
