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.
This commit is contained in:
suzuki toshiya 2011-11-30 23:25:38 +09:00
parent eba2781ab9
commit 2968bd6098
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2011-11-30 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
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 <mpsuzuki@hiroshima-u.ac.jp>
[apinames] Fix the overflow of signed integer hash.

View File

@ -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),)

View File

@ -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),)