[asterisk-commits] file: branch 1.4 r103812 - in /branches/1.4: configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 19 11:31:32 CST 2008


Author: file
Date: Tue Feb 19 11:31:32 2008
New Revision: 103812

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103812
Log:
Don't look for launchd when cross compiling.
(closes issue #12029)
Reported by: ovi

Modified:
    branches/1.4/configure
    branches/1.4/configure.ac

Modified: branches/1.4/configure.ac
URL: http://svn.digium.com/view/asterisk/branches/1.4/configure.ac?view=diff&rev=103812&r1=103811&r2=103812
==============================================================================
--- branches/1.4/configure.ac (original)
+++ branches/1.4/configure.ac Tue Feb 19 11:31:32 2008
@@ -1466,7 +1466,10 @@
 				   ])
 AC_SUBST(PBX_IXJUSER)
 
-AC_CHECK_FILE(/sbin/launchd, AC_DEFINE([HAVE_SBIN_LAUNCHD], 1, [Define to 1 if your system has /sbin/launchd.]))
+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.]))
+fi
 
 PBX_GTK=0
 AC_CHECK_TOOL(GTKCONFIG, gtk-config, No)




More information about the asterisk-commits mailing list