/* This is the 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 on SunOS 4, were some functions are missing from the headers */
#undef BROKEN_SUN_HEADERS

/* Define to work around a bug with const handling in gcc 2.7.[012] */
#undef BROKEN_CONST

/* Define if you want debugging turned on as default. */
#undef DEBUG_AS_DEFAULT

/* Define if you are building a development version of LyX */
#undef DEVEL_VERSION

/* Define if the bool type is known to your compiler */
#undef HAVE_bool

/* You might want to define TWO_COLOR_ICONS if you want to spare
 your colormap.  This will use monochrome icons instead of colored
 ones. */
#undef TWO_COLOR_ICONS

/* define this if xpm.h is not in a directory in the form X11/xpm.h.*/
#undef XPM_H_WITHOUT_X11 
 
@BOTTOM@


/*********************************************************** 
 * You should not need to change anything beyond this point 
 */


#if defined(HAVE_MEMSET)
#define BZERO(a,b)	memset(a,0,b)
#else
#define BZERO(a,b)	bzero(a,b)
#endif

#if ! defined(HAVE_STRCHR)
#define strchr(a,b)	index(a,b)
#endif

#if ! defined(HAVE_MEMMOVE)
#define memmove(a, b, c)  bcopy(b, a, c)
#endif

#if ! defined(HAVE_bool)
#define bool int
#define true 1
#define false 0
#endif

#if defined(BROKEN_CONST)
#include <string.h>
#define const
#endif

#if defined(BROKEN_SUN_HEADERS)
#include "sun_headers.h"
#endif

#endif /* _CONFIG_H */
