Aiksaurus 1.0 support

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7345 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-07-22 15:23:35 +00:00
parent 172c868068
commit 6f2c9fd6b2
6 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-22 John Levon <levon@movementarian.org>
* configure.ac:
* configure.in: support Aiksaurus 1.0
2003-07-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* configure.in:

View File

@ -120,6 +120,13 @@ AC_CHECK_LIB(Aiksaurus, main,
[AC_DEFINE(HAVE_LIBAIKSAURUS,1,[Define this if you have the AikSaurus library])
AIKSAURUS_LIBS="-lAiksaurus -lbz2"
],,"-lbz2")
AC_CHECK_HEADER(Aiksaurus.h,[
ac_cv_header_aiksaurus_h=yes
lyx_cv_aiksaurus_h_location="<Aiksaurus.h>"])
AC_CHECK_HEADER(Aiksaurus/Aiksaurus.h,[
ac_cv_header_aiksaurus_h=yes
lyx_cv_aiksaurus_h_location="<Aiksaurus/Aiksaurus.h>"])
AC_DEFINE_UNQUOTED(AIKSAURUS_H_LOCATION,$lyx_cv_aiksaurus_h_location,[Location of Aiksaurus.h])
fi
AC_SUBST(AIKSAURUS_LIBS)

View File

@ -123,6 +123,13 @@ AC_CHECK_LIB(Aiksaurus, main,
[AC_DEFINE(HAVE_LIBAIKSAURUS,,[Define this if you have the AikSaurus library])
AIKSAURUS_LIBS="-lAiksaurus -lbz2"
],,"-lbz2")
AC_CHECK_HEADER(Aiksaurus.h,[
ac_cv_header_aiksaurus_h=yes
lyx_cv_aiksaurus_h_location="<Aiksaurus.h>"])
AC_CHECK_HEADER(Aiksaurus/Aiksaurus.h,[
ac_cv_header_aiksaurus_h=yes
lyx_cv_aiksaurus_h_location="<Aiksaurus/Aiksaurus.h>"])
AC_DEFINE_UNQUOTED(AIKSAURUS_H_LOCATION,$lyx_cv_aiksaurus_h_location,[Location of Aiksaurus.h])
fi
AC_SUBST(AIKSAURUS_LIBS)

View File

@ -130,6 +130,7 @@ src/frontends/xforms/FormVCLog.C
src/frontends/xforms/FormWrap.C
src/frontends/xforms/Menubar_pimpl.C
src/frontends/xforms/XMiniBuffer.C
src/frontends/xforms/a.C
src/frontends/xforms/xformsBC.h
src/frontends/xforms/xforms_helpers.C
src/gettext.h

View File

@ -1,3 +1,7 @@
2003-07-22 John Levon <levon@movementarian.org>
* Thesaurus.h: include the right aiksaurus header
2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* MenuBackend.C (expand): check menu shortcuts unconditionally

View File

@ -15,7 +15,7 @@
#include "LString.h"
#ifdef HAVE_LIBAIKSAURUS
#include "Aiksaurus.h"
#include AIKSAURUS_H_LOCATION
#endif
/**