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:
parent
eba2781ab9
commit
2968bd6098
@ -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.
|
||||
|
@ -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),)
|
||||
|
||||
|
@ -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),)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user