From e92caebae3e6cda9d9d4a707b2b6c36e393e57a0 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Tue, 22 Feb 2000 16:16:10 +0000 Subject: [PATCH] Added file for backward compatability to old HOST_ARCH env var. --- configure/os/CONFIG_COMPAT | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 configure/os/CONFIG_COMPAT diff --git a/configure/os/CONFIG_COMPAT b/configure/os/CONFIG_COMPAT new file mode 100644 index 000000000..50fe6e23f --- /dev/null +++ b/configure/os/CONFIG_COMPAT @@ -0,0 +1,22 @@ +# +# $Id$ +# +# Convert old HOST_ARCH environment variable to +# new EPICS_HOST_ARCH environment variable + +#Syntax: +# ARCH_ = +ARCH_solaris = solaris-sparc +ARCH_sun4 = sun4-sparc +ARCH_Linux = linux-x86 +ARCH_WIN32 = win32-x86 +ARCH_hp700 = hpux-m68k +ARCH_hp700 = osf-alpha + +ifndef EPICS_HOST_ARCH +ifdef HOST_ARCH +EPICS_HOST_ARCH = $(firstword $(ARCH_$(HOST_ARCH)) $(HOST_ARCH)) +else +EPICS_HOST_ARCH = unsupported +endif +endif