aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-19 17:33:55 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-19 17:33:55 +0000
commitb632052987c594f6e3f4a9150d4ca0f874d95f5c (patch)
tree13ecfea77c33e1305983d2c0df47494516a30286 /configure.ac
parentd3eb800246d9048e18629806f8e29f00bc1a20e3 (diff)
Merged revisions 103812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103812 | file | 2008-02-19 13:31:32 -0400 (Tue, 19 Feb 2008) | 4 lines Don't look for launchd when cross compiling. (closes issue #12029) Reported by: ovi ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103813 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 950886aee..883198f1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1485,7 +1485,10 @@ AC_CHECK_HEADER([linux/videodev.h],
AST_EXT_LIB_CHECK([X11], [X11], [XOpenDisplay], [X11/Xlib.h],,, [standard_path])
AST_EXT_LIB_CHECK([X11], [X11], [XOpenDisplay], [X11/Xlib.h],, [-I/usr/X11R6/include], [X11R6])
-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
AST_EXT_TOOL_CHECK([GTK], [gtk], [--cflags gthread], [--libs gthread])