+2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * INSTALL: update various requirements
+
+ * configure.in: do not test for namespace, mutable
+
+ * acconfig.h: remove entry for USE_PSPELL
+
2001-07-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ABOUT-NLS: updated from gettext 0.10.38
LyX. It is imperative that you have the correct versions of these
libraries, and their associated header files.
-As of LyX version 1.1.5, you will need to have Xforms library and header
-version 0.88 or 0.89. Version 0.88 is a stable release and the
-recommended version. On some systems, such as linux ELF, there are shared
-library versions of the Xforms library, which require an installation step
-to configure the system.
+As of LyX version 1.1.5, you will need to have Xforms library and
+header version 0.88 or 0.89. Version 0.88 is a stable release and the
+recommended version, but 0.89.6 seems to be work very well too. On
+some systems, such as linux ELF, there are shared library versions of
+the Xforms library, which require an installation step to configure
+the system.
Xforms is available (free) only in binary format, source code is not
available. If it is not available for your machine, contact the Xforms
(or similar locations at other sunsites like sunsite.unc.edu)
You will also need a recent C++ compiler, where recent means that the
-compilers are close to C++ standard conforming. Compilers that are
-known to compile LyX are gcc 2.8.1 and 2.95.x, the various versions of
-egcs and Digital C++ version 6.1. Please tell us your experience with
-other compilers. It is _not_ possible to compile LyX with gcc 2.7.x,
-and this is not likely to change in the future.
+compilers are close to C++ standard conforming. Compilers that are
+known to compile LyX are egcs 1.1.x, gcc 2.95.x and later, and Digital
+C++ version 6.1 and later. Please tell us your experience with other
+compilers. It is _not_ possible to compile LyX with gcc 2.7.x and
+2.8.x, and this is not likely to change in the future.
Note that, contrary to LyX 1.0.x, LyX 1.1.x makes great use of C++
Standard Template Library (STL); this means that gcc users will have
to install the relevant libstdc++ library to be able to compile this
version.
-If you make modifications to files in src/ (for example by applying a
-patch), you will need to have the GNU gettext package installed, due to
-some dependencies in the makefiles. You can find the latest (alpha)
-version from:
+If you make modifications to files in src/ (for example by applying a
+patch), you will need to have the GNU gettext package installed, due
+to some dependencies in the makefiles. You can find the latest version
+from:
- ftp://alpha.gnu.org/gnu/gettext-0.10.xx.tar.gz.
+ ftp://ftp.gnu.org/gnu/gettext-0.10.xx.tar.gz.
LyX contains a hack to work around this, but you should not rely too
much on it.
#undef HAVE_LIBSM
-#undef USE_PSPELL
-
/* Define as 1 if the MKSTEMP function is declared */
#undef HAVE_DECL_MKSTEMP
+2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * lyxinclude.m4: remove LYX_CXX_NAMESPACE, LYX_CXX_MUTABLE
+ (LYX_PROG_CXX_WORKS): check for namespace support, mutable keyword
+ (LYX_PATH_XFORMS): do not warn against xforms 0.89.6
+
+ * pspell.m4 (CHECK_WITH_PSPELL): add the documentation for the
+ USE_PSPELL define.
+
2001-07-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* codeset.m4:
AC_DEFUN(LYX_PROG_CXX_WORKS,
[AC_LANG_SAVE
AC_LANG_CPLUSPLUS
-AC_TRY_COMPILER([class foo { int bar; }; int main(){return(0);}], ac_cv_prog_cxx_works, ac_cv_prog_cxx_cross)
+AC_TRY_COMPILER(
+[class foo {
+ // we require the mutable keyword
+ mutable int bar;
+ };
+ // we require namespace support
+ namespace baz {
+ int bar;
+ }
+ int main() {
+ return(0);
+ }
+], ac_cv_prog_cxx_works, ac_cv_prog_cxx_cross)
AC_LANG_RESTORE
if test $ac_cv_prog_cxx_works = no; then
CXX=
])dnl
+dnl NOT USED CURRENTLY*************************************
dnl Usage: LYX_CXX_RTTI : checks whether the C++ compiler
dnl supports RTTI
AC_DEFUN(LYX_CXX_RTTI,[
fi])
+dnl NOT USED CURRENTLY*************************************
dnl Usage: LYX_CXX_STL_STACK : checks whether the C++ compiler
dnl has a working stl stack template
AC_DEFUN(LYX_CXX_STL_STACK,[
AC_MSG_CHECKING(whether the included std::string should be used)
AC_ARG_WITH(included-string,
[ --with-included-string use LyX string class instead of STL string],
- [lyx_cv_with_included_string=$withval],
+ [lyx_cv_with_included_string=$withval
+ AC_MSG_RESULT([$with_included_string])],
[AC_CACHE_CHECK([],lyx_cv_with_included_string,
[AC_TRY_COMPILE([
#include <string>
AM_CONDITIONAL(USE_REGEX, test x$lyx_regex = xyes)
])
-
-dnl LYX_CXX_MUTABLE
-AC_DEFUN(LYX_CXX_MUTABLE, [
- AC_REQUIRE([LYX_PROG_CXX])
- AC_CACHE_CHECK([if C++ compiler supports mutable],
- lyx_cv_cxx_mutable,[
- AC_TRY_COMPILE(
- [
- class k {
- mutable char *c;
- public:
- void foo() const { c=0; }
- };
- ],[
- ],[
- lyx_cv_cxx_mutable=yes
- ],[
- lyx_cv_cxx_mutable=no
- ])
- ])
- if test $lyx_cv_cxx_mutable = yes ; then
- AC_DEFINE(HAVE_MUTABLE, 1,
- [Defined if your compiler suports 'mutable'.])
- fi
-])
-
-
+dnl NOT USED CURRENTLY*************************************
dnl LYX_CXX_PARTIAL
AC_DEFUN(LYX_CXX_PARTIAL, [
AC_REQUIRE([LYX_PROG_CXX])
])
-dnl Usage: LYX_CXX_NAMESPACES : checks whether the C++ compiler
-dnl has a correct namespace handling and define CXX_WORKING_NAMESPACES
-dnl if true. This macro does not do a thourough test, but it should be
-dnl good enough to suit our needs.
-AC_DEFUN(LYX_CXX_NAMESPACES,[
- AC_CACHE_CHECK(for correct namespaces support,lyx_cv_cxx_namespace,
- [AC_TRY_COMPILE([
- namespace foo {
- int bar;
- }
- ],[
- foo::bar = 0;
- return 0;
- ],lyx_cv_cxx_namespace=yes,lyx_cv_cxx_namespace=no)
- ])
- if test x$lyx_cv_cxx_namespace = xyes ; then
- AC_DEFINE(CXX_WORKING_NAMESPACES, 1,
- [Define if your C++ compiler has correct support for namespaces])
- fi
-])
-
-
dnl Usage: LYX_CXX_CHEADERS : checks whether the C++ compiler
dnl provides wrappers for C headers and use our alternate version otherwise.
AC_DEFUN(LYX_CXX_CHEADERS,[
Version $lyx_cv_xfversion of xforms is not compatible with LyX.
This version of LyX works best with versions 0.88 (recommended) and later.) ;;
0.88*) ;;
- 0.89*) LYX_WARNING(dnl
+ 0.89[012345]) LYX_WARNING(dnl
LyX should work ok with version $lyx_cv_xfversion of xforms[,] but
-it is an unproven version and might still have some bugs. If you
-have problems[,] please use version 0.88 instead.) ;;
+it is an unproven version and might still have some bugs. You should
+probably use version 0.89.6 (or 0.88) instead) ;;
+ 0.89*) ;;
*) LYX_WARNING(dnl
Version $lyx_cv_xfversion of xforms might not be compatible with LyX[,]
since it is newer than 0.88. You might have slight problems with it.);;
-# Macro to add for using pspell spellchecker libraries!
+# Macro to add for using pspell spellchecker libraries! -*- sh -*-
# @author@: Jürgen Vigna
AC_DEFUN(CHECK_WITH_PSPELL,
fi
if test "$USE_PSPELL" = "yes"; then
- AC_DEFINE(USE_PSPELL)
+ AC_DEFINE(USE_PSPELL, 1, [Define as 1 to use the pspell library])
PSPELL_INCLUDES="-I$pspell_use_include"
PSPELL_LIBS="-L$pspell_use_lib -lpspell"
USE_PSPELL="yes ($pspell_use_include $pspell_use_lib)"
LYX_PROG_LIBTOOL
### Some checks on what the C++ compiler can(not) do
-LYX_CXX_MUTABLE
-LYX_CXX_PARTIAL
+dnl we do not need that currently (and probably all our supported
+dnl compiler allow that)
+dnl LYX_CXX_PARTIAL
LYX_CXX_EXPLICIT
-dnl we do not use stl stack, or at least not on gcc 2.7, which was the
-dnl cause for this test.
-dnl LYX_CXX_STL_STACK
LYX_CXX_STL_STRING
LYX_CXX_GOOD_STD_STRING
-LYX_CXX_NAMESPACES
LYX_CXX_CHEADERS
LYX_CXX_GLOBAL_CSTD
LYX_STD_COUNT