Репозитории ALT
S: | 0.97.4-alt0.9 |
5.1: | 0.97-alt5 |
4.1: | 0.96.1-alt3.1 |
4.0: | 0.96.1-alt1 |
3.0: | 0.94-alt9cvs20050730 |
Другие репозитории
Upstream: | 0.96-pre9 |
Группа :: Офис
Пакет: dia
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: dia-0.94-alt-m4.patch
Скачать
Скачать
--- dia-0.94/acinclude.m4.orig 2004-05-24 01:27:38 +0400
+++ dia-0.94/acinclude.m4 2005-07-01 17:02:15 +0400
@@ -233,9 +233,10 @@
py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $py_makefile`
py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $py_makefile`
py_other_libs=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $py_makefile`
+ py_libdir=`$PYTHON -c "import os; from distutils import sysconfig; print os.path.abspath(sysconfig.get_python_lib(0,1)+'/..');"`
dnl now the actual libpython
- if test -e "${py_config_dir}/libpython${PYTHON_VERSION}.a"; then
+ if test -e "${py_libdir}/libpython${PYTHON_VERSION}.a"; then
PYTHON_LIBS="-L${py_config_dir} -lpython${PYTHON_VERSION} $py_localmodlibs $py_basemodlibs $py_other_libs"
AC_MSG_RESULT(found)
else