ref: 2968bd60984742c11f98ebf9ffc728793fcbf242
parent: eba2781ab98282714c19df4c758a140dc0cc33ad
author: suzuki toshiya <[email protected]>
date: Wed Nov 30 18:25:38 EST 2011
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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2011-11-30 suzuki toshiya <[email protected]>
+ 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 <[email protected]>
+
[apinames] Fix the overflow of signed integer hash.
* src/tools/apinames.c (names_add): Change the type of `h' from
--- a/builds/toplevel.mk
+++ b/builds/toplevel.mk
@@ -122,6 +122,7 @@
#
is_unix := $(strip $(wildcard /sbin/init) \
$(wildcard /usr/sbin/init) \
+ $(wildcard /dev/null) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)
--- a/builds/unix/detect.mk
+++ b/builds/unix/detect.mk
@@ -20,6 +20,7 @@
#
is_unix := $(strip $(wildcard /sbin/init) \
$(wildcard /usr/sbin/init) \
+ $(wildcard /dev/null) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)