From 2968bd60984742c11f98ebf9ffc728793fcbf242 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Wed, 30 Nov 2011 23:25:38 +0900 Subject: [PATCH] Fix Savannah bug #34728 (`make devel' on Mac OS X). * builds/toplevel.mk: Check `/dev/null' to identify the Unix- like systems without `init' nor `hurd' (e.g. Mac OS X >= 10.4). * builds/unix/detect.mk: Ditto. --- ChangeLog | 8 ++++++++ builds/toplevel.mk | 1 + builds/unix/detect.mk | 1 + 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 30e676273..ad8469ee0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-11-30 suzuki toshiya + + Fix Savannah bug #34728 (`make devel' on Mac OS X). + + * builds/toplevel.mk: Check `/dev/null' to identify the Unix- + like systems without `init' nor `hurd' (e.g. Mac OS X >= 10.4). + * builds/unix/detect.mk: Ditto. + 2011-11-30 suzuki toshiya [apinames] Fix the overflow of signed integer hash. diff --git a/builds/toplevel.mk b/builds/toplevel.mk index d552a4a17..18bcef2c4 100644 --- a/builds/toplevel.mk +++ b/builds/toplevel.mk @@ -122,6 +122,7 @@ ifdef check_platform # is_unix := $(strip $(wildcard /sbin/init) \ $(wildcard /usr/sbin/init) \ + $(wildcard /dev/null) \ $(wildcard /hurd/auth)) ifneq ($(is_unix),) diff --git a/builds/unix/detect.mk b/builds/unix/detect.mk index e74af5730..b2ae4f42b 100644 --- a/builds/unix/detect.mk +++ b/builds/unix/detect.mk @@ -20,6 +20,7 @@ ifeq ($(PLATFORM),ansi) # is_unix := $(strip $(wildcard /sbin/init) \ $(wildcard /usr/sbin/init) \ + $(wildcard /dev/null) \ $(wildcard /hurd/auth)) ifneq ($(is_unix),)