Commit Graph

92 Commits

Author SHA1 Message Date
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
Derek Atkins
4ea2948c1f * macros/autogen.sh: don't warn the user about running
configure with zero arguments.  Autogen doesn't run
	  configure anymore.  This confused a user.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12091 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-04 15:27:20 +00:00
Chris Shoemaker
866bd40b1b "make ChangeLog" will now create ChangeLog.svn,
which will contain all the commit messages and affected file paths 
since Nov. 2, 2005.  



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12077 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-02 21:11:49 +00:00
Christian Stimming
58f361a0c5 Remove automatic call to ./configure from ./autogen.sh.
2005-11-09  Christian Stimming  <stimming@tuhh.de>

        * macros/autogen.sh: Remove the automatic call to ./configure
        * from
        autogen.sh; instead, only print a reminder that from now on,
        ./configure has to be called separately.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11890 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-09 20:51:03 +00:00
Christian Stimming
18ffd651ff Remove AM_MAINTAINER_MODE from configure.in.
* configure.in: Remove AM_MAINTAINER_MODE since this causes only
        problems anyway. From now on the build system always behaves as
if
        --enable-maintainer-mode had been specified. This makes all
        related errors vanish.

        * macros/autogen.sh: Clean up autogen script a bit, but leave
        * the
        functionality unchanged.

Also, remove mdate-sh since this is installed by automake.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11887 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-07 21:19:24 +00:00
Christian Stimming
18f39b1606 Revert the autogen.sh change for now. To be reconsidered after more
testing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11859 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-06 14:34:31 +00:00
Christian Stimming
bc5ed8b13d Radically improve autogen.sh.
2005-11-05  Christian Stimming  <stimming@tuhh.de>

        * autogen.sh: Replace old crufty autogen.sh script with
        * radically
        simplified version. Simply call all helper programs in one
        sequence and that's it.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11841 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-05 17:32:51 +00:00
Joshua Sled
5eded02d6c Removing .cvsignore files; mis-migrated po/ChangeLog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11785 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 16:38:29 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00
Christian Stimming
5b49ff1f09 2005-07-17 Christian Stimming <stimming@tuhh.de>
* macros/openhbci.m4: Remove old unused macros. Add macro name
	quotations as required by newer automake.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11169 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-07-17 13:02:52 +00:00
Derek Atkins
c5857de175 Heath Martin's x86_64 patch.
* macros/autogen.sh:
	  change "head -1" to "head -n 1"
	* src/engine/gnc-numeric.[ch]:
	  change string_to_gnc_numeric() to return gboolean.
	* src/app-utils/gnc-exp-parser.c:
	* src/backend/file/sixtp-dom-parsers.c:
	  use new string_to_gnc_numeric() API
	* src/engine/gnc-lot.c:
	  64-bit safe for x86_64
	* src/gnome/dialog-scheduledxaction.c:
	* src/gnome/dialog-sxsincelast.c:
	* src/gnome/druid-loan.c:
	* src/gnome-utils/dialog-account.c:
	* src/gnome-utils/gnc-query-list.c:
	* src/import-export/import-match-map.c:
	  use GPOINTER_TO_INT and GINT_TO_POINTER macros to be 64-bit safe.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10315 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-11-01 01:37:10 +00:00