|
|
|
@ -663,6 +663,10 @@ PWLIB_LIBDIR
|
|
|
|
|
PWLIB_INCDIR
|
|
|
|
|
PWLIBDIR
|
|
|
|
|
PTLIB_CONFIG
|
|
|
|
|
PYTHONDEV_LIBS
|
|
|
|
|
PYTHONDEV_CFLAGS
|
|
|
|
|
PYTHONDEV_INCLUDE
|
|
|
|
|
PYTHONDEV_LIB
|
|
|
|
|
PJPROJECT_LIBS
|
|
|
|
|
PJPROJECT_CFLAGS
|
|
|
|
|
PG_CONFIG
|
|
|
|
@ -1416,6 +1420,8 @@ LIBEDIT_CFLAGS
|
|
|
|
|
LIBEDIT_LIBS
|
|
|
|
|
PJPROJECT_CFLAGS
|
|
|
|
|
PJPROJECT_LIBS
|
|
|
|
|
PYTHONDEV_CFLAGS
|
|
|
|
|
PYTHONDEV_LIBS
|
|
|
|
|
GMIME_CFLAGS
|
|
|
|
|
GMIME_LIBS
|
|
|
|
|
GTK2_CFLAGS
|
|
|
|
@ -2158,6 +2164,10 @@ Some influential environment variables:
|
|
|
|
|
C compiler flags for PJPROJECT, overriding pkg-config
|
|
|
|
|
PJPROJECT_LIBS
|
|
|
|
|
linker flags for PJPROJECT, overriding pkg-config
|
|
|
|
|
PYTHONDEV_CFLAGS
|
|
|
|
|
C compiler flags for PYTHONDEV, overriding pkg-config
|
|
|
|
|
PYTHONDEV_LIBS
|
|
|
|
|
linker flags for PYTHONDEV, overriding pkg-config
|
|
|
|
|
GMIME_CFLAGS
|
|
|
|
|
C compiler flags for GMIME, overriding pkg-config
|
|
|
|
|
GMIME_LIBS linker flags for GMIME, overriding pkg-config
|
|
|
|
@ -25172,6 +25182,97 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x${PBX_PYTHONDEV}" != "x1" -a "${USE_PYTHONDEV}" != "no"; then
|
|
|
|
|
|
|
|
|
|
pkg_failed=no
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHONDEV" >&5
|
|
|
|
|
$as_echo_n "checking for PYTHONDEV... " >&6; }
|
|
|
|
|
|
|
|
|
|
if test -n "$PYTHONDEV_CFLAGS"; then
|
|
|
|
|
pkg_cv_PYTHONDEV_CFLAGS="$PYTHONDEV_CFLAGS"
|
|
|
|
|
elif test -n "$PKG_CONFIG"; then
|
|
|
|
|
if test -n "$PKG_CONFIG" && \
|
|
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
|
|
|
|
|
($PKG_CONFIG --exists --print-errors "python") 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
|
|
test $ac_status = 0; }; then
|
|
|
|
|
pkg_cv_PYTHONDEV_CFLAGS=`$PKG_CONFIG --cflags "python" 2>/dev/null`
|
|
|
|
|
test "x$?" != "x0" && pkg_failed=yes
|
|
|
|
|
else
|
|
|
|
|
pkg_failed=yes
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
pkg_failed=untried
|
|
|
|
|
fi
|
|
|
|
|
if test -n "$PYTHONDEV_LIBS"; then
|
|
|
|
|
pkg_cv_PYTHONDEV_LIBS="$PYTHONDEV_LIBS"
|
|
|
|
|
elif test -n "$PKG_CONFIG"; then
|
|
|
|
|
if test -n "$PKG_CONFIG" && \
|
|
|
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"python\""; } >&5
|
|
|
|
|
($PKG_CONFIG --exists --print-errors "python") 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
|
|
test $ac_status = 0; }; then
|
|
|
|
|
pkg_cv_PYTHONDEV_LIBS=`$PKG_CONFIG --libs "python" 2>/dev/null`
|
|
|
|
|
test "x$?" != "x0" && pkg_failed=yes
|
|
|
|
|
else
|
|
|
|
|
pkg_failed=yes
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
pkg_failed=untried
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test $pkg_failed = yes; then
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
|
|
|
|
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
|
|
|
_pkg_short_errors_supported=yes
|
|
|
|
|
else
|
|
|
|
|
_pkg_short_errors_supported=no
|
|
|
|
|
fi
|
|
|
|
|
if test $_pkg_short_errors_supported = yes; then
|
|
|
|
|
PYTHONDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "python" 2>&1`
|
|
|
|
|
else
|
|
|
|
|
PYTHONDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "python" 2>&1`
|
|
|
|
|
fi
|
|
|
|
|
# Put the nasty error message in config.log where it belongs
|
|
|
|
|
echo "$PYTHONDEV_PKG_ERRORS" >&5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PBX_PYTHONDEV=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
elif test $pkg_failed = untried; then
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
|
|
|
|
|
PBX_PYTHONDEV=0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
PYTHONDEV_CFLAGS=$pkg_cv_PYTHONDEV_CFLAGS
|
|
|
|
|
PYTHONDEV_LIBS=$pkg_cv_PYTHONDEV_LIBS
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }
|
|
|
|
|
|
|
|
|
|
PBX_PYTHONDEV=1
|
|
|
|
|
PYTHONDEV_INCLUDE="$PYTHONDEV_CFLAGS"
|
|
|
|
|
PYTHONDEV_LIB="$PYTHONDEV_LIBS"
|
|
|
|
|
|
|
|
|
|
$as_echo "#define HAVE_PYTHONDEV 1" >>confdefs.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x${PBX_POPT}" != "x1" -a "${USE_POPT}" != "no"; then
|
|
|
|
|
pbxlibdir=""
|
|
|
|
|
# if --with-POPT=DIR has been specified, use it.
|
|
|
|
|