mirror of https://gitlab.freedesktop.org/mesa/mesa
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:
parent
3b209e9304
commit
e4796ab7c8
|
@ -56,7 +56,9 @@ EXTRA_DIST = \
|
||||||
doxygen \
|
doxygen \
|
||||||
bin/git_sha1_gen.py \
|
bin/git_sha1_gen.py \
|
||||||
scons \
|
scons \
|
||||||
SConstruct
|
SConstruct \
|
||||||
|
build-support/conftest.dyn \
|
||||||
|
build-support/conftest.map
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
include/c99_alloca.h \
|
include/c99_alloca.h \
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
radeon_drm_winsys_create;
|
||||||
|
};
|
|
@ -0,0 +1,6 @@
|
||||||
|
VERSION_1 {
|
||||||
|
global:
|
||||||
|
main;
|
||||||
|
local:
|
||||||
|
*;
|
||||||
|
};
|
18
configure.ac
18
configure.ac
|
@ -606,16 +606,7 @@ dnl Check if linker supports version scripts
|
||||||
dnl
|
dnl
|
||||||
AC_MSG_CHECKING([if the linker supports version-scripts])
|
AC_MSG_CHECKING([if the linker supports version-scripts])
|
||||||
save_LDFLAGS=$LDFLAGS
|
save_LDFLAGS=$LDFLAGS
|
||||||
LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
|
LDFLAGS="$LDFLAGS -Wl,--version-script=$srcdir/build-support/conftest.map"
|
||||||
cat > conftest.map <<EOF
|
|
||||||
VERSION_1 {
|
|
||||||
global:
|
|
||||||
main;
|
|
||||||
|
|
||||||
local:
|
|
||||||
*;
|
|
||||||
};
|
|
||||||
EOF
|
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_SOURCE([int main() { return 0;}])],
|
[AC_LANG_SOURCE([int main() { return 0;}])],
|
||||||
[have_ld_version_script=yes;AC_MSG_RESULT(yes)],
|
[have_ld_version_script=yes;AC_MSG_RESULT(yes)],
|
||||||
|
@ -628,12 +619,7 @@ dnl Check if linker supports dynamic list files
|
||||||
dnl
|
dnl
|
||||||
AC_MSG_CHECKING([if the linker supports --dynamic-list])
|
AC_MSG_CHECKING([if the linker supports --dynamic-list])
|
||||||
save_LDFLAGS=$LDFLAGS
|
save_LDFLAGS=$LDFLAGS
|
||||||
LDFLAGS="$LDFLAGS -Wl,--dynamic-list=conftest.dyn"
|
LDFLAGS="$LDFLAGS -Wl,--dynamic-list=$srcdir/build-support/conftest.dyn"
|
||||||
cat > conftest.dyn <<EOF
|
|
||||||
{
|
|
||||||
radeon_drm_winsys_create;
|
|
||||||
};
|
|
||||||
EOF
|
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
[AC_LANG_SOURCE([int main() { return 0;}])],
|
[AC_LANG_SOURCE([int main() { return 0;}])],
|
||||||
[have_ld_dynamic_list=yes;AC_MSG_RESULT(yes)],
|
[have_ld_dynamic_list=yes;AC_MSG_RESULT(yes)],
|
||||||
|
|
Loading…
Reference in New Issue