/* -*- C++ -*- */
/* 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 
   something goes wrong during the compilation
   
   * This file is part of
   * ======================================================
   *
   *           LyX, the High Level Word Processor
   *
   *           Copyright (C) 1995 Matthias Ettrich
   *
   *======================================================*/

#ifndef _CONFIG_H
#define _CONFIG_H

@TOP@

/* Define to 1 if NLS is requested.  */
#undef ENABLE_NLS

/* define this to the location of forms.h to be used with #include,
  e.g. <forms.h> */
#undef FORMS_H_LOCATION

/* Define if your locale.h file contains LC_MESSAGES.  */
#undef HAVE_LC_MESSAGES

/* Define as 1 if you have catgets and don't want to use GNU gettext.  */
#undef HAVE_CATGETS

/* Define as 1 if you have gettext and don't want to use GNU gettext.  */
#undef HAVE_GETTEXT

/* Define as 1 if you have the stpcopy function */
#undef HAVE_STPCPY

/* define this to the location of xpm.h to be used with #include,
  e.g. <xpm.h> */
#undef XPM_H_LOCATION

#undef HAVE_LIBSM

#undef USE_PSPELL

/* Define as 1 if the MKSTEMP function is declared */
#undef HAVE_DECL_MKSTEMP

@BOTTOM@ 

/************************************************************ 
 ** 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

#ifdef HAVE_MKSTEMP
#ifndef HAVE_DECL_MKSTEMP
#if defined (__cplusplus)
extern "C"
#endif
int mkstemp(char*);
#endif
#endif

/* C++ always support the keyword `inline' */
#if defined inline && defined __cplusplus
/**/#undef inline
#endif

/* C++ always has a good enough `const' */
#if defined const && defined __cplusplus
/**/#undef const
#endif

/* 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

#ifdef __EMX__
#include "os2_defines.h"
#endif

#ifdef VMS
#include "vms_defines.h"
#endif

#if defined(__CYGWIN__) || defined( __CYGWIN32__)
#include "nt_defines.h"
#endif

#endif /* _CONFIG_H */