Changeset View
Changeset View
Standalone View
Standalone View
head/www/firefox/files/patch-bug847568
Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | |||||
+ _SAVE_CFLAGS=$CFLAGS | + _SAVE_CFLAGS=$CFLAGS | ||||
+ CFLAGS="$CFLAGS $MOZ_GRAPHITE2_CFLAGS" | + CFLAGS="$CFLAGS $MOZ_GRAPHITE2_CFLAGS" | ||||
+ AC_TRY_COMPILE([ #include <graphite2/Font.h> | + AC_TRY_COMPILE([ #include <graphite2/Font.h> | ||||
+ #define GR2_VERSION_REQUIRE(major,minor,bugfix) \ | + #define GR2_VERSION_REQUIRE(major,minor,bugfix) \ | ||||
+ ( GR2_VERSION_MAJOR * 10000 + GR2_VERSION_MINOR \ | + ( GR2_VERSION_MAJOR * 10000 + GR2_VERSION_MINOR \ | ||||
+ * 100 + GR2_VERSION_BUGFIX >= \ | + * 100 + GR2_VERSION_BUGFIX >= \ | ||||
+ (major) * 10000 + (minor) * 100 + (bugfix) ) | + (major) * 10000 + (minor) * 100 + (bugfix) ) | ||||
+ ], [ | + ], [ | ||||
+ #if !GR2_VERSION_REQUIRE(1,3,13) | + #if !GR2_VERSION_REQUIRE(1,3,14) | ||||
+ #error "Insufficient graphite2 version." | + #error "Insufficient graphite2 version." | ||||
+ #endif | + #endif | ||||
+ ], [], | + ], [], | ||||
+ [AC_MSG_ERROR([--with-system-graphite2 requested but no working libgraphite2 found])]) | + [AC_MSG_ERROR([--with-system-graphite2 requested but no working libgraphite2 found])]) | ||||
+ CFLAGS=$_SAVE_CFLAGS | + CFLAGS=$_SAVE_CFLAGS | ||||
+fi | +fi | ||||
+ | + | ||||
dnl ======================================================== | dnl ======================================================== | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |