mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Remove dead includes in FileName, since we do not use mkstemp anymore
Do not check for headers strings.h, io.h, process.h Do not check for functions mkstemp, mktemp Do not check for declarations of istreambug_iterator, iterator, mktemp NOTE to cmake/scons maintainers: you should also get rid of the handling of those symbols. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31646 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d9e83bc7ff
commit
d23a75a3dc
@ -168,7 +168,7 @@ AC_LANG_POP(C)
|
||||
|
||||
# some standard header files
|
||||
AC_HEADER_MAJOR
|
||||
AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h strings.h locale.h io.h process.h NewAPIs.h utime.h sys/utime.h)
|
||||
AC_CHECK_HEADERS(sys/time.h sys/types.h sys/select.h locale.h NewAPIs.h utime.h sys/utime.h)
|
||||
|
||||
# some standard structures
|
||||
AC_HEADER_STAT
|
||||
@ -182,10 +182,7 @@ AC_TYPE_SIGNAL
|
||||
AC_TYPE_SIZE_T
|
||||
AC_TYPE_UID_T
|
||||
|
||||
AC_CHECK_FUNCS(strerror)
|
||||
AC_CHECK_FUNCS(chmod close _close fork getpid _getpid lstat mkfifo mkstemp mktemp open _open pclose _pclose popen _popen readlink strerror)
|
||||
LYX_CHECK_DECL(istreambuf_iterator, iterator)
|
||||
LYX_CHECK_DECL(mkstemp,[unistd.h stdlib.h])
|
||||
AC_CHECK_FUNCS(chmod close _close fork getpid _getpid lstat mkfifo open _open pclose _pclose popen _popen readlink strerror)
|
||||
# Check the form of mkdir()
|
||||
AC_FUNC_MKDIR
|
||||
AC_FUNC_SELECT_ARGTYPES
|
||||
|
@ -59,19 +59,6 @@
|
||||
#include <cerrno>
|
||||
#include <fcntl.h>
|
||||
|
||||
#if defined(HAVE_MKSTEMP) && ! defined(HAVE_DECL_MKSTEMP)
|
||||
extern "C" int mkstemp(char *);
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_MKSTEMP) && defined(HAVE_MKTEMP)
|
||||
# ifdef HAVE_IO_H
|
||||
# include <io.h>
|
||||
# endif
|
||||
# ifdef HAVE_PROCESS_H
|
||||
# include <process.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// Three implementations of checksum(), depending on having mmap support or not.
|
||||
#if defined(HAVE_MMAP) && defined(HAVE_MUNMAP)
|
||||
#define SUM_WITH_MMAP
|
||||
|
Loading…
Reference in New Issue
Block a user