[Comm] KDevelop and autoconf
Eugene Azarkin
=?iso-8859-1?q?admin_=CE=C1_ligalomb=2Eru?=
Вт Апр 29 12:46:00 MSD 2003
Pavel Tsybulin пишет:
> Hi.
> Не получается попользовать kdevelop-2.1.2 из поставки ALM2.2
> Создаю тестовый KDE проект, при попытке создать configure для него вылазит:
>
> *** Creating configure
> configure.in:76: error: m4_popdef: undefined macro: AC_Dest
> autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
> configure.in:76: the top level
>
Go to the admin directory of your project. Find the file
acinclude.m4.in. Open it with an editor. Find the lines:
m4_define([AC_FOREACH],
[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])])
and coment them as follows:
dnl m4_define([AC_FOREACH],
dnl [mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])])
Save the result. Autoconf/automake and then configure your
project. After that this error should disappear.
This is a solution for this project only. If you like that
changes for the all newly created projects (of the same type)
you should fing the archive:
....kde/share/apps/kdevelop/templates/admin.tar.gz/
and make the same changes in the file:
admin/acinclude.m4.in
Sure, to be able to do that you have to untar/make changes/tar
the archive.
Because it is a template the changes will propagate to all
newly generated projects. I have made it here.
Hope that helps.
Найдено в форуме на www.kdevelop.org
Действительно работает
Eugene Azarkin
Подробная информация о списке рассылки community