From 9fbb0d163cf544fbc86f288732473976779c62a6 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 14 Jun 2011 21:25:20 +0200 Subject: [PATCH] Fixed fribidi build for linux --- 3party/fribidi/config_linux.h | 105 ++++++++++++++++++++++++++++++++++ 3party/fribidi/config_omim.h | 3 + 2 files changed, 108 insertions(+) create mode 100644 3party/fribidi/config_linux.h diff --git a/3party/fribidi/config_linux.h b/3party/fribidi/config_linux.h new file mode 100644 index 0000000000..02334ad425 --- /dev/null +++ b/3party/fribidi/config_linux.h @@ -0,0 +1,105 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if you want to include debug code in the library */ +/* #undef DEBUG */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ASM_PAGE_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the `memmove' function. */ +#define HAVE_MEMMOVE 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `memset' function. */ +#define HAVE_MEMSET 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if cpp supports the ANSI # stringizing operator. */ +#define HAVE_STRINGIZE 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIMES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_WCHAR_H 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "fribidi" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "http://fribidi.org/bug" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "GNU FriBidi" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "GNU FriBidi 0.19.2" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "fribidi" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.19.2" + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* The size of `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + +/* The size of `void *', as computed by sizeof. */ +#define SIZEOF_VOID_P 8 + +/* The size of `wchar_t', as computed by sizeof. */ +#define SIZEOF_WCHAR_T 4 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you want to use simple mallocs instead of memory chunks */ +/* #undef USE_SIMPLE_MALLOC */ + +/* Version number of package */ +#define VERSION "0.19.2" + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ diff --git a/3party/fribidi/config_omim.h b/3party/fribidi/config_omim.h index b58109c316..a3d86f7a98 100644 --- a/3party/fribidi/config_omim.h +++ b/3party/fribidi/config_omim.h @@ -12,6 +12,9 @@ #elif defined(OMIM_OS_WINDOWS) #include "config_win32.h" +#elif defined(OMIM_OS_LINUX) + #include "config_linux.h" + #else #error "Add your platform" #endif