From: gb Date: Thu, 25 Mar 2010 10:04:39 +0000 (+0000) Subject: Move __attribute__((visibility("hidden"))) check down. X-Git-Tag: 0.1.2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0eab3408034f1c8ddef8701c10f0e3b0c1314356;p=platform%2Fupstream%2Fgstreamer-vaapi.git Move __attribute__((visibility("hidden"))) check down. --- diff --git a/configure.ac b/configure.ac index a4b9ad3..a8d73a0 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])