From d7f8d0caa7a357f9f4765e5dc93255f5057eba2e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 17 Nov 2005 02:32:03 +0000 Subject: 2005-11-16 Roland McGrath * configure.ac: Define HAVE_LIBASM and STANDALONE conditionals. In config.h, define ELFUTILS_HEADER macro. tests/ 2005-11-16 Roland McGrath * configure.ac: New file, for standalone build/dist of test suite. * Makefile.am [!STANDALONE] (INCLUDES): Don't define it. (asm_TESTS): New variable, broken out of ... (TESTS): ... here. Also remove msg_tst. [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst. (installed_TESTS_ENVIRONMENT): New variable. [STANDALONE] (TESTS_ENVIRONMENT): Use that. [!STANDALONE] (installcheck-local): Likewise. [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo. * addrscopes.c: Include . Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers. * allfcts.c: Likewise. * asm-tst1.c: Likewise. * asm-tst2.c: Likewise. * asm-tst3.c: Likewise. * asm-tst4.c: Likewise. * asm-tst5.c: Likewise. * asm-tst6.c: Likewise. * asm-tst7.c: Likewise. * asm-tst8.c: Likewise. * asm-tst9.c: Likewise. * dwflmodtest.c: Likewise. * find-prologues.c: Likewise. * funcscopes.c: Likewise. * get-aranges.c: Likewise. * get-files.c: Likewise. * get-lines.c: Likewise. * get-pubnames.c: Likewise. * line2addr.c: Likewise. * newscn.c: Likewise. * show-abbrev.c: Likewise. * show-die-info.c: Likewise. * update3.c: Likewise. * update4.c: Likewise. * dwflmodtest.c (print_instance): Don't use INTUSE. (options): Don't use N_ macro. --- tests/asm-tst4.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/asm-tst4.c') diff --git a/tests/asm-tst4.c b/tests/asm-tst4.c index 50c3c5a5..affc0c90 100644 --- a/tests/asm-tst4.c +++ b/tests/asm-tst4.c @@ -11,8 +11,12 @@ by writing the Open Source Initiative c/o Lawrence Rosen, Esq., 3001 King Ranch Road, Ukiah, CA 95482. */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include -#include +#include ELFUTILS_HEADER(asm) #include #include #include -- cgit v1.2.1