major rework from Rob Browning, of Tue Apr 13 17:29:50 1999.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1705 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1999-04-20 05:03:25 +00:00
parent 607d12ca21
commit 0d6522fdaa
8 changed files with 251 additions and 197 deletions

385
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,10 @@
AC_INIT(src/guile/gnucash.h.in)
AC_PROG_INSTALL
AC_PROG_RANLIB
### AC_PROG_CC sets CFLAGS if it's not already set.
AC_PROG_CC
AC_ISC_POSIX
AC_C_BIGENDIAN
AC_PROG_MAKE_SET
@ -33,11 +36,7 @@ AC_PROG_MAKE_SET
### Variables
### Set up all the initial variable values...
CFLAGS="${CFLAGS} -O2 -Wall"
# some plything option lists
# CFLAGS="-g -Wall -ansi -pedantic -Wwrite-strings -Wid-clash-31 -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Woverloaded-virtual -Winline -felide-constructors -fnonnull-objects"
# CFLAGS="-g -Wall -ansi -pedantic -Wwrite-strings -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow -Winline"
# CFLAGS="-g -Wall -ansi -pedantic"
# USE_QUICKFILL:
@ -363,10 +362,10 @@ AC_SUBST(GNC_RUNTIME_CONFIGDIR)
# UGLY HACK
GTKSHEET_DIR="gtksheet-5.7"
GTKSHEET_DIR="gtksheet"
AC_SUBST(GTKSHEET_DIR)
# CFLAGS="${CFLAGS} -Werror"
CFLAGS="${CFLAGS} -Werror -Wno-unused"
AC_CONFIG_HEADER(config.h)

View File

@ -56,6 +56,5 @@ void gncFileQuerySave (void);
void gncFileQuit (void);
extern Session *current_session;
extern AccountGroup *topgroup;
#endif /* __GNC_FILE_DIALOG_H__ */

View File

@ -24,6 +24,7 @@
#include "config.h"
#include "Account.h"
#include "AccountP.h"
#include "Group.h"
#include "LedgerUtils.h"
#include "MultiLedger.h"

View File

@ -38,6 +38,5 @@ typedef struct _RegWindow RegWindow;
void accRefresh (Account *);
RegWindow *regWindowSimple(Account *account);
RegWindow *regWindowAccGroup(Account *account_group);
// RegWindow *regWindowLedger (Widget parent, xaccLedgerDisplay *);
#endif

View File

@ -45,7 +45,7 @@ int loglevel[MODULE_MAX] =
{0, /* DUMMY */
2, /* ENGINE */
2, /* IO */
2, /* REGISTER */
4, /* REGISTER */
2, /* LEDGER */
4, /* HTML */
2, /* GUI */

View File

@ -289,44 +289,7 @@
(lambda (x) (display x) (newline))
gnc_:*options-dialog-entries*)
(newline)
; =======
; ;; Preferences...
; (define gnc:*double-entry-restriction*
; (gnc:make-config-var
; "Determines how the splits in a transaction will be balanced.
; The following values have significance:
; #f anything goes
; 'force The sum of all splits in a transaction will be
; forced to be zero, even if this requires the
; creation of additional splits. Note that a split
; whose value is zero (e.g. a stock price) can exist
; by itself. Otherwise, all splits must come in at
; least pairs.
; 'collect splits without parents will be forced into a
; lost & found account. (Not implemented)"
; (lambda (var value)
; (cond
; ((eq? value #f)
; (xaccConfigSetForceDoubleEntry 0)
; (list value))
; ((eq? value 'force)
; (xaccConfigSetForceDoubleEntry 1)
; (list value))
; ((eq? value 'collect)
; (gnc:warn
; "gnc:*double-entry-restriction* -- 'collect not supported yet. "
; "Ignoring.")
; #f)
; (else
; (gnc:warn
; "gnc:*double-entry-restriction* -- " value " not supported. Ignoring.")
; #f)))
; eq?
; #f))
(define gnc:*arg-show-usage*
(gnc:make-config-var

View File

@ -30,10 +30,10 @@
void refreshMainWindow( void );
gncBool verifyBox( const char *text );
void errorBox( const char *message );
void setBusyCursor( gncUIWidget w );
void unsetBusyCursor( gncUIWidget w );
gncBoolean verifyBox( const char *text );
void errorBox( const char *message );
void setBusyCursor( gncUIWidget w );
void unsetBusyCursor( gncUIWidget w );
#endif