aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-11-04 06:45:07 +0000
committerJeff Law <law@redhat.com>1999-11-04 06:45:07 +0000
commit93a6d43674ccaf3089bd29f7f3aa7b8e7b65d99c (patch)
tree4d15052a94a6f304bbcf98090a08cce50180aa40 /ld/configure.in
parent53b0d3971a015b795bd0230e9a6632f9d52a120b (diff)
downloadgdb-93a6d43674ccaf3089bd29f7f3aa7b8e7b65d99c.zip
gdb-93a6d43674ccaf3089bd29f7f3aa7b8e7b65d99c.tar.gz
gdb-93a6d43674ccaf3089bd29f7f3aa7b8e7b65d99c.tar.bz2
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 <drepper@cygnus.com> * 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.
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in10
1 files changed, 10 insertions, 0 deletions
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])