Commit Graph

560 Commits

Author SHA1 Message Date
Joshua Sled
68f9050a4b Force --enable-debug to strip spurious optimization added by AC_PROG_CC (for gcc). But if the user has optimization in their CFLAGS, make sure it's respected.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15477 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-31 02:36:53 +00:00
Andreas Köhler
5d79c1a22f Add a few functions from GLib 2.8 in lib/glib28.
Remove empty directory lib/glib26. Add lib/glib28 instead with the
necessary sources and headers to have the following functions even on a
GLib 2.6 system (!defined(HAVE_GLIB_2_8))
- g_access, g_chmod,
- g_file_set_contents,
- g_win32_locale_filename_from_utf8.
Make use of them, improving r15429 and r15430.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15445 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-28 05:13:54 +00:00
Andreas Köhler
35f43c0a1a Raise dependencies: GLib 2.6, Pango 1.8, GTK+ 2.6.
Ask for GLib 2.6 and GTK+ 2.6. Let the included GOffice 0.0.4 and LibGSF
1.12.3 use their native base dependencies. Remove all #ifdefs and
compatibility code that were necessary to make GnuCash, GOffice and
LibGSF compile on an older setup (GLib 2.4, Pango 1.6, GTK+ 2.4).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15400 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-20 15:21:35 +00:00
Andreas Köhler
f1de45a420 Drop gnucash-config and gnucash.m4.
GnuCashs APIs, ABIs, and libraries are not designed for third-party
development, so do not encourage it at this point of time.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15379 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-14 19:38:11 +00:00
Andreas Köhler
5d8552f07c Drop variables GNC_LIBDIR and GNC_MODULE_DIR.
Both are equal to pkglibdir and only used in src/bin/, even mixed with
pkglibdir. The module installation paths are hard-coded to pkglibdir
anyway, so we do not provide that flexibility right now.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15378 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-14 19:38:05 +00:00
Christian Stimming
19cd819a0f For enabled hbci, link not only to aqbanking but also gwenhywfar because we use some of its functions directly. This became obvious on win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15351 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-13 15:40:03 +00:00
Andreas Köhler
b34a1c9f3f Unify library names and installation directories.
Rename libcore-utils        to libgnc-core-utils
Rename libgncgnome          to libgnc-gnome
Rename libgncmodule         to libgnc-module
Rename libgncqof            to libgnc-qof
Rename libgnc-backend-file  to libgncmod-backend-file
Move libgnc-business-ledger to $prefix/lib
Move libgncqof-backend-qsf  to $prefix/lib/gnucash
Move libgncmod-backend-file to $prefix/lib/gnucash


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15321 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-07 07:04:23 +00:00
Andreas Köhler
2e69bba2db Merge reshuffle-modules (r15315) back into the trunk.
Modules are loaded directly with the g_symbol_* API now while dropping
the dependency on libltdl.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15317 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-01-06 00:41:51 +00:00
Christian Stimming
29c158335a Remove configure argument --with-locale-dir because it is unused anyway
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15134 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 14:04:43 +00:00
Christian Stimming
462cebb82f Fix gnc_path_get_localedir() because binreloc's implementation did not
respect the choice of DATADIRNAME from AM_GLIB_GNU_GETTEXT in configure.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15132 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-11-24 13:14:41 +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
Andreas Köhler
39eeb73fca Unconditionally call AC_CONFIG_HEADERS for libgsf and goffice config
header files. This way automake and config.status agree upon the list of
these files. Otherwise, in rare cases, make distclean might not remove a
file stamp-h5, making distcheck fail.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14932 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-06 16:02:37 +00:00
Christian Stimming
93c6848ebf Add -no-undefined to LDFLAGS because libtool on Windows requires this argument and we fulfil it anyway
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14880 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-22 13:28:33 +00:00
Christian Stimming
557723f256 Remove mt940 module completely from the build and SVN because all of
its functionality has been moved into the hbci (aqbanking) module.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14871 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 18:44:56 +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
a9457c668d Also allow user-defined overrides for g-wrap. Necessary if build-time g-wrap is different from the run-time one during cross-compile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14860 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 19:10:31 +00:00
Christian Stimming
5c9a63d5a0 Allow the user to override the guile flags. Necessary when build-time guile and run-time guile are different, i.e. when cross-compiling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14857 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 15:45:10 +00:00
Christian Stimming
7951de863c Add cross-compiling workaround to AC_TRY_RUN macros
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14846 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-14 16:27:32 +00:00
Christian Stimming
ec4d618240 Remove duplicate setting of platform_win32 automake conditional
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14810 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 15:49:06 +00:00
Christian Stimming
e35d1c477d Add first draft script for creating a setup.exe installer package on win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14809 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 15:01:43 +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
Christian Stimming
7b0ec87f66 Move check for windows platform even more up front.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14805 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-06 11:07:57 +00:00
Christian Stimming
80684e3205 Fix typo that prevented the correct error on unrecognized scanf conventions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14797 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-05 14:38:27 +00:00
Christian Stimming
9fbd42d09b Move win32 check out of libgsf-1.12.3 configure section into the general configure section
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14744 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 11:29:22 +00:00
Christian Stimming
44ddca68cd Add REGEX_LIBS linker flag that is needed on win32 platform
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14743 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-28 09:31:29 +00:00
Derek Atkins
f314229927 Check for libgoffice-0.3 before libgoffice-1.
(So we find "native" goffice-0.3.x on win32


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14732 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-26 22:59:23 +00:00
Christian Stimming
9238bdaa29 Increase aqbanking dependency to >= 1.6.0; has been released on 2005-09-22
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14710 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-22 19:26:10 +00:00
David Hampton
aa7cda2a16 Update so that bug-buddy 2.16 will still allow you to file bugs
against gnucash.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14695 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-20 03:32:21 +00:00
Christian Stimming
7ca685e5a9 Find absolute path of gconftool-2 during configure. Make gconftool rules to
fail if gconftool-2 could not be found. bug#349851.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14607 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-08-08 09:39:12 +00:00
Derek Atkins
43dbf78b80 check for SLIB. (#347922)
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14551 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-22 15:47:46 +00:00
Andreas Köhler
1ff9e38a42 Make tabs within one notebook reorderable by dnd for gtk>=2.10.
Fixes #343454.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14550 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-21 17:20:49 +00:00
Christian Stimming
55a0b44a88 Re-use existing GUILE_LOAD_PATH variable in order not to override existing search paths.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14540 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-18 11:38:45 +00:00
Derek Atkins
10e122f19e check for (g-wrap) module (#347680)
Apparently some distributions ship g-wrap-config separately
 from the g-wrap.scm guile module.
 BP
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14518 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-16 16:17:58 +00:00
Derek Atkins
37bfd1de1c check for (g-wrap gw-glib-spec) instead of (g-wrap) #347404.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14501 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-15 04:02:02 +00:00
Derek Atkins
0863f9d7ae make sure that po/POTFILES.in exists so configure doens't complain.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14500 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-15 01:33:53 +00:00
Chris Shoemaker
1e1784eada Minor cleanup of configure.in.
The important change is missing "test" in chunk 730,7.
   The others fix the (theoretical) problem of a null variable disappearing,
   leading to
     bash: test: =: unary operator expected
   And also, added
     AC_MSG_NOTICE([Ignore error message "./po/POTFILES.in: No such file or
     directory." if it occurrs.])

   Patch by "Archimedes Submerged" <archimerged@gmail.com>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14497 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-14 02:01:50 +00:00
Derek Atkins
5ec9378dc0 Check for g-wrap compile-time system and bomb out if it's not found (#347404).
r12822@cliodev:  warlord | 2006-07-11 01:05:15 -0400


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14484 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-11 05:07:45 +00:00
Derek Atkins
a8fe56f887 The trunk is still a development branch. Make it say so.
r12820@cliodev:  warlord | 2006-07-10 19:42:41 -0400


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14483 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-10 23:43:00 +00:00
Chris Lyttle
13300a2384 update to release 2.0.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14476 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-10 00:31:14 +00:00
Derek Atkins
d069382f5d Remove warning messages from configure script used for testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14428 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-24 18:42:58 +00:00
Derek Atkins
d86d61e227 Allow building from either SVN or SVK
- create gnc-svnversion script that builds the revision number
  from either SVN or SVK.  The script should fail gracefully if
  you don't have SVK installed
- convert the configure script to use the new gnc-svnversion script
- convert the splash-screen Makefile to use the gnc-svnversions script

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14427 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-24 18:34:35 +00:00
Christian Stimming
4a26d3974a Use waitpid() only if <sys/wait.h> is available. Unavailable on win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14392 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-20 10:30:58 +00:00
Chris Lyttle
203034a045 update to release 1.9.8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14386 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-19 00:33:34 +00:00
Derek Atkins
b3a7e34a1e * configure.in: force-enable hbci if the user enables mt940
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14360 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-14 00:34:16 +00:00
David Hampton
c56162d6f2 Move the valgrind reference code from a compiled file to a
documentation file.  The start/stop valgrind command didn't work as
well as I'd hoped.  Fixes #344353.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14351 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-09 21:33:29 +00:00
Chris Lyttle
de12e2e929 update to release 1.9.7
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14336 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-06 03:03:24 +00:00
Derek Atkins
3366829dc2 Move the GLIB26 compatibility checks to configure.in.
Just modify GLIB_LIBS and GLIB_CFLAGS so everyone properly
	  links against the glib26 compatibility library when necessary.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14330 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 03:39:54 +00:00
Chris Shoemaker
89f37371d9 Disable support for the old binary file format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14301 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-03 13:42:53 +00:00
Derek Atkins
ecf8603602 * configure.in: Don't need to patch libtool for darwin anymore.
Patch by David Reiser.
	* src/gnome-utils/dialog-preferences.c: fix non-C99 construct so
	  the file builds again.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14288 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 21:02:42 +00:00
Chris Shoemaker
275f768325 REactivate --enable-sql by reverting part of r14175; see bug#332251
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14200 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 00:23:34 +00:00