X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=acconfig.h;h=229650fe3bbdffc77467423759ba4e7c1b3d7d0c;hb=907671d259e4f04a0493b293b35a0ce384b094e8;hp=9a99119de2d449e5cc7114c3fc331eba65e1d0ef;hpb=ddf753c64a33f99eaa0c3f373983634f9a68ff51;p=lyx.git diff --git a/acconfig.h b/acconfig.h index 9a99119de2..229650fe3b 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,14 +1,15 @@ /* -*- 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 +/* 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 + * Copyright 1995 Matthias Ettrich + * Copyright 1995-2001 The LyX Team. * *======================================================*/ @@ -17,79 +18,24 @@ @TOP@ -/* Define on SunOS 4 and SCO, were some functions are missing from the headers */ -#undef BROKEN_HEADERS - -/* 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 to 1 if NLS is requested. */ -#undef ENABLE_NLS - -/* Define to nothing if your compiler does not understand the - `explicit' directive */ -#undef explicit - -/* define this to the location of forms.h to be used with #include, - e.g. */ -#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 if the bool type is known to your compiler */ -#undef HAVE_bool -*/ - -/* Define to the name of the distribution. */ -#undef PACKAGE - -/* 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 as 1 if the MKSTEMP function is declared */ +#undef HAVE_DECL_MKSTEMP -/* Define to the version of the distribution. */ -#undef VERSION +/* Define if you have the function prototype for snprintf(). */ +#undef HAVE_DECL_SNPRINTF -/* Define this if you want to see the #warning directives put here and - there by the developpers to get attention */ -#undef WITH_WARNINGS +/* Define if you have the function prototype for vsnprintf(). */ +#undef HAVE_DECL_VSNPRINTF -/* define this to the location of xpm.h to be used with #include, - e.g. */ -#undef XPM_H_LOCATION +/* Define if you have the function prototype istreambuf_iterator in + */ +#undef HAVE_DECL_ISTREAMBUF_ITERATOR -@BOTTOM@ +@BOTTOM@ -/************************************************************ +/************************************************************ ** You should not need to change anything beyond this point */ -/* even though -ansi might have been specified for gcc, we want all - usual prototypes. */ -#ifdef __STRICT_ANSI__ -/**/#undef __STRICT_ANSI__ -#endif - -#ifdef HAVE_MEMSET -#define BZERO(a,b) memset(a,0,b) -#else -#define BZERO(a,b) bzero(a,b) -#endif - #ifndef HAVE_STRCHR #define strchr(a,b) index(a,b) #endif @@ -98,15 +44,13 @@ #define memmove(a, b, c) bcopy(b, a, c) #endif -#ifndef HAVE_STRERROR +#ifdef HAVE_MKSTEMP +#ifndef HAVE_DECL_MKSTEMP #if defined (__cplusplus) extern "C" #endif -char * strerror(int n); +int mkstemp(char*); #endif - -#ifdef BROKEN_HEADERS -#include "broken_headers.h" #endif /* C++ always support the keyword `inline' */ @@ -131,16 +75,22 @@ char * strerror(int n); #endif #ifdef __EMX__ -#include "os2_defines.h" -#endif - -#ifdef VMS -#include "vms_defines.h" +#include "support/os2_defines.h" #endif #if defined(__CYGWIN__) || defined( __CYGWIN32__) -#include "nt_defines.h" +#include "support/nt_defines.h" #endif -#endif /* _CONFIG_H */ +/* Some support for the boost library. */ +/* + * #ifndef HAVE_LIMITS + * #define BOOST_NO_LIMITS + * #endif + * + * #ifndef HAVE_SSTREAM + * #define BOOST_NO_STRINGSTREAM + * #endif + */ +#endif /* _CONFIG_H */