From 2aff72a0b01b4a9583129216bfb09ad9bb2f451e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 16 Apr 2012 09:16:10 +0200 Subject: [PATCH] configure: Modernize autotools setup a bit Also we now only create tar.bz2 and tar.xz tarballs. --- configure.ac | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index 8a30952367..4e7d5507a2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_PREREQ(2.60) +AC_PREREQ(2.62) dnl please read gstreamer/docs/random/autotools before changing this file @@ -12,7 +12,7 @@ AC_INIT(GStreamer OpenMAX Plug-ins, 0.11.0.1, AG_GST_INIT dnl initialize automake -AM_INIT_AUTOMAKE([-Wno-portability 1.10]) +AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar]) dnl define PACKAGE_VERSION_* variables AS_VERSION @@ -27,7 +27,7 @@ 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 +AM_MAINTAINER_MODE([enable]) dnl sets host_* variables AC_CANONICAL_HOST @@ -45,14 +45,7 @@ AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION", [GStreamer API Version]) AG_GST_LIBTOOL_PREPARE - -dnl FIXME: this macro doesn't actually work; -dnl the generated libtool script has no support for the listed tags. -dnl So this needs to be fixed first if we want to use this -dnl AS_LIBTOOL_TAGS - -AC_LIBTOOL_WIN32_DLL -AM_PROG_LIBTOOL +AS_LIBTOOL(GST, 0, 0, 0) dnl *** required versions of GStreamer stuff *** GST_REQ=0.11.90 @@ -116,7 +109,7 @@ AG_GST_PLUGIN_DOCS([1.3],[2.1]) dnl *** checks for libraries *** dnl libm, for sin() etc. -AC_CHECK_LIBM +LT_LIB_M AC_SUBST(LIBM) dnl *** checks for header files ***