git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2390 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-07-30 15:35:26 +00:00
parent 2e5de574e1
commit 7859897b24
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-07-30 John Levon <moz@compsoc.man.ac.uk>
* configure.in: add --without-aiksaurus, always
subst AIKSAURUS_LIBS
2001-07-26 John Levon <moz@compsoc.man.ac.uk>
* NEWS:

View File

@ -111,12 +111,17 @@ dnl by testing these we check if it is ok to have
dnl -lc and -lm as args to the compiler
AC_CHECK_LIB(m, sin)
AC_CHECK_LIB(c, fopen)
AC_ARG_WITH(aiksaurus,
[ --without-aiksaurus do not use the AikSaurus library],
[lyx_use_aiksaurus=$withval])
if test x$lyx_use_aiksaurus != xno; then
AC_CHECK_LIB(bz2, main)
AC_CHECK_LIB(AikSaurus, main,
[AC_DEFINE(HAVE_LIBAIKSAURUS,,[Define this if you have the AikSaurus library])
AIKSAURUS_LIBS="-lAikSaurus"
AC_SUBST(AIKSAURUS_LIBS)
])
fi
AC_SUBST(AIKSAURUS_LIBS)
### Add extra directories to check for libraries.
LYX_WITH_DIR([extra-lib],[extra library directory],extra_lib, NONE)