mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
configure.ac: Move the checks for bison, flex and as to the program section and the check for gcc inline asm to the c...
Original commit message from CVS: * configure.ac: Move the checks for bison, flex and as to the program section and the check for gcc inline asm to the compiler characteristics section.
This commit is contained in:
parent
ea6cf647fe
commit
b7938d24ee
2 changed files with 21 additions and 12 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-03-03 Peter Kjellerstedt <pkj@axis.com>
|
||||
|
||||
* configure.ac:
|
||||
Move the checks for bison, flex and as to the program section and the
|
||||
check for gcc inline asm to the compiler characteristics section.
|
||||
|
||||
2008-03-03 Peter Kjellerstedt <pkj@axis.com>
|
||||
|
||||
* configure.ac:
|
||||
|
|
27
configure.ac
27
configure.ac
|
@ -112,6 +112,13 @@ AS_PROG_OBJC
|
|||
dnl check if the compiler supports '-c' and '-o' options
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
dnl find an assembler
|
||||
AM_PROG_AS
|
||||
|
||||
dnl we require flex and bison for building the goom plugin
|
||||
AG_GST_BISON_CHECK
|
||||
AG_GST_FLEX_CHECK
|
||||
|
||||
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
|
||||
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
|
||||
|
||||
|
@ -156,6 +163,14 @@ dnl *** checks for structures ***
|
|||
|
||||
dnl *** checks for compiler characteristics ***
|
||||
|
||||
dnl check if we have GCC inline-asm
|
||||
AS_GCC_INLINE_ASSEMBLY([HAVE_GCC_ASM=yes], [HAVE_GCC_ASM=no])
|
||||
if test x$HAVE_GCC_ASM = xyes ; then
|
||||
AC_DEFINE(HAVE_GCC_ASM, 1,
|
||||
[Define if compiler supports gcc inline assembly])
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_GCC_ASM, test "x$HAVE_GCC_ASM" = "xyes")
|
||||
|
||||
dnl FIXME: check if this is used; was used for floatcast.h in base
|
||||
dnl Check for fast float to int casting as defined in C99
|
||||
AC_C99_FUNC_LRINT
|
||||
|
@ -271,18 +286,6 @@ AG_GST_SET_LEVEL_DEFAULT($GST_CVS)
|
|||
dnl used in examples
|
||||
AG_GST_DEFAULT_ELEMENTS
|
||||
|
||||
dnl Check for Yacc and Lex for the goom plugin
|
||||
AG_GST_BISON_CHECK
|
||||
AG_GST_FLEX_CHECK
|
||||
AM_PROG_AS
|
||||
dnl Check if we have GCC inline-asm
|
||||
AS_GCC_INLINE_ASSEMBLY([HAVE_GCC_ASM=yes], [HAVE_GCC_ASM=no])
|
||||
if test x$HAVE_GCC_ASM = xyes ; then
|
||||
AC_DEFINE(HAVE_GCC_ASM, 1,
|
||||
[Define if compiler supports gcc inline assembly])
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_GCC_ASM, test "x$HAVE_GCC_ASM" = "xyes")
|
||||
|
||||
dnl *** plug-ins to include ***
|
||||
|
||||
dnl these are all the gst plug-ins, compilable without additional libs
|
||||
|
|
Loading…
Reference in a new issue