Commit Graph

102 Commits

Author SHA1 Message Date
John Ralls
2cb48672f0 Fix the actual cmake dist problem, missing macros.
This reverts commit 36adb31ee9 which was
the wrong approach.
2017-09-14 12:01:05 -07:00
John Ralls
c8402ad62e Merge CMake Distcheck from 'maint'.
Conflicts:
	CMakeLists.txt
	src/app-utils/CMakeLists.txt
	src/backend/sql/test/CMakeLists.txt
	src/backend/xml/test/CMakeLists.txt
	src/gnome-utils/CMakeLists.txt
	src/import-export/aqb/CMakeLists.txt
	src/import-export/csv-imp/CMakeLists.txt
	src/import-export/csv-imp/test/Makefile.am
	src/import-export/ofx/CMakeLists.txt
	src/import-export/qif-imp/CMakeLists.txt
	src/libqof/CMakeLists.txt
	src/register/ledger-core/CMakeLists.txt
	src/register/register-core/CMakeLists.txt
	src/register/register-gnome/CMakeLists.txt
	src/report/business-reports/CMakeLists.txt
	src/report/locale-specific/us/CMakeLists.txt
	src/report/report-gnome/CMakeLists.txt
	src/report/standard-reports/CMakeLists.txt
	src/report/stylesheets/CMakeLists.txt
2017-07-04 18:36:35 -07:00
Rob Gowin
6b14dc5b59 Implement 'dist', 'distcheck' and 'uninstall' targets for CMake 2017-07-03 16:15:17 -07:00
Geert Janssens
c4c45e9505 Add missing macros 2017-03-17 09:42:05 +01:00
klemens
cb3dd4318d spelling fixes 2017-01-23 12:06:58 +01:00
Geert Janssens
87ed53b347 Merge branch 'maint' 2016-10-03 19:55:07 +02:00
John Ralls
b905c4a26d Remove obsolete AS_SCRUB_INCLUDES macro.
This was an ugly work-around for a bogus warning from gcc-3, a
long-superceded compiler. The way the macro was written caused
portablility issues (see PR 102) and other projects (gstreamer
in particular) removed it several years ago.

Thanks to Julian Ospald for bringing it to our attention.
2016-09-25 23:07:14 +02:00
John Ralls
ac34d316a5 Merge branch 'maint' 2015-10-27 17:28:45 -07:00
John Ralls
ce838d3cfc Rename GNOME_COMPILE_WARNINGS to just COMPILE_WARNINGS.
Poaching someone else's macro name is a really dumb idea, because aclocal
looks in our macros directory only if it can't find the macro in the system
directories. Our config code doesn't work with Gnome's macro, it exports
WARN_CFLAGS rather than modifying CFLAGS directly the way ours does.
2015-10-27 17:25:48 -07:00
John Ralls
290dd611d7 More fiddling with gtest linkage.
This time for when we don't have a system installation.
2015-07-25 12:23:35 -07:00
John Ralls
010cf541f9 Fix the underlying non-literal-null-conversion instead of suppressing
The warning. What it was warning about was two calls to "g_strdup(NULL);",
which is a really dumb way of saying "NULL".
2014-09-19 16:24:00 -07:00
John Ralls
367b608fad Fix problem with gcc-4.9 failing to compile gfec.c.
The error, first reported in email, was that cc1 didn't recognize
the flag. Solution is to make it a CPPFLAG so that cc1 doesn't see it.
2014-08-07 13:28:10 -07:00
John Ralls
859866ad28 Replace clang check with ax_check_compile_flags for -Wno-deprecated-register 2014-07-02 11:40:18 +02:00
John Ralls
8a899fc47a Add dependency on Boost. 2014-06-15 14:42:41 -07:00
John Ralls
ae93f2b9c9 Check for C++11 support, fail if it's not there. 2014-06-15 14:42:39 -07:00
Geert Janssens
f6c4308690 SWIG version updates
- move the swig version check after the guile checks
  this allows us to check for a different version of swig
  based on the guile version that was detected
