merge in changes from 1.0 branch

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@572 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-03-01 17:35:32 +00:00
parent 7468e329f7
commit c3416780c8
16 changed files with 2418 additions and 141 deletions

47
CHANGES
View File

@ -8,6 +8,33 @@ Version history:
May not compile, will probably core dump.
This is alpha level code, not for general use.
1.0.18 - 20 Feb 98
o Fix Quicken QIF import to recognize "transaction cleared" flag.
o Add RedHat RPM spec files.
1.0.17 - 14 Feb 98
o Fix core dump when deleting account with open register windows.
o Fix core dump when transfering money to deleted (non-existant) account.
o Fix tabbing between ledger entry and record/cancel/close buttons.
o MS Money QIF import fixes.
o obscure fix to Xbae table widget that may fix some mystery core dumps.
o add CBB, MS-Money QIF export sample files
o add SCO UnixWare, OpenServer build files
o precompiled SCO UnixWare 7 and OpenServer 5 binaries
1.0.16 - 7 Jan 98
o Leap year fix
o Solaris compile patches
o precompiled AIX 4.1 for IBM RS/6000 binary
1.0.14 - 6 Jan 98
o Debian package version
o QIF File format patch for reading CBB-exported QIF's
o Date bug fix
1.0.11 - 11 Dec 97
o large variety of bug fixes, patches, enhancements.
1.0b1 - 29 Nov 97
o Many, many changes by Linas Vepstas to give double entry
bookkeeping, sub-accounts, income/expense account types, and
@ -21,6 +48,7 @@ Version history:
o The environment variable XACC_HELP will tell xacc where to
find the files for the hypertext help. If XACC_HELP isn't
set, xacc will default to "./Docs" as the help path.
0.9 - 08 Sep 97
o Lots of code-cleanup.
o Adjust Balance window.
@ -96,22 +124,3 @@ Version history:
buggy.
Things to do/fix: (in no particular order)
------ -- ------
o Reg window segfaults on close... (I think this might be a
lesstif problem, so try a newer version)
o memorized transactions/quickfill (They work, but you need
a newer than v4.6.1 Xbae Widget)
o Bug Fixes! There are still a few bugs floating around.
(Let me know if you find any)
o a README and/or man page!
o use configure or Imake? or at least a proper "make install"

6
Configure-osr5 Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
CC="gcc -melf -L/usr/local/lib -I/usr/local/include"
INSTALL="/usr/local/bin/install -c"
export CC INSTALL
./configure

6
Configure-uw7 Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
CC="gcc -I/usr/local/include -L/usr/local/lib"
INSTALL="/usr/local/bin/install -c"
export CC INSTALL
./configure i386-sco-sysv4.2uw

View File

