mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Don't look for launchd when cross compiling.
(closes issue #12029) Reported by: ovi git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@103812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
7
configure
vendored
7
configure
vendored
@@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.ac Revision: 103713 .
|
# From configure.ac Revision: 103722 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.61 for asterisk 1.4.
|
# Generated by GNU Autoconf 2.61 for asterisk 1.4.
|
||||||
#
|
#
|
||||||
@@ -34412,7 +34412,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: checking for /sbin/launchd" >&5
|
if test "${cross_compiling}" = "no";
|
||||||
|
then
|
||||||
|
{ echo "$as_me:$LINENO: checking for /sbin/launchd" >&5
|
||||||
echo $ECHO_N "checking for /sbin/launchd... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for /sbin/launchd... $ECHO_C" >&6; }
|
||||||
if test "${ac_cv_file__sbin_launchd+set}" = set; then
|
if test "${ac_cv_file__sbin_launchd+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
@@ -34437,6 +34439,7 @@ _ACEOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
PBX_GTK=0
|
PBX_GTK=0
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
|
@@ -1466,7 +1466,10 @@ AC_CHECK_HEADER([linux/ixjuser.h], [PBX_IXJUSER=1], [PBX_IXJUSER=0], [
|
|||||||
])
|
])
|
||||||
AC_SUBST(PBX_IXJUSER)
|
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
|
PBX_GTK=0
|
||||||
AC_CHECK_TOOL(GTKCONFIG, gtk-config, No)
|
AC_CHECK_TOOL(GTKCONFIG, gtk-config, No)
|
||||||
|
Reference in New Issue
Block a user