mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
642 B
21 lines
642 B
#! /bin/sh
|
|
# @configure_input@
|
|
|
|
GNC_ARGS="${GNC_ARGS} --debug"
|
|
GNC_ARGS="${GNC_ARGS} --startup-file ./share/scm/startup.scm"
|
|
GNC_ARGS="${GNC_ARGS} --share-dir ./share"
|
|
GNC_ARGS="${GNC_ARGS} --config-dir ./etc"
|
|
GNC_ARGS="${GNC_ARGS} --load-path (\"(./share/scm)\")"
|
|
|
|
XACC_HELP=${XACC_HELP}:./Docs:@prefix@/share/xacc/Docs
|
|
export XACC_HELP
|
|
|
|
# hack alert -- we should really be using ldconfig to look for
|
|
# the motif library. We should also do something to auto-detect
|
|
# and load the gtk version.
|
|
if [ -f /usr/X11R6/lib/libXm.so -o -L /usr/X11R6/lib/libXm.so ]; then
|
|
exec xacc.bin ${GNC_ARGS} $@
|
|
else
|
|
exec xacc-static.bin ${GNC_ARGS} $@
|
|
fi
|