From: Ted Lemon Date: Fri, 9 Jun 2000 18:26:59 +0000 (+0000) Subject: Make a special case for NetBSD/arm32. X-Git-Tag: V3-BETA-2-PATCH-1~158 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0cf3e15d392fe1f2d672a63626371fc80a8d4fd;p=thirdparty%2Fdhcp.git Make a special case for NetBSD/arm32. --- diff --git a/Makefile.conf b/Makefile.conf index dc6b71bb0..838b0317b 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -206,6 +206,21 @@ MINORVERSION=MinorVersion #SCRIPT=netbsd ##--netbsd-- +## NetBSD Arm32 +## The arm32 gcc currently has a bug in the conversion warning code. :'( +## Don't consider this to be true when you read this - it's probably +## not permanent... +##--netbsd-arm32-- +#CF = cf/netbsd.h +#COPTS = -Wall -Wstrict-prototypes -Wno-unused -Wno-comment \ +# -Wno-uninitialized -Werror \ +# -Wimplicit-function-declaration -Wpointer-arith -Wcast-qual \ +# -Wwrite-strings -Wmissing-prototypes \ +# -Wmissing-declarations -Wnested-externs \ +# -pipe $(BINDDEF) +#SCRIPT=netbsd +##--netbsd-arm32-- + ## Ultrix ##--ultrix-- #BINDIR = /usr/etc diff --git a/configure b/configure index 81276a95c..ce2efce57 100755 --- a/configure +++ b/configure @@ -59,7 +59,11 @@ if [ "$sysname" = "" ]; then fi;; esac;; NetBSD) - sysname=netbsd;; + hw=`uname -m` + case $hw in + arm32) sysname=netbsd-arm32;; + *) sysname=netbsd;; + esac;; OpenBSD) sysname=openbsd;; FreeBSD)