Properly detect launchd

Asterisk was a little too pro-active in claiming that it found launchd. On
systems without launchd - such as FreeBSD - this resulted in certain items
in Asterisk that conflict with launchd to not be selectable, such as
res_timing_kqueue.

(closes issue ASTERISK-20749)
Reported by: Oleg Baranov
........

Merged revisions 381847 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@381848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/61/61/1
Matthew Jordan 12 years ago
parent c157d591f5
commit a5159f3b9a

1021
configure vendored

File diff suppressed because it is too large Load Diff

@ -2303,7 +2303,9 @@ PBX_LAUNCHD=0
if test "${cross_compiling}" = "no";
then
AC_CHECK_FILE(/sbin/launchd, AC_DEFINE([HAVE_SBIN_LAUNCHD], 1, [Define to 1 if your system has /sbin/launchd.]))
PBX_LAUNCHD=1
if test "${HAVE_SBIN_LAUNCHD}" = 1; then
PBX_LAUNCHD=1
fi
fi
AC_SUBST(PBX_LAUNCHD)

Loading…
Cancel
Save