From: John Levon Date: Tue, 11 Jun 2002 17:53:47 +0000 (+0000) Subject: remove linking against libiberty X-Git-Tag: 1.6.10~19111 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=80e391ef35443589149c0135cbb3ca1bdb49ca3d;p=features.git remove linking against libiberty git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4366 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/ChangeLog b/ChangeLog index 7e3ee7665d..1d760af512 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-06-11 John Levon + + * INSTALL: + * configure.in: remove attempt to link against libiberty. It + is morally wrong, and potentially dangerous. + 2002-06-07 Jean-Marc Lasgouttes * configure.in: move the test for xpm/xforms out of the frontends diff --git a/INSTALL b/INSTALL index 589a396519..6bcc078160 100644 --- a/INSTALL +++ b/INSTALL @@ -376,16 +376,6 @@ notify us. Angus Leeming for details. Angus 22 March, 2002. - o Some systems lack functions that LyX needs. To fix this, configure - tries to link against the -liberty library, if it is available. - If you experience problems with missing symbols at link time, you - could try to install libiberty.a, which comes with several GNU - packages (in particular libg++). In any case, please report your - problems to lyx-devel@lists.lyx.org. - - The option --without-liberty disable the detection of -liberty. It - is meant for debugging purpose only. - o According to David Sundqvist , some changes are needed to compile with aCC on HP-UX 10.20. These are the relevant changes in the makefile (with comments tagged on): diff --git a/configure.in b/configure.in index 538eab9468..71ef9e5ba8 100644 --- a/configure.in +++ b/configure.in @@ -120,16 +120,6 @@ LYX_LOOP_DIR($lyx_cv_extra_prefix,[ LYX_ADD_INC_DIR(CPPFLAGS,$dir/include) LYX_ADD_LIB_DIR(LDFLAGS,$dir/lib)]) -### Check for the -liberty library -test "x$GXX" = xyes && lyx_use_liberty=yes -AC_ARG_WITH(liberty, - [ --without-liberty do not try to link against libiberty.a], - [lyx_use_liberty=$withval]) -if test x$lyx_use_liberty = xyes; then - # AC_CHECK_LIB(iberty,main,LIBS="-liberty $LIBS") - AC_CHECK_LIB(iberty,main) -fi - AC_ARG_WITH(aiksaurus, [ --without-aiksaurus do not use the Aiksaurus library], [lyx_use_aiksaurus=$withval])