dnl find a compiler
AC_PROG_CC
+dnl check if the compiler supports '-c' and '-o' options
+AM_PROG_CC_C_O
+
dnl find an assembler
AM_PROG_AS
dnl Check for sys/utsname.h for uname
AC_CHECK_HEADERS([sys/utsname.h])
+dnl Check for stdio_ext.f for __fbufsize
+AC_CHECK_HEADERS([stdio_ext.h])
+
dnl *** checks for types/defines ***
dnl *** checks for structures ***
# GST_DISABLE_DEPRECATED: hide the visibility of deprecated
# functionality from the API that gstreamer uses
# GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
-DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
+if test "x$GST_CVS" = "xyes"; then
+ DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
+else
+ DEPRECATED_CFLAGS=""
+fi
AC_SUBST(DEPRECATED_CFLAGS)
dnl every flag in GST_OPTION_CFLAGS can be overridden at make time via e.g.