@ -31,6 +31,7 @@ PREFIX = /usr/local
INSTALL = /usr/bin/ginstall -c
INSTALL_DATA = ${INSTALL} -m 644
TARGET = xacc
DOCDIR = share/xacc/Docs
CPU = @target_cpu@
######################################################################
@ -65,14 +66,14 @@ clean:
@cd src; $(MAKE) clean
distclean: clean
rm -f *~ *.o *.bak Makefile config.cache config.log config.status config.h
rm -f *~ *.o *.bak Makefile xacc
rm -f config.cache config.log config.status config.h
@cd lib; $(MAKE) distclean
@cd src; $(MAKE) distclean
install: $(TARGET)
@mkdir -p $(PREFIX)/bin
$(INSTALL) $(TARGET) $(PREFIX)/bin
@mkdir -p $(PREFIX)/share/xacc/Docs
$(INSTALL_DATA) Docs/* $(PREFIX)/share/xacc/Docs
@echo "Remember to set XACC_HELP to" $(PREFIX)"/share/xacc/Docs"
$(INSTALL) $(TARGET) $(PREFIX)/bin/$(TARGET)
$(INSTALL) $(TARGET).bin $(PREFIX)/bin/$(TARGET).bin
@mkdir -p $(PREFIX)/$(DOCDIR)
$(INSTALL_DATA) Docs/* $(PREFIX)/$(DOCDIR)

View File

@ -31,6 +31,7 @@ PREFIX = @prefix@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
TARGET = xacc
DOCDIR = share/xacc/Docs
CPU = @target_cpu@
######################################################################
@ -64,14 +65,14 @@ clean:
@cd src; $(MAKE) clean
distclean: clean
rm -f *~ *.o *.bak Makefile config.cache config.log config.status config.h
rm -f *~ *.o *.bak Makefile xacc
rm -f config.cache config.log config.status config.h
@cd lib; $(MAKE) distclean
@cd src; $(MAKE) distclean
install: $(TARGET)
@mkdir -p $(PREFIX)/bin
$(INSTALL) $(TARGET) $(PREFIX)/bin
@mkdir -p $(PREFIX)/share/xacc/Docs
$(INSTALL_DATA) Docs/* $(PREFIX)/share/xacc/Docs
@echo "Remember to set XACC_HELP to" $(PREFIX)"/share/xacc/Docs"
$(INSTALL) $(TARGET) $(PREFIX)/bin/$(TARGET)
$(INSTALL) $(TARGET).bin $(PREFIX)/bin/$(TARGET).bin
@mkdir -p $(PREFIX)/$(DOCDIR)
$(INSTALL_DATA) Docs/* $(PREFIX)/$(DOCDIR)

84
README
View File

@ -34,8 +34,7 @@ of the features of xacc are:
individually (one per account) or in portfolio
of accounts (a group of accounts that can be
displayed together).
- Quicken File Import. Import Quicken Version 3.0
QIF files.
- Quicken File Import. Import Quicken QIF files.
Advanced Features
-----------------
@ -75,18 +74,31 @@ Home Page:
----------
http://www.cs.hmc.edu/~rclark/xacc
Important Note:
---------------
Numerous core dumps have been reported that occur with lesstif
version 0.82. These core dumps do not occur with lesstif v 0.81,
nor with RedHat Motif. If it's crashing, please try using the
statically-linked Motif version, as described below.
Running:
--------
The binary-only distribution includes two files: 'xacc' and
'xacc-static'. The former requires a Motif shared library;
The binary-only distribution includes two binary files: 'xacc.bin'
and 'xacc-static.bin'. The former requires a Motif shared library;
the latter has Motif statically linked in. If you have Motif,
then just run xacc. If you do not have Motif, then copy
'xacc-static' to 'xacc'.
'xacc-static.bin' to 'xacc.bin'.
Access to the on-line help documentation requires the that
the environment variable XACC_HELP be set to the 'Docs'
directory. For example, for csh/tcsh,
directory. The 'xacc' shell script sets this variable to
the configured directory before running the main program,
so you don't have to set this by hand.
If you want to override the path to the Docs directory:
For csh/tcsh
% setenv XACC_HELP /usr/local/share/xacc/Docs
@ -134,23 +146,69 @@ sorry, no "make install" yet.
Status:
-------
As of version 1.0b11:
As of version 1.0.16:
xacc is known to work in the following configs:
Linux 2.0.x -- Intel w/ RedHat Motif
Linux 2.0.x -- Intel w/ Lesstif v0.81
SGI IRIX --
Linux 2.0.x -- Intel w/ RedHat Motif
Slackware 3.4 -- Intel w/ Mootif (OSF Motif 2.0.1)
Linux 2.0.x -- Intel w/ Lesstif v0.81
SGI IRIX --
IBM AIX 4.1.5 -- RS/6000 http://www-frec.bull.com/
Unixware 7 -- Intel
SCO OpenServer 5.0.4 -- Intel
See http://linas.org/linux/xacc for precompiled binaries for these platforms
xacc seems to be having problems with:
Solaris -- Sparc -- won't compile due to va-args in XmHTML
Linux 2.0.x -- Intel w/ Lesstif v0.82
Download Sites:
---------------
All of the precompiled binaries & the latest source versions can be found
at http://linas.org/linux/xacc However, it is recommended that the master
sites for each particular binary be used instead, for two reasons:
1) bandwidth
2) OS-specific info & support
IBM AIX 4.1.5
-- SMIT-installable images
http://www.bull.de/pub/
see also http://www-frec.bull.com/
SCO OpenServer 5.0.4
http://www.sco.com/skunkware/osr5/x11/apps/xacc/VOLS.tar
Unixware 7
-- use pkgadd to install
http://www.sco.com/skunkware/uw7/x11/apps/xacc/xacc.pkg.gz
SGI Irix
-- in SGI install format
-- warning, this is a very down-level version
http://linas.org/linux/xacc/xacc-1.0b7-sgi-irix.inst.tar
Linux Debian
-- use debian tools to install
http://linas.org/linux/xacc/xacc_1.0.15-1_i386.deb
That's all folks!
Credits:
--------
Main Developers:
----------------
Robin Clark <rclark@hmc.edu> for original xacc
Linas Vepstas <linas@lins.org> for extensive enhancements
Fixes & Patches:
----------------
George Chen <georgec@sco.com> for MS-Money QIF's & fixes
Koen D'Hondt <ripley@xs4all.nl> for Solaris patches to XmHTML
Ciaran Deignan <Ciaran.Deignan@bull.net> for AIX binary version
Dave Freese <DFreese@osc.uscg.mil> for leap-year fix
Otto Hammersmith <otto@bug.redhat.com> for RedHat RPM version
Tom Kludy <tkludy@csd.sgi.com> for SGI Irix port
Peter Norton <spacey@inch.com> for a valiant attempt at a GTK port
Ron Record <rr@sco.com> for SCO Unixware & OpenServer binaries
Richard Skelton <rich@brake.demon.co.uk> for Solaris cleanup
... and I am sure that I have missed many others ...

12
README.aix Normal file
View File

@ -0,0 +1,12 @@
pre-compiled SMIT-installable binaries for AIX 4.1.5 are available
from
http://www-frec.bull.com/
and
http://www.bull.de/pub/
courtesy of BULL and Ciaran Deignan <Ciaran.Deignan@bull.net>
January 1998

57
README.binaries Normal file
View File

@ -0,0 +1,57 @@
The main xacc web site is at http://www.cs.hmc.edu/~rclark/xacc/
This site holds development versions & other miscellania.
Current development alpha: xacc-1.1.3.tar.gz
-- DO NOT USE THIS CODE for production use.
It is very very broken. Use 1.0.17 instead.
Current production code: xacc-1.0.17.tar.gz
-- since 1.0.16 -- assorted core dump fixes
-- MS Money QIF import fixes
-- sco unixware & openserver build files
-- since 1.0.15 -- leap-year patch
-- debian build files
-- since 1.0b11 -- includes date sorting, QIF, Solaris patches
Binaries:
All binary distributions do *not* include source code,
except where otherwise noted.
xacc-1.0.17-linux-i386-bin.tar.gz
-- precompiled binary-only distribution, for Linux/Intel
-- contains version linked statically and dynamically w/ Motif
xacc_1.0.15-1_i386.deb
-- precompiled binary-only distribution, for Linux/Intel
-- use debian package manager to install
xacc-1.0.16-linux-ppc-bin.tar.gz
-- precompiled distribution, for Linux/PowerPC PowerMAC
-- contains dynamically linked lesstif version only
-- includes source code
xacc-1.0.16-ibm-aix415.exe
-- precompiled binary for IBM AIX 4.1.5
-- To install, chmod ugo+x xacc-1.0.16-ibm-aix.exe,
then run it, then use SMIT to complete installation.
-- For more info, see http://www.bull.de/pub/
xacc-1.0.16-sco-osr.vols.tar
-- precompiled binary-only for SCO OpenServer 5.0.4
-- dynamically linked motif version only
-- for more info, see
http://www.sco.com/skunkware/osr5/x11/apps/xacc/
xacc-1.0.16-sco-uw7.pkg.gz
-- precompiled binary-only for UnixWare 7
-- dynamically linked motif version only
-- use pkgadd to install
-- for more info, see
http://www.sco.com/skunkware/uw7/x11/apps/xacc/
xacc-1.0b7-sgi-irix.inst.tar
-- SGI-Irix distribution, in SGI install format
-- Warning: old, various important bugs fixed since then.

43
README.sco Normal file
View File

@ -0,0 +1,43 @@
I have built and tested Xacc on SCO OpenServer 5.0.4 and UnixWare 7.
To build on SCO OpenServer, run the following commands:
# ./Configure-osr5
# make depend
# make
# make install
# cp Xacc /usr/lib/X11/app-defaults/Xacc
Ignore the make depend warnings for now.
The build environment for OpenServer included the GNU C Compiler 2.7.2.1
from SCO Skunkware 97 and the Glib graphics libraries package from
SCO Skunkware 97. The runtime environment for the OpenServer Xacc includes
the Glib graphics libraries package from SCO Skunkware 97.
You can retrieve binary distributions of the GNU C Compiler, Glib, and
Xacc from http://www.sco.com/skunkware/
To build Xacc on UnixWare 7, run the following commands:
# cp configure configure-orig
# cp configure-uw7 configure
# ./Configure-uw7
# make depend
# make
# make install
# cp Xacc /usr/X/lib/X11/app-defaults/Xacc
The build environment for UnixWare 7 included the GNU C Compiler 2.8.0
from SCO Skunkware 7 and the glib graphics libraries package from
SCO Skunkware 7. The runtime environment for the UnixWare 7 Xacc includes
the glib graphics libraries package from SCO Skunkware 7.
You can retrieve binary distributions of the GNU C Compiler, glib, and
Xacc from http://www.sco.com/skunkware/uw7/
Ron Record
rr@sco.com
12-Feb-98

66
TODO
View File

@ -1,15 +1,13 @@
Open, known bugs, desired enhancements:
> 3) Selecting "File", "New File" does nothing..
3) Selecting "File", "New File" does nothing..
Its supposed to work that way, erasing old work. Clarify
the docs or change the menu entry name.
10) cleared balances are incorrectly shown for stock accounts
12) all messages should be moved out so that translation to foreign
languages would be possible.
-- long messages now in include/main.h, short words are not.
Hmm. verify that this is still broken!?!
13) transfer window should allow share prices to be entered;
but these should grey out when dealing with ordinary bank accounts.
@ -19,7 +17,8 @@ the docs or change the menu entry name.
18) add (none) to transfer list, or explain that a second selection
will clear it.
20) fix quickfill for ledgers.
20) fix quickfill for general ledgers. (it works for
simple register windows).
21) add "number of shares" to XferWindow
@ -41,12 +40,13 @@ the docs or change the menu entry name.
29) add short-cut menu-icon bar
30) add icons for minimuzation
30) add icons for minimization
31) move resources out of main.c into a resource file.
This requires fixing install first.
32) "make install" should work
Umm, I think it does now ??? check this to be sure ...
33) automatic deposit-withdrawl on regular basis.
@ -58,19 +58,11 @@ the docs or change the menu entry name.
36) business features, for tracking inventory, costing jobs, etc.
37) clean distinction between the data view (the register window)
and the data (Account.h, Transaction.h) so that data can be feteched
from multi-user SQL database instead of simple flat files.
38) Find, if it exists, some ANSI/ISO/POSIX/whatever standard for
fincancial software, and code to that. That in heory makes it more
interoperable with other possible projects.
39) create Java version of RegWindow, so that accounts&transactions could
be deleivered by a web server, and the actual data viewed/modified
with regwindow.
40) add check-priniting ability.
40) add check-printing ability.
41) add short-cut button-bar, like quicken/lotus
@ -84,15 +76,13 @@ the docs or change the menu entry name.
has sub-accounts.
47) provide a simplified portfolio ledger window.
48) allow tab traversal from memo field to commit button in the ledger
window.
Deffered, will be in version 1.1.x
52) add sql interfaces. Use optimistic record modification policies,
to avoid record locking. Something that is CVS, as opposed to
RCS, in style & philosophy.
53) mnemonics don't work in the menus
56) mnemonics don't work in the menus
Fixed bugs:
@ -148,6 +138,13 @@ Fixed.
11) stock portfolio should indicate total $ amount of transaction
fixed.
12) all messages should be moved out so that translation to foreign
languages would be possible.
-- long messages now in include/main.h, short words are not.
-- see alpha version 1.1, which has completed work on separating
messages, to include/messages.h
Done January 1998
14) Allow transfers of funds to be done in-line
fixed.
@ -160,13 +157,42 @@ fixed. changed XmNnavigation
19) verify that tabbing works for mutual funds and for ledgers
fixed.
37) clean distinction between the data view (the register window)
and the data (Account.h, Transaction.h) so that data can be feteched
from multi-user SQL database instead of simple flat files.
Done, January 1998, in version 1.1. Engine has been striped of all
gui elements.
38) Find, if it exists, some ANSI/ISO/POSIX/whatever standard for
fincancial software, and code to that. That in theory makes it more
interoperable with other possible projects.
Done, February 1998. Found the "open financial exchange" docs
which is an intuit/microsoft/checkfree proposal. No other
financial standards seem to exist. The ofx dtd's are included
in version 1.1
46) fix traversal for ledger windows
fixed.
48) allow tab traversal from memo field to commit button in the ledger
window.
Fixed in version 1.0.17
49) fix recn window. Its completely broken right now.
fixed, I think.
50) provide a menu item to not show income/expense accounts.
this makes it work more like quicken categories. See also #26
done.
done.
53) core dump when reading MS-Money QIF files
Fixed in 1.0.17
54) core dump when deleting an account with open windows
Hack-fixed in 1.0.17 by allowing a memory leak to occur.
Non-memory-leak requires major redesign, and is in version 1.1
55) core dump when picking deleted account in the transfer
pull-down.
Feb 98 fixed

148
configure vendored
View File

@ -13,6 +13,16 @@ ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
--enable-debug compile with debugging flags set"
ac_help="$ac_help
--disable-color don't use color (red/black) balances"
ac_help="$ac_help
--with-motif=PATH specify where to look for motif includes and libs"
ac_help="$ac_help
--with-motif-includes=PATH specify where to look for motif includes"
ac_help="$ac_help
--with-motif-libraries=PATH specify where to look for motif libs"
ac_help="$ac_help
help-string , action-if-given [, action-if-not-given]"
ac_help="$ac_help
--with-x use the X Window System"
@ -543,16 +553,54 @@ EOF
fi
# USE_QUICKFILL ??? for now:
# USE_QUICKFILL:
cat >> confdefs.h <<\EOF
#define USE_QUICKFILL 1
EOF
# USE_NO_COLOR ??? for now:
cat >> confdefs.h <<\EOF
#define USE_NO_COLOR 0
# Should we uses color (red/black) balances?
# Check whether --enable-color or --disable-color was given.
if test "${enable_color+set}" = set; then
enableval="$enable_color"
cat >> confdefs.h <<\EOF
#define USE_NO_COLOR 1
EOF
else
cat >> confdefs.h <<\EOF
#define USE_NO_COLOR 0
EOF
fi
# Let the user specify motif paths:
# Check whether --with-motif or --without-motif was given.
if test "${with_motif+set}" = set; then
withval="$with_motif"
lflags="-L$with_motif/lib $lflags" cflags="-I$with_motif/include $cflags"
fi
# Check whether --with-motif-incl or --without-motif-incl was given.
if test "${with_motif_incl+set}" = set; then
withval="$with_motif_incl"
cflags="-I$with_motif_includes $cflags"
fi
# Check whether --with-motif-lib or --without-motif-lib was given.
if test "${with_motif_lib+set}" = set; then
withval="$with_motif_lib"
lflags="-L$with_motif_libraries $lflags"
fi
# Check whether --with-package or --without-package was given.
if test "${with_package+set}" = set; then
withval="$with_package"
:
fi
@ -756,7 +804,7 @@ else
yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
@ -823,11 +871,11 @@ else
ac_cv_c_cross=yes
else
cat > conftest.$ac_ext <<EOF
#line 827 "configure"
#line 875 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
{ (eval echo configure:831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
{ (eval echo configure:879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_cross=no
else
@ -847,7 +895,7 @@ else
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 851 "configure"
#line 899 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -859,11 +907,11 @@ int t() {
#endif
; return 0; }
EOF
if { (eval echo configure:863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 867 "configure"
#line 915 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@ -875,7 +923,7 @@ int t() {
#endif
; return 0; }
EOF
if { (eval echo configure:879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
@ -892,7 +940,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 896 "configure"
#line 944 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
@ -905,7 +953,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
{ (eval echo configure:909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
{ (eval echo configure:957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_bigendian=no
else
@ -942,13 +990,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
#line 946 "configure"
#line 994 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@ -957,13 +1005,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 961 "configure"
#line 1009 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@ -1047,12 +1095,12 @@ if test "$ac_x_includes" = NO; then
# First, try using that file with no special directory specified.
cat > conftest.$ac_ext <<EOF
#line 1051 "configure"
#line 1099 "configure"
#include "confdefs.h"
#include <$x_direct_test_include>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@ -1119,7 +1167,7 @@ if test "$ac_x_libraries" = NO; then
ac_save_LIBS="$LIBS"
LIBS="-l$x_direct_test_library $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1123 "configure"
#line 1171 "configure"
#include "confdefs.h"
int main() { return 0; }
@ -1127,7 +1175,7 @@ int t() {
${x_direct_test_function}()
; return 0; }
EOF
if { (eval echo configure:1131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
LIBS="$ac_save_LIBS"
# We can link X programs with no special library path.
@ -1248,7 +1296,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lICE $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1252 "configure"
#line 1300 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1260,7 +1308,7 @@ int t() {
IceConnectionNumber()
; return 0; }
EOF
if { (eval echo configure:1264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1296,7 +1344,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldnet $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1300 "configure"
#line 1348 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1308,7 +1356,7 @@ int t() {
dnet_ntoa()
; return 0; }
EOF
if { (eval echo configure:1312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1335,7 +1383,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldnet_stub $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1339 "configure"
#line 1387 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1347,7 +1395,7 @@ int t() {
dnet_ntoa()
; return 0; }
EOF
if { (eval echo configure:1351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1379,7 +1427,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1383 "configure"
#line 1431 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1391,7 +1439,7 @@ int t() {
t_accept()
; return 0; }
EOF
if { (eval echo configure:1395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1422,7 +1470,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1426 "configure"
#line 1474 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1434,7 +1482,7 @@ int t() {
socket()
; return 0; }
EOF
if { (eval echo configure:1438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1460,10 +1508,9 @@ fi
LIBS="-lm"
# the XmHTML widget needs libz, libjpeg, libpng and libm
# it also uses #ifdef's not #if's so DONT #def to zero.
LIBS="-lm"
echo $ac_n "checking for -lz""... $ac_c" 1>&6
ac_lib_var=`echo z'_'deflateEnd | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
@ -1472,7 +1519,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lz $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1476 "configure"
#line 1523 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1484,7 +1531,7 @@ int t() {
deflateEnd()
; return 0; }
EOF
if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1505,8 +1552,6 @@ else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for -ljpeg""... $ac_c" 1>&6
ac_lib_var=`echo jpeg'_'jpeg_read_scanlines | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
@ -1515,7 +1560,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ljpeg $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1519 "configure"
#line 1564 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1527,7 +1572,7 @@ int t() {
jpeg_read_scanlines()
; return 0; }
EOF
if { (eval echo configure:1531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1548,8 +1593,6 @@ else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for -lpng""... $ac_c" 1>&6
ac_lib_var=`echo png'_'png_read_image | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
@ -1558,7 +1601,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpng $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1562 "configure"
#line 1605 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1570,7 +1613,7 @@ int t() {
png_read_image()
; return 0; }
EOF
if { (eval echo configure:1574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1592,10 +1635,8 @@ else
fi
LIBS="-lXm -lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
echo $ac_n "checking for -lXpm""... $ac_c" 1>&6
ac_lib_var=`echo Xpm'_'XpmReadFileToXpmImage | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
@ -1604,7 +1645,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lXpm -L $x_libraries $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1608 "configure"
#line 1649 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -1616,7 +1657,7 @@ int t() {
XpmReadFileToXpmImage()
; return 0; }
EOF
if { (eval echo configure:1620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
if { (eval echo configure:1661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -1643,12 +1684,8 @@ fi
# *******************************************
#
# elminate libhtmlw due to license restrictions
# and general broken-ness
# AC_OUTPUT(Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/libhtmlw/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile)
trap '' 1 2 15
cat > confcache <<\EOF
@ -1737,7 +1774,7 @@ done
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
trap 'rm -fr `echo "xacc Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
@ -1786,7 +1823,7 @@ CEOF
EOF
cat >> $CONFIG_STATUS <<EOF
CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile"}
CONFIG_FILES=\${CONFIG_FILES-"xacc Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
@ -1952,3 +1989,6 @@ chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
chmod +x xacc

1994
configure-uw7 Executable file

File diff suppressed because it is too large Load Diff

View File

@ -10,11 +10,28 @@ AC_ARG_ENABLE( debug,
lflags=-g
AC_DEFINE(DEBUG_MEMORY,1) AC_DEFINE(USE_DEBUG,1),
AC_DEFINE(DEBUG_MEMORY,0) AC_DEFINE(USE_DEBUG,0) )
# USE_QUICKFILL ??? for now:
# USE_QUICKFILL:
AC_DEFINE(USE_QUICKFILL,1)
# USE_NO_COLOR ??? for now:
AC_DEFINE(USE_NO_COLOR,0)
# Should we uses color (red/black) balances?
AC_ARG_ENABLE( color,
[ --disable-color don't use color (red/black) balances],
AC_DEFINE(USE_NO_COLOR,1),
AC_DEFINE(USE_NO_COLOR,0) )
# Let the user specify motif paths:
AC_ARG_WITH( motif,
[ --with-motif=PATH specify where to look for motif includes and libs],
lflags="-L$with_motif/lib $lflags" cflags="-I$with_motif/include $cflags" )
AC_ARG_WITH( motif-incl,
[ --with-motif-includes=PATH specify where to look for motif includes],
cflags="-I$with_motif_includes $cflags" )
AC_ARG_WITH( motif-lib,
[ --with-motif-libraries=PATH specify where to look for motif libs],
lflags="-L$with_motif_libraries $lflags" )
AC_ARG_WITH(package, help-string [, action-if-given [, action-if-not-given]])
AC_SUBST(cflags)
AC_SUBST(lflags)
@ -40,35 +57,27 @@ AC_SUBST(x_includes)
AC_SUBST(x_libraries)
LIBS="-lm"
# the XmHTML widget needs libz, libjpeg, libpng and libm
# it also uses #ifdef's not #if's so DONT #def to zero.
LIBS="-lm"
AC_CHECK_LIB(z, deflateEnd,
AC_DEFINE(HAVE_ZLIB,1) LIBS="-lz $LIBS")
AC_SUBST(LIBS)
AC_CHECK_LIB(jpeg, jpeg_read_scanlines,
AC_DEFINE(HAVE_JPEG,1) LIBS="-ljpeg $LIBS")
AC_SUBST(LIBS)
AC_CHECK_LIB(png, png_read_image,
AC_DEFINE(HAVE_PNG,1) LIBS="-lpng $LIBS")
AC_SUBST(LIBS)
LIBS="-lXm -lXmu -lXt -lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
AC_SUBST(LIBS)
AC_CHECK_LIB(Xpm, XpmReadFileToXpmImage,
AC_DEFINE(HAVE_XPM,1) LIBS="-lXpm $LIBS",
AC_DEFINE(HAVE_XPM,0), -L $x_libraries)
AC_SUBST(LIBS)
# *******************************************
AC_CONFIG_HEADER(config.h)
#
# elminate libhtmlw due to license restrictions
# and general broken-ness
# AC_OUTPUT(Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/libhtmlw/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile)
AC_OUTPUT(xacc Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile)
chmod +x xacc
AC_OUTPUT(Makefile src/Makefile lib/Makefile lib/XmHTML-1.1.0/Makefile lib/XmHTML-1.1.0/src/Makefile lib/Xbae-4.6.2-linas/Makefile lib/Xbae-4.6.2-linas/src/Makefile lib/ComboBox-1.33/Makefile)

6
xacc Executable file
View File

@ -0,0 +1,6 @@
#! /bin/sh
# Generated automatically from xacc.in by configure.
XACC_HELP=${XACC_HELP:-/usr/local/share/xacc/Docs}
export XACC_HELP
exec xacc.bin $@

6
xacc.in Normal file
View File

@ -0,0 +1,6 @@
#! /bin/sh
# @configure_input@
XACC_HELP=${XACC_HELP:-@prefix@/share/xacc/Docs}
export XACC_HELP
exec xacc.bin $@

View File

@ -1,7 +1,7 @@
Begin3
Title: xacc -- simple single-user accounting program
Version: 1.0b11
Entered-date: 9DEC97
Version: 1.0.18
Entered-date: 20FEB98
Description: xacc is a program to keep track of your finances. It
offers a simple check-book register style interface.
Currently, the features are quite simple:
@ -31,19 +31,22 @@ Description: xacc is a program to keep track of your finances. It
o General Ledger for displaying multiple
accounts at once.
- Quicken Import. Support for import from
Quicken Version 3 QIF files.
Quicken QIF files.
Keywords: X11 Accounting double entry
Author: rclark@cs.hmc.edu (Robin Clark)
Maintained-by: linas@linas.org (Linas Vepstas)
Primary-site: http://www.cs.hmc.edu/~rclark/xacc/
Alternate-site: http://linas.org/linux/xacc
540KB xacc-1.0b7-sgi-irix.inst.tar
540KB xacc-1.0b7.bin-sgi-irix.inst.tar
535KB xacc-1.0.16-ibm-aix415.exe
356KB xacc-1.0.16-sco-osr.vols.gz
301KB xacc_1.0.15-1_i386.deb
Alternate-site: sunsite.unc.edu /pub/Linux/apps/financial/accounting/
871KB xacc-1.0b11.tar.gz
1349KB xacc-1.0b11-bin-linux-i386.tar.gz
918KB xacc-1.0.17.tar.gz
1388KB xacc-1.0.17.bin-linux-i386.tar.gz
Alternate-site: ftp.x.org /contrib/applications
Platforms: Linux/Unix/X Windows/Lesstif/Motif/Sparc/Intel/PowerPC
Platforms: Linux/Unix/X Windows/Lesstif/Motif/Mootif/Sparc/Intel/PowerPC
Copying-policy: GPL
End