Move __attribute__((visibility("hidden"))) check down.

This commit is contained in:
gb 2010-03-25 10:04:39 +00:00
parent 1703ef2aca
commit 0eab340803

View file

@ -57,6 +57,19 @@ AC_SUBST(GST_VAAPI_MAJOR_VERSION)
LIBVA_SDS_PACKAGE_VERSION=libva_sds_package_version LIBVA_SDS_PACKAGE_VERSION=libva_sds_package_version
AC_SUBST(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())) dnl Check for __attribute__((visibility()))
AC_CACHE_CHECK([whether __attribute__((visibility())) is supported], AC_CACHE_CHECK([whether __attribute__((visibility())) is supported],
vaapi_cv_visibility_attribute, vaapi_cv_visibility_attribute,
@ -83,19 +96,6 @@ AC_DEFINE_UNQUOTED([attribute_hidden],
[$vaapi_cv_visibility_attribute_hidden], [$vaapi_cv_visibility_attribute_hidden],
[Define the "hidden" visibility attribute]) [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 dnl Check for Gtk doc
GTKDOC_VERSION=gtkdoc_version GTKDOC_VERSION=gtkdoc_version
GTK_DOC_CHECK([$GTKDOC_VERSION]) GTK_DOC_CHECK([$GTKDOC_VERSION])