1999-09-27 18:44:28 +00:00
|
|
|
/* -*- C++ -*- */
|
2002-05-29 16:21:03 +00:00
|
|
|
/* This is the compilation configuration file for LyX. It was generated by
|
|
|
|
autoconf's configure. You might want to change some of the defaults if
|
1999-09-27 18:44:28 +00:00
|
|
|
something goes wrong during the compilation
|
2002-05-29 16:21:03 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, the High Level Word Processor
|
|
|
|
*
|
2001-06-04 23:57:32 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
|
|
|
* Copyright 1995-2001 The LyX Team.
|
1999-09-27 18:44:28 +00:00
|
|
|
*
|
|
|
|
*======================================================*/
|
|
|
|
|
|
|
|
#ifndef _CONFIG_H
|
|
|
|
#define _CONFIG_H
|
|
|
|
|
|
|
|
@TOP@
|
|
|
|
|
|
|
|
/* define this to the location of forms.h to be used with #include,
|
|
|
|
e.g. <forms.h> */
|
|
|
|
#undef FORMS_H_LOCATION
|
|
|
|
|
|
|
|
/* define this to the location of xpm.h to be used with #include,
|
|
|
|
e.g. <xpm.h> */
|
|
|
|
#undef XPM_H_LOCATION
|
|
|
|
|
2000-07-24 22:42:35 +00:00
|
|
|
#undef HAVE_LIBSM
|
|
|
|
|
2000-11-28 15:54:29 +00:00
|
|
|
/* Define as 1 if the MKSTEMP function is declared */
|
|
|
|
#undef HAVE_DECL_MKSTEMP
|
|
|
|
|
2001-02-06 15:17:11 +00:00
|
|
|
/* Define if you have the function prototype for snprintf(). */
|
|
|
|
#undef HAVE_DECL_SNPRINTF
|
|
|
|
|
|
|
|
/* Define if you have the function prototype for vsnprintf(). */
|
|
|
|
#undef HAVE_DECL_VSNPRINTF
|
|
|
|
|
2001-05-30 13:17:50 +00:00
|
|
|
/* Define if you have the function prototype istreambuf_iterator in
|
|
|
|
<iterator> */
|
|
|
|
#undef HAVE_DECL_ISTREAMBUF_ITERATOR
|
|
|
|
|
2002-05-29 16:21:03 +00:00
|
|
|
@BOTTOM@
|
1999-09-27 18:44:28 +00:00
|
|
|
|
2002-05-29 16:21:03 +00:00
|
|
|
/************************************************************
|
1999-09-27 18:44:28 +00:00
|
|
|
** You should not need to change anything beyond this point */
|
|
|
|
|
|
|
|
#ifndef HAVE_STRCHR
|
|
|
|
#define strchr(a,b) index(a,b)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_MEMMOVE
|
|
|
|
#define memmove(a, b, c) bcopy(b, a, c)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_STRERROR
|
|
|
|
#if defined (__cplusplus)
|
|
|
|
extern "C"
|
|
|
|
#endif
|
|
|
|
char * strerror(int n);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef BROKEN_HEADERS
|
|
|
|
#include "broken_headers.h"
|
|
|
|
#endif
|
|
|
|
|
2000-11-28 15:54:29 +00:00
|
|
|
#ifdef HAVE_MKSTEMP
|
|
|
|
#ifndef HAVE_DECL_MKSTEMP
|
|
|
|
#if defined (__cplusplus)
|
|
|
|
extern "C"
|
|
|
|
#endif
|
|
|
|
int mkstemp(char*);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
/* C++ always support the keyword `inline' */
|
|
|
|
#if defined inline && defined __cplusplus
|
|
|
|
/**/#undef inline
|
|
|
|
#endif
|
|
|
|
|
1999-10-07 18:44:17 +00:00
|
|
|
/* C++ always has a good enough `const' */
|
|
|
|
#if defined const && defined __cplusplus
|
|
|
|
/**/#undef const
|
|
|
|
#endif
|
|
|
|
|
1999-12-13 07:33:00 +00:00
|
|
|
/* Check on the run if we are using exceptions during this compilation.*/
|
|
|
|
#if defined(__sgi) || defined(__GNUC__)
|
|
|
|
# ifdef __EXCEPTIONS
|
|
|
|
# define USING_EXCEPTIONS
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__USLC__) || defined(__SUNPRO_CC) || defined(__COMO__) || defined(__ICL)
|
|
|
|
# define USING_EXCEPTIONS
|
|
|
|
#endif
|
1999-10-07 18:44:17 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
#ifdef __EMX__
|
2002-02-26 10:50:48 +00:00
|
|
|
#include "support/os2_defines.h"
|
1999-09-27 18:44:28 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__CYGWIN__) || defined( __CYGWIN32__)
|
2002-02-26 10:50:48 +00:00
|
|
|
#include "support/nt_defines.h"
|
1999-09-27 18:44:28 +00:00
|
|
|
#endif
|
|
|
|
|
2001-06-04 23:57:32 +00:00
|
|
|
/* Some support for the boost library. */
|
2002-05-29 16:21:03 +00:00
|
|
|
/*
|
|
|
|
* #ifndef HAVE_LIMITS
|
|
|
|
* #define BOOST_NO_LIMITS
|
|
|
|
* #endif
|
|
|
|
*
|
|
|
|
* #ifndef HAVE_SSTREAM
|
|
|
|
* #define BOOST_NO_STRINGSTREAM
|
|
|
|
* #endif
|
|
|
|
*/
|
2001-06-04 23:57:32 +00:00
|
|
|
|
1999-09-27 18:44:28 +00:00
|
|
|
#endif /* _CONFIG_H */
|