]> git.lyx.org Git - lyx.git/commitdiff
remove linking against libiberty
authorJohn Levon <levon@movementarian.org>
Tue, 11 Jun 2002 17:53:47 +0000 (17:53 +0000)
committerJohn Levon <levon@movementarian.org>
Tue, 11 Jun 2002 17:53:47 +0000 (17:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4366 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
INSTALL
configure.in

index 7e3ee7665dbcb005ba663d32562b01112b37394e..1d760af51214937ab6c67d1112d23b9447d4aad7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
+
+       * INSTALL:
+       * configure.in: remove attempt to link against libiberty. It
+       is morally wrong, and potentially dangerous.
 2002-06-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * configure.in: move the test for xpm/xforms out of the frontends
diff --git a/INSTALL b/INSTALL
index 589a3965192377394d70cfc7ada911ba5b5a882f..6bcc0781600da80ad51ec4d6c8d1fa1e6a4f43e9 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -376,16 +376,6 @@ notify us.
     Angus Leeming <leeming@lyx.org> 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 <David_Sundqvist@vd.volvo.se>, 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):  
index 538eab94683915a5426cb5ed23b6bb89183094fd..71ef9e5ba8fd1468e9b7c00885c16b72ccb42fc9 100644 (file)
@@ -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])