diff options
author | Daniel Elstner <daniel.kitta@gmail.com> | 2009-08-16 22:18:21 +0200 |
---|---|---|
committer | Daniel Elstner <daniel.kitta@gmail.com> | 2009-08-16 22:18:21 +0200 |
commit | f76d4282379b4d6319ec54812f29f6b7162365d8 (patch) | |
tree | 87b649ee03d8333448eb5e873636d21962abd9e9 /glib/glibmmconfig.h.in | |
parent | faff91b3b51fbd17a60ce0132bd7671b5da1f4ff (diff) | |
download | glibmm-f76d4282379b4d6319ec54812f29f6b7162365d8.tar.gz |
Clean up g{lib,io}mmconfig.h.in templates
* glib/glibmmconfig.h.in: Rewrite, copying large chunks from
the autoheader-generated config.h.in template.
* gio/giommconfig.h.in: Remove everything that belongs to glibmm
and include glibmmconfig.h.
Diffstat (limited to 'glib/glibmmconfig.h.in')
-rw-r--r-- | glib/glibmmconfig.h.in | 98 |
1 files changed, 69 insertions, 29 deletions
diff --git a/glib/glibmmconfig.h.in b/glib/glibmmconfig.h.in index eff6fb37..502dccb3 100644 --- a/glib/glibmmconfig.h.in +++ b/glib/glibmmconfig.h.in @@ -1,15 +1,6 @@ -/* - * @configure_input@ - */ #ifndef _GLIBMM_CONFIG_H -#define _GLIBMM_CONFIG_H 1 +#define _GLIBMM_CONFIG_H -/* version numbers */ -#undef GLIBMM_MAJOR_VERSION -#undef GLIBMM_MINOR_VERSION -#undef GLIBMM_MICRO_VERSION - -/* detect common platforms */ #ifdef _WIN32 /* Win32 compilers have a lot of varation */ # if defined(_MSC_VER) @@ -30,32 +21,81 @@ #endif /* _WIN32 */ #ifdef GLIBMM_CONFIGURE -#undef GLIBMM_STATIC_LIB -#undef GLIBMM_CXX_HAVE_MUTABLE -#undef GLIBMM_CXX_HAVE_NAMESPACES -#undef GLIBMM_HAVE_WIDE_STREAM -/*#undef GLIBMM_CXX_GAUB*/ -/*#undef GLIBMM_CXX_AMBIGUOUS_TEMPLATES*/ -#undef GLIBMM_HAVE_STD_ITERATOR_TRAITS -#undef GLIBMM_HAVE_SUN_REVERSE_ITERATOR -#undef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS -#undef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS -#undef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 -#undef GLIBMM_COMPILER_SUN_FORTE -#undef GLIBMM_DEBUG_REFCOUNTING -#undef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION + +/* Define if extern "C" and extern "C++" function pointers are compatible. */ #undef GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS + +/* Define if non-instantiated templates may dynamic_cast<> to an undefined + type. */ +#undef GLIBMM_CAN_USE_DYNAMIC_CAST_IN_UNUSED_TEMPLATE_WITHOUT_DEFINITION + +/* Define if the compiler honors namespaces inside extern "C" blocks. */ #undef GLIBMM_CAN_USE_NAMESPACES_INSIDE_EXTERNC + +/* Defined when the SUN Forte C++ compiler is being used. */ +#undef GLIBMM_COMPILER_SUN_FORTE + +/* Defined when the --enable-debug-refcounting configure argument was given */ +#undef GLIBMM_DEBUG_REFCOUNTING + +/* Defined when the --enable-api-default-signal-handlers configure argument + was given */ +#undef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED + +/* Defined when the --enable-api-exceptions configure argument was given */ +#undef GLIBMM_EXCEPTIONS_ENABLED + +/* Defined if a static member variable may be initialized inline to + std::string::npos */ #undef GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS + +/* Defined when time_t is not equivalent to gint32, meaning that it can be + used for a method overload */ +#undef GLIBMM_HAVE_C_STD_TIME_T_IS_NOT_INT32 + +/* Define if the compiler disambiguates template specializations for const and + non-const types. */ +#undef GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS + +/* Defined when the libstdc++ declares the std-namespace */ +#undef GLIBMM_HAVE_NAMESPACE_STD + +/* Defined if std::iterator_traits<> is standard-conforming */ +#undef GLIBMM_HAVE_STD_ITERATOR_TRAITS + +/* Defined if std::reverse_iterator is in Sun libCstd style */ +#undef GLIBMM_HAVE_SUN_REVERSE_ITERATOR + +/* Defined if the STL containers have templated sequence ctors */ +#undef GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS + +/* Define to 1 if wide stream is available. */ +#undef GLIBMM_HAVE_WIDE_STREAM + +/* Major version number of glibmm. */ +#undef GLIBMM_MAJOR_VERSION + +/* Define if C++ member functions may refer to member templates. */ +#undef GLIBMM_MEMBER_FUNCTIONS_MEMBER_TEMPLATES + +/* Micro version number of glibmm. */ +#undef GLIBMM_MICRO_VERSION + +/* Minor version number of glibmm. */ +#undef GLIBMM_MINOR_VERSION + +/* Defined when the --enable-api-properties configure argument was given */ #undef GLIBMM_PROPERTIES_ENABLED + +/* Define if glibmm is built as a static library */ +#undef GLIBMM_STATIC_LIB + +/* Defined when the --enable-api-vfuncs configure argument was given */ #undef GLIBMM_VFUNCS_ENABLED -#undef GLIBMM_EXCEPTIONS_ENABLED -#undef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED -#endif + +#endif /* GLIBMM_CONFIGURE */ #ifdef GLIBMM_MSC -# define GLIBMM_CXX_HAVE_MUTABLE 1 -# define GLIBMM_CXX_HAVE_NAMESPACES 1 # define GLIBMM_HAVE_STD_ITERATOR_TRAITS 1 # define GLIBMM_HAVE_TEMPLATE_SEQUENCE_CTORS 2 # define GLIBMM_HAVE_DISAMBIGUOUS_CONST_TEMPLATE_SPECIALIZATIONS 1 |