From: Tom Hacohen Date: Wed, 19 Dec 2012 16:47:57 +0000 (+0000) Subject: Efl: Fix FriBidiChar size detection. X-Git-Tag: submit/devel/efl/20131022.203902~2742 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d260c405a513782888541cf963ab4c97325a275;p=platform%2Fupstream%2Fefl.git Efl: Fix FriBidiChar size detection. It's better than nothing, I don't know what the proper fix is. FRIBIDI_CFLAGS just doesn't exist. Doesn't that macro we use call PKG_CHECK_MODULES? SVN revision: 81385 --- diff --git a/configure.ac b/configure.ac index 1c99c74..f54dd2f 100644 --- a/configure.ac +++ b/configure.ac @@ -1469,13 +1469,7 @@ EFL_OPTIONAL_DEPEND_PKG([evas], [${want_fontconfig}], # fribidi support EFL_OPTIONAL_DEPEND_PKG([evas], [${want_fribidi}], - [FRIBIDI], [fribidi >= 0.19.2], - [ - CPPFLAGS_SAVE="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS" - AC_CHECK_SIZEOF([FriBidiChar], [], [#include ]) - CPPFLAGS="$CPPFLAGS_SAVE" - ]) + [FRIBIDI], [fribidi >= 0.19.2]) # harfbuzz support have_harfbuzz_ft="no" @@ -1739,6 +1733,14 @@ CPPFLAGS="$CPPFLAGS -Isrc/lib/eina" AC_CHECK_SIZEOF([Eina_Unicode], [], [#include ]) CPPFLAGS="$CPPFLAGS_SAVE" + +if test "x$have_fribidi" = "xyes" ; then + CPPFLAGS_SAVE="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $EVAS_CFLAGS" + AC_CHECK_SIZEOF([FriBidiChar], [], [#include ]) + CPPFLAGS="$CPPFLAGS_SAVE" +fi + ### Checks for structures AC_CHECK_TYPES([struct sigaction], [], [],