[pkg-java] r2800 -
branches/commons-daemon/feature/debian/src/native/unix/support
Marcus Better
marcusb-guest at alioth.debian.org
Tue Nov 28 13:48:57 CET 2006
Author: marcusb-guest
Date: 2006-11-28 13:48:57 +0100 (Tue, 28 Nov 2006)
New Revision: 2800
Modified:
branches/commons-daemon/feature/debian/src/native/unix/support/apsupport.m4
Log:
Fix architecture support.
Modified: branches/commons-daemon/feature/debian/src/native/unix/support/apsupport.m4
===================================================================
--- branches/commons-daemon/feature/debian/src/native/unix/support/apsupport.m4 2006-11-28 09:17:57 UTC (rev 2799)
+++ branches/commons-daemon/feature/debian/src/native/unix/support/apsupport.m4 2006-11-28 12:48:57 UTC (rev 2800)
@@ -70,12 +70,6 @@
;;
esac
case $host_cpu in
- powerpc)
- CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
- HOST_CPU=$host_cpu;;
- sparc*)
- CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
- HOST_CPU=$host_cpu;;
i?86)
CFLAGS="$CFLAGS -DCPU=\\\"i386\\\""
HOST_CPU=i386;;
@@ -89,13 +83,8 @@
LIBS="$LIBS -lBLSLIB"
LDCMD="/opt/C/bin/cc"
HOST_CPU=osd;;
- mips)
- CFLAGS="$CFLAGS -DCPU=\\\"mips\\\""
- supported_os="mips"
- HOST_CPU=mips;;
alpha*)
CFLAGS="$CFLAGS -DCPU=\\\"alpha\\\""
- supported_os="alpha"
HOST_CPU=alpha;;
hppa2.0w)
CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0W\\\""
@@ -105,18 +94,9 @@
CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0\\\""
supported_os="hp-ux"
HOST_CPU=PA_RISC2.0;;
- mipsel)
- CFLAGS="$CFLAGS -DCPU=\\\"mipsel\\\""
- supported_os="mipsel"
- HOST_CPU=mipsel;;
- ia64)
- CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
- supported_os="ia64"
- HOST_CPU=ia64;;
- s390)
- CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
- supported_os="s390"
- HOST_CPU=s390;;
+ arm|hppa|ia64|m68k|mips|mipsel|powerpc*|s390|sparc*)
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+ HOST_CPU=$host_cpu;;
*)
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
More information about the pkg-java-commits
mailing list