add some lost parts

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5582 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-11-04 18:35:29 +00:00
parent 4eb7585163
commit ff2e998822
2 changed files with 63 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-11-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
* configure.ac (AH_VERBATIM: add some lost parts...
2002-10-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxinclude.m4: increase template depth for some versions of g++.

View File

@ -288,6 +288,65 @@ ${FRONTEND_INFO}\
AC_SUBST(VERSION_INFO)
## Some config.h stuff
AH_VERBATIM([HAVE_STRCHR],
[
#ifndef HAVE_STRCHR
# define strchr(a,b) index(a,b)
#endif
])
AH_VERBATIM([HAVE_MEMMOVE],
[
#ifndef HAVE_MEMMOVE
# define memmove(a,b,c) bcopy(b,a,c)
#endif
])
AH_VERBATIM([HAVE_STRERROR],
[
#ifndef HAVE_STRERROR
#if defined(__cplusplus)
extern "C"
#endif
char * strerror(int n);
#endif
])
AH_VERBATIM([BROKEN_HEADERS],
[
#ifdef BROKEN_HEADERS
#include "broken_headers.h"
#endif
])
AH_VERBATIM([HAVE_MKSTEMP],
[
#ifdef HAVE_MKSTEMP
#ifndef HAVE_DECL_MKSTEMP
#if defined(__cplusplus)
extern "C"
#endif
int mkstemp(char*);
#endif
#endif
])
AH_VERBATIM([__EMX__],
[
#ifdef __EMX__
#include "support/os2_defines.h"
#endif
])
AH_VERBATIM([__CYGWIN__],
[
#if defined(__CYGWIN__) || defined(__CYGWIN32__)
#include "support/nt_defines.h"
#endif
])
### Finish the work.
AC_CONFIG_SUBDIRS(lib lib/reLyX)
AC_CONFIG_FILES([Makefile \