meson: Migrate epoxy probe to meson.build

This commit is contained in:
Matt Borgerson
2025-03-22 14:30:47 -07:00
committed by mborgerson
parent 1893b56c38
commit 1eced78a07
2 changed files with 3 additions and 17 deletions
Vendored
-15
View File
@@ -1191,17 +1191,6 @@ EOF
fi
fi
##########################################
# epoxy probe
if $pkg_config --libs --silence-errors epoxy > /dev/null 2>&1 ; then
epoxy_libs=$($pkg_config --libs --silence-errors epoxy)
epoxy_cflags=$($pkg_config --cflags --silence-errors epoxy)
else
error_exit "epoxy not present." \
"Please install the epoxy devel package."
fi
##########################################
# detect rust triple
@@ -1807,10 +1796,6 @@ if test "$default_targets" = "yes"; then
echo "CONFIG_DEFAULT_TARGETS=y" >> $config_host_mak
fi
# FIXME: Use meson
echo "EPOXY_CFLAGS=$epoxy_cflags" >> $config_host_mak
echo "EPOXY_LIBS=$epoxy_libs" >> $config_host_mak
# tests/tcg configuration
mkdir -p tests/tcg
echo "# Automatically generated by configure - do not modify" > tests/tcg/$config_host_mak