Darwin is weird, and in some senses not unix, launchd doesn't want
servers to use daemon(), so its deprecated. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24424 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -283,11 +283,22 @@ AC_FIND_IF_NOT_BROKEN(gai_strerror,, | ||||
| #include <netdb.h> | ||||
| #endif],[0]) | ||||
|  | ||||
| dnl Darwin is weird, and in some senses not unix, launchd doesn't want | ||||
| dnl servers to use daemon(), so its deprecated. | ||||
| case "$host_os" in | ||||
| 	darwin*) | ||||
| 		;; | ||||
| 	*) | ||||
| 		AC_DEFINE([SUPPORT_DETACH], 1, | ||||
| 		    [Define if os support want to detach is daemonens.]) | ||||
| 		AC_BROKEN([daemon]) ;; | ||||
| esac | ||||
|  | ||||
|  | ||||
| AC_BROKEN([					\ | ||||
| 	chown					\ | ||||
| 	copyhostent				\ | ||||
| 	closefrom				\ | ||||
| 	daemon					\ | ||||
| 	ecalloc					\ | ||||
| 	emalloc					\ | ||||
| 	erealloc				\ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand