Bug#43590: automake/autoconf doesn't work correctly

shermann at web.de shermann at web.de
Thu Jun 6 12:34:03 UTC 2002


Package: kdevelop
Version: 2.1.1 (using KDE 3.0.1 )
Severity: normal
Installed from:    Compiled From Sources
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110) 
OS:                Linux
OS/Compiler notes: automake 1.4-p5/autoconf 2.13

The Configure Script doesn't work correctly. It seems to be a but in the admin/acinclude.m4.in script.

configure doesn't find the --includedir directive and/or find the wrong defaults for kde_include directories.
I think its also a bug in the kde-common package ;)

my workaround is:

edit admin/acinclude.m4.in
jump to AC_DEFUN(AC_BASE_PATH_KDE,...
after 
if test "${prefix}" != NONE; then
  kde_includes=${prefix}/include
  ac_kde_includes=$prefix/include

if put this into the file:

  if test "${includedir}" != NONE; then
     kde_includes=${includedir}
     ac_kde_includes=$includedir
  fi

right before 
if test "${exec_prefix}" != NONE; then

after this patch it works korrectly.

Oh well,
my configure command call:

./configure --prefix=/usr --includedir=/usr/include/kde3 etc.

After all I think it's really a bug in the kde-common admin scripts.

Regards,

\sh



(Submitted via bugs.kde.org)


(Complete bug history is available at http://bugs.kde.org/db/43/43590.html)




More information about the KDevelop-devel mailing list