Commit Graph

67 Commits

Author SHA1 Message Date
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
Christian Stimming
27c0afeea1 2004-09-22 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-interaction.c: Finally fix the HBCI
	implementation based on aqbanking/aqhbci. This can now be tested
	intensively.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10268 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-22 20:51:55 +00:00
Christian Stimming
d7768d2aed 2004-09-04 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/*.h, *.c, macros/aqbanking.m4,
	configure.in: Major change for HBCI. It is no longer based on the
	openhbci2 library but instead on the aqbanking library
	http://sf.net/projects/aqbanking which is Martin Preuss' successor
	of openhbci2. This means that now aqbanking-0.9.2 is required
	instead of any of the openhbci[2] package. Still needs more
	testing, though.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10256 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-09-04 12:03:31 +00:00
Derek Atkins
f207abc0d2 Add more warnings to autogen.
* src/macros/autogen.sh: Add MORE warnings around gettext because
	  some users STILL don't "get it".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9894 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-16 17:04:50 +00:00
Derek Atkins
17eee61f51 Deal with gettext not doing anything on every autogen.
* macros/autogen.sh: make sure we always have intl and po Makefiles
	  in the configure script.  Sometimes it was ripped out without being
	  replaced.  Reported by twunder.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9877 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-05 18:31:22 +00:00
Derek Atkins
2388ff3158 Build CVS directly with recent gettextize; no AC_OUTPUT errors.
* configure.in: move m4/Makefile to its own line
	* macros/autogen.sh: add code to remove "intl/Makefile po/Makefile"
	  from AC_OUTPUT in configure.in prior to calling gettextize
	  to make sure that you can build from CVS with recent versions
	  of gettextize.  Tested with both RH9 and RH7.3 to make sure
	  it works with both old and new.  Fixes #120206.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9871 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-04-01 05:42:58 +00:00
Christian Stimming
ddad45fc1c 2004-01-20 Christian Stimming <stimming@tuhh.de>
* configure.in, macros/openhbci2.m4: Add checking for new
	openhbci2 library.

	* src/import-export/hbci/ all files: Switch HBCI code to the new
	openhbci2 library. Should be working, but needs further testing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9797 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-01-20 23:02:46 +00:00
Derek Atkins
743889ead0 * configure.in: change (and comment out) checks for pthreads
* macros/acx_pthread.m4: change pthread search (should be removed)
	* src/engine/guid.c: remove pthread code and just use a static buffer.
	  (pthread code is kept within some #ifdef's, just in case we decide to
	   put it back in later).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8846 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-10 03:08:48 +00:00
Derek Atkins
87529fd3b0 * macros/acx_pthread.m4: macro to find the pthread library for
the particular system
	* configure.in: look for pthread library (now that we actually
	  USE pthreads, even if only for Thread Local Storage).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8810 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-07-01 00:28:44 +00:00
Christian Stimming
c44f4e726e 2003-05-09 Christian Stimming <stimming@tuhh.de>
* macros/openhbci.m4: Fix openhbci macro again so that it uses a C
	check program.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8286 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 21:54:06 +00:00
Derek Atkins
44f314dfe8 Add some extra messages so users don't shoot themselves in the
foot by trying to run aclocal by hand.  gettextize tells them
to do so; add a warning to ignore it.  Hopefully users will listen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8284 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 21:13:19 +00:00
Derek Atkins
942578370a * configure.in: fix some AC_DEFINE macros
* macros/autogen.sh: a bit more work on the version searches.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8282 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 00:58:23 +00:00
Derek Atkins
b9546bb9cc * configure.in: add AC_PREREQ(2.53) to require 2.53 :)
* macros/autogen.sh: add more searches for a good version of
	  the autotools.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8281 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-09 00:29:11 +00:00
Derek Atkins
fe083155f1 * macros/autogen.sh: require autoconf >= 2.53 and automake >= 1.5
Also look for appropriately-named versions on systems like RH7.3


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8277 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-08 02:05:15 +00:00
David Hampton
14197bbb5c Fix problem with latest versions of autoconf.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8273 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-05 14:52:35 +00:00
Christian Stimming
eba6b72793 Updated openhbci macro for latest openhbci versions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8262 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-01 16:15:08 +00:00
Derek Atkins
41d79ac527 2003-01-19 John Pierce <john@killterm.org>
* macros/autogen.sh
	  Use variables for programs so they can be overridden easily.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7853 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-20 00:40:33 +00:00
David Hampton
f6423ddd09 Clean up include path for gcc3.x.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7825 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-13 07:32:15 +00:00
Derek Atkins
db4d8f7a2f * macros/Makefile.am: include the rest of the macros in the dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7793 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-07 03:21:16 +00:00
David Hampton
2c0b8dae96 Reenable -Wall with -Werror.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7759 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 03:17:24 +00:00
David Hampton
cfae12f08f Enable -Werror.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7718 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-24 03:26:12 +00:00
David Hampton
3f318a6325 Fix some problems with the gcc 3.x cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7508 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-19 00:52:22 +00:00
David Hampton
28aed22fcb Clean up the gcc 3.x warnings about including system directories.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7493 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-11-18 00:59:52 +00:00
Christian Stimming
0de66c989c 2002-10-27 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/*: Add Direct Debit HBCI action. Much
	more work on error handling and user feedback. Make the caching of
	the PIN a user preference.

	* po/de.po, po/glossary/de.po, po/POTFILES.in: Update German
	Translation.

	* configure.in, macros/openhbci.m4: Update required OpenHBCI
	version (now 0.9.3 i.e. current OpenHBCI's CVS).

	* src/app-utils/prefs.scm,
	src/import-export/qif-import/druid-qif-import.c: Add cache-PIN
	preference for HBCI. Rename preference tab to "Importing/Online".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7402 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-27 18:51:30 +00:00
Christian Stimming
d3112b20b9 2002-10-18 Christian Stimming <stimming@tuhh.de>
* configure.in, macros/openhbci.m4: Add version control macro for
	OpenHBCI.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7345 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-10-18 15:51:27 +00:00
David Hampton
e3b32ced97 Finished changes to make both gettext 0.10 and 0.11 work.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6866 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-16 21:59:52 +00:00