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
This commit is contained in:
parent
76932dcc9f
commit
5d260c405a
16
configure.ac
16
configure.ac
|
@ -1469,13 +1469,7 @@ EFL_OPTIONAL_DEPEND_PKG([evas], [${want_fontconfig}],
|
||||||
|
|
||||||
# fribidi support
|
# fribidi support
|
||||||
EFL_OPTIONAL_DEPEND_PKG([evas], [${want_fribidi}],
|
EFL_OPTIONAL_DEPEND_PKG([evas], [${want_fribidi}],
|
||||||
[FRIBIDI], [fribidi >= 0.19.2],
|
[FRIBIDI], [fribidi >= 0.19.2])
|
||||||
[
|
|
||||||
CPPFLAGS_SAVE="$CPPFLAGS"
|
|
||||||
CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
|
|
||||||
AC_CHECK_SIZEOF([FriBidiChar], [], [#include <fribidi/fribidi.h>])
|
|
||||||
CPPFLAGS="$CPPFLAGS_SAVE"
|
|
||||||
])
|
|
||||||
|
|
||||||
# harfbuzz support
|
# harfbuzz support
|
||||||
have_harfbuzz_ft="no"
|
have_harfbuzz_ft="no"
|
||||||
|
@ -1739,6 +1733,14 @@ CPPFLAGS="$CPPFLAGS -Isrc/lib/eina"
|
||||||
AC_CHECK_SIZEOF([Eina_Unicode], [], [#include <Eina.h>])
|
AC_CHECK_SIZEOF([Eina_Unicode], [], [#include <Eina.h>])
|
||||||
CPPFLAGS="$CPPFLAGS_SAVE"
|
CPPFLAGS="$CPPFLAGS_SAVE"
|
||||||
|
|
||||||
|
|
||||||
|
if test "x$have_fribidi" = "xyes" ; then
|
||||||
|
CPPFLAGS_SAVE="$CPPFLAGS"
|
||||||
|
CPPFLAGS="$CPPFLAGS $EVAS_CFLAGS"
|
||||||
|
AC_CHECK_SIZEOF([FriBidiChar], [], [#include <fribidi/fribidi.h>])
|
||||||
|
CPPFLAGS="$CPPFLAGS_SAVE"
|
||||||
|
fi
|
||||||
|
|
||||||
### Checks for structures
|
### Checks for structures
|
||||||
|
|
||||||
AC_CHECK_TYPES([struct sigaction], [], [],
|
AC_CHECK_TYPES([struct sigaction], [], [],
|
||||||
|
|
Loading…
Reference in New Issue