Changes between Version 19 and Version 20 of pm-autotools


Ignore:
Timestamp:
Jun 8, 2006 10:34:58 PM (14 years ago)
Author:
andreasw
Comment:

added Working on your project section

Legend:

Unmodified
Added
Removed
Modified
  • pm-autotools

    v19 v20  
    6868
    6969 * You should also make sure that you have a subversion external dependency defined to {{{BuildTools/trunk}}} into a subdirectory {{{BuildTools}}} of the package's base directory, since otherwise the Autotools will not work.
     70
     71== Working On Your Project ==
     72
     73If you are working on your project, you should '''run configure with the --enable-maintainer-mode flag'''.  This way, changes in your {{{configure.ac}}} and {{{Makefile.am}}} files will automatically trigger execution of the autotools programs.  If necessary, you can run the autotools "by hand", using the '''BuildTools/run_autotools''' script.
     74
     75If you want to compile the code with debug information, you should use the '''--enable-debug''' flag when you run the {{{configure}}} script.  This will automatically switch on the debug compiler flag.  It will also switch to the usage of static libraries.  (When you compile only shared libraries, which is otherwise the default behavior, the executables generated will be in the {{{.libs}}} subdirectory, and not run properly, since the shared libraries might not be found.)