2006-04-01 10:07:07 +00:00
|
|
|
AC_PREREQ(2.52)
|
2004-03-05 10:46:24 +00:00
|
|
|
|
2006-04-01 10:07:07 +00:00
|
|
|
dnl initialize autoconf
|
2004-06-21 09:52:03 +00:00
|
|
|
dnl when going to/from release please set the nano (fourth number) right !
|
2006-04-01 10:07:07 +00:00
|
|
|
dnl releases only do Wall, cvs and prerelease does Werror too
|
2009-01-19 23:18:26 +00:00
|
|
|
AC_INIT(GStreamer Python Bindings, 0.10.14,
|
2006-04-01 10:07:07 +00:00
|
|
|
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
|
|
|
|
gst-python)
|
2004-03-05 10:46:24 +00:00
|
|
|
|
2007-02-28 22:09:33 +00:00
|
|
|
AG_GST_INIT
|
|
|
|
|
2006-04-01 10:07:07 +00:00
|
|
|
dnl initialize automake
|
|
|
|
AM_INIT_AUTOMAKE
|
2004-03-05 10:46:24 +00:00
|
|
|
|
2006-04-01 10:07:07 +00:00
|
|
|
dnl define PACKAGE_VERSION_* variables
|
|
|
|
AS_VERSION
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2006-04-01 10:07:07 +00:00
|
|
|
dnl check if this is a release version
|
|
|
|
AS_NANO(GST_CVS="no", GST_CVS="yes")
|
|
|
|
|
|
|
|
dnl can autoconf find the source ?
|
2004-03-04 11:32:46 +00:00
|
|
|
AC_CONFIG_SRCDIR([gst/gstmodule.c])
|
2006-04-01 10:07:07 +00:00
|
|
|
|
|
|
|
dnl define the output header for config
|
|
|
|
AM_CONFIG_HEADER([config.h])
|
|
|
|
|
|
|
|
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
|
|
|
AC_DEFINE_UNQUOTED(PYGST_MAJOR_VERSION, $PACKAGE_VERSION_MAJOR, [PyGst major version])
|
|
|
|
AC_DEFINE_UNQUOTED(PYGST_MINOR_VERSION, $PACKAGE_VERSION_MINOR, [PyGst minor version])
|
2006-04-05 11:55:48 +00:00
|
|
|
AC_DEFINE_UNQUOTED(PYGST_MICRO_VERSION, $PACKAGE_VERSION_MICRO, [PyGst micro version])
|
|
|
|
AC_DEFINE_UNQUOTED(PYGST_NANO_VERSION, $PACKAGE_VERSION_NANO, [PyGst nano version])
|
2008-01-16 16:09:39 +00:00
|
|
|
AC_SUBST(PACKAGE_VERSION_MAJOR)
|
|
|
|
AC_SUBST(PACKAGE_VERSION_MINOR)
|
|
|
|
AC_SUBST(PACKAGE_VERSION_MICRO)
|
|
|
|
AC_SUBST(PACKAGE_VERSION_NANO)
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2003-06-11 20:32:29 +00:00
|
|
|
dnl Add parameters for aclocal
|
2005-10-26 15:13:00 +00:00
|
|
|
AC_SUBST(ACLOCAL_AMFLAGS, "-I common/m4")
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2003-06-11 20:32:29 +00:00
|
|
|
dnl required versions of other packages
|
2005-10-06 10:54:14 +00:00
|
|
|
AC_SUBST(PYGTK_REQ, 2.6.3)
|
2006-08-21 11:31:51 +00:00
|
|
|
AC_SUBST(PYGOBJECT_REQ, 2.11.2)
|
2006-07-02 15:25:04 +00:00
|
|
|
AC_SUBST(GLIB_REQ, 2.8.0)
|
2005-10-03 17:52:07 +00:00
|
|
|
AC_SUBST(GTK_REQ, 2.6.0)
|
2008-01-13 21:51:31 +00:00
|
|
|
AC_SUBST(GST_REQ, 0.10.12)
|
|
|
|
AC_SUBST(GSTPB_REQ, 0.10.12)
|
2005-06-17 10:59:47 +00:00
|
|
|
|
2002-03-24 04:32:10 +00:00
|
|
|
AC_DISABLE_STATIC
|
2008-04-06 08:58:39 +00:00
|
|
|
|
|
|
|
AC_LIBTOOL_WIN32_DLL
|
2002-03-24 04:32:10 +00:00
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
|
2008-01-10 12:51:21 +00:00
|
|
|
dnl find a compiler
|
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
dnl check if the compiler supports '-c' and '-o' options
|
|
|
|
AM_PROG_CC_C_O
|
|
|
|
|
2007-02-28 22:09:33 +00:00
|
|
|
AG_GST_ARG_GCOV
|
2006-07-03 13:32:08 +00:00
|
|
|
|
2002-03-24 04:32:10 +00:00
|
|
|
dnl check for python
|
|
|
|
dnl AM_PATH_PYTHON(2.2)
|
|
|
|
AM_PATH_PYTHON
|
2004-08-03 17:07:38 +00:00
|
|
|
AC_MSG_CHECKING(for python >= 2.3)
|
2002-03-24 04:32:10 +00:00
|
|
|
prog="
|
|
|
|
import sys, string
|
2004-08-03 17:07:38 +00:00
|
|
|
minver = (2,3,0,'final',0)
|
2002-03-24 04:32:10 +00:00
|
|
|
if sys.version_info < minver:
|
|
|
|
sys.exit(1)
|
|
|
|
sys.exit(0)"
|
2003-06-11 20:32:29 +00:00
|
|
|
|
2002-03-24 04:32:10 +00:00
|
|
|
if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
|
|
|
|
then
|
|
|
|
AC_MSG_RESULT(okay)
|
|
|
|
else
|
|
|
|
AC_MSG_ERROR(too old)
|
|
|
|
fi
|
|
|
|
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
|
|
|
|
Mass change to support compiling for both 0.6 and 0.7. Common support is now in common.{defs,override,c,h}. Specifi...
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
2003-10-10 04:21:21 +00:00
|
|
|
dnl check for GStreamer
|
2005-12-01 19:15:26 +00:00
|
|
|
GST_MAJORMINOR=0.10
|
2004-03-18 15:44:52 +00:00
|
|
|
AC_SUBST(GST_MAJORMINOR)
|
2004-03-16 18:57:10 +00:00
|
|
|
PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ)
|
2004-03-12 16:08:48 +00:00
|
|
|
AC_SUBST(GST_CFLAGS)
|
2004-03-12 16:13:09 +00:00
|
|
|
AC_SUBST(GST_LIBS)
|
2003-06-11 20:32:29 +00:00
|
|
|
|
2006-03-14 12:56:46 +00:00
|
|
|
dnl get the installed GStreamer core version
|
|
|
|
GST_MINOR_VERSION=`$PKG_CONFIG --modversion gstreamer-$GST_MAJORMINOR | cut -f 3 -d.`
|
2007-01-29 12:27:46 +00:00
|
|
|
GST_PB_MINOR_VERSION=`$PKG_CONFIG --modversion gstreamer-plugins-base-$GST_MAJORMINOR | cut -f 3 -d.`
|
2006-03-24 11:07:22 +00:00
|
|
|
GST_CVS_VERSION=`$PKG_CONFIG --modversion gstreamer-$GST_MAJORMINOR | cut -f 4 -d.`
|
2006-03-14 12:56:46 +00:00
|
|
|
|
|
|
|
echo "Building against GStreamer core 0.10.$GST_MINOR_VERSION , ignoring API additions if needed"
|
|
|
|
|
|
|
|
dnl Magic for allowing new API additions without forcing dependency on new core
|
|
|
|
dnl release. The lines do the magic so that new API additions are ignored at
|
|
|
|
dnl compile time.
|
|
|
|
dnl * Also see gst/gstversion.override.in and gst-0.10.*.override
|
|
|
|
dnl The following lines should be updated whenever:
|
|
|
|
dnl _ GST_REQ is up-ed (remove obsolete lines + gst-0.10.MINOR.ignore)
|
|
|
|
dnl _ new core/base is released (add lines + gst-0.10.MINOR.ignore)
|
|
|
|
|
2006-03-30 03:46:56 +00:00
|
|
|
if test "x$GST_CVS_VERSION" = "x"
|
2006-03-14 12:56:46 +00:00
|
|
|
then
|
2007-06-08 15:16:08 +00:00
|
|
|
if test $GST_MINOR_VERSION -lt "13"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_13="gst-0.10.13.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_13=""
|
|
|
|
fi
|
|
|
|
|
2007-07-28 14:22:49 +00:00
|
|
|
if test $GST_MINOR_VERSION -lt "14"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_14="gst-0.10.14.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_14=""
|
|
|
|
fi
|
|
|
|
|
2007-10-09 16:17:28 +00:00
|
|
|
if test $GST_MINOR_VERSION -lt "15"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_15="gst-0.10.15.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_15=""
|
|
|
|
fi
|
|
|
|
|
2008-01-14 12:44:06 +00:00
|
|
|
if test $GST_MINOR_VERSION -lt "16"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_16="gst-0.10.16.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_16=""
|
|
|
|
fi
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
if test $GST_MINOR_VERSION -lt "18"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_18="gst-0.10.18.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_18=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test $GST_MINOR_VERSION -lt "20"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_20="gst-0.10.20.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_20=""
|
|
|
|
fi
|
|
|
|
|
2008-09-09 10:41:27 +00:00
|
|
|
if test $GST_MINOR_VERSION -lt "21"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_21="gst-0.10.21.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_21=""
|
|
|
|
fi
|
|
|
|
|
2008-12-30 19:20:31 +00:00
|
|
|
if test $GST_MINOR_VERSION -lt "22"
|
|
|
|
then
|
|
|
|
IGNORE_GST_0_10_22="gst-0.10.22.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_0_10_22=""
|
|
|
|
fi
|
|
|
|
|
2007-04-23 14:42:25 +00:00
|
|
|
dnl plugins base
|
2007-07-28 14:22:49 +00:00
|
|
|
if test $GST_PB_MINOR_VERSION -lt "14"
|
|
|
|
then
|
|
|
|
IGNORE_GST_PB_0_10_14="gst-pb-0.10.14.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_PB_0_10_14=""
|
|
|
|
fi
|
|
|
|
|
2008-01-14 12:44:06 +00:00
|
|
|
if test $GST_PB_MINOR_VERSION -lt "16"
|
2007-10-09 16:17:28 +00:00
|
|
|
then
|
2008-01-14 12:44:06 +00:00
|
|
|
IGNORE_GST_PB_0_10_16="gst-pb-0.10.16.ignore"
|
2007-10-09 16:17:28 +00:00
|
|
|
else
|
2008-01-14 12:44:06 +00:00
|
|
|
IGNORE_GST_PB_0_10_16=""
|
|
|
|
AC_DEFINE_UNQUOTED(HAVE_PLUGINS_INSTALL, 1, [We can use the plugins-install methods])
|
2007-10-09 16:17:28 +00:00
|
|
|
fi
|
|
|
|
|
2008-07-02 11:23:39 +00:00
|
|
|
if test $GST_PB_MINOR_VERSION -lt "18"
|
|
|
|
then
|
|
|
|
IGNORE_GST_PB_0_10_18="gst-pb-0.10.18.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_PB_0_10_18=""
|
|
|
|
fi
|
|
|
|
|
2008-12-31 12:01:02 +00:00
|
|
|
if test $GST_PB_MINOR_VERSION -ge "22"
|
|
|
|
then
|
|
|
|
AC_DEFINE_UNQUOTED(HAVE_GST_AUDIO, 1, [We can use the gst-audio library])
|
2008-12-31 13:06:58 +00:00
|
|
|
AC_DEFINE_UNQUOTED(HAVE_GST_VIDEO, 1, [We can use the gst-video library])
|
2008-12-31 13:32:58 +00:00
|
|
|
AC_DEFINE_UNQUOTED(HAVE_GST_TAG, 1, [We can use the gst-tag library])
|
2008-12-31 12:01:02 +00:00
|
|
|
fi
|
|
|
|
|
2006-03-14 12:56:46 +00:00
|
|
|
else
|
2007-06-08 15:16:08 +00:00
|
|
|
IGNORE_GST_0_10_13=""
|
2007-07-28 14:22:49 +00:00
|
|
|
IGNORE_GST_0_10_14=""
|
2007-10-09 16:17:28 +00:00
|
|
|
IGNORE_GST_0_10_15=""
|
2008-01-14 12:44:06 +00:00
|
|
|
IGNORE_GST_0_10_16=""
|
2008-07-02 11:23:39 +00:00
|
|
|
IGNORE_GST_0_10_18=""
|
|
|
|
IGNORE_GST_0_10_20=""
|
2008-09-09 10:41:27 +00:00
|
|
|
IGNORE_GST_0_10_21=""
|
2008-12-30 19:20:31 +00:00
|
|
|
IGNORE_GST_0_10_22=""
|
2007-07-28 14:22:49 +00:00
|
|
|
IGNORE_GST_PB_0_10_14=""
|
2008-01-14 12:44:06 +00:00
|
|
|
IGNORE_GST_PB_0_10_16=""
|
2008-07-02 11:23:39 +00:00
|
|
|
IGNORE_GST_PB_0_10_18=""
|
2008-01-14 12:44:06 +00:00
|
|
|
AC_DEFINE_UNQUOTED(HAVE_PLUGINS_INSTALL, 1, [We can use the plugins-install methods])
|
2008-12-31 12:01:02 +00:00
|
|
|
AC_DEFINE_UNQUOTED(HAVE_GST_AUDIO, 1, [We can use the gst-audio library])
|
2008-12-31 13:06:58 +00:00
|
|
|
AC_DEFINE_UNQUOTED(HAVE_GST_VIDEO, 1, [We can use the gst-video library])
|
2008-12-31 13:32:58 +00:00
|
|
|
AC_DEFINE_UNQUOTED(HAVE_GST_TAG, 1, [We can use the gst-tag library])
|
2006-03-14 12:56:46 +00:00
|
|
|
fi
|
2008-01-13 21:51:31 +00:00
|
|
|
AC_DEFINE_UNQUOTED(HAVE_VIDEO_ORIENTATION_INTERFACE, 1, [We can use the videoorientation interface])
|
2007-06-08 15:16:08 +00:00
|
|
|
AC_SUBST(IGNORE_GST_0_10_13)
|
2007-07-28 14:22:49 +00:00
|
|
|
AC_SUBST(IGNORE_GST_0_10_14)
|
2007-10-09 16:17:28 +00:00
|
|
|
AC_SUBST(IGNORE_GST_0_10_15)
|
2008-01-14 12:44:06 +00:00
|
|
|
AC_SUBST(IGNORE_GST_0_10_16)
|
2008-07-02 11:23:39 +00:00
|
|
|
AC_SUBST(IGNORE_GST_0_10_18)
|
|
|
|
AC_SUBST(IGNORE_GST_0_10_20)
|
2008-09-09 10:41:27 +00:00
|
|
|
AC_SUBST(IGNORE_GST_0_10_21)
|
2008-12-30 19:20:31 +00:00
|
|
|
AC_SUBST(IGNORE_GST_0_10_22)
|
2007-07-28 14:22:49 +00:00
|
|
|
AC_SUBST(IGNORE_GST_PB_0_10_14)
|
2008-01-14 12:44:06 +00:00
|
|
|
AC_SUBST(IGNORE_GST_PB_0_10_16)
|
2008-07-02 11:23:39 +00:00
|
|
|
AC_SUBST(IGNORE_GST_PB_0_10_18)
|
2007-01-29 11:16:35 +00:00
|
|
|
AC_SUBST(HAVE_VIDEO_ORIENTATION)
|
2008-01-14 12:44:06 +00:00
|
|
|
AC_SUBST(HAVE_PLUGINS_INSTALL)
|
2008-12-31 12:01:02 +00:00
|
|
|
AM_CONDITIONAL(HAVE_GST_AUDIO, $HAVE_GST_AUDIO)
|
2008-12-31 13:06:58 +00:00
|
|
|
AM_CONDITIONAL(HAVE_GST_VIDEO, $HAVE_GST_VIDEO)
|
2008-12-31 13:32:58 +00:00
|
|
|
AM_CONDITIONAL(HAVE_GST_TAG, $HAVE_GST_TAG)
|
2006-03-14 12:56:46 +00:00
|
|
|
|
2005-08-03 16:54:57 +00:00
|
|
|
dnl check for gstreamer-base; uninstalled is selected preferentially
|
|
|
|
PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQ,
|
|
|
|
HAVE_GST_BASE="yes", HAVE_GST_BASE="no")
|
|
|
|
|
|
|
|
if test "x$HAVE_GST_BASE" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no GStreamer Base Libs found)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(GST_BASE_LIBS)
|
|
|
|
AC_SUBST(GST_BASE_CFLAGS)
|
|
|
|
|
2007-04-23 14:42:25 +00:00
|
|
|
|
|
|
|
dnl check for gstreamer core features (subsystems)
|
|
|
|
GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
|
|
|
|
AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH)
|
|
|
|
if test $GST_DISABLE_LOADSAVE = "1"; then
|
|
|
|
AC_MSG_WARN("Load/Save XML persistence disabled")
|
2007-05-23 09:49:07 +00:00
|
|
|
IGNORE_GST_LOADSAVE="gst-disable-loadsave.ignore"
|
|
|
|
else
|
|
|
|
IGNORE_GST_LOADSAVE=""
|
2007-04-23 14:42:25 +00:00
|
|
|
fi
|
2007-05-23 09:49:07 +00:00
|
|
|
AC_SUBST(IGNORE_GST_LOADSAVE)
|
2007-04-23 14:42:25 +00:00
|
|
|
|
2005-08-03 16:54:57 +00:00
|
|
|
dnl check for gstreamer-controller
|
|
|
|
PKG_CHECK_MODULES(GST_CONTROLLER, gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ,
|
|
|
|
HAVE_GST_CONTROLLER="yes", HAVE_GST_CONTROLLER="no")
|
|
|
|
|
|
|
|
if test "x$HAVE_GST_CONTROLLER" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no GStreamer Controller Libs found)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(GST_CONTROLLER_LIBS)
|
|
|
|
AC_SUBST(GST_CONTROLLER_CFLAGS)
|
|
|
|
|
2005-11-18 16:26:05 +00:00
|
|
|
dnl check for gstreamer-net
|
|
|
|
PKG_CHECK_MODULES(GST_NET, gstreamer-net-$GST_MAJORMINOR >= $GST_REQ,
|
|
|
|
HAVE_GST_NET="yes", HAVE_GST_NET="no")
|
|
|
|
|
|
|
|
if test "x$HAVE_GST_NET" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no GStreamer Networking Libs found)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(GST_NET_LIBS)
|
|
|
|
AC_SUBST(GST_NET_CFLAGS)
|
|
|
|
|
2006-01-30 12:57:02 +00:00
|
|
|
dnl check for gstreamer-dataprotocol
|
|
|
|
PKG_CHECK_MODULES(GST_DP, gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ,
|
|
|
|
HAVE_GST_DP="yes", HAVE_GST_DP="no")
|
|
|
|
|
|
|
|
if test "x$HAVE_GST_DP" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no GStreamer Data Protocol Libs found)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(GST_DP_LIBS)
|
|
|
|
AC_SUBST(GST_DP_CFLAGS)
|
|
|
|
|
|
|
|
|
2005-12-14 17:18:38 +00:00
|
|
|
dnl check for gst-plugins-base
|
2005-12-20 15:58:02 +00:00
|
|
|
PKG_CHECK_MODULES(GST_PLUGINS_BASE, gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ,
|
2005-12-01 12:34:46 +00:00
|
|
|
HAVE_GST_PLUGINS_BASE="yes", HAVE_GST_PLUGINS_BASE="no")
|
|
|
|
|
|
|
|
if test "x$HAVE_GST_PLUGINS_BASE" = "xno"; then
|
|
|
|
AC_MSG_ERROR(no gst-plugins-base found)
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(GST_PLUGINS_BASE_LIBS)
|
|
|
|
AC_SUBST(GST_PLUGINS_BASE_CFLAGS)
|
|
|
|
|
2005-08-03 16:54:57 +00:00
|
|
|
|
2006-08-21 11:31:51 +00:00
|
|
|
dnl check for pygobject
|
|
|
|
PKG_CHECK_MODULES(PYGOBJECT, pygobject-2.0 >= $PYGOBJECT_REQ,
|
2007-01-17 06:15:33 +00:00
|
|
|
[
|
|
|
|
HAVE_PYGOBJECT="yes"
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
], HAVE_PYGOBJECT="no")
|
2002-03-24 04:32:10 +00:00
|
|
|
|
2006-08-21 11:31:51 +00:00
|
|
|
if test "x$HAVE_PYGOBJECT" = "xno"; then
|
|
|
|
dnl If we don't have pygobject, then check for pygtk
|
|
|
|
dnl check for pygtk
|
|
|
|
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= $PYGTK_REQ)
|
2006-08-21 11:43:01 +00:00
|
|
|
AC_SUBST(PYGTK_CFLAGS)
|
2006-08-21 12:55:37 +00:00
|
|
|
PYGOBJECT_CFLAGS="\$(PYGTK_CFLAGS)"
|
2006-08-21 11:31:51 +00:00
|
|
|
fi
|
|
|
|
AC_SUBST(PYGOBJECT_CFLAGS)
|
2004-03-05 10:46:24 +00:00
|
|
|
|
2007-01-17 06:15:33 +00:00
|
|
|
dnl FIXME: check for a pygobject with a correct pyg_param_gvalue_from_pyobject
|
|
|
|
PKG_CHECK_MODULES(PYGOBJECT_2_12, pygobject-2.0 >= 2.11.1,
|
|
|
|
[
|
|
|
|
HAVE_PYGOBJECT_2_12="yes"
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
AC_DEFINE_UNQUOTED(HAVE_PYGOBJECT_2_12, 1,
|
|
|
|
[Defined if we have a 2.12 series pygobject])
|
|
|
|
], HAVE_PYGOBJECT_2_12="no")
|
|
|
|
|
2007-11-08 10:51:07 +00:00
|
|
|
dnl FIXME: check for a pygobject which exports pyg_option_group_new
|
|
|
|
PKG_CHECK_MODULES(PYGOBJECT_2_16, pygobject-2.0 >= 2.15.0,
|
|
|
|
[
|
|
|
|
HAVE_PYGOBJECT_2_16="yes"
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
AC_DEFINE_UNQUOTED(HAVE_PYGOBJECT_2_16, 1,
|
|
|
|
[Defined if we have a 2.16 series pygobject])
|
|
|
|
], HAVE_PYGOBJECT_2_16="no")
|
|
|
|
|
|
|
|
AM_CONDITIONAL(HAVE_PYGOBJECT_2_16, test x$HAVE_PYGOBJECT_2_16 != xno)
|
|
|
|
|
2006-07-03 13:32:08 +00:00
|
|
|
dnl define an ERROR_CFLAGS Makefile variable
|
2007-02-28 22:09:33 +00:00
|
|
|
AG_GST_SET_ERROR_CFLAGS($GST_CVS)
|
2005-06-17 10:59:47 +00:00
|
|
|
|
2006-07-03 13:32:08 +00:00
|
|
|
GST_OPTION_CFLAGS="\$(ERROR_CFLAGS) \$(GCOV_CFLAGS)"
|
|
|
|
AC_SUBST(GST_OPTION_CFLAGS)
|
|
|
|
GST_OPTION_LIBS="\$(GCOV_LIBS)"
|
|
|
|
AC_SUBST(GST_OPTION_LIBS)
|
2003-07-09 23:22:13 +00:00
|
|
|
|
2005-07-01 10:47:25 +00:00
|
|
|
dnl full installation path
|
|
|
|
AS_AC_EXPAND(PYTHONDIR, $pythondir)
|
2005-12-14 17:18:38 +00:00
|
|
|
AS_AC_EXPAND(PYEXECDIR, $pyexecdir)
|
2005-07-01 10:47:25 +00:00
|
|
|
|
2002-03-24 04:32:10 +00:00
|
|
|
dnl add debugging options ...
|
2006-01-01 21:18:28 +00:00
|
|
|
# changequote(,)dnl
|
|
|
|
# if test "x$GCC" = xyes; then
|
|
|
|
# case " $CFLAGS " in
|
|
|
|
# *[\ \ ]-Wall[\ \ ]*) ;;
|
|
|
|
# *) CFLAGS="$CFLAGS -Wall" ;;
|
|
|
|
# esac
|
|
|
|
|
|
|
|
# case " $CFLAGS " in
|
|
|
|
# *[\ \ ]-std=c9x[\ \ ]*) ;;
|
|
|
|
# *) CFLAGS="$CFLAGS -std=c9x" ;;
|
|
|
|
# esac
|
|
|
|
# fi
|
|
|
|
# changequote([,])dnl
|
2003-06-11 20:32:29 +00:00
|
|
|
|
2007-02-28 22:09:33 +00:00
|
|
|
AG_GST_VALGRIND_CHECK
|
2005-10-07 07:19:17 +00:00
|
|
|
|
2003-06-11 20:32:29 +00:00
|
|
|
AC_OUTPUT([
|
2002-03-24 04:32:10 +00:00
|
|
|
Makefile
|
2005-10-03 17:52:07 +00:00
|
|
|
codegen/Makefile
|
2008-12-05 08:49:05 +00:00
|
|
|
common/Makefile
|
|
|
|
common/m4/Makefile
|
2004-03-04 11:32:46 +00:00
|
|
|
gst/Makefile
|
2006-03-14 12:56:46 +00:00
|
|
|
gst/gstversion.override
|
2005-10-04 14:59:07 +00:00
|
|
|
gst/extend/Makefile
|
2005-10-03 17:52:07 +00:00
|
|
|
examples/Makefile
|
2003-06-26 07:40:13 +00:00
|
|
|
pkgconfig/Makefile
|
|
|
|
pkgconfig/gst-python.pc
|
|
|
|
pkgconfig/gst-python-uninstalled.pc
|
2003-10-04 13:37:45 +00:00
|
|
|
testsuite/Makefile
|
2007-07-27 11:47:16 +00:00
|
|
|
win32/common/config.h
|
2003-06-11 20:32:29 +00:00
|
|
|
gst-python.spec
|
|
|
|
])
|