#ifndef ___CONFIG_H___
#define ___CONFIG_H___

#cmakedefine HAVE_UNISTD_H
#cmakedefine HAVE_MALLOC_H
#cmakedefine HAVE_STDBOOL_H
#cmakedefine HAVE_ASPRINTF
#cmakedefine _DEBUG
#cmakedefine _ENABLE_DBUS
#cmakedefine _ENABLE_PANGO
#cmakedefine _FCITX_DISABLE_GETTEXT
#cmakedefine ENABLE_OPENCC
#cmakedefine LIBKVM_FOUND
#cmakedefine HAVE_XINERAMA
#cmakedefine HAVE_XFIXES
#cmakedefine LIBICONV_SECOND_ARGUMENT_IS_CONST
#cmakedefine ENABLE_SNOOPER
#cmakedefine ENABLE_X11
#cmakedefine ENABLE_LIBXML2
#cmakedefine ENABLE_BACKTRACE
#define NO_SNOOPER_APPS "@NO_SNOOPER_APPS@"
#define NO_PREEDIT_APPS "@NO_PREEDIT_APPS@"
#define ISOCODES_ISO639_XML "@ISOCODES_ISO639_XML@"
#define ISOCODES_ISO3166_XML "@ISOCODES_ISO3166_XML@"
#define XKEYBOARDCONFIG_XKBBASE "@XKEYBOARDCONFIG_XKBBASE@"
#cmakedefine XKB_RULES_XML_FILE "${XKB_RULES_XML_FILE}"
#cmakedefine LIBICONV_SECOND_ARGUMENT_IS_CONST
#cmakedefine ENCHANT_FOUND
#cmakedefine ENABLE_ENCHANT
#cmakedefine PRESAGE_FOUND
#cmakedefine ENABLE_PRESAGE
#define PRESAGE_LIBRARY_FILENAME "@PRESAGE_LIBRARY_FILENAME@"
#define ENCHANT_LIBRARY_FILENAME "@ENCHANT_LIBRARY_FILENAME@"
#define OPENCC_LIBRARY_FILENAME "@OPENCC_LIBRARY_FILENAME@"

#define PACKAGE "@package@"
#ifdef FCITX_USE_INTERNAL_PATH
#define LOCALEDIR "@localedir@"
#define DATADIR "@prefix@/share"
#define PKGDATADIR "@pkgdatadir@"
#define BINDIR "@bindir@"
#define LIBDIR "@libdir@"
#endif

#ifdef ENABLE_SNOOPER
#define _ENABLE_SNOOPER 1
#else
#define _ENABLE_SNOOPER 0
#endif

#define VERSION "@version@"
#define INTERNAL_VERSION 3

#ifdef LIBICONV_SECOND_ARGUMENT_IS_CONST
typedef const char* IconvStr;
#else
typedef char* IconvStr;
#endif

#endif
