diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-21 00:15:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-21 00:15:14 +0000 |
commit | 0fb7851fce038b80be60eae2d66d60f337a60e14 (patch) | |
tree | ab7595811bd0e5b1d1c7160629dad013f4f23f8a /configure.in | |
parent | bf8b3e74bfdc50935445c324f8dc03025a6f2419 (diff) | |
download | glibc-0fb7851fce038b80be60eae2d66d60f337a60e14.zip glibc-0fb7851fce038b80be60eae2d66d60f337a60e14.tar.gz glibc-0fb7851fce038b80be60eae2d66d60f337a60e14.tar.bz2 |
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.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in index bf7b307..2c047da 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 <<EOF +int _start (void) { return 42; } +EOF + if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c -Wl,--enable-new-dtags,-z,nodelete 1>&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 |