mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Test for things that MSVC doesn't have, rather than for things it does.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9896 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
201e5bdf70
commit
9302177325
@ -1,3 +1,8 @@
|
||||
2005-05-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* configure.ac: test for something that MSVC doesn't have (fcntl)
|
||||
as opposed to something it does (select, socket).
|
||||
|
||||
2005-05-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* autogen.sh (ACINCLUDE_FILES): remove [ap]spell.m4. Add spell.m4.
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-05-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* spell.m4: test for something that MSVC doesn't have (fork)
|
||||
as opposed to something it does (select, dup2).
|
||||
|
||||
2005-05-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* aspell.m4, pspell.m4: removed.
|
||||
|
@ -65,7 +65,7 @@ AC_DEFUN([LYX_CHECK_SPELL_ENGINES],
|
||||
dnl Do this independent of the existence of the aspell, pspell libraries.
|
||||
lyx_use_ispell=true
|
||||
AC_LANG_PUSH(C)
|
||||
AC_CHECK_FUNCS(select dup2,, [lyx_use_ispell=false])
|
||||
AC_CHECK_FUNCS(fork,, [lyx_use_ispell=false])
|
||||
AC_LANG_POP(C)
|
||||
AC_MSG_CHECKING([whether to use ispell])
|
||||
if $lyx_use_ispell ; then
|
||||
|
@ -289,7 +289,7 @@ LYX_CHECK_SPELL_ENGINES
|
||||
|
||||
lyx_client_subdir=true
|
||||
AC_LANG_PUSH(C)
|
||||
AC_CHECK_FUNCS(select socket,, [lyx_client_subdir=false])
|
||||
AC_CHECK_FUNCS(fcntl,, [lyx_client_subdir=false])
|
||||
AM_CONDITIONAL(BUILD_CLIENT_SUBDIR, $lyx_client_subdir)
|
||||
AC_LANG_POP(C)
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-05-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* socktools.C: make compilation dependent on HAVE_FCNTL rather
|
||||
than HAVE_SOCKET.
|
||||
|
||||
2005-05-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* socktool.C (listen, accept): provide stub versions for Windows.
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#include "support/socktools.h"
|
||||
|
||||
#if !defined (HAVE_SOCKET)
|
||||
#if !defined (HAVE_FCNTL)
|
||||
// We provide stubs because we don't (yet?) support the native OS API.
|
||||
|
||||
namespace lyx {
|
||||
@ -34,7 +34,7 @@ int accept(int)
|
||||
} // namespace support
|
||||
} // namespace lyx
|
||||
|
||||
#else // defined (HAVE_SOCKET)
|
||||
#else // defined (HAVE_FCNTL)
|
||||
|
||||
#include "support/lyxlib.h"
|
||||
|
||||
@ -163,4 +163,4 @@ int accept(int sd)
|
||||
} // namespace support
|
||||
} // namespace lyx
|
||||
|
||||
#endif // defined (HAVE_SOCKET)
|
||||
#endif // defined (HAVE_FCNTL)
|
||||
|
Loading…
Reference in New Issue
Block a user