Line
Link Here
|
0 |
-- a/configure.ac |
0 |
++ b/configure.ac |
Lines 25-30
Link Here
|
25 |
AC_DISABLE_SHARED |
25 |
AC_DISABLE_SHARED |
26 |
AC_PROG_LIBTOOL |
26 |
AC_PROG_LIBTOOL |
27 |
|
27 |
|
|
|
28 |
AC_PATH_PROG([YASM], yasm,) |
29 |
AC_SUBST(YASM) |
30 |
|
28 |
# If this is a gnu compiler, pass -Wall |
31 |
# If this is a gnu compiler, pass -Wall |
29 |
if test "$ac_cv_c_compiler_gnu" = "yes"; then |
32 |
if test "$ac_cv_c_compiler_gnu" = "yes"; then |
30 |
CFLAGS="$CFLAGS -Wall" |
33 |
CFLAGS="$CFLAGS -Wall" |
31 |
-- a/tests/Makefile.am |
34 |
++ b/tests/Makefile.am |
Lines 10-16
Link Here
|
10 |
ovrrun_LDADD = ../libudis86/libudis86.la |
10 |
ovrrun_LDADD = ../libudis86/libudis86.la |
11 |
ovrrun_CFLAGS = -I$(top_srcdir)/libudis86 -I$(top_srcdir) |
11 |
ovrrun_CFLAGS = -I$(top_srcdir)/libudis86 -I$(top_srcdir) |
12 |
|
12 |
|
13 |
YASM = yasm |
13 |
YASM = @YASM@ |
14 |
|
14 |
|
15 |
dist_check_DATA = test16.asm test32.asm test64.asm testjmp.asm testobscure.asm \ |
15 |
dist_check_DATA = test16.asm test32.asm test64.asm testjmp.asm testobscure.asm \ |
16 |
testjmp.ref testobscure.ref randtest.raw randtest16.ref \ |
16 |
testjmp.ref testobscure.ref randtest.raw randtest16.ref \ |
Lines 18-24
Link Here
|
18 |
|
18 |
|
19 |
check-local: tests |
19 |
check-local: tests |
20 |
|
20 |
|
21 |
tests: test16 test32 test64 testjmp bufovrrun randraw |
21 |
yasm_tests: test16 test32 test64 testjmp |
|
|
22 |
no_yasm_tests: bufovrrun randraw |
23 |
|
24 |
tests: $(if $(YASM), yasm_tests) no_yasm_tests |
22 |
|
25 |
|
23 |
test16: gen |
26 |
test16: gen |
24 |
$(YASM) -f bin -o test16.bin $(top_srcdir)/tests/test16.asm |
27 |
$(YASM) -f bin -o test16.bin $(top_srcdir)/tests/test16.asm |