From 7859897b24e57cd614425862de73512df394820d Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 30 Jul 2001 15:35:26 +0000 Subject: [PATCH] aik fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2390 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 5 +++++ configure.in | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b30c1918ec..6858d9efce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-07-30 John Levon + + * configure.in: add --without-aiksaurus, always + subst AIKSAURUS_LIBS + 2001-07-26 John Levon * NEWS: diff --git a/configure.in b/configure.in index 5e4437f46d..0823931ca4 100644 --- a/configure.in +++ b/configure.in @@ -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) -- 2.39.5