mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
Merged revisions 320560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r320560 | kpfleming | 2011-05-23 10:47:14 -0500 (Mon, 23 May 2011) | 4 lines Don't generate spurious "No: command not found" messages when running the configure script on a system that has neither gmime-config nor pkg-config. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@320561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2018,7 +2018,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
AST_EXT_TOOL_CHECK([GMIME], [gmime-config], [], [], [#include <gmime/gmime.h>], [gboolean q = g_mime_check_version(0,0,0);])
|
AST_EXT_TOOL_CHECK([GMIME], [gmime-config], [], [], [#include <gmime/gmime.h>], [gboolean q = g_mime_check_version(0,0,0);])
|
||||||
if test "x${PBX_GMIME}" = "x0"; then
|
if test "x${PBX_GMIME}" = "x0" -a "${PKGCONFIG}" != "No"; then
|
||||||
# Later versions of GMime use pkg-config
|
# Later versions of GMime use pkg-config
|
||||||
for ver in 2.0 2.2 2.4; do
|
for ver in 2.0 2.2 2.4; do
|
||||||
if ! ${PKGCONFIG} --exists gmime-$ver; then
|
if ! ${PKGCONFIG} --exists gmime-$ver; then
|
||||||
@@ -2172,7 +2172,7 @@ fi
|
|||||||
AC_SUBST(PBX_LAUNCHD)
|
AC_SUBST(PBX_LAUNCHD)
|
||||||
|
|
||||||
PBX_GTK2=0
|
PBX_GTK2=0
|
||||||
if test ! "x${PKGCONFIG}" = xNo; then
|
if test "${PKGCONFIG}" != "No"; then
|
||||||
GTK2_INCLUDE=$(${PKGCONFIG} gtk+-2.0 --cflags 2>/dev/null)
|
GTK2_INCLUDE=$(${PKGCONFIG} gtk+-2.0 --cflags 2>/dev/null)
|
||||||
GTK2_LIB=$(${PKGCONFIG} gtk+-2.0 --libs)
|
GTK2_LIB=$(${PKGCONFIG} gtk+-2.0 --libs)
|
||||||
PBX_GTK2=1
|
PBX_GTK2=1
|
||||||
|
|||||||
@@ -830,16 +830,16 @@
|
|||||||
/* Define to 1 if you have the `strtoq' function. */
|
/* Define to 1 if you have the `strtoq' function. */
|
||||||
#undef HAVE_STRTOQ
|
#undef HAVE_STRTOQ
|
||||||
|
|
||||||
/* Define to 1 if `ifr_ifru.ifru_hwaddr' is member of `struct ifreq'. */
|
/* Define to 1 if `ifr_ifru.ifru_hwaddr' is a member of `struct ifreq'. */
|
||||||
#undef HAVE_STRUCT_IFREQ_IFR_IFRU_IFRU_HWADDR
|
#undef HAVE_STRUCT_IFREQ_IFR_IFRU_IFRU_HWADDR
|
||||||
|
|
||||||
/* Define to 1 if `st_blksize' is member of `struct stat'. */
|
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
|
||||||
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
|
||||||
|
|
||||||
/* Define to 1 if `cr_uid' is member of `struct ucred'. */
|
/* Define to 1 if `cr_uid' is a member of `struct ucred'. */
|
||||||
#undef HAVE_STRUCT_UCRED_CR_UID
|
#undef HAVE_STRUCT_UCRED_CR_UID
|
||||||
|
|
||||||
/* Define to 1 if `uid' is member of `struct ucred'. */
|
/* Define to 1 if `uid' is a member of `struct ucred'. */
|
||||||
#undef HAVE_STRUCT_UCRED_UID
|
#undef HAVE_STRUCT_UCRED_UID
|
||||||
|
|
||||||
/* Define to 1 if you have the mISDN Supplemental Services library. */
|
/* Define to 1 if you have the mISDN Supplemental Services library. */
|
||||||
@@ -1117,6 +1117,9 @@
|
|||||||
/* Define to the one symbol short name of this package. */
|
/* Define to the one symbol short name of this package. */
|
||||||
#undef PACKAGE_TARNAME
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the home page for this package. */
|
||||||
|
#undef PACKAGE_URL
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user