#------------------------------------
AC_CONFIG_FILES([Makefile
+ doc/dokuwiki-doc-stubber.pl
examples/math_xul_client/Makefile
+ examples/math_bench.pl
+ examples/math_client.py
+ examples/multisession-test.pl
src/Makefile
src/c-apps/Makefile
src/gateway/Makefile
src/python/Makefile
src/router/Makefile
src/srfsh/Makefile
- bin/osrf_config], [if test -e "./bin/osrf_config"; then chmod 755 bin/osrf_config; fi])
+ bin/osrf_config], [if test -e "./bin/osrf_config"; then chmod 755 bin/osrf_config; fi])
AC_OUTPUT
print "usage: $0 <num_requests>\n" and exit unless $count;
# * connect to the Jabber network
-OpenSRF::System->bootstrap_client( config_file => "SYSCONFDIR/opensrf_core.xml" );
+OpenSRF::System->bootstrap_client( config_file => "@sysconfdir@/opensrf_core.xml" );
$log->set_service('math_bench');
# * create a new application session for the opensrf.math service
import osrf.ses
# XXX: Replace with command line arguments
-file = '/openils/conf/opensrf_core.xml'
+file = '@sysconfdir@/opensrf_core.xml'
operator = 'add'
operand1 = 5
operand2 = 7
#!/usr/bin/perl
-use lib 'LIBDIR/perl5/';
+use lib '@libdir@/perl5/';
use OpenSRF::System;
use OpenILS::Application::AppUtils;
use OpenILS::Event;
sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/opensrf_core.xml.example'
sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example'
sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/srfsh.xml.example'
- sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '@abs_top_srcdir@/examples/math_bench.pl'
- sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '@abs_top_srcdir@/examples/math_client.py'
- sed -i 's|LIBDIR|$(LIBDIR)|g' '@abs_top_srcdir@/examples/multisession-test.pl'
- sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '@abs_top_srcdir@/doc/dokuwiki-doc-stubber.pl'
cp -r @srcdir@/javascript/* $(jsdir)/