[svn-commits] mjordan: branch 1.8 r381847 - in /branches/1.8: configure configure.ac

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 21 16:45:02 CST 2013


Author: mjordan
Date: Thu Feb 21 16:44:59 2013
New Revision: 381847

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381847
Log:
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


Modified:
    branches/1.8/configure
    branches/1.8/configure.ac

Modified: branches/1.8/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/configure.ac?view=diff&rev=381847&r1=381846&r2=381847
==============================================================================
--- branches/1.8/configure.ac (original)
+++ branches/1.8/configure.ac Thu Feb 21 16:44:59 2013
@@ -2197,7 +2197,9 @@
 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)
 




More information about the svn-commits mailing list