diff options
author | Roland McGrath <roland@redhat.com> | 2005-11-17 02:32:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2005-11-17 02:32:03 +0000 |
commit | d7f8d0caa7a357f9f4765e5dc93255f5057eba2e (patch) | |
tree | 6bb8e84c8234d3ee13e506f1de85a9d3a73a64cf /tests/asm-tst1.c | |
parent | 2f39dfa20fb4b1e4a53af3b112b9bc42fdbc2ecb (diff) | |
download | elfutils-d7f8d0caa7a357f9f4765e5dc93255f5057eba2e.tar.gz |
2005-11-16 Roland McGrath <roland@redhat.com>
* configure.ac: Define HAVE_LIBASM and STANDALONE conditionals.
In config.h, define ELFUTILS_HEADER macro.
tests/
2005-11-16 Roland McGrath <roland@redhat.com>
* 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 <config.h>.
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.
Diffstat (limited to 'tests/asm-tst1.c')
-rw-r--r-- | tests/asm-tst1.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/asm-tst1.c b/tests/asm-tst1.c index cfaae345..3b3bf063 100644 --- a/tests/asm-tst1.c +++ b/tests/asm-tst1.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 <config.h> +#endif + #include <fcntl.h> -#include <libasm.h> +#include ELFUTILS_HEADER(asm) #include <libelf.h> #include <stdio.h> #include <string.h> |