Репозитории ALT
S: | 1.13a-alt6.20140908 |
4.1: | 1.10a-alt3 |
4.0: | 1.10a-alt3 |
3.0: | 1.10a-alt2 |
Группа :: Офис
Пакет: magicpoint
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: magicpoint-1.13a-m17n.patch
Скачать
Скачать
diff --git a/magicpoint/configure.in b/magicpoint/configure.in
index d9fec44..65973ce 100644
--- a/magicpoint/configure.in
+++ b/magicpoint/configure.in
@@ -502,11 +502,10 @@ fi
AC_ARG_WITH(m17n-lib, [ --with-m17n-lib use the m17n library])
if test "x$with_m17n_lib" = "xyes"; then
- AC_CHECK_PROG(HAVE_M17NLIB, m17n-config, yes)
- if test "x$HAVE_M17NLIB" = "xyes"; then
+ if type pkg-config > /dev/null 2>&1; then
+ LIBS="$LIBS `pkg-config --libs m17n-gui`"
+ OPTFLAGS="$OPTFLAGS `pkg-config --cflags m17n-gui`"
AC_DEFINE(USE_M17N)
- OPTFLAGS="$OPTFLAGS `m17n-config X --cflags`"
- LIBS="$LIBS `m17n-config X --libs` -lm17n-core"
fi
fi