ugly hack

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@932 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-08-06 04:25:31 +00:00
parent ae2377cc81
commit d555bd3f9f

10
xacc.in
View File

@ -3,4 +3,12 @@
XACC_HELP=${XACC_HELP}:./Docs:@prefix@/share/xacc/Docs
export XACC_HELP
exec xacc.bin $@
# 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 $@
else
exec xacc-static.bin $@
fi