From 0fb7851fce038b80be60eae2d66d60f337a60e14 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 21 Jul 2000 00:15:14 +0000 Subject: Update. * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). (tests-nodelete-yes): Define. (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). Add rules to build nodelete and modules. * elf/nodelete.c: New file. * elf/nodelmod1.c: New file. * elf/nodelmod2.c: New file. * configure.in: Add test for -z nodelete option. * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. --- configure.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index bf7b307e2e..2c047daadf 100644 --- a/configure.in +++ b/configure.in @@ -900,6 +900,20 @@ EOF fi rm -f conftest*]) AC_SUBST(libc_cv_asm_protected_directive) + + AC_CACHE_CHECK(for -z nodelete option, + libc_cv_z_nodelete, [dnl + cat > conftest.c <&AC_FD_CC]) + then + libc_cv_z_nodelete=yes + else + libc_cv_z_nodelete=no + fi + rm -f conftest*]) + AC_SUBST(libc_cv_z_nodelete) fi if test $elf != yes; then -- cgit v1.2.3