From e4796ab7c8a5f00c9f35124384c4d0d5fc155541 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sat, 30 Sep 2017 12:14:02 -0700 Subject: [PATCH] configure: commit test files These are currently auto-generated, but meson needs the same files, so lets commit them to reduce duplication. v3: - Rename .build to build-support Reviewed-by: Emil Velikov Reviewed-by: Eric Anholt Signed-off-by: Dylan Baker --- Makefile.am | 4 +++- build-support/conftest.dyn | 3 +++ build-support/conftest.map | 6 ++++++ configure.ac | 18 ++---------------- 4 files changed, 14 insertions(+), 17 deletions(-) create mode 100644 build-support/conftest.dyn create mode 100644 build-support/conftest.map diff --git a/Makefile.am b/Makefile.am index a4f49d3d33256..fe1ef948918c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -56,7 +56,9 @@ EXTRA_DIST = \ doxygen \ bin/git_sha1_gen.py \ scons \ - SConstruct + SConstruct \ + build-support/conftest.dyn \ + build-support/conftest.map noinst_HEADERS = \ include/c99_alloca.h \ diff --git a/build-support/conftest.dyn b/build-support/conftest.dyn new file mode 100644 index 0000000000000..8d243dc0a796b --- /dev/null +++ b/build-support/conftest.dyn @@ -0,0 +1,3 @@ +{ + radeon_drm_winsys_create; +}; diff --git a/build-support/conftest.map b/build-support/conftest.map new file mode 100644 index 0000000000000..7d8590ff35730 --- /dev/null +++ b/build-support/conftest.map @@ -0,0 +1,6 @@ +VERSION_1 { + global: + main; + local: + *; +}; diff --git a/configure.ac b/configure.ac index 62d33a1941c32..bbabf3bed7c55 100644 --- a/configure.ac +++ b/configure.ac @@ -606,16 +606,7 @@ dnl Check if linker supports version scripts dnl AC_MSG_CHECKING([if the linker supports version-scripts]) save_LDFLAGS=$LDFLAGS -LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" -cat > conftest.map < conftest.dyn <