remove linking against libiberty

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4366 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-06-11 17:53:47 +00:00
parent 760e4f4ce6
commit 80e391ef35
3 changed files with 6 additions and 20 deletions

View File

@ -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> 2002-06-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* configure.in: move the test for xpm/xforms out of the frontends * configure.in: move the test for xpm/xforms out of the frontends

10
INSTALL
View File

@ -376,16 +376,6 @@ notify us.
Angus Leeming <leeming@lyx.org> for details. Angus Leeming <leeming@lyx.org> for details.
Angus 22 March, 2002. 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 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 changes are needed to compile with aCC on HP-UX 10.20. These are the
relevant changes in the makefile (with comments tagged on): relevant changes in the makefile (with comments tagged on):

View File

@ -120,16 +120,6 @@ LYX_LOOP_DIR($lyx_cv_extra_prefix,[
LYX_ADD_INC_DIR(CPPFLAGS,$dir/include) LYX_ADD_INC_DIR(CPPFLAGS,$dir/include)
LYX_ADD_LIB_DIR(LDFLAGS,$dir/lib)]) 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, AC_ARG_WITH(aiksaurus,
[ --without-aiksaurus do not use the Aiksaurus library], [ --without-aiksaurus do not use the Aiksaurus library],
[lyx_use_aiksaurus=$withval]) [lyx_use_aiksaurus=$withval])