[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 124181] New: Autoconf AC_OUTPUT manipulation error. New makefiles are appended incorrectly if A
From:       kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date:       2006-03-24 12:18:46
Message-ID: 20060324131844.124181.jacquesgasselin () hotmail ! com
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=124181         
           Summary: Autoconf AC_OUTPUT manipulation error. New makefiles are
                    appended incorrectly if AC_OUTPUT includes an execute
                    argument
           Product: kdevelop
           Version: 3.3.1
          Platform: FreeBSD Ports
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: jacquesgasselin hotmail com


Version:           3.3.1 (using KDE KDE 3.5.1)
Installed from:    FreeBSD Ports
Compiler:          gcc 
OS:                FreeBSD

When adding a new subproject and target a new entry is created in the AC_OUTPUT() \
argument list. The path is correct and the order is correct. The only problem is that \
my project uses an execute argument as well and the new makefile is added to the \
execute arguments instead of the makefile arguments.

Here is what happens:

(before adding)

AC_OUTPUT(Makefile src/Makefile src/unitests/Makefile src/tutorials/Makefile \
src/libmathglpp/Makefile src/mathglpp-config, chmod +x src/mathglpp-config)

(Add new subproject profile and new target)

AC_OUTPUT(Makefile src/Makefile src/unitests/Makefile src/tutorials/Makefile \
src/libmathglpp/Makefile src/mathglpp-config, chmod +x src/mathglpp-config \
src/profile/Makefile)

...
Obviously ./configure fails to create src/profile/Makefile as it is instead trying to \
                execute it.
...

(whereas the correct form is)

AC_OUTPUT(Makefile src/Makefile src/unitests/Makefile src/tutorials/Makefile \
src/libmathglpp/Makefile src/mathglpp-config src/profile/Makefile, chmod +x \
src/mathglpp-config)

 
This is easily corrected by hand but it is still a bug in my books.


Cheers, Jacques.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic