AM_CFLAGS is passed both to the compiler (.c -> .o) and to the linker, so it
should only have flags that are appropriate for both steps. AM_CPPFLAGS is
passed only to the compiler, so flags that are only appropriate for that step
(-I and -D flags, for example), should be in _CPPFLAGS instead of _CFLAGS.
Every gnucash-2.2.3 Makefile.am that passes -I flags gets it wrong, placing
them in _CFLAGS. It's not a functional bug (the linker ignores -I flags), but a
ton of superfluous flags makes the build output pretty verbose and hard to
debug when things do go wrong.
To make matters more confusing as a developer, the FOO_CFLAGS variable set by
PKG_CHECK_MODULES(FOO) is actually for _CPPFLAGS in the Makefile.am
('pkg-config --cflags' returns the -I flags).
A related -I bug (one that *is* functionally broken) is that sometimes a local
(build dir) -I flag is passed after a global (installed dependent library) one.
If my system happens to have a header installed from some unrelated thing,
compiler will find *that* one instead of the expected one in the source
directory. Should always pass all local -I before any global ones.
Patch by andi5 plus one manual addition in src/gnome-utils/Makefile.am
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17655 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch from Shawn Faucher with little modifications.
This still needs a lot of testing and improvements still.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17612 57a11ea4-9604-0410-9ed3-97b8803252fd
It seems that the PPM repositories for ActivePerl v5.6 and v5.8 have been
changed so that DateManip cannot be found anymore. Keep it for second try
nonetheless.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17504 57a11ea4-9604-0410-9ed3-97b8803252fd
This introduces the dbi backend and the --enable-dbi configure option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17444 57a11ea4-9604-0410-9ed3-97b8803252fd
Do not demand ChangeLog entries as they are created automagically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17016 57a11ea4-9604-0410-9ed3-97b8803252fd
This avoids cluttering the environment of the caller.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16932 57a11ea4-9604-0410-9ed3-97b8803252fd
Make_install.sh can be called in any build directory and will execute
`make install` and all the necessary extra steps after that.
Also, make prepare and finish ordinary steps that can be blocked and
inserted at will. Add reset_steps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16928 57a11ea4-9604-0410-9ed3-97b8803252fd
Make it work for builddir != srcdir. Do not distribute share\icons or
share\pixmaps on win32.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16683 57a11ea4-9604-0410-9ed3-97b8803252fd
Instead of trying to retrieve the system code page, simply hard-code the
code pages for the configured languages. This is one more string for
each new translation of the custom messages. Suggestions for how to
parse the LangOptions/LanguageCodePage parameter in isl files are
welcome.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16351 57a11ea4-9604-0410-9ed3-97b8803252fd
This includes updating ORBit2 to 2.14.7; on the WinXP machine
I have available this meant gconfd ran just fine. But we'd need
to get some further feedback on whether it really works or whether
we need to stick to ORBit2 2.13.3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16345 57a11ea4-9604-0410-9ed3-97b8803252fd