- use more recent autoconf macros for swig (from the autotools archive)
  this give us more flexible error reporting

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23560 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-12-14 16:40:54 +00:00
John Ralls
acb3076c53 [Bug #697402] configure doesn't find python on Debian
Lose the PKG_CHECK_MODULES for python and make sure that Python.h is
present and findable in AC_PYTHON_DEVEL instead.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22892 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-04-09 23:00:51 +00:00
Geert Janssens
a41ed6e945 Bug #665202 - Improve python-finding code
Patch by Pacho Ramos

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21685 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-12-07 11:34:57 +00:00
Mike Alexander
5307ca5ab3 Find the python libraries and includes even if the path to them includes a symlink.
When python is installed using MacPorts there is a symlink in the path.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21301 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-09-22 21:02:44 +00:00
Christian Stimming
85e77079b7 Replace guile configure check by PKG_CHECK_MODULE so that it also works in cross-compiling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20585 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-22 19:43:39 +00:00
Christian Stimming
4e04b157b6 Remove obsolete unused autoconf macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20043 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 20:00:13 +00:00
Mike Alexander
53c6330c12 Properly check for SWIG version 2.0.0 and later.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19287 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-23 07:05:31 +00:00
Phil Longstaff
9d61ff898a Fix 598491: Remove use of guile's deprecated GH interface
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18384 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-10-17 17:47:56 +00:00
Christian Stimming
31b25c1d6e Bug #548218: Unify command substitution shell pattern
The command substiturion by $(expression) causes configure error on solaris.
Command substitution via $() is even part of
http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
, which I regard as POSIX definition of a shell, i.e. the absolute minimum I
think a shell should be able to do. From that document, backticks are
"just as standarized" as the $() form. In that sense, this patch is simply
unifying the command substitution pattern in our scripts.

Patch by Halton Huo.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17720 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-11-26 13:32:31 +00:00
Andreas Köhler
fe11af9045 Merge branches/aqbanking3 (r17287) into trunk.
Port the HBCI import-export module to AqBanking3.  Depending on the aqbanking
version found, either the classic hbci/ module or the new, very similar, module
aqbanking3/ for AqBanking >= 3 is built and installed.  The influence on the
rest of the code is minimal.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17288 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 20:35:50 +00:00
Christian Stimming
4fa2e87962 Python bindings for the gnucash API.
Submitted by Mark Jenkins on 2008-03-25 to gnucash-devel.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17263 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 19:18:26 +00:00
Andreas Köhler
e14a0f563b Improve svn2cl.xsl: Make branch selection more flexible, strip unmerged branches.
All included branches can be configured in one xsl:variable now, with
optional child parameters 'before' and 'after', e.g. to support
branching points and intermediary merges.  Fix the bug that the date of
a hidden previous log entry can undermine the printing of a new
date-author header for a log entry.

The branch selection based on the actual merge state:
+ csv-import
- gda-dev
- module-cleanup


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16595 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-11-14 00:08:24 +00:00
Andreas Köhler
0b9a05bb8b Do not include branches/register-rewrite in ChangeLog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16461 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-08-19 15:57:33 +00:00
Andreas Köhler
c402307aba Further improve date parsing on Windows. Revert parts of r16049 on Unix.
The recursive parsing of %x by strptime seems to work only for complete
strings, e.g. 4.6. in de_DE or 4/6 in en_UK will not be parsed
correctly.  Therefore, readd LANGINFO_D_FMT_CHECK and use
qof_win32_get_time_format(QOF_WIN32_PICTURE_{DATE,TIME,DATETIME} on
Windows for printing and scanning.  Make get_win32_locale_string and
translate_win32_picture accessible by QOF.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16073 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-12 16:50:49 +00:00
Andreas Köhler
9f44e3155d Do not use langinfo to determine date format spec, but %x, %X or %c.
Remove check for HAVE_LANGINFO_D_FMT.  Rather use standard strftime and
(standard?) strptime format specifiers %x (date), %X (time) and %c
(date&time, all in national representation).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16049 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-05 21:02:56 +00:00
Christian Stimming
c823d7bda4 Merge some upstream compatibility updates for svn2cl.xsl
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16032 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 16:38:41 +00:00
Christian Stimming
6961f8a1f1 Improve the auto-generated ChangeLog and have it run on make ChangeLog.
The rule for the auto-generated ChangeLog will use all commits of trunk
and several branches that are hard-coded into macros/svn2cl.xsl.
Just add more branches there if we need them in the ChangeLog as well.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16030 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 09:42:56 +00:00
Andreas Köhler
9ec20373ab If PKG_CHECK_MODULES fails, always print result "no".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15731 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-17 17:29:24 +00:00
Andreas Köhler
39d36d6fba Correct r15693 and lower PKG too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15694 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 23:11:47 +00:00
Andreas Köhler
6f40d05bb2 Fix autogen.sh warning about PKG_CONFIG_MIN_VERSION.
Lower-case that word in macros/pkg.m4 to avoid the need to run
autogen.sh twice.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15693 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-03-08 22:42:23 +00:00
Christian Stimming
5ad71286b7 Fix relocation support detection that was broken with autoconf-2.60.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15457 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 21:44:21 +00:00
Derek Atkins
d622980bda lack of swig should be a fatal error (if building from SVN).
Fix AC_MSG_WARN -> AC_MSG_ERROR


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15256 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-25 18:53:05 +00:00
Andreas Köhler
8d288704d7 Do not determine SWIG_LIB by running swig -swiglib, because we do not
make use of it and it made problems on MinGW (output was two lines).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15223 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-17 18:32:18 +00:00
Chris Shoemaker
31e926c486 Merge swig-redo branch back into trunk.
g-wrap is gone.  I, for one, welcome our new swig overlords.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15024 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-15 19:02:05 +00:00
Christian Stimming
60ff04b2fb Implement automatic relocation of previously compiled-in paths.
With the exception of the env variables in src/bin/gnucash we're
fully relocatable now.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14862 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 20:43:50 +00:00
Christian Stimming
812bd9a1f0 Small cleanup for crufty guile version check macro
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14856 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 15:31:41 +00:00
Christian Stimming
0953922e04 Add cross-compiling workaround to AC_TRY_RUN
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14847 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 10:47:02 +00:00
Christian Stimming
0415051267 On Windows/mingw32, scanf only accepts %I64d for long long integers.
Reference that gave me this hint: http://acm.pku.edu.cn/JudgeOnline/faq.htm

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14806 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 11:46:36 +00:00
David Hampton
689cbc0613 Make the removal of scm_block_gc conditional on having guile 1.8
installed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14137 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-20 02:02:20 +00:00
Christian Stimming
b27cf4b130 Add long-forgotten macro definition from acinclude.m4 r10161 that is sometimes still needed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13582 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 10:58:57 +00:00
Derek Atkins
a55a6b3ae5 * configure.in: remove un-needed/wanted gsf/goffice configure options
* macros/g-wrap.m4: fix the help text spacing.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13285 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-17 23:32:16 +00:00
Derek Atkins
e371fb4e39 Print more debugging when the guile version check fails.
* macros/legacy_macros.m4: when the guile version check fails,
	  print out the version of guile that we found in order to
	  aid debugging.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13174 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 16:28:01 +00:00
Derek Atkins
3cd6b337ea * configure.in: fixes to make configure more quiet
- move PKG_CONFIG check early in the process
	  - use --silence-errors more
	* macros/pkg.m4: work around a pkg-config bug that outputs
	  errors to stderr even when you tell it to output to stdout.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12332 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-12 22:47:08 +00:00
Christian Stimming
f86241f0a7 Move code from macros/autogen.sh to ./autogen.sh to make it more
obvious what happens. Add checks for all programs that are called,
fixes bug#325721. However in principle the code wasn't changed, only
cleaned up.




git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12285 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-07 14:51:37 +00:00
Christian Stimming
df6d0ebc28 Copy macro file from gwrap-1.3.4 package because it is missing in the
gwrap-1.9.x packages. May be removed if we switch to a different
package detection code, potentially via pkgconfig, but for now copying
this macro is the easiest solution.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12169 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-22 21:00:43 +00:00