mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-21 10:37:53 -04:00
461 lines
16 KiB
Plaintext
461 lines
16 KiB
Plaintext
$NetBSD: patch-aa,v 1.21 2014/03/30 04:13:17 ryoon Exp $
|
|
|
|
--- mozilla/configure.in.orig 2014-03-19 01:41:46.000000000 +0000
|
|
+++ mozilla/configure.in
|
|
@@ -2544,118 +2544,15 @@ MOZ_CXX11
|
|
|
|
AC_LANG_C
|
|
|
|
-dnl Check for .hidden assembler directive and visibility attribute.
|
|
-dnl Borrowed from glibc configure.in
|
|
+dnl Setup default hidden visibility and wrapped system headers.
|
|
dnl ===============================================================
|
|
if test "$GNU_CC"; then
|
|
- AC_CACHE_CHECK(for visibility(hidden) attribute,
|
|
- ac_cv_visibility_hidden,
|
|
- [cat > conftest.c <<EOF
|
|
- int foo __attribute__ ((visibility ("hidden"))) = 1;
|
|
-EOF
|
|
- ac_cv_visibility_hidden=no
|
|
- if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
|
|
- if egrep '\.(hidden|private_extern).*foo' conftest.s >/dev/null; then
|
|
- ac_cv_visibility_hidden=yes
|
|
- fi
|
|
- fi
|
|
- rm -f conftest.[cs]
|
|
- ])
|
|
- if test "$ac_cv_visibility_hidden" = "yes"; then
|
|
- AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE)
|
|
-
|
|
- AC_CACHE_CHECK(for visibility(default) attribute,
|
|
- ac_cv_visibility_default,
|
|
- [cat > conftest.c <<EOF
|
|
- int foo __attribute__ ((visibility ("default"))) = 1;
|
|
-EOF
|
|
- ac_cv_visibility_default=no
|
|
- if ${CC-cc} -fvisibility=hidden -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
|
|
- if ! egrep '\.(hidden|private_extern).*foo' conftest.s >/dev/null; then
|
|
- ac_cv_visibility_default=yes
|
|
- fi
|
|
- fi
|
|
- rm -f conftest.[cs]
|
|
- ])
|
|
- if test "$ac_cv_visibility_default" = "yes"; then
|
|
- AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE)
|
|
-
|
|
- AC_CACHE_CHECK(for visibility pragma support,
|
|
- ac_cv_visibility_pragma,
|
|
- [cat > conftest.c <<EOF
|
|
-#pragma GCC visibility push(hidden)
|
|
- int foo_hidden = 1;
|
|
-#pragma GCC visibility push(default)
|
|
- int foo_default = 1;
|
|
-EOF
|
|
- ac_cv_visibility_pragma=no
|
|
- if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
|
|
- if egrep '\.(hidden|private_extern).*foo_hidden' conftest.s >/dev/null; then
|
|
- if ! egrep '\.(hidden|private_extern).*foo_default' conftest.s > /dev/null; then
|
|
- ac_cv_visibility_pragma=yes
|
|
- fi
|
|
- fi
|
|
- fi
|
|
- rm -f conftest.[cs]
|
|
- ])
|
|
- if test "$ac_cv_visibility_pragma" = "yes"; then
|
|
- AC_CACHE_CHECK(For gcc visibility bug with class-level attributes (GCC bug 26905),
|
|
- ac_cv_have_visibility_class_bug,
|
|
- [cat > conftest.c <<EOF
|
|
-#pragma GCC visibility push(hidden)
|
|
-struct __attribute__ ((visibility ("default"))) TestStruct {
|
|
- static void Init();
|
|
-};
|
|
-__attribute__ ((visibility ("default"))) void TestFunc() {
|
|
- TestStruct::Init();
|
|
-}
|
|
-EOF
|
|
- ac_cv_have_visibility_class_bug=no
|
|
- if ! ${CXX-g++} ${CXXFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -S -o conftest.S conftest.c > /dev/null 2>&1 ; then
|
|
- ac_cv_have_visibility_class_bug=yes
|
|
- else
|
|
- if test `egrep -c '@PLT|\\$stub' conftest.S` = 0; then
|
|
- ac_cv_have_visibility_class_bug=yes
|
|
- fi
|
|
- fi
|
|
- rm -rf conftest.{c,S}
|
|
- ])
|
|
-
|
|
- AC_CACHE_CHECK(For x86_64 gcc visibility bug with builtins (GCC bug 20297),
|
|
- ac_cv_have_visibility_builtin_bug,
|
|
- [cat > conftest.c <<EOF
|
|
-#pragma GCC visibility push(hidden)
|
|
-#pragma GCC visibility push(default)
|
|
-#include <string.h>
|
|
-#pragma GCC visibility pop
|
|
-
|
|
-__attribute__ ((visibility ("default"))) void Func() {
|
|
- char c[[100]];
|
|
- memset(c, 0, sizeof(c));
|
|
-}
|
|
-EOF
|
|
- ac_cv_have_visibility_builtin_bug=no
|
|
- if ! ${CC-cc} ${CFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then
|
|
- ac_cv_have_visibility_builtin_bug=yes
|
|
- else
|
|
- if test `grep -c "@PLT" conftest.S` = 0; then
|
|
- ac_cv_visibility_builtin_bug=yes
|
|
- fi
|
|
- fi
|
|
- rm -f conftest.{c,S}
|
|
- ])
|
|
- if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
|
|
- "$ac_cv_have_visibility_class_bug" = "no"; then
|
|
- VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
|
|
- WRAP_SYSTEM_INCLUDES=1
|
|
- STL_FLAGS='-I$(DIST)/stl_wrappers'
|
|
- WRAP_STL_INCLUDES=1
|
|
- else
|
|
- VISIBILITY_FLAGS='-fvisibility=hidden'
|
|
- fi # have visibility pragma bug
|
|
- fi # have visibility pragma
|
|
- fi # have visibility(default) attribute
|
|
- fi # have visibility(hidden) attribute
|
|
+ AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE)
|
|
+ AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE)
|
|
+ VISIBILITY_FLAGS='-I$(DIST)/system_wrappers -include $(topsrcdir)/config/gcc_hidden.h'
|
|
+ WRAP_SYSTEM_INCLUDES=1
|
|
+ STL_FLAGS='-I$(DIST)/stl_wrappers'
|
|
+ WRAP_STL_INCLUDES=1
|
|
fi # GNU_CC
|
|
|
|
# visibility hidden flag for Sun Studio on Solaris
|
|
@@ -3724,6 +3621,14 @@ if test -n "$YASM"; then
|
|
_YASM_BUILD=` echo ${YASM_VERSION} | $AWK -F\. '{ print $4 }'`
|
|
fi
|
|
|
|
+if test -n "${LIBXUL_SDK_DIR}"; then
|
|
+ AC_MSG_WARN([pkgsrc: LIBXUL_SDK_DIR is set; assuming we want nss and nspr from xulrunner.])
|
|
+ NSPR_CFLAGS="-I${prefix}/include/xulrunner/unstable `pkg-config --cflags nspr`"
|
|
+ NSPR_LIBS="`pkg-config --libs nspr`"
|
|
+ NSS_CFLAGS="`pkg-config --cflags nss`"
|
|
+ NSS_LIBS="`pkg-config --libs nss`"
|
|
+fi
|
|
+
|
|
if test -z "$SKIP_LIBRARY_CHECKS"; then
|
|
dnl system JPEG support
|
|
dnl ========================================================
|
|
@@ -3751,11 +3656,7 @@ if test "$MOZ_NATIVE_JPEG" = 1; then
|
|
#include <jpeglib.h> ],
|
|
[ #if JPEG_LIB_VERSION < $MOZJPEG
|
|
#error "Insufficient JPEG library version ($MOZJPEG required)."
|
|
- #endif
|
|
- #ifndef JCS_EXTENSIONS
|
|
- #error "libjpeg-turbo JCS_EXTENSIONS required"
|
|
- #endif
|
|
- ],
|
|
+ #endif ],
|
|
MOZ_NATIVE_JPEG=1,
|
|
AC_MSG_ERROR([Insufficient JPEG library version for --with-system-jpeg]))
|
|
fi
|
|
@@ -3921,6 +3822,22 @@ fi
|
|
AC_SUBST(MOZ_NATIVE_ICU)
|
|
|
|
dnl ========================================================
|
|
+dnl system icu support
|
|
+dnl ========================================================
|
|
+MOZ_NATIVE_ICU=
|
|
+MOZ_ARG_WITH_BOOL(system-icu,
|
|
+[ --with-system-icu
|
|
+ Use system icu (located with pkgconfig)],
|
|
+ MOZ_NATIVE_ICU=1)
|
|
+
|
|
+if test -n "$MOZ_NATIVE_ICU"; then
|
|
+ PKG_CHECK_MODULES(MOZ_ICU, icu-i18n >= 50.1)
|
|
+ MOZ_JS_STATIC_LIBS="$MOZ_JS_STATIC_LIBS $MOZ_ICU_LIBS"
|
|
+fi
|
|
+
|
|
+AC_SUBST(MOZ_NATIVE_ICU)
|
|
+
|
|
+dnl ========================================================
|
|
dnl Java SDK support
|
|
dnl ========================================================
|
|
|
|
@@ -3955,6 +3872,7 @@ MOZ_SAMPLE_TYPE_FLOAT32=
|
|
MOZ_SAMPLE_TYPE_S16=
|
|
MOZ_OPUS=1
|
|
MOZ_WEBM=1
|
|
+MOZ_GSTREAMER=
|
|
MOZ_DIRECTSHOW=
|
|
MOZ_WMF=
|
|
MOZ_FMP4=
|
|
@@ -5136,6 +5054,9 @@ if test -n "$MOZ_WEBRTC"; then
|
|
MOZ_VP8=1
|
|
MOZ_VP8_ERROR_CONCEALMENT=1
|
|
|
|
+ dnl with libv4l2 we can support more cameras
|
|
+ PKG_CHECK_MODULES(MOZ_LIBV4L2, libv4l2)
|
|
+
|
|
dnl enable once Signaling lands
|
|
MOZ_WEBRTC_SIGNALING=1
|
|
AC_DEFINE(MOZ_WEBRTC_SIGNALING)
|
|
@@ -5158,15 +5079,18 @@ AC_SUBST(MOZ_SRTP)
|
|
|
|
dnl Use integers over floats for audio on B2G and Android, because audio
|
|
dnl backends for those platforms don't support floats.
|
|
-if test "$OS_TARGET" = "Android"; then
|
|
+case "$OS_TARGET" in
|
|
+ndroid|DragonFly|FreeBSD|NetBSD|OpenBSD)
|
|
MOZ_SAMPLE_TYPE_S16=1
|
|
AC_DEFINE(MOZ_SAMPLE_TYPE_S16)
|
|
AC_SUBST(MOZ_SAMPLE_TYPE_S16)
|
|
-else
|
|
+ ;;
|
|
+*)
|
|
MOZ_SAMPLE_TYPE_FLOAT32=1
|
|
AC_DEFINE(MOZ_SAMPLE_TYPE_FLOAT32)
|
|
AC_SUBST(MOZ_SAMPLE_TYPE_FLOAT32)
|
|
-fi
|
|
+ ;;
|
|
+esac
|
|
|
|
dnl ========================================================
|
|
dnl = Disable Speech API code
|
|
@@ -5230,6 +5154,40 @@ if test -n "$MOZ_OGG"; then
|
|
fi
|
|
|
|
dnl ========================================================
|
|
+dnl Check for libogg
|
|
+dnl ========================================================
|
|
+
|
|
+MOZ_ARG_WITH_BOOL(system-ogg,
|
|
+[ --with-system-ogg Use system libogg (located with pkgconfig)],
|
|
+MOZ_NATIVE_OGG=1,
|
|
+MOZ_NATIVE_OGG= )
|
|
+
|
|
+if test -n "$MOZ_NATIVE_OGG"; then
|
|
+ PKG_CHECK_MODULES(MOZ_OGG, ogg >= 1.2.1)
|
|
+fi
|
|
+
|
|
+AC_SUBST(MOZ_NATIVE_OGG)
|
|
+AC_SUBST(MOZ_OGG_CFLAGS)
|
|
+AC_SUBST(MOZ_OGG_LIBS)
|
|
+
|
|
+dnl ========================================================
|
|
+dnl Check for libvorbis
|
|
+dnl ========================================================
|
|
+
|
|
+MOZ_ARG_WITH_BOOL(system-vorbis,
|
|
+[ --with-system-vorbis Use system libvorbis (located with pkgconfig)],
|
|
+MOZ_NATIVE_VORBIS=1,
|
|
+MOZ_NATIVE_VORBIS= )
|
|
+
|
|
+if test -n "$MOZ_NATIVE_VORBIS"; then
|
|
+ PKG_CHECK_MODULES(MOZ_VORBIS, vorbis vorbisenc >= 1.3.4)
|
|
+fi
|
|
+
|
|
+AC_SUBST(MOZ_NATIVE_VORBIS)
|
|
+AC_SUBST(MOZ_VORBIS_CFLAGS)
|
|
+AC_SUBST(MOZ_VORBIS_LIBS)
|
|
+
|
|
+dnl ========================================================
|
|
dnl = Disable Opus audio codec support
|
|
dnl ========================================================
|
|
MOZ_ARG_DISABLE_BOOL(opus,
|
|
@@ -5238,6 +5196,25 @@ MOZ_ARG_DISABLE_BOOL(opus,
|
|
MOZ_OPUS=1)
|
|
|
|
dnl ========================================================
|
|
+dnl Check for libopus
|
|
+dnl ========================================================
|
|
+
|
|
+MOZ_ARG_WITH_BOOL(system-opus,
|
|
+[ --with-system-opus Use system libopus (located with pkgconfig)],
|
|
+MOZ_NATIVE_OPUS=1,
|
|
+MOZ_NATIVE_OPUS= )
|
|
+
|
|
+if test -n "$MOZ_NATIVE_OPUS"; then
|
|
+ PKG_CHECK_MODULES(MOZ_OPUS, opus >= 1.1)
|
|
+else
|
|
+ MOZ_OPUS_CFLAGS='-I$(topsrcdir)/media/libopus/include'
|
|
+fi
|
|
+
|
|
+AC_SUBST(MOZ_NATIVE_OPUS)
|
|
+AC_SUBST(MOZ_OPUS_CFLAGS)
|
|
+AC_SUBST(MOZ_OPUS_LIBS)
|
|
+
|
|
+dnl ========================================================
|
|
dnl = Disable VP8 decoder support
|
|
dnl ========================================================
|
|
MOZ_ARG_DISABLE_BOOL(webm,
|
|
@@ -5606,43 +5583,60 @@ dnl = Enable GStreamer
|
|
dnl ========================================================
|
|
if test "$OS_TARGET" = "Linux"; then
|
|
MOZ_GSTREAMER=1
|
|
+ GST_API_VERSION=0.10
|
|
fi
|
|
|
|
-MOZ_ARG_ENABLE_BOOL(gstreamer,
|
|
-[ --enable-gstreamer Enable GStreamer support],
|
|
-MOZ_GSTREAMER=1,
|
|
-MOZ_GSTREAMER=)
|
|
-
|
|
-if test "$MOZ_GSTREAMER"; then
|
|
- # API version, eg 0.10, 1.0 etc
|
|
+MOZ_ARG_ENABLE_STRING(gstreamer,
|
|
+[ --enable-gstreamer[=0.10] Enable GStreamer support],
|
|
+[ MOZ_GSTREAMER=1
|
|
+ # API version, eg 0.10, 1.0 etc
|
|
+ if test -z "$enableval" -o "$enableval" = "yes"; then
|
|
GST_API_VERSION=0.10
|
|
+ elif test "$enableval" = "no"; then
|
|
+ MOZ_GSTREAMER=
|
|
+ else
|
|
+ GST_API_VERSION=$enableval
|
|
+ fi],
|
|
+)
|
|
+
|
|
+if test -n "$MOZ_GSTREAMER"; then
|
|
# core/base release number
|
|
- GST_VERSION=0.10.25
|
|
+ if test "$GST_API_VERSION" = "1.0"; then
|
|
+ GST_VERSION=1.0
|
|
+ else
|
|
+ GST_VERSION=0.10.25
|
|
+ fi
|
|
+
|
|
PKG_CHECK_MODULES(GSTREAMER,
|
|
gstreamer-$GST_API_VERSION >= $GST_VERSION
|
|
gstreamer-app-$GST_API_VERSION
|
|
- gstreamer-plugins-base-$GST_API_VERSION, ,
|
|
- AC_MSG_ERROR([gstreamer and gstreamer-plugins-base development packages are needed to build gstreamer backend. Install them or disable gstreamer support with --disable-gstreamer]))
|
|
- if test -n "$GSTREAMER_LIBS"; then
|
|
- _SAVE_LDFLAGS=$LDFLAGS
|
|
- LDFLAGS="$LDFLAGS $GSTREAMER_LIBS -lgstvideo-$GST_API_VERSION"
|
|
- AC_TRY_LINK(,[return 0;],_HAVE_LIBGSTVIDEO=1,_HAVE_LIBGSTVIDEO=)
|
|
- if test -n "$_HAVE_LIBGSTVIDEO" ; then
|
|
- GSTREAMER_LIBS="$GSTREAMER_LIBS -lgstvideo-$GST_API_VERSION"
|
|
- else
|
|
- AC_MSG_ERROR([gstreamer-plugins-base found, but no libgstvideo. Something has gone terribly wrong. Try reinstalling gstreamer-plugins-base; failing that, disable the gstreamer backend with --disable-gstreamer.])
|
|
- fi
|
|
- LDFLAGS=$_SAVE_LDFLAGS
|
|
+ gstreamer-plugins-base-$GST_API_VERSION,
|
|
+ [_HAVE_GSTREAMER=1],
|
|
+ [_HAVE_GSTREAMER=])
|
|
+ if test -z "$_HAVE_GSTREAMER"; then
|
|
+ AC_MSG_ERROR([gstreamer and gstreamer-plugins-base development packages are needed to build gstreamer backend. Install them or disable gstreamer support with --disable-gstreamer])
|
|
+ fi
|
|
+
|
|
+ _SAVE_LDFLAGS=$LDFLAGS
|
|
+ LDFLAGS="$LDFLAGS $GSTREAMER_LIBS -lgstvideo-$GST_API_VERSION"
|
|
+ AC_TRY_LINK(,[return 0;],_HAVE_LIBGSTVIDEO=1,_HAVE_LIBGSTVIDEO=)
|
|
+ if test -n "$_HAVE_LIBGSTVIDEO" ; then
|
|
+ GSTREAMER_LIBS="$GSTREAMER_LIBS -lgstvideo-$GST_API_VERSION"
|
|
else
|
|
- AC_MSG_ERROR([gstreamer and gstreamer-plugins-base development packages are needed to build gstreamer backend. Install them or disable gstreamer support with --disable-gstreamer])
|
|
+ AC_MSG_ERROR([gstreamer-plugins-base found, but no libgstvideo. Something has gone terribly wrong. Try reinstalling gstreamer-plugins-base; failing that, disable the gstreamer backend with --disable-gstreamer.])
|
|
fi
|
|
+ LDFLAGS=$_SAVE_LDFLAGS
|
|
+
|
|
+ AC_SUBST(GSTREAMER_CFLAGS)
|
|
+ AC_SUBST(GSTREAMER_LIBS)
|
|
fi
|
|
-AC_SUBST(GSTREAMER_CFLAGS)
|
|
-AC_SUBST(GSTREAMER_LIBS)
|
|
+
|
|
AC_SUBST(MOZ_GSTREAMER)
|
|
+AC_SUBST(GST_API_VERSION)
|
|
|
|
if test -n "$MOZ_GSTREAMER"; then
|
|
- AC_DEFINE(MOZ_GSTREAMER)
|
|
+ AC_DEFINE(MOZ_GSTREAMER)
|
|
+ AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION")
|
|
fi
|
|
|
|
|
|
@@ -7424,7 +7418,10 @@ dnl ====================================
|
|
dnl = Support for gcc stack unwinding (from gcc 3.3)
|
|
dnl ========================================================
|
|
if test -z "$SKIP_LIBRARY_CHECKS"; then
|
|
+ AC_LANG_SAVE
|
|
+ AC_LANG_CPLUSPLUS
|
|
MOZ_CHECK_HEADER(unwind.h, AC_CHECK_FUNCS(_Unwind_Backtrace))
|
|
+ AC_LANG_RESTORE
|
|
fi
|
|
|
|
dnl ========================================================
|
|
@@ -7870,6 +7867,34 @@ if test "$USE_FC_FREETYPE"; then
|
|
fi
|
|
|
|
dnl ========================================================
|
|
+dnl Check for graphite2 and harfbuzz
|
|
+dnl ========================================================
|
|
+
|
|
+MOZ_ARG_WITH_BOOL(system-harfbuzz,
|
|
+[ --with-system-harfbuzz Use system harfbuzz (located with pkgconfig)],
|
|
+MOZ_NATIVE_HARFBUZZ=1,
|
|
+MOZ_NATIVE_HARFBUZZ= )
|
|
+
|
|
+if test -n "$MOZ_NATIVE_HARFBUZZ"; then
|
|
+ PKG_CHECK_MODULES(MOZ_HARFBUZZ, harfbuzz >= 0.9.25)
|
|
+fi
|
|
+AC_SUBST(MOZ_NATIVE_HARFBUZZ)
|
|
+AC_SUBST(MOZ_HARFBUZZ_CFLAGS)
|
|
+AC_SUBST(MOZ_HARFBUZZ_LIBS)
|
|
+
|
|
+MOZ_ARG_WITH_BOOL(system-graphite2,
|
|
+[ --with-system-graphite2 Use system graphite2 (located with pkgconfig)],
|
|
+MOZ_NATIVE_GRAPHITE2=1,
|
|
+MOZ_NATIVE_GRAPHITE2= )
|
|
+
|
|
+if test -n "$MOZ_NATIVE_GRAPHITE2"; then
|
|
+ PKG_CHECK_MODULES(MOZ_GRAPHITE2, graphite2 >= 1.2.4)
|
|
+fi
|
|
+AC_SUBST(MOZ_NATIVE_GRAPHITE2)
|
|
+AC_SUBST(MOZ_GRAPHITE2_CFLAGS)
|
|
+AC_SUBST(MOZ_GRAPHITE2_LIBS)
|
|
+
|
|
+dnl ========================================================
|
|
dnl Check for pixman and cairo
|
|
dnl ========================================================
|
|
|
|
@@ -8118,7 +8143,7 @@ case "$OS_TARGET" in
|
|
NECKO_WIFI=1
|
|
fi
|
|
;;
|
|
- Darwin|SunOS|WINNT)
|
|
+ Darwin|FreeBSD|SunOS|WINNT)
|
|
NECKO_WIFI=1
|
|
;;
|
|
Linux)
|
|
@@ -8665,6 +8690,20 @@ AC_SUBST(MOZ_ENABLE_SZIP)
|
|
AC_SUBST(MOZ_SZIP_FLAGS)
|
|
|
|
if test -n "$COMPILE_ENVIRONMENT"; then
|
|
+AC_MSG_CHECKING([for posix_fadvise])
|
|
+AC_TRY_LINK([#define _XOPEN_SOURCE 600
|
|
+ #include <fcntl.h>],
|
|
+ [posix_fadvise(0, 0, 0, 0);],
|
|
+ [ac_cv___posix_fadvise=true],
|
|
+ [ac_cv___posix_fadvise=false])
|
|
+
|
|
+if test "$ac_cv___posix_fadvise" = true ; then
|
|
+ AC_DEFINE(HAVE_POSIX_FADVISE)
|
|
+ AC_MSG_RESULT(yes)
|
|
+else
|
|
+ AC_MSG_RESULT(no)
|
|
+fi
|
|
+
|
|
AC_MSG_CHECKING([for posix_fallocate])
|
|
AC_TRY_LINK([#define _XOPEN_SOURCE 600
|
|
#include <fcntl.h>],
|
|
@@ -8918,6 +8957,10 @@ if test -n "$INTEL_ARCHITECTURE"; then
|
|
fi
|
|
fi
|
|
|
|
+if test -n "$MOZ_LIBV4L2_LIBS"; then
|
|
+ EXTRA_GYP_DEFINES="$EXTRA_GYP_DEFINES -D use_libv4l2=1"
|
|
+fi
|
|
+
|
|
if test -n "$MOZ_WEBRTC"; then
|
|
AC_MSG_RESULT("generating WebRTC Makefiles...")
|
|
|