mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
added configure check for POPT_TABLEEND
Original commit message from CVS: added configure check for POPT_TABLEEND
This commit is contained in:
parent
8644cd03d6
commit
e616bfb44e
2 changed files with 23 additions and 3 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 4ed4b888250d1081585717504b571ebf2de72c60
|
||||
Subproject commit 316e406cd246e8cbccdf4df4ce32e98c63d7cc72
|
24
configure.ac
24
configure.ac
|
@ -140,9 +140,29 @@ AC_SUBST(LIBXML_PKG)
|
|||
AC_SUBST(XML_LIBS)
|
||||
AC_SUBST(XML_CFLAGS)
|
||||
|
||||
dnl popt checks
|
||||
GST_CHECK_LIBHEADER(POPT, popt, poptStrippedArgv,, popt.h, POPT_LIBS="-lpopt",
|
||||
AC_MSG_ERROR([popt 1.5 or newer is required to build gstreamer. You can
|
||||
download the latest version from ftp://people.redhat.com/sopwith/popt/]))
|
||||
AC_MSG_ERROR([popt 1.6.1 or newer is required to build gstreamer. You can
|
||||
download the latest version from
|
||||
ftp://people.redhat.com/sopwith/popt/])
|
||||
)
|
||||
AC_MSG_NOTICE(Checking for POPT_TABLEEND)
|
||||
AC_TRY_RUN([
|
||||
#include <popt.h>
|
||||
int main ()
|
||||
{
|
||||
#ifndef POPT_TABLEEND
|
||||
return 1;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
],, [
|
||||
dnl it failed
|
||||
AC_MSG_ERROR([popt 1.6.1 or newer is required to build gstreamer. You can
|
||||
download the latest version from
|
||||
ftp://people.redhat.com/sopwith/popt/])
|
||||
])
|
||||
|
||||
dnl Check for atomic.h
|
||||
dnl Note: use AC_CHECK_HEADER not AC_CHECK_HEADERS, because the latter
|
||||
|
|
Loading…
Reference in a new issue