diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-01-04 19:27:19 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-01-04 19:27:19 +0000 |
commit | 72cfdc760299dc3ac466f0bd331ab904411c58ae (patch) | |
tree | f2f96ba427056a0b5fc9f2bab9f720448107d726 /gdb/configure.in | |
parent | dc62bfc2fcfef98a6bdae97a354f38c825ed4766 (diff) | |
download | gdb-72cfdc760299dc3ac466f0bd331ab904411c58ae.zip gdb-72cfdc760299dc3ac466f0bd331ab904411c58ae.tar.gz gdb-72cfdc760299dc3ac466f0bd331ab904411c58ae.tar.bz2 |
* configure.in: Remove code dealing with shared libraries.
* Makefile.in: Remove HLDFLAGS and HLDENV.
* configure: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index f87eba5..566cbed 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -1143,67 +1143,6 @@ AC_SUBST(CONFIG_CLEAN) AC_SUBST(CONFIG_INSTALL) AC_SUBST(CONFIG_UNINSTALL) -# Begin stuff to support --enable-shared -AC_ARG_ENABLE(shared, -[ --enable-shared Use shared libraries], -[case "${enableval}" in - yes) shared=true ;; - no) shared=false ;; - *) shared=true ;; -esac])dnl - -HLDFLAGS= -HLDENV= -# If we have shared libraries, try to set rpath reasonably. -if test "${shared}" = "true"; then - case "${host}" in - *-*-hpux*) - HLDFLAGS='-Wl,+s,+b,$(libdir)' - ;; - *-*-irix5* | *-*-irix6*) - HLDFLAGS='-Wl,-rpath,$(libdir)' - ;; - *-*-linux*aout*) - ;; - *-*-linux* | *-pc-linux-gnu*) - HLDFLAGS='-Wl,-rpath,$(libdir)' - ;; - *-*-solaris*) - HLDFLAGS='-R $(libdir)' - ;; - *-*-sysv4*) - HLDENV='if test -z "$${LD_RUN_PATH}"; then LD_RUN_PATH=$(libdir); else LD_RUN_PATH=$${LD_RUN_PATH}:$(libdir); fi; export LD_RUN_PATH;' - ;; - esac -fi - -# On SunOS, if the linker supports the -rpath option, use it to -# prevent ../bfd and ../opcodes from being included in the run time -# search path. -case "${host}" in - *-*-sunos*) - echo 'main () { }' > conftest.c - ${CC} -o conftest -Wl,-rpath= conftest.c >/dev/null 2>conftest.t - if grep 'unrecognized' conftest.t >/dev/null 2>&1; then - : - elif grep 'No such file' conftest.t >/dev/null 2>&1; then - : - elif grep 'do not mix' conftest.t >/dev/null 2>&1; then - : - elif grep 'some text already loaded' conftest.t >/dev/null 2>&1; then - : - elif test "${shared}" = "true"; then - HLDFLAGS='-Wl,-rpath=$(libdir)' - else - HLDFLAGS='-Wl,-rpath=' - fi - rm -f conftest.t conftest.c conftest - ;; -esac -AC_SUBST(HLDFLAGS) -AC_SUBST(HLDENV) -# End stuff to support --enable-shared - # target_subdir is used by the testsuite to find the target libraries. target_subdir= if test "${host}" != "${target}"; then |