Bug 43590 - automake/autoconf doesn't work correctly
Summary: automake/autoconf doesn't work correctly
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 2.1.1
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-06 10:33 UTC by shermann
Modified: 2002-10-09 22:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shermann 2002-06-06 10:29:20 UTC
(*** This bug was imported into bugs.kde.org ***)

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)
Comment 1 Caleb Tennis 2002-10-09 22:17:14 UTC
Yup, not a kdevelop bug. 
Comment 2 Stephan Kulow 2003-10-14 16:46:28 UTC
Subject: kde-common/admin

CVS commit by coolo: 

support --includedir beside --libdir
CCMAIL: 43590@bugs.kde.org


  M +3 -3      acinclude.m4.in   2.412


--- kde-common/admin/acinclude.m4.in  #2.411:2.412
@@ -1700,6 +1700,6 @@
 
 if test "${prefix}" != NONE; then
-  kde_includes=${prefix}/include
-  ac_kde_includes=$prefix/include
+  kde_includes=${includedir}
+  ac_kde_includes=$includedir
 
   if test "${exec_prefix}" != NONE; then
@@ -1803,5 +1803,5 @@
 
  kde_libraries="${libdir}"
- kde_includes=${ac_kde_prefix}/include
+ kde_includes="${includedir}"
 
 else