* configure.in: add a blatent warning that the RPC code is broke!

* src/scm/command-line.scm: change the message to let people know that
	  the rpc-server command-line option only works if gnucash was compiled
	  with rpc enabled.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7751 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2003-01-02 04:21:00 +00:00
parent 5c8944868d
commit 0b0fc6d281
3 changed files with 26 additions and 2 deletions

View File

@@ -45,6 +45,11 @@
to readwrite if the unpost succeeds
* src/business/business-gnome/dialog-order.c: use new set_readonly() API
FIXES BUG #101452
* configure.in: add a blatent warning that the RPC code is broke!
* src/scm/command-line.scm: change the message to let people know that
the rpc-server command-line option only works if gnucash was compiled
with rpc enabled.
2002-12-30 Benoit Gr<47>goire <bock@step.polymtl.ca>
* src/import-export/hbci/druid-hbci-initial.c

View File

@@ -440,7 +440,16 @@ AC_SUBST(SQL_DIR)
### RPC
AC_ARG_ENABLE( rpc,
[ --enable-rpc compile with rpc support],
RPC_DIR=rpc)
[
AC_MSG_WARN([
The RPC Backend is depricated. You should not use it.
It may go away in the future. If you need it, please
contact gnucash-devel@gnucash.org and let the developers
know.
])
RPC_DIR=rpc
])
AC_SUBST(RPC_DIR)
@@ -1155,3 +1164,13 @@ AC_OUTPUT( m4/Makefile intl/Makefile
,
dnl # commands go here, but we don't have any right now
)
if test x$RPC_DIR = xrpc ; then
AC_MSG_WARN([
The RPC Backend is depricated. You should not use it.
It may go away in the future. If you need it, please
contact gnucash-devel@gnucash.org and let the developers
know.
])
fi

View File

@@ -309,7 +309,7 @@ the current value of the path.")
(lambda (val)
(if val (gnc:run-rpc-server)))
#f
(N_ "Run the RPC Server"))))
(N_ "Run the RPC Server if GnuCash was configured with --enable-rpc"))))
(define (gnc:cmd-line-get-boolean-arg args)
;; --arg means #t