Commit Graph

21 Commits

Author SHA1 Message Date
Derek Atkins
2168045b6f Improved checks for scanf %lld and %qd as per gc-devel mail.
* acinclude.m4: create a SCANF_QD_CHECK and make sure both
	  that and SCANF_LLD_CHECK are "long long" constant-safe
	* configure.in: use the new SCANF_QD_CHECK and use it
	  earlier in the configuration.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10161 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-07-05 03:24:04 +00:00
Derek Atkins
d35dbc0d6f * acinclude.m4: modify the AC_GWRAP_CHECK_GUILE() macro to
take an argument, the g-wrap module directory.  Then actually
	  test that the g-wrap module loads.  This should detect systems
	  without slib installed.
	* configure.in: all the new gwrap check macro
	  Fixes #113218


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8351 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-20 23:48:06 +00:00
David Hampton
04b722206d Fix compilation warnings in preparation for re-enabling the -Werror
compile flag.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7684 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-14 19:25:58 +00:00
Derek Atkins
6a3d562957 * README: fix references to g-wrap
* acinclude.m4: fix g-wrap test to fail properly if it cannot
	  find g-wrap-config


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7620 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-05 06:05:33 +00:00
Derek Atkins
9a01a4d300 * fix g-wrap testing in configure to work with an existing config.cache
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7248 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-09-28 22:50:16 +00:00
Derek Atkins
9003ed7563 * acinclude.m4: fix guile bounds-check to make sure guile-config exists
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7172 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-08-14 18:10:16 +00:00
David Hampton
cf1f4547b3 Add upper bounds checking on the versions of guile and g-wrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7162 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-08-11 22:55:43 +00:00
Derek Atkins
391e908943 configure.in: solve the "test: too many arguments" bug
acinclude.m4: don't need the extra MSG response


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6884 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-21 21:59:25 +00:00
Derek Atkins
89be52ed5f Fix configure.in to work on Solaris.. Test's need spaces between the
terms:
	if $foo = "no"; then

Supply a result message for the SCANF_LLD test


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6836 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 05:01:48 +00:00
Bill Gribble
4069b315f9 Build changes to clean up library cross-dependencies and move to libtool-1.4
syntax.  Also a patched ltmain.sh included with CVS now, so builds are
faster and folks with libtool-1.3.4 installed aren't left in the cold.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5788 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-11-07 22:41:56 +00:00
Rob Browning
db9971565a * acinclude.m4: added AM_ACLOCAL_INCLUDE so it would work from
configure.in under the new auto* tools.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5492 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-10-10 21:42:47 +00:00
Dave Peticolas
6c39681662 2001-06-01 Dave Peticolas <dave@krondo.com>
* src/engine/sixtp-dom-parsers.c (string_to_integer): use new
	scanf macro below

	* src/engine/sixtp-utils.c: use new scanf macro below

	* src/engine/gnc-numeric.c: use new scanf macro below

	* src/engine/gnc-engine-util.h: define GNC_SCANF_LLD macro to use
	for scanf long long int conversion. This is needed since there is
	not a common solution between Linux, Solaris, and FreeBSD. Thanks
	to Matthew Condell for finding the problem and to Matt and Alan
	Orndorff for testing it.

	* configure.in: invoke conversion test below

	* acinclude.m4: add test for %lld scanf conversion


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4364 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-02 04:40:26 +00:00
Dave Peticolas
7d39624cd9 2001-05-29 Dave Peticolas <dave@krondo.com>
* configure.in: call new macro below

	* acinclude.m4: add macro to check for tm_gmtoff struct tm member


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4333 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 22:41:41 +00:00
Robert Graham Merkel
010d135579 Fixes for FreeBSD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4330 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-05-29 15:20:23 +00:00
Dave Peticolas
859a6da3af * src/FileDialog.c (gncFileNew): clear the non-iso commodities
* src/engine/gnc-commodity.c (gnc_commodity_table_remove_non_iso):
	new func

	* src/test/test-xml-commodity.c: remove duplicate string_to_integer

	* src/gnome/dialog-userpass.c: add missing #include

	* src/register/gnome/Makefile.am: add gnome & glib flags

	* src/engine/Makefile.am: add glib libs

	* src/engine/sql/Makefile.am: add glib flags

	* configure.in: fix includes used to check for sizes

	* acinclude.m4: fix guppi macro

	* macros/: update m4 files


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3776 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-14 02:44:25 +00:00
Dave Peticolas
294dff6982 Fix g-wrap.m4 macro.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3564 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-31 23:47:39 +00:00
Dave Peticolas
be1ef4ae82 Add libguppi.m4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3424 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-09 21:13:09 +00:00
Dave Peticolas
ace1a275cc Rob Browning's update for the new g-wrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3307 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-14 01:49:10 +00:00
Dave Peticolas
fafd91682a Derek Atkins's patch to the g-wrap autoconf test.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3143 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-09 20:44:35 +00:00
Dave Peticolas
3e48612a90 Derek Atkin's build system patches for g-wrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3118 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-02 23:26:36 +00:00
Dave Peticolas
a98bb2d3cc Add libtool autoconf macros. Don't create opening balance transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2438 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-08 02:11:30 +00:00