From 0eab3408034f1c8ddef8701c10f0e3b0c1314356 Mon Sep 17 00:00:00 2001 From: gb Date: Thu, 25 Mar 2010 10:04:39 +0000 Subject: [PATCH] Move __attribute__((visibility("hidden"))) check down. --- configure.ac | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/configure.ac b/configure.ac index a4b9ad3a1b..a8d73a0849 100644 --- a/configure.ac +++ b/configure.ac @@ -57,6 +57,19 @@ AC_SUBST(GST_VAAPI_MAJOR_VERSION) LIBVA_SDS_PACKAGE_VERSION=libva_sds_package_version AC_SUBST(LIBVA_SDS_PACKAGE_VERSION) +dnl Versions for GStreamer and plugins-base +GST_MAJORMINOR=gst_major_minor_version +GST_VERSION_REQUIRED=gst_version +GST_PLUGINS_BASE_VERSION_REQUIRED=gst_plugins_base_version +AC_SUBST(GST_MAJORMINOR) +AC_SUBST(GST_VERSION_REQUIRED) +AC_SUBST(GST_PLUGINS_BASE_VERSION_REQUIRED) + +dnl Check for tools +AC_PROG_CC +AM_PROG_CC_C_O +AC_PROG_LIBTOOL + dnl Check for __attribute__((visibility())) AC_CACHE_CHECK([whether __attribute__((visibility())) is supported], vaapi_cv_visibility_attribute, @@ -83,19 +96,6 @@ AC_DEFINE_UNQUOTED([attribute_hidden], [$vaapi_cv_visibility_attribute_hidden], [Define the "hidden" visibility attribute]) -dnl Versions for GStreamer and plugins-base -GST_MAJORMINOR=gst_major_minor_version -GST_VERSION_REQUIRED=gst_version -GST_PLUGINS_BASE_VERSION_REQUIRED=gst_plugins_base_version -AC_SUBST(GST_MAJORMINOR) -AC_SUBST(GST_VERSION_REQUIRED) -AC_SUBST(GST_PLUGINS_BASE_VERSION_REQUIRED) - -dnl Check for tools -AC_PROG_CC -AM_PROG_CC_C_O -AC_PROG_LIBTOOL - dnl Check for Gtk doc GTKDOC_VERSION=gtkdoc_version GTK_DOC_CHECK([$GTKDOC_VERSION])