From 93a6d43674ccaf3089bd29f7f3aa7b8e7b65d99c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 4 Nov 1999 06:45:07 +0000 Subject: Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com) * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): Clean up code to use EXTRA_SHLIB_EXTENSION. 1999-09-14 Ulrich Drepper * configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target. * config.in: Add EXTRA_SHLIB_EXTENSION. * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION is defined. --- ld/configure.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ld/configure.in') diff --git a/ld/configure.in b/ld/configure.in index a0fef19..c3d5e97 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -186,5 +186,15 @@ else fi AC_SUBST(TESTBFDLIB) +target_vendor=${target_vendor=$host_vendor} +case "$target_vendor" in + hp) EXTRA_SHLIB_EXTENSION=".sl" ;; + *) EXTRA_SHLIB_EXTENSION= ;; +esac +if test x${EXTRA_SHLIB_EXTENSION} != x ; then + AC_DEFINE_UNQUOTED(EXTRA_SHLIB_EXTENSION, "$EXTRA_SHLIB_EXTENSION", + [Additional extension a shared object might have.]) +fi + AC_OUTPUT(Makefile po/Makefile.in:po/Make-in, [sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile]) -- cgit v1.1