[ --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"
- ])
+ AIKSAURUS_LIBS="-lAikSaurus -lbz2"
+ ],,"-lbz2")
fi
AC_SUBST(AIKSAURUS_LIBS)