mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 16:40:41 -05:00
596d4628e6
* tests/tools/Makefile.am: Optionally build the libdisable-npots.la library depending on whether libdl was detected in the configure script. A helper script is also generated to setup the LD_PRELOAD. * tests/conform/Makefile.am: There are now two versions of the test-report and full-report rules. test-report-normal is the same as before and test-report-disable-npots runs the tests with the disable-npots wrapper script. The full-report rule runs both of them and displays two separate HTML files. The test-report rule just runs the normal version as before. * configure.ac: Add a test for libdl * tests/tools/disable-npots.sh.in: New file. Template for the helper script * tests/tools/disable-npots.c: New file
23 lines
438 B
Makefile
23 lines
438 B
Makefile
lib_LTLIBRARIES =
|
|
|
|
if HAVE_LIBDL
|
|
|
|
lib_LTLIBRARIES += libdisable-npots.la
|
|
|
|
endif
|
|
|
|
libdisable_npots_la_SOURCES = disable-npots.c
|
|
|
|
libdisable_npots_la_LIBADD = -ldl
|
|
|
|
all-local : disable-npots.sh
|
|
|
|
clean-local :
|
|
rm -f disable-npots.sh
|
|
|
|
disable-npots.sh : $(top_builddir)/tests/tools/disable-npots.sh.in
|
|
sed 's|--builddir--|'`cd '$(top_builddir)' && pwd`'|' < $< > $@ && \
|
|
chmod 755 disable-npots.sh
|
|
|
|
EXTRA_DIST = README disable-npots.sh.in
|