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 <emil.l.velikov@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
This commit is contained in:
Dylan Baker 2017-09-30 12:14:02 -07:00
parent 3b209e9304
commit e4796ab7c8
4 changed files with 14 additions and 17 deletions

View File

@ -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 \

View File

@ -0,0 +1,3 @@
{
radeon_drm_winsys_create;
};

View File

@ -0,0 +1,6 @@
VERSION_1 {
global:
main;
local:
*;
};

View File

@ -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 <<EOF
VERSION_1 {
global:
main;
local:
*;
};
EOF
LDFLAGS="$LDFLAGS -Wl,--version-script=$srcdir/build-support/conftest.map"
AC_LINK_IFELSE(
[AC_LANG_SOURCE([int main() { return 0;}])],
[have_ld_version_script=yes;AC_MSG_RESULT(yes)],
@ -628,12 +619,7 @@ dnl Check if linker supports dynamic list files
dnl
AC_MSG_CHECKING([if the linker supports --dynamic-list])
save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,--dynamic-list=conftest.dyn"
cat > conftest.dyn <<EOF
{
radeon_drm_winsys_create;
};
EOF
LDFLAGS="$LDFLAGS -Wl,--dynamic-list=$srcdir/build-support/conftest.dyn"
AC_LINK_IFELSE(
[AC_LANG_SOURCE([int main() { return 0;}])],
[have_ld_dynamic_list=yes;AC_MSG_RESULT(yes)],