summaryrefslogtreecommitdiff
path: root/lib/libdrm/configure
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm/configure')
-rw-r--r--lib/libdrm/configure97
1 files changed, 74 insertions, 23 deletions
diff --git a/lib/libdrm/configure b/lib/libdrm/configure
index a8cae76ce..d382c19af 100644
--- a/lib/libdrm/configure
+++ b/lib/libdrm/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libdrm 2.4.65.
+# Generated by GNU Autoconf 2.69 for libdrm 2.4.67.
#
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=DRI>.
#
@@ -591,8 +591,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libdrm'
PACKAGE_TARNAME='libdrm'
-PACKAGE_VERSION='2.4.65'
-PACKAGE_STRING='libdrm 2.4.65'
+PACKAGE_VERSION='2.4.67'
+PACKAGE_STRING='libdrm 2.4.67'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=DRI'
PACKAGE_URL=''
@@ -656,6 +656,8 @@ CAIRO_LIBS
CAIRO_CFLAGS
HAVE_INSTALL_TESTS_FALSE
HAVE_INSTALL_TESTS_TRUE
+HAVE_VC4_FALSE
+HAVE_VC4_TRUE
HAVE_TEGRA_FALSE
HAVE_TEGRA_TRUE
HAVE_AMDGPU_FALSE
@@ -847,6 +849,7 @@ enable_exynos_experimental_api
enable_freedreno
enable_freedreno_kgsl
enable_tegra_experimental_api
+enable_vc4
enable_install_test_programs
enable_cairo_tests
enable_manpages
@@ -1418,7 +1421,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libdrm 2.4.65 to adapt to many kinds of systems.
+\`configure' configures libdrm 2.4.67 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1488,7 +1491,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libdrm 2.4.65:";;
+ short | recursive ) echo "Configuration of libdrm 2.4.67:";;
esac
cat <<\_ACEOF
@@ -1531,6 +1534,8 @@ Optional Features:
--enable-tegra-experimental-api
Enable support for Tegra's experimental API
(default: disabled)
+ --disable-vc4 Enable support for vc4's API (default: auto, enabled
+ on arm)
--enable-install-test-programs
Install test programs (default: no)
--enable-cairo-tests Enable support for Cairo rendering in tests
@@ -1654,7 +1659,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libdrm configure 2.4.65
+libdrm configure 2.4.67
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2077,7 +2082,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libdrm $as_me 2.4.65, which was
+It was created by libdrm $as_me 2.4.67, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3277,7 +3282,7 @@ fi
# Define the identity of the package.
PACKAGE='libdrm'
- VERSION='2.4.65'
+ VERSION='2.4.67'
cat >>confdefs.h <<_ACEOF
@@ -5385,7 +5390,7 @@ _ACEOF
fi
-for ac_header in sys/mkdev.h sys/sysctl.h
+for ac_header in sys/mkdev.h sys/sysctl.h sys/select.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -12827,6 +12832,14 @@ else
fi
+# Check whether --enable-vc4 was given.
+if test "${enable_vc4+set}" = set; then :
+ enableval=$enable_vc4; VC4=$enableval
+else
+ VC4=auto
+fi
+
+
# Check whether --enable-install-test-programs was given.
if test "${enable_install_test_programs+set}" = set; then :
enableval=$enable_install_test_programs; INSTALL_TESTS=$enableval
@@ -12916,7 +12929,8 @@ MAYBE_WARN="-Wall -Wextra \
-Wstrict-aliasing=2 -Winit-self \
-Wdeclaration-after-statement -Wold-style-definition \
-Wno-unused-parameter \
--Wno-attributes -Wno-long-long -Winline -Wshadow"
+-Wno-attributes -Wno-long-long -Winline -Wshadow \
+-Wno-missing-field-initializers"
# invalidate cached value if MAYBE_WARN has changed
if test "x$libdrm_cv_warn_maybe" != "x$MAYBE_WARN"; then
@@ -12994,7 +13008,7 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
- int atomic_add(int *i) { return __sync_fetch_and_add (i, 1); }
+ int atomic_add(int *i) { return __sync_add_and_fetch (i, 1); }
int atomic_cmpxchg(int *i, int j, int k) { return __sync_val_compare_and_swap (i, j, k); }
int
@@ -13138,6 +13152,12 @@ else
*) FREEDRENO=no ;;
esac
fi
+ if test "x$VC4" = xauto; then
+ case $host_cpu in
+ arm*|aarch64) VC4=yes ;;
+ *) VC4=no ;;
+ esac
+ fi
fi
if test "x$INTEL" != "xno"; then
@@ -13379,7 +13399,8 @@ $as_echo "#define HAVE_RADEON 1" >>confdefs.h
fi
-# Detect cunit library
+if test "x$AMDGPU" != xno; then
+ # Detect cunit library
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUNIT" >&5
@@ -13451,11 +13472,11 @@ else
$as_echo "yes" >&6; }
have_cunit=yes
fi
-# If pkg-config does not find cunit, check it using AC_CHECK_LIB. We
-# do this because Debian (Ubuntu) lacks pkg-config file for cunit.
-# fixed in 2.1-2.dfsg-3: http://anonscm.debian.org/cgit/collab-maint/cunit.git/commit/?h=debian
-if test "x${have_cunit}" = "xno"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CU_initialize_registry in -lcunit" >&5
+ # If pkg-config does not find cunit, check it using AC_CHECK_LIB. We
+ # do this because Debian (Ubuntu) lacks pkg-config file for cunit.
+ # fixed in 2.1-2.dfsg-3: http://anonscm.debian.org/cgit/collab-maint/cunit.git/commit/?h=debian
+ if test "x${have_cunit}" = "xno"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CU_initialize_registry in -lcunit" >&5
$as_echo_n "checking for CU_initialize_registry in -lcunit... " >&6; }
if ${ac_cv_lib_cunit_CU_initialize_registry+:} false; then :
$as_echo_n "(cached) " >&6
@@ -13497,12 +13518,15 @@ else
have_cunit=no
fi
- if test "x${have_cunit}" = "xyes"; then
- CUNIT_LIBS="-lcunit"
- CUNIT_CFLAGS=""
+ if test "x${have_cunit}" = "xyes"; then
+ CUNIT_LIBS="-lcunit"
+ CUNIT_CFLAGS=""
+ fi
fi
+else
+ have_cunit=no
fi
if test "x$have_cunit" != "xno"; then
HAVE_CUNIT_TRUE=
@@ -13550,6 +13574,20 @@ $as_echo "#define HAVE_TEGRA 1" >>confdefs.h
fi
+ if test "x$VC4" = xyes; then
+ HAVE_VC4_TRUE=
+ HAVE_VC4_FALSE='#'
+else
+ HAVE_VC4_TRUE='#'
+ HAVE_VC4_FALSE=
+fi
+
+if test "x$VC4" = xyes; then
+
+$as_echo "#define HAVE_VC4 1" >>confdefs.h
+
+fi
+
if test "x$INSTALL_TESTS" = xyes; then
HAVE_INSTALL_TESTS_TRUE=
HAVE_INSTALL_TESTS_FALSE='#'
@@ -13571,6 +13609,7 @@ else
CAIRO=auto
fi
+if test "x$CAIRO" != xno; then
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
@@ -13642,6 +13681,7 @@ else
$as_echo "yes" >&6; }
HAVE_CAIRO=yes
fi
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Cairo tests" >&5
$as_echo_n "checking whether to enable Cairo tests... " >&6; }
if test "x$CAIRO" = xauto; then
@@ -13824,6 +13864,7 @@ else
VALGRIND=auto
fi
+if test "x$VALGRIND" != xno; then
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
@@ -13895,6 +13936,7 @@ else
$as_echo "yes" >&6; }
have_valgrind=yes
fi
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Valgrind support" >&5
$as_echo_n "checking whether to enable Valgrind support... " >&6; }
if test "x$VALGRIND" = xauto; then
@@ -13953,7 +13995,7 @@ $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
fi
-ac_config_files="$ac_config_files Makefile libkms/Makefile libkms/libkms.pc intel/Makefile intel/libdrm_intel.pc radeon/Makefile radeon/libdrm_radeon.pc amdgpu/Makefile amdgpu/libdrm_amdgpu.pc nouveau/Makefile nouveau/libdrm_nouveau.pc omap/Makefile omap/libdrm_omap.pc exynos/Makefile exynos/libdrm_exynos.pc freedreno/Makefile freedreno/libdrm_freedreno.pc tegra/Makefile tegra/libdrm_tegra.pc tests/Makefile tests/modeprint/Makefile tests/modetest/Makefile tests/kmstest/Makefile tests/proptest/Makefile tests/radeon/Makefile tests/amdgpu/Makefile tests/vbltest/Makefile tests/exynos/Makefile tests/tegra/Makefile tests/nouveau/Makefile man/Makefile libdrm.pc"
+ac_config_files="$ac_config_files Makefile libkms/Makefile libkms/libkms.pc intel/Makefile intel/libdrm_intel.pc radeon/Makefile radeon/libdrm_radeon.pc amdgpu/Makefile amdgpu/libdrm_amdgpu.pc nouveau/Makefile nouveau/libdrm_nouveau.pc omap/Makefile omap/libdrm_omap.pc exynos/Makefile exynos/libdrm_exynos.pc freedreno/Makefile freedreno/libdrm_freedreno.pc tegra/Makefile tegra/libdrm_tegra.pc vc4/Makefile vc4/libdrm_vc4.pc tests/Makefile tests/modeprint/Makefile tests/modetest/Makefile tests/kms/Makefile tests/kmstest/Makefile tests/proptest/Makefile tests/radeon/Makefile tests/amdgpu/Makefile tests/vbltest/Makefile tests/exynos/Makefile tests/tegra/Makefile tests/nouveau/Makefile tests/util/Makefile man/Makefile libdrm.pc"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -14140,6 +14182,10 @@ if test -z "${HAVE_TEGRA_TRUE}" && test -z "${HAVE_TEGRA_FALSE}"; then
as_fn_error $? "conditional \"HAVE_TEGRA\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${HAVE_VC4_TRUE}" && test -z "${HAVE_VC4_FALSE}"; then
+ as_fn_error $? "conditional \"HAVE_VC4\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${HAVE_INSTALL_TESTS_TRUE}" && test -z "${HAVE_INSTALL_TESTS_FALSE}"; then
as_fn_error $? "conditional \"HAVE_INSTALL_TESTS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -14557,7 +14603,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libdrm $as_me 2.4.65, which was
+This file was extended by libdrm $as_me 2.4.67, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -14623,7 +14669,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libdrm config.status 2.4.65
+libdrm config.status 2.4.67
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@@ -15051,9 +15097,12 @@ do
"freedreno/libdrm_freedreno.pc") CONFIG_FILES="$CONFIG_FILES freedreno/libdrm_freedreno.pc" ;;
"tegra/Makefile") CONFIG_FILES="$CONFIG_FILES tegra/Makefile" ;;
"tegra/libdrm_tegra.pc") CONFIG_FILES="$CONFIG_FILES tegra/libdrm_tegra.pc" ;;
+ "vc4/Makefile") CONFIG_FILES="$CONFIG_FILES vc4/Makefile" ;;
+ "vc4/libdrm_vc4.pc") CONFIG_FILES="$CONFIG_FILES vc4/libdrm_vc4.pc" ;;
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
"tests/modeprint/Makefile") CONFIG_FILES="$CONFIG_FILES tests/modeprint/Makefile" ;;
"tests/modetest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/modetest/Makefile" ;;
+ "tests/kms/Makefile") CONFIG_FILES="$CONFIG_FILES tests/kms/Makefile" ;;
"tests/kmstest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/kmstest/Makefile" ;;
"tests/proptest/Makefile") CONFIG_FILES="$CONFIG_FILES tests/proptest/Makefile" ;;
"tests/radeon/Makefile") CONFIG_FILES="$CONFIG_FILES tests/radeon/Makefile" ;;
@@ -15062,6 +15111,7 @@ do
"tests/exynos/Makefile") CONFIG_FILES="$CONFIG_FILES tests/exynos/Makefile" ;;
"tests/tegra/Makefile") CONFIG_FILES="$CONFIG_FILES tests/tegra/Makefile" ;;
"tests/nouveau/Makefile") CONFIG_FILES="$CONFIG_FILES tests/nouveau/Makefile" ;;
+ "tests/util/Makefile") CONFIG_FILES="$CONFIG_FILES tests/util/Makefile" ;;
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
"libdrm.pc") CONFIG_FILES="$CONFIG_FILES libdrm.pc" ;;
@@ -16434,4 +16484,5 @@ echo " OMAP API $OMAP"
echo " EXYNOS API $EXYNOS"
echo " Freedreno API $FREEDRENO (kgsl: $FREEDRENO_KGSL)"
echo " Tegra API $TEGRA"
+echo " VC4 API $VC4"
echo ""