* config/automake/scripts.am: Add SCRIPTS_PERL_NO_CHECK
* config/amanda/json.m4: Define AMANDA_JSON_SERVER. Add --with-json-server, check for json-server
  and check perl module rependencies.
* config/amanda/components.m4: Invoke AMANDA_JSON_SERVER
* perl/Makefile.am: Check json server module conditionally.
* server-src/Makefile.am: Check amanda.psgi conditionally.
* perl/Amanda/JSON/RPC/Dispatcher.pm,
  perl/Amanda/JSON/RPC/Dispatcher/App.pm,
  perl/Amanda/JSON/RPC/Dispatcher/Procedure.pm,
  server-src/amanda.psgi.pl: Undo previous patches.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5250 a8d146d6-cc15-0410-8900-af154a0219